Package: src:siscone Version: 2.0.6-1.1 User: [email protected] Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh_testdir dh_testroot dh_testroot: You must run this as root (or use fakeroot). debian/rules:63: recipe for target 'doxygen-stamp' failed make: *** [doxygen-stamp] Error 255 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- In this case, debian/rules tries to ensure that you are root in a target which is not supposed to be executed as root, and it fails. The way to fix this is up to you, but my own personal preference, which I would also recommend, is to get rid of each and every dh_testdir and dh_testroot call. After all, dpkg-buildpackage already takes care of being root (or fakeroot) when required, and of course, it does also take care of being in the right directory. Both things happen by design, so removing those checks just make debian/rules shorter and easier to understand without any loss of functionality. It would also make debian/rules a little bit closer to the minimalistic style that "dh" allows. Once this issue with dh_testroot is fixed, please ensure that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work. After that, the package will be suitable to be uploaded in source-only form if you wish. Thanks. -- debian-science-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
