If you use fakeroot to call dpkg-buildpackage, it works prefectly.
Something is wrong with the way that dpkg-buildpackage is calling
fakeroot. The chown calls work perfect, and you can build the package
using a different syntax.
Not sure what you need done here.
Jon
On Jun 12, 2008, at 10:47 AM, Dominic Hargreaves wrote:
Package: qmail
Version: 1.03-45
Severity: serious
Justification: fails to build from source
On both etch and sid systems
apt-get source qmail
cd qmail...
dpkg-buildpackage -rfakeroot -uc -us
results in:
# Install debconf files
#cp debian/qmail-src.config debian/tmp-src/DEBIAN/config
#cp debian/qmail-src.templates debian/tmp-src/DEBIAN/templates
dpkg-gencontrol -isp -pqmail-src -Pdebian/tmp-src
chown -R root.root debian/tmp-src
chown: changing ownership of `debian/tmp-src/usr/share/doc/qmail-src/
changelog.D
ebian.gz': Operation not permitted
chown: changing ownership of `debian/tmp-src/usr/share/doc/qmail-src/
copyright':
Operation not permitted
chown: changing ownership of `debian/tmp-src/usr/share/doc/qmail-src/
README.Debi
an.gz': Operation not permitted
chown: changing ownership of `debian/tmp-src/usr/share/doc/qmail-
src': Operation
not permitted
chown: changing ownership of `debian/tmp-src/usr/share/doc':
Operation not permi
tted
chown: changing ownership of `debian/tmp-src/usr/share': Operation
not permitted
chown: changing ownership of `debian/tmp-src/usr/bin/build-qmail':
Operation not
permitted
chown: changing ownership of `debian/tmp-src/usr/bin': Operation not
permitted
chown: changing ownership of `debian/tmp-src/usr/src/qmail-src/
qmail_1.03-45.dsc
': Operation not permitted
chown: changing ownership of `debian/tmp-src/usr/src/qmail-src/
qmail_1.03.orig.t
ar.gz': Operation not permitted
chown: changing ownership of `debian/tmp-src/usr/src/qmail-src/
qmail_1.03-45.dif
f.gz': Operation not permitted
chown: changing ownership of `debian/tmp-src/usr/src/qmail-src':
Operation not p
ermitted
chown: changing ownership of `debian/tmp-src/usr/src': Operation not
permitted
chown: changing ownership of `debian/tmp-src/usr': Operation not
permitted
chown: changing ownership of `debian/tmp-src/DEBIAN/control':
Operation not perm
itted
chown: changing ownership of `debian/tmp-src/DEBIAN/prerm':
Operation not permit
ted
chown: changing ownership of `debian/tmp-src/DEBIAN/postinst':
Operation not per
mitted
chown: changing ownership of `debian/tmp-src/DEBIAN/postrm':
Operation not permi
tted
chown: changing ownership of `debian/tmp-src/DEBIAN': Operation not
permitted
chown: changing ownership of `debian/tmp-src': Operation not permitted
make: *** [binary-src] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit
status 2
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]