Discussion:
Bug#1090302: snowflake: FTBFS: cannot find package "git.torproject.org/pluggable-transports/goptlib.git"
Add Reply
Santiago Vila
2024-12-16 18:00:15 UTC
Reply
Permalink
Package: src:snowflake
Version: 2.5.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang --with=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
dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
cd _build && go install -trimpath -v -p 2 git.torproject.org/pluggable-transports/snowflake.git/client git.torproject.org/pluggable-transports/snowflake.git/client/lib git.torproject.org/pluggable-transports/snowflake.git/common/amp git.torproject.org/pluggable-transports/snowflake.git/common/bridgefingerprint git.torproject.org/pluggable-transports/snowflake.git/common/encapsulation git.torproject.org/pluggable-transports/snowflake.git/common/event git.torproject.org/pluggable-transports/snowflake.git/common/messages git.torproject.org/pluggable-transports/snowflake.git/common/namematcher git.torproject.org/pluggable-transports/snowflake.git/common/nat git.torproject.org/pluggable-transports/snowflake.git/common/safelog git.torproject.org/pluggable-transports/snowflake.git/common/task git.torproject.org/pluggable-transports/snowflake.git/common/turbotunnel git.torproject.org/pluggable-transports/snowflake.git/common/util git.torproject.org/pluggable-transports/snowflake.git/common/
utls git.torproject.org/pluggable-transports/snowflake.git/common/version git.torproject.org/pluggable-transports/snowflake.git/common/websocketconn git.torproject.org/pluggable-transports/snowflake.git/proxy git.torproject.org/pluggable-transports/snowflake.git/proxy/lib
src/git.torproject.org/pluggable-transports/snowflake.git/client/snowflake.go:19:2: cannot find package "git.torproject.org/pluggable-transports/goptlib.git" in any of:
/usr/lib/go-1.23/src/git.torproject.org/pluggable-transports/goptlib.git (from $GOROOT)
/<<PKGBUILDDIR>>/_build/src/git.torproject.org/pluggable-transports/goptlib.git (from $GOPATH)
dh_auto_build: error: cd _build && go install -trimpath -v -p 2 git.torproject.org/pluggable-transports/snowflake.git/client git.torproject.org/pluggable-transports/snowflake.git/client/lib git.torproject.org/pluggable-transports/snowflake.git/common/amp git.torproject.org/pluggable-transports/snowflake.git/common/bridgefingerprint git.torproject.org/pluggable-transports/snowflake.git/common/encapsulation git.torproject.org/pluggable-transports/snowflake.git/common/event git.torproject.org/pluggable-transports/snowflake.git/common/messages git.torproject.org/pluggable-transports/snowflake.git/common/namematcher git.torproject.org/pluggable-transports/snowflake.git/common/nat git.torproject.org/pluggable-transports/snowflake.git/common/safelog git.torproject.org/pluggable-transports/snowflake.git/common/task git.torproject.org/pluggable-transports/snowflake.git/common/turbotunnel git.torproject.org/pluggable-transports/snowflake.git/common/util git.torproject.org/pluggable-transports/
snowflake.git/common/utls git.torproject.org/pluggable-transports/snowflake.git/common/version git.torproject.org/pluggable-transports/snowflake.git/common/websocketconn git.torproject.org/pluggable-transports/snowflake.git/proxy git.torproject.org/pluggable-transports/snowflake.git/proxy/lib returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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 could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.
Antoine Beaupré
2024-12-21 15:40:01 UTC
Reply
Permalink
Hi. It seems golang-goptlib changed namespace between upstream
releases, and snowflake has to adapt. However, it is possible to solve
this with a hack in golang-goptlib, so I did that.
thank you so much!

btw, you might want to look into:

https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40105#note_3139337

and more specifically:

https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40410#note_3139364

since we still need to figure out exactly how to ship the latest
snowflake upstream here. your help would be greatly appreciated!

a.
--
One of the things the Web teaches us is that everything is connected
(hyperlinks) and we all should work together (standards). Too often
school teaches us that everything is separate (many different
'subjects') and that we should all work alone. - Aaron Swartz
Loading...