Package: debhelper
Version: 11.2.1
Severity: normal

Hi,

I've run into this with src:wine:

$ grep Rules debian/control*
debian/control:Rules-Requires-Root: no
debian/control.in:Rules-Requires-Root: no
$ quilt push -a
$ ./debian/rules binary
[...]
make[2]: Leaving directory '/home/jens/development/wine/wine/wine/server'
Wine build complete.
make[1]: Leaving directory '/home/jens/development/wine/wine/wine'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
   dh_testroot
dh_testroot: You must run this as root (or use fakeroot).
debian/rules:107: recipe for target 'binary' failed
make: *** [binary] Error 255

So Wine indeed builds fine without (fake)root, but dh_testroot returns
false, while according to dh_testroot(1) it should return successfully.

debuild and buildd build the package just fine (but I guess they just
still use fakeroot).  Am I doing something wrong here?

Besides that, shouldn't the dh_testroot check be earlier in the dh
sequence to really make sense?


I set R³: debian/control.in here:
https://salsa.debian.org/wine-team/wine/commit/b32a716ee4255270539d4f770aa63404cf2451a2

Greets
jre

--- System information. ---
Architecture: Kernel:       Linux 4.16.0-1-amd64

Debian Release: buster/sid
  990 testing         hope   990 testing         dl.winehq.org   500
unstable-debug  hope   500 unstable        hope   500 testing-debug
hope   100 experimental    hope     1 experimental-debug hope
--- Package information. ---
Depends                        (Version) | Installed
========================================-+-=============
autotools-dev                            | 20180224.1
dh-autoreconf                   (>= 17~) | 17
dh-strip-nondeterminism      (>= 0.028~) | 0.041-1
dpkg                        (>= 1.18.0~) | 1.19.0.5+b1
dpkg-dev                    (>= 1.18.2~) | 1.19.0.5
file                           (>= 3.23) | 1:5.33-2
libdpkg-perl                (>= 1.17.14) | 1.19.0.5
man-db                                   | 2.8.3-2
po-debconf                               | 1.0.20
perl                                     | 5.26.2-3


Package's Recommends field is empty.

Suggests      (Version) | Installed
=======================-+-===========
dh-make                 | dwz                     |

Reply via email to