#1139245 x2gokdrive: FTFBS dh_install: warning: xserver-x2gokdrive missing files: usr/bin/x2gokdrive

Package:
src:x2gokdrive
Source:
src:x2gokdrive
Submitter:
Andreas Metzler
Date:
2026-08-22 11:29:02 UTC
Severity:
normal
Tags:
#1139245#5
Date:
2026-06-07 15:00:37 UTC
From:
To:
Hello,

I wanted to doublecheck whether x2gokdrive was compatile with nettle4
but it FTBFS even against nettle3:
make[1]: Leaving directory '/tmp/NETTLE/x2gokdrive-0.0.0.3'
   dh_install -a
dh_install: warning: Cannot find (any matches for) "usr/bin/x2gokdrive" (tried in ., debian/tmp)

dh_install: warning: xserver-x2gokdrive missing files: usr/bin/x2gokdrive
dh_install: warning: Cannot find (any matches for) "usr/share/man/man1/x2gokdrive.1" (tried in ., debian/tmp)

dh_install: warning: xserver-x2gokdrive missing files: usr/share/man/man1/x2gokdrive.1
dh_install: error: missing files, aborting
make: *** [debian/rules:15: binary-arch] Error 255

cu Andreas

#1139245#10
Date:
2026-07-21 13:34:03 UTC
From:
To:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/x2gokdrive.html

If you are still able to reproduce it, please send a log.

cu
Adrian

#1139245#15
Date:
2026-07-21 17:35:48 UTC
From:
To:
[...]

Sadly I can.

Log attached (plain dpkg-buildpackage  -uc -us -rfakeroot -j1 -b)

cu Andreas

#1139245#20
Date:
2026-07-21 18:23:17 UTC
From:
To:
The patching at the start goes wrong.

Is there anything like /tmp/.pc or /tmp/patches or similar in /tmp that
quilt might be using instead of the patches it should?

cu
Adrian

#1139245#25
Date:
2026-07-21 19:34:12 UTC
From:
To:
I've checked and the package builds ok when gawk is present in the chroot,
but this little difference between your build log and mine is interesting
because it suggests that your chroot might have more packages than
strictly required.

I recommend using debootstrap with --variant=buildd to create a brand
new chroot and try again.

If it works, adding a build-conflicts on the extra package which makes
the build not to work (if that's really the reason for the build failure)
might help, but making the package to ignore such extra package if
present would be a lot better.

Thanks.

#1139245#30
Date:
2026-07-23 17:09:43 UTC
From:
To:
Control: tags 1139245 patch
[...]

Hello,

Thanks for the hint adrian.

~/.quiltrc with QUILT_PATCHES=debian/patches exists, which
overrides quilt options set via environment args. A trivial fix for
x2gokdrive would be to invoke quilt with "--quiltrc /dev/null":
--------------- --- a/debian/rules 2026-07-22 05:16:11.647298008 +0000 +++ x2gokdrive-0.0.0.3/debian/rules 2024-03-25 16:17:55.000000000 +0000 @@ -32,13 +32,13 @@ override_dh_auto_configure: export XORG_UPSTREAM_VERSION="$$(grep AC_INIT '$(CURDIR)/BUILD/xorg-server/configure.ac' | sed -r 's/^AC_INIT[^,]*, ([^,]+),.*/\1/')" && \ cd '$(CURDIR)/BUILD/xorg-server' && \ if [ -d "../../patches.xorg/$${XORG_UPSTREAM_VERSION}" ]; then \ - QUILT_PATCHES="../../patches.xorg/$${XORG_UPSTREAM_VERSION}/" quilt --quiltrc /dev/null pop -a; \ + QUILT_PATCHES="../../patches.xorg/$${XORG_UPSTREAM_VERSION}/" quilt pop -a; \ rm .pc/ -Rfv; \ - QUILT_PATCHES="../../patches.xorg/$${XORG_UPSTREAM_VERSION}/" quilt --quiltrc /dev/null push -a; \ + QUILT_PATCHES="../../patches.xorg/$${XORG_UPSTREAM_VERSION}/" quilt push -a; \ else \ - QUILT_PATCHES='../../patches.xorg/latest-available/' quilt --quiltrc /dev/null pop -a; \ + QUILT_PATCHES='../../patches.xorg/latest-available/' quilt pop -a; \ rm -Rfv '.pc'; \ - QUILT_PATCHES='../../patches.xorg/latest-available/' quilt --quiltrc /dev/null push -a; \ + QUILT_PATCHES='../../patches.xorg/latest-available/' quilt push -a; \ QUILT_EXITCODE="$${?}"; \ if [ '0' != "$${QUILT_EXITCODE}" ]; then \ ( \ --------------- cu Andreas -- "You people are noisy," Nia said. I made the gesture of agreement.