[Build-common-hackers] Bug#203391: buildcore: test `id -u` = 0 fails

Matthias G. Imhof "Matthias G. Imhof" <mgi@vt.edu>, 203391@bugs.debian.org
Tue, 29 Jul 2003 17:17:37 -0400

Package: cdbs
Version: 0.4.4
Severity: normal

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux gabbro 2.4.20 #1 Mon May 12 00:02:41 EDT 2003 i686

-- no debconf information

I am trying to recompile ddd which fails because the cdbs routine testroot in buildcore fails.

gabbro> dpkg-buildpackage -d -rfakeroot -b
dpkg-buildpackage: source package is ddd
dpkg-buildpackage: source version is 1:3.3.7-11
dpkg-buildpackage: source maintainer is Matthias G. Imhof <mgi@vt.edu>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
test -x debian/rules
test `id -u` = 0
/bin/sh: line 1: test: too many arguments
make: *** [testroot] Error 2

For the moment, I just commented out the testroot routing in buildcore.mk, but his is just a short term solution.