[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Multiple import paths for a package seems to not work



Hi,

I was trying to update snowflake [1]. This has a change in import path, which I added in [2].

This now has 2 import paths. riseup-vpn is a reverse-dependency of this package. When I tried
to build reverse-dependency (everything locally), I am getting:

| # 0xacab.org/leap/bitmask-vpn/pkg/snowflake/lib
| src/0xacab.org/leap/bitmask-vpn/pkg/snowflake/lib/turbotunnel.go:10:2: cannot find package "git.torproject.org/
| pluggable-transports/snowflake.git/common/encapsulation" in any of:
|	/build/reproducible-path/riseup-vpn-0.25.8+ds2/_build/src/0xacab.org/leap/bitmask-vpn/vendor/
| git.torproject.org/pluggable-transports/snowflake.git/common/encapsulation (vendor tree)

While this directory _is_ present:

| $ dpkg -c golang-snowflake-dev_2.10.1-1_all.deb | grep encapsulation
| drwxr-xr-x root/root         0 2024-12-07 00:00 ./usr/share/gocode/src/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/v2/common/encapsulation/
| -rw-r--r-- root/root      6700 2024-12-07 00:00 ./usr/share/gocode/src/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/v2/common/encapsulation/encapsulation.go
|-rw-r--r-- root/root     12313 2024-12-07 00:00 ./usr/share/gocode/src/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/v2/common/encapsulation/encapsulation_test.go

Could someone help me understand as to why the other import path is not taken up?

[1] https://salsa.debian.org/pkg-privacy-team/snowflake
[2] https://salsa.debian.org/pkg-privacy-team/snowflake/-/commit/e594bcde56436ac9dc9cc3aeb96eefdbfe4945a0

-- 
Best,
Nilesh


Reply to: