[Bug 1013171] Re: Many package hooks not ported to python3

Edward Donovan launchpad at numble.net
Tue Jun 26 01:51:49 UTC 2012


mysql-5.5 has a print statement that needed fixing.  This patch also
changes unicode() to str(), as 2to3 suggests -- whether that's really
called for, I'll leave for someone else to decide.  Thanks.


** Description changed:

  Since the description here is the only post that can be updated, it
- seems the best place to keep a changing list.  (The original description
- was brief, and about only one package.)
+ seems the best place to keep a list of packages that need examining.
+ (The original description was brief, and about only one package.)
  
- Working from the archive's Contents file, I got the list of packages
- that keep files under apport/package-hooks.  Below are the packages that
- haven't been tested yet, to my knowledge.  As I get time, I'll test them
- with 2to3, and update the list.  And try to post patches as needed.
+ We've fixed all the packages that I could find in the apt logs uploaded
+ in the first round of breakage.  Now I've tried to review all the other
+ apport hooks I could find in Quantal.  Working from the archive's
+ Contents file, I got the list of packages that have files under
+ /usr/share/apport/package-hooks .  I skipped the packages already fixed
+ above, and those that were on my system, during the first round of
+ breakage, and had no problems.  For the rest, I downloaded the debs,
+ extracted the apport hooks, and ran '2to3' on them.  I've posted patches
+ for a number of these, and some, listed below, need patches, or at least
+ another look.
+ 
  Thanks - Edward Donovan <edward.donovan at numble.net>
  
- cryptsetup
- desktopcouch
- dovecot-core
- eclipse-platform
- fso-gsmd
- gnome-media-player
- isc-dhcp-server
- libvirt-bin
- magicicada
- mpd
- mysql-server-5.5
- mythtv-common
- ptouch-driver
- python-nova
- qemu-common
- rss-glx
- samba-common-bin
- sl-modem-daemon
- snmpd
- ubuntu-vm-builder
- xul-ext-mozvoikko
+ Needs a patch, haven't posted one yet:
+ 
+   mythtv-common
+ 
+ These packages never broke, they just got warnings from the 2to3 tool:
+ 
+   compiz-core
+   eclipse-platform
+   gnome-control-center-data
+   gnome-settings-daemon
+   grub-common
+   nautilus-data
+   unity-common
+   apache2.2-common
+ 
+ Side note:
+ 
+   rss-glx: the python is fine, but the hook file is just named 'source',
+ with no package name or extension, so it'll probably be good to file a
+ little bug about that.  I'll try to do that later.

** Also affects: mysql-5.5 (Ubuntu)
   Importance: Undecided
       Status: New

** Patch added: "python3 patch for mysql-5.5's apport hook"
   https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1013171/+attachment/3204357/+files/mysql-5.5.patch

** Changed in: mysql-5.5 (Ubuntu Quantal)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1013171

Title:
  Many package hooks not ported to python3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1013171/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list