Hello, While building fakeroot, I did get this output make[3]: `defs' is up to date. make[3]: Leaving directory `/usr/src/fakeroot-1.16/obj-sysv/test' /usr/bin/make check-TESTS make[3]: Entering directory `/usr/src/fakeroot-1.16/obj-sysv/test' FAIL: t.chmod_dev FAIL: t.echoarg PASS: t.falsereturn FAIL: t.mknod FAIL: t.no_ld_preload FAIL: t.no_ld_preload_link FAIL: t.option FAIL: t.tar FAIL: t.touchinstall FAIL: t.truereturn ================================= 9 of 10 tests failed Please report to clint@debian.org ================================= make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/usr/src/fakeroot-1.16/obj-sysv/test' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/usr/src/fakeroot-1.16/obj-sysv/test' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/usr/src/fakeroot-1.16/obj-sysv' make: *** [build-stamp] Error 2 $ and NO Debian package. For me is this a Fails To Build From Source
To reproduce: - have an up-to-date amd64 unstable - apt-get source fakeroot - cd fakeroot-1.16 - fakeroot debian/rules binary hth Geert Stappers
So the problem here is that fakeroot cannot be run within fakeroot (see bug#409856). In the interim, you can build with pbuilder/cowbuilder, dpkg-buildpackage, debuild, or debian/rules build && fakeroot debian/rules binary The key is to run the build target outside of fakeroot so that the tests run in a cleaner environment, and then only run the binary target specifically under your system fakeroot. We should probably test for this condition and emit some relevant warning.
retitle 635612 fakeroot: `fakeroot debian/rules binary` fails test severity 635612 minor thanks doing dpkg-buildpackage -rfakeroot -uc -us did get me beyond the test. Fine for me. Bugreport is triaged. Feel free to close. Cheers Geert Stappers