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 1606784
Summary: | zbar: FTBFS in Fedora rawhide due to wrong python2 call at pygobject-codegen-2.0 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mohan Boddu <mboddu> | ||||||||||||
Component: | pygobject2 | Assignee: | Colin Walters <walters> | ||||||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | rawhide | CC: | alexl, dougsland, hdegoede, john.j5live, mbarnes, mchehab, mclasen, mr.marcelo.barbosa, negativo17, rhughes, rstrode, sandmann, walters | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2018-08-09 11:31:36 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: | 1585626, 1602938 | ||||||||||||||
Attachments: |
|
Description
Mohan Boddu
2018-07-20 21:37:06 UTC
Created attachment 1469233 [details]
build.log
Created attachment 1469234 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1469235 [details]
state.log
The bug is actually at the pygobject-codegen-2.0 package. It contains a shell script with the following content: #!/bin/sh prefix=/usr datarootdir=${prefix}/share datadir=/usr/share codegendir=${datadir}/pygobject/2.0/codegen PYTHONPATH=$codegendir export PYTHONPATH exec /usr/bin/python $codegendir/codegen.py "$@" Well, after python2 changes, the last line of the script won't do the right thing. That line should be changed to: exec /usr/bin/python2 $codegendir/codegen.py "$@" (or to use /usr/bin/env python2) As I don't maintain the above package, for now I added a logic that will do: env $(PYGTK_CODEGEN) |sed s,python,python2, > ./codegen.sh and then it runs the local script. That should fix the Zbar issue. Yet, the proper fix would be for the pygobject-codegen-2.0 to replace the python call directly there. Created attachment 1474097 [details]
Hack to fix zbar build
Created attachment 1474098 [details]
Hack to fix zbar build (v2)
This is fixed in pygobject2-2.28.7-4.fc29 and I've done a new zbar build zbar-0.20.1-3.fc29 which drops the hack to work around this, closing. |