• Bug#1104607: debhelper: Invoking "debian/rules binary" by hand triggers

    From Santiago Vila@21:1/5 to All on Fri May 2 22:50:01 2025
    Package: debhelper
    Version: 13.11.4

    Hello Niels et al.

    Now that most packages allow building without fakeroot, I would
    expect this to work:

    (Using indent as an example because it has Rules-Requires-Root: no
    and a very low build time)

    $ apt-get source indent
    $ cd indent-2.2.13
    $ debian/rules build
    [...]
    $ debian/rules binary
    dh binary
    dh_testroot
    dh_testroot: error: You must run this as root (or use fakeroot).
    make: *** [debian/rules:3: binary] Error 255

    If I replace dh_testroot by a symlink to true, then it fails
    because dh_installdocs tries to use chown.


    This is strange because I don't need fakeroot at all inside
    the chroot when I build the package using dpkg-buildpackage.

    Not sure if my expectancy is realistic or not, maybe I'm
    missing something.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)