Bug 794881

Summary: spice-xpi-2.7 source package won't build
Product: [Fedora] Fedora Reporter: Jason Brooks <jason>
Component: spice-xpiAssignee: Peter Hatina <phatina>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: hdegoede, marcandre.lureau, phatina, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: spice-xpi-2.7-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-01 09:31:44 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:

Description Jason Brooks 2012-02-17 20:29:39 UTC
Description of problem:

I'm trying to rebuild the spice-xpi-2.7 package on F16 x64 (part of an effort to make an opensuse package for spice-xpi). I can ./configure, make the source contained in the src.rpm, but rpmbuild -ba spice-xpi.spec fails with the python error I pasted below.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. 
2.
3.
  
Actual results:


Expected results:


Additional info:


make[4]: Entering directory `/home/jason/rpmbuild/BUILD/spice-xpi-2.7/SpiceXPI/src/plugin'
/usr/bin/python `pkg-config --variable=sdkdir libxul`/sdk/bin/typelib.py -I `pkg-config --variable=idldir libxul` nsISpicec.idl -o nsISpicec.xpt
Traceback (most recent call last):
  File "/usr/lib64/xulrunner-devel-2/sdk/bin/typelib.py", line 313, in <module>
    p = xpidl.IDLParser(outputdir=options.cachedir)
  File "/usr/lib64/xulrunner-devel-2/sdk/bin/xpidl.py", line 1453, in __init__
    optimize=1)
  File "/usr/lib64/xulrunner-devel-2/sdk/bin/ply/lex.py", line 1004, in lex
    lexobj.writetab(lextab,outputdir)
  File "/usr/lib64/xulrunner-devel-2/sdk/bin/ply/lex.py", line 175, in writetab
    filename = os.path.join(outputdir,basetabfilename)+".py"
  File "/usr/lib64/python2.7/posixpath.py", line 68, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
make[4]: *** [nsISpicec.xpt] Error 1
make[4]: Leaving directory `/home/jason/rpmbuild/BUILD/spice-xpi-2.7/SpiceXPI/src/plugin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jason/rpmbuild/BUILD/spice-xpi-2.7/SpiceXPI/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jason/rpmbuild/BUILD/spice-xpi-2.7/SpiceXPI'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jason/rpmbuild/BUILD/spice-xpi-2.7'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.qaCLqe (%build)

Comment 1 Fedora Update System 2012-02-20 12:58:27 UTC
spice-xpi-2.7-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/spice-xpi-2.7-2.fc16

Comment 2 Fedora Update System 2012-02-21 01:29:47 UTC
Package spice-xpi-2.7-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing spice-xpi-2.7-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2075/spice-xpi-2.7-2.fc16
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-03-01 09:31:44 UTC
spice-xpi-2.7-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.