#1140264 nerdlog: FTBFS: cannot find package "golang.design/x/x11"

#1140264#5
Date:
2026-06-17 16:15:24 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202606/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:nerdlog, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang
   dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_clean -O--builddirectory=_build -O--buildsystem=golang
 debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
   debian/rules execute_before_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p _build/src/github.com/dimonomid/nerdlog/core
cp -a core/nerdlog_agent.sh _build/src/github.com/dimonomid/nerdlog/core
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
	cd _build && go install -trimpath -v -p 2 github.com/dimonomid/nerdlog/blhistory github.com/dimonomid/nerdlog/clhistory github.com/dimonomid/nerdlog/clipboard github.com/dimonomid/nerdlog/cmd/generate_syslog github.com/dimonomid/nerdlog/cmd/journalctl_mock github.com/dimonomid/nerdlog/cmd/nerdlog github.com/dimonomid/nerdlog/cmd/nerdlog/ui github.com/dimonomid/nerdlog/core github.com/dimonomid/nerdlog/core/testutils github.com/dimonomid/nerdlog/log github.com/dimonomid/nerdlog/shellescape github.com/dimonomid/nerdlog/util/sysloggen github.com/dimonomid/nerdlog/version
src/golang.design/x/clipboard/clipboard_x11.go:27:2: cannot find package "golang.design/x/x11" in any of:
	/usr/lib/go-1.26/src/golang.design/x/x11 (from $GOROOT)
	/<<PKGBUILDDIR>>/_build/src/golang.design/x/x11 (from $GOPATH)
dh_auto_build: error: cd _build && go install -trimpath -v -p 2 github.com/dimonomid/nerdlog/blhistory github.com/dimonomid/nerdlog/clhistory github.com/dimonomid/nerdlog/clipboard github.com/dimonomid/nerdlog/cmd/generate_syslog github.com/dimonomid/nerdlog/cmd/journalctl_mock github.com/dimonomid/nerdlog/cmd/nerdlog github.com/dimonomid/nerdlog/cmd/nerdlog/ui github.com/dimonomid/nerdlog/core github.com/dimonomid/nerdlog/core/testutils github.com/dimonomid/nerdlog/log github.com/dimonomid/nerdlog/shellescape github.com/dimonomid/nerdlog/util/sysloggen github.com/dimonomid/nerdlog/version returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1140264#10
Date:
2026-06-17 16:32:24 UTC
From:
To:
this is new, since some part of golang-golang-x-clipboard-dev was split
out into new src:golang-golang-x-x11.

now (almost all) reverse-depends of golang-golang-x-clipboard-dev will
ftbfs and will need to add a direct build-depends to
golang-golang-x-x11-dev.

that doesn't sound right, so, I'll add a depends in
golang-golang-x-clipboard-dev to golang-golang-x-x11-dev.

(jfyi in case you will/have already reported the same thing for other
packages)

Regards,
Daniel

#1140264#15
Date:
2026-06-17 16:49:57 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-golang-x-clipboard, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1140264@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated golang-golang-x-clipboard package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 17 Jun 2026 18:33:57 +0200
Source: golang-golang-x-clipboard
Architecture: source
Version: 0.8.0-3
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <daniel@debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Closes: 1140264
Changes:
 golang-golang-x-clipboard (0.8.0-3) sid; urgency=medium
 .
   * Wrap and sorting control.
   * Adding manual depends to newly broken out golang-golang-x-x11-dev from
     golang-golang-x-clipboard-dev to fix FTBFS for packages not having a
     direct depends on it (Closes: #1140264).
Checksums-Sha1:
 52675777955e6ddc29c79737044fdd9caea524b1 1705 golang-golang-x-clipboard_0.8.0-3.dsc
 69257ed0766ec19a9f3e2ab5c005fa088151b284 2336 golang-golang-x-clipboard_0.8.0-3.debian.tar.xz
 88f91a8c93fa9b2c9c423733a45dcab6e953b7b8 7321 golang-golang-x-clipboard_0.8.0-3_amd64.buildinfo
Checksums-Sha256:
 289d01ad77358947b426fb2dda8071fba17b2b0bfeced111770902aa46eaf7fd 1705 golang-golang-x-clipboard_0.8.0-3.dsc
 51badcfe8abe0da75381cc313b15f5e7fc730808846c232500395d173fda0e28 2336 golang-golang-x-clipboard_0.8.0-3.debian.tar.xz
 8037342b26354dc4c7ad8c2a9d8864c0c5424676d872882c3105f9e6abeaaef7 7321 golang-golang-x-clipboard_0.8.0-3_amd64.buildinfo
Files:
 e0bbccf491ccbdf7f9f16473cf30c4e8 1705 golang optional golang-golang-x-clipboard_0.8.0-3.dsc
 3b05ee99e1a12bcf4d7d32263435e149 2336 golang optional golang-golang-x-clipboard_0.8.0-3.debian.tar.xz
 fc81cd69577619ed60eba129fa075612 7321 golang optional golang-golang-x-clipboard_0.8.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCajLMqAAKCRD7tPDoCoAi
L+PjAP9OCrVTQ+V0huZFzcTis+VAdR1d601+YKd/PW41Rtpv8AD9GFydSwfK6Ur7
YWPhqwK1VUPpvsfwPAmsjumjEvUFIwM=
=Sp98
-----END PGP SIGNATURE-----

#1140264#20
Date:
2026-06-17 17:18:53 UTC
From:
To:
Thanks for the pointer. I did this:

grep -l golang-golang-x-clipboard-dev *

in the people.debian.org directory where I store the failed build logs
for this month, and this package was the only shown, so the problem
seems to end here.

Thanks.

#1140264#25
Date:
2026-06-17 17:27:51 UTC
From:
To:
nice, thanks.

unrelated to that - it's the right fix to add the dependency anyway, as
it's clipboard that imports x11, not the package using clipboard.

means, I should have done that in the first place, thanks for spotting
it! :)

Regards,
Daniel