Bug#505695: pbuilder keeps silent when it fails copying files to --buildresult
Nicolas Chauvat
nicolas.chauvat at logilab.fr
Fri Nov 14 13:21:12 UTC 2008
Package: pbuilder
Version: 0.183
Severity: normal
Tags: patch
I happen to have my --buildresult directory in ~/dist with /home NFS-mounted with rootsquash. On the host on which I build the package root cannot write to my home directory. It took me some time to realize that 'sudo pbuilder' had not the permission to write there because /usr/lib/pbuilder/pbuilder-buildpackage reads:
cp -p "${BUILDPLACE}"/tmp/buildd/* "${BUILDRESULT}" 2>/dev/null || true
I have no idea why "|| true" was deemed a good idea, but I suggest to fix the above issue by
removing it, since it will print out a message when cp fails.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-etchnhalf.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=, LC_CTYPE= (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pbuilder depends on:
ii cdebootstrap 0.5.3 Bootstrap a Debian system
ii coreutils 6.10-6 The GNU core utilities
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii debianutils 2.30 Miscellaneous utilities specific t
ii debootstrap 1.0.10 Bootstrap a basic Debian system
ii gcc 4:4.3.2-2 The GNU C compiler
ii wget 1.11.4-2 retrieves files from the web
Versions of packages pbuilder recommends:
pn cowdancer <none> (no description available)
ii devscripts 2.10.39 scripts to make the life of a Debi
ii fakeroot 1.10.1 Gives a fake root environment
ii sudo-ldap [sudo] 1.6.9p17-1 Provide limited super user privile
Versions of packages pbuilder suggests:
pn gdebi <none> (no description available)
pn pbuilder-uml <none> (no description available)
-- debconf information:
pbuilder/nomirror:
pbuilder/mirrorsite: http://cdn.debian.net/debian
pbuilder/rewrite: false
More information about the Pbuilder-maint
mailing list