FTBFS with Python 2.7 as default

Bug #795096 reported by Stefano Rivera
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
python-peak.rules (Ubuntu)
Fix Released
High
Barry Warsaw
Oneiric
Fix Released
High
Barry Warsaw
python-peak.util (Debian)
Fix Released
Unknown
python-peak.util (Ubuntu)
Fix Released
High
Barry Warsaw
Oneiric
Fix Released
High
Barry Warsaw
turbojson (Ubuntu)
Fix Released
High
Barry Warsaw
Oneiric
Fix Released
High
Barry Warsaw

Bug Description

turbojson will FTBFS until python-peak.util is updated:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606382

...
  File "/usr/lib/pymodules/python2.7/peak/util/assembler.py", line 843, in __call__
    last = ob(self)
  File "/usr/lib/pymodules/python2.7/peak/util/assembler.py", line 103, in __call__
    return func(*(self[1:]+(code,)))
  File "/usr/lib/pymodules/python2.7/peak/util/assembler.py", line 221, in TryExcept
    next_test.JUMP_IF_FALSE, Code.POP_TOP, # remove condition
AttributeError: 'Label' object has no attribute 'JUMP_IF_FALSE'

----------------------------------------------------------------------
Ran 1 test in 0.072s

FAILED (errors=1)

https://launchpad.net/ubuntu/+source/turbojson/1.3.1-1/+build/2471816/+files/buildlog_ubuntu-oneiric-i386.turbojson_1.3.1-1_FAILEDTOBUILD.txt.gz

Changed in turbojson (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in python-peak.util (Ubuntu):
status: New → Confirmed
Changed in python-peak.util (Debian):
status: Unknown → Fix Committed
Matthias Klose (doko)
Changed in turbojson (Ubuntu Oneiric):
importance: Medium → High
Changed in python-peak.util (Ubuntu Oneiric):
importance: Undecided → High
Matthias Klose (doko)
tags: added: oneiric
Revision history for this message
Barry Warsaw (barry) wrote :

I honestly have no idea how to update python-peak.util. I followed the instructions in debian/README.source to build the new tarball, but even after moving that tarball to .. and dch -i to the matching version number, debuild -S always complains with

dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
dpkg-source: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b python-peak.util-20110922 gave error exit status 1
debuild: fatal error at line 1348:
dpkg-buildpackage -rfakeroot -d -us -uc -S -sa failed

So I'm really not sure how to proceed.

Revision history for this message
Barry Warsaw (barry) wrote :

I finally managed to build an updated python-peak.util, but it doesn't seem to help turbojson ftbfs. I'll attach my buildlog. Note that the local repo is populated with updated packages as per http://www.wefearchange.org/2011/09/sbuild-with-local-newer-dependencies.html

So, this is a different error now. Still investigating.

Revision history for this message
Stefano Rivera (stefanor) wrote :

The lastest python-peak.rules should do the trick

Changed in python-peak.util (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Daniele Tricoli (eriol.v) wrote :

I can update python-peak.rules on Debian.

Revision history for this message
Barry Warsaw (barry) wrote :

Daniele, thanks so much for the updates to Debian. I was able to merge both python-peak.rules and python-peak.util into Ubuntu packages and verify that they fix the turbojson ftbfs. I've uploaded both peak packages. Once they're approved by the release team and land in the archive, I should be able to just request a rebuild of turbojson.

Changed in python-peak.rules (Ubuntu Oneiric):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → ubuntu-11.10
Changed in python-peak.util (Ubuntu Oneiric):
assignee: nobody → Barry Warsaw (barry)
milestone: none → ubuntu-11.10
Changed in turbojson (Ubuntu Oneiric):
assignee: nobody → Barry Warsaw (barry)
milestone: none → ubuntu-11.10
status: Triaged → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-peak.rules - 0.5a1+r2707-1~r18754

---------------
python-peak.rules (0.5a1+r2707-1~r18754) oneiric; urgency=low

  [ Daniele Tricoli ]
  * New upstream release
  * Switched to multiple upstream tarballs
  * debian/control
    - Set myself as uploader with Stefano Zacchiroli's permission.
      Thanks to Stefano Zacchiroli for his past work!
    - Bumped Standards-Version to 3.9.2 (no changes needed)
  * debian/{control,rules}
    - Switched from cdbs to dh sequencer
  * debian/copyright
    - Made DEP5 compliant
  * debian/patches/01_invoke-multiple-setup.patch
    - Use a patch to add the setup.py which take care of invocation
      of multiple setup.py in subdir provided by Stefano Zacchiroli
  * debian/source/format
    - Switched to source format 3.0 (quilt)
  * debian/watch
    - Added filenamemangle option

  [ Barry Warsaw ]
  * bzr merge-upstream from Vcs-Svn branch, r18754. (LP: #795096)
 -- Barry Warsaw <email address hidden> Wed, 28 Sep 2011 11:51:29 -0400

Changed in python-peak.rules (Ubuntu Oneiric):
status: Confirmed → Fix Released
Revision history for this message
Stefano Rivera (stefanor) wrote :

Um, barry: Why didn't you just sync those?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-peak.util - 20110909-1

---------------
python-peak.util (20110909-1) unstable; urgency=low

  * Switched to multiple upstream tarballs
  * Updated upstream packages:
    - peak.util.addons 0.7
    - peak.util.assembler 0.6 (Closes: #606382, LP: #795096)
  * debian/control
    - Removed Debian QA Group and added Debian Python Modules Team to
      Maintainer
    - Added myself to Uploaders (Closes: #607083)
    - Bumped Standards-Version to 3.9.2 (no changes needed)
  * debian/{control,rules}
    - Switched from cdbs to dh sequencer
  * debian/copyright
    - Made DEP5 compliant
  * debian/patches/01_invoke-multiple-setup.patch
    - Use a patch to add the setup.py which take care of invocation
      of multiple setup.py in subdir provided by Stefano Zacchiroli
  * debian/source/format
    - Switched to source format 3.0 (quilt)

 -- Daniele Tricoli <email address hidden> Mon, 26 Sep 2011 15:54:01 +0200

Changed in python-peak.util (Ubuntu Oneiric):
status: Confirmed → Fix Released
Revision history for this message
Barry Warsaw (barry) wrote :
Changed in turbojson (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.