Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1307342

Summary: barcode: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: barcodeAssignee: Andreas Thienemann <andreas>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: andreas, redhat-bugzilla, rhbugs, yselkowi
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: barcode-0.98-27.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-07 20:12:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1305208    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
Patch for rawhide and f24 none

Description Fedora Release Engineering 2016-02-13 21:03:55 UTC
Your package barcode failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=12807427

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Comment 1 Fedora Release Engineering 2016-02-13 21:03:58 UTC
Created attachment 1124096 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-13 21:04:00 UTC
Created attachment 1124097 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-13 21:04:01 UTC
Created attachment 1124098 [details]
state.log

Comment 4 Jan Kurik 2016-02-24 14:34:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 Yaakov Selkowitz 2016-02-24 21:35:56 UTC
Created attachment 1130334 [details]
Patch for rawhide and f24

- Fix F24FTBFS caused by docs shipped in tarball (#1307342)
- Fix build of HTML documenation

This was interesting, to say the least.  The actual error occured while 
building docs:

old="`ls barcode.??~ barcode.aux~ | sed 's/~//g'`"; \
new="`ls barcode.?? barcode.aux`"; \
need="n"; \
if test "$old" != "$new"; then need="y"; \
else \
  for i in  `ls barcode.?? barcode.aux`; do \
    cmp -s $i $i~; if test $? -ne 0; then need="y" break; fi; \
  done; \
fi; \
if test "$need" = "y"; then \
  texindex barcode.?? && tex barcode.texinfo; \
fi
ls: cannot access 'barcode.aux~': No such file or directory
barcode.ps is not a Texinfo index file

I'm guessing that something changed in texindex, because this used to
work, but the prebuilt doc/barcode.ps is throwing it off now.  Cleaning
in doc/ before building fixes the issue.

I also discovered that the HTML docs were not being built properly.
Configure was doing the following, in short:

${MAKEINFO=makeinfo} --help | grep .--html > /dev/null
INFOTOHTML="$MAKEINFO --html"

The idea was that configure would set MAKEINFO to "makeinfo" if not 
already defined, but the ${parameter=word} expansion doesn't do that 
when output is redirected.  Nor am I sure if this is intentional or a 
bug; going all the way back in Koji logs to F9 (bash-3.2) and EPEL4 
(bash-3.0), it didn't work back then either.

So here is a patch for rawhide and f24 (which was just branched) that 
fixes both.

Comment 6 Upstream Release Monitoring 2016-03-07 19:50:38 UTC
yselkowitz's barcode-0.98-27.fc25 completed http://koji.fedoraproject.org/koji/buildinfo?buildID=742717