Bug#570552: FTBFS - dh_testroot: You must run this as root (or use fakeroot)
Source: tgt
Version: 1:1.0.1-1
Severity: serious
tgt runs dh_testroot in the build rule. I believe this violates
section 4.9 of Debian Policy which states:
"The build target must not do anything that might require root
privilege."
Relevant piece of build log follows:
[...]
/usr/bin/make -C scripts clean
make[2]: Entering directory `/build/buildd-tgt_1.0.1-1-hppa-dXx9ky/tgt-1.0.1/scripts'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/build/buildd-tgt_1.0.1-1-hppa-dXx9ky/tgt-1.0.1/scripts'
make[1]: Leaving directory `/build/buildd-tgt_1.0.1-1-hppa-dXx9ky/tgt-1.0.1'
dh_clean
debian/rules build
dh_testdir
dh_testroot
dh_testroot: You must run this as root (or use fakeroot).
make: *** [build-stamp] Error 255
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Reply to: