boa-constructor fails compilation during upgrade from Hardy to Lucid - breaks python post-installation

Bug #584272 reported by Jeremy Yoder
142
This bug affects 4 people
Affects Status Importance Assigned to Milestone
boa-constructor (Ubuntu)
Expired
Critical
Unassigned

Bug Description

Upgrading from Hardy to Lucid there were several failures. This was the 13th

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: python-gobject 2.21.1-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Sat May 22 05:38:27 2010
ErrorMessage: dependency problems - leaving unconfigured
SourcePackage: pygobject
Title: package python-gobject 2.21.1-0ubuntu3 failed to install/upgrade: dependency problems - leaving unconfigured

Revision history for this message
Jeremy Yoder (jyoder) wrote :
Revision history for this message
ooze (zoe-gauthier) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. There seems to be two different problems during the upgrade.

One bug has already been reported and is a duplicate of bug 537472. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report.

The other bug seems related to the boa-constructor package. I am not sure what is the problem, but I will assign this bug report to this package.

Thanks!

affects: pygobject (Ubuntu) → boa-constructor (Ubuntu)
summary: - package python-gobject 2.21.1-0ubuntu3 failed to install/upgrade:
- dependency problems - leaving unconfigured
+ boa-constructor fails compilation during upgrade from Hardy to Lucid
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : Re: boa-constructor fails compilation during upgrade from Hardy to Lucid

All the failures are follow up of that one:
Setting up python (2.6.5-0ubuntu1) ...
running python rtupdate hooks for python2.6...
Compiling /usr/share/boa-constructor/ZopeLib/zoa/metatypes.py ...
SyntaxError: ("'return' outside function", ('/usr/share/boa-constructor/ZopeLib/zoa/metatypes.py', 13, None, 'return obj.objectMap()\n'))
[...]
Compiling /usr/share/boa-constructor/ZopeLib/zoa/version.py ...
SyntaxError: ("'return' outside function", ('/usr/share/boa-constructor/ZopeLib/zoa/version.py', 10, None, 'return context.zoa_version\n'))

pycentral: pycentral updatedefault: error byte-compiling files (290)
pycentral updatedefault: error byte-compiling files (290)
error running python rtupdate hook pycentral
dpkg: error processing python (--configure):
 subprocess installed post-installation script returned error exit status 4

Since python failed to configure correctly subsequent packages needing python failed too.
Could you please attach the files in /var/log/dist-upgrade/ in case something happened during the release upgrade ?
Thanks.

Changed in boa-constructor (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Yoder (jyoder) wrote :

I've attached the dist-upgrade directory contents as a tar file. Sorry i didn't get to it sooner!

I'm not sure how to read the log, but it kinda looks like some module plugged in to Python failed to parse in the new version and that's why the Python install failed, leading to all the other failures (there were 20 more before the upgrader finally stopped and started itself over again).

Another thing that wasn't clear when I submitted these was that the upgraded DID restart and the restart DID fix these install problems. So in the end it worked, it just presented me with a ton of errors on first boot.

Another thing (and I think I'll submit this as an enhancement request) is I had no idea how many errors there were when I started submitting them. I just went through and said "submit" "submit" "submit". If it had popped up with a list of all the errors and let me pick which ones to submit from that list, ideally with a relevant snippet from the log, I probably could have done a better job describing the failure.

Thanks for all your work folks! I'm a huge fan!

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for the files.

It looks like boa-constructor is breaking the upgrade of python.

Changed in boa-constructor (Ubuntu):
importance: Undecided → Critical
status: Incomplete → Confirmed
summary: - boa-constructor fails compilation during upgrade from Hardy to Lucid
+ boa-constructor fails compilation during upgrade from Hardy to Lucid -
+ breaks python post-installation
Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Any plans to fix this critical bug? Thank you for telling me!

Changed in boa-constructor (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for boa-constructor (Ubuntu) because there has been no activity for 60 days.]

Changed in boa-constructor (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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