Test run on LP buildds - setup.py should not install Apport files
Max Bowsher
maxb at f2s.com
Tue Oct 12 23:42:20 BST 2010
The first (to my knowledge) run of the bzr tests on the Launchpad
buildds has completed in the bzr-beta-ppa. Good news - only one failure
on 2.3b2.
The single failure is:
FAIL: test_setup.TestSetup.test_build_and_install
and the cause appears to be:
error: /usr/share/apport/package-hooks/source_bzr.py: Permission denied
Which basically translates as the setup.py doing some rather dodgy
special-casing of the apport hook installation in a way which is
incompatible with being run under fakeroot.
I could probably fudge around this in some way, but perhaps it's the
impetus we need to make that particular bit of setup.py not be "a bit
gross" (to quote the comment there).
Personally, I think setup.py has absolutely no excuse to be installing
files outside of a passed in --prefix argument.
In fact, I'd suggest that setup.py shouldn't be installing the apport
gubbins at all. Leave that up to the OS packager to get right. The hook
is named after the Debian source package name, after all.
Max.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20101012/4c89c070/attachment.pgp
More information about the bazaar
mailing list