Control: tag -1 + moreinfo
Hi أحمد (2026.02.20_23:00:23_-0400)
When building cocotb [1], some .so files got installed under
/usr/lib/python3.14/dist-packages/cocotb/libs/:
./usr/lib/python3.14/dist-packages/cocotb/libs/libcocotb.so
./usr/lib/python3.14/dist-packages/cocotb/libs/libembed.so
./usr/lib/python3.14/dist-packages/cocotb/libs/libpygpilog.so
Yet those same libraries (along with others) got also installed in the
proper path /usr/lib/python3/dist-packages/cocotb/libs/
I don't know what you're expecting to happen? Maybe dh_python3 should
exit with an error?
I see this from your last salsa-ci build:
dh_python3 --no-ext-rename
W: dh_python3 fs:143: Paths differ:
debian/python3-cocotb/usr/lib/python3.14/dist-packages/cocotb/libs/libpygpilog.so
and
debian/python3-cocotb/usr/lib/python3/dist-packages/cocotb/libs/libpygpilog.so
W: dh_python3 fs:143: Paths differ:
debian/python3-cocotb/usr/lib/python3.14/dist-packages/cocotb/libs/libembed.so
and debian/python3-cocotb/usr/lib/python3/dist-packages/cocotb/libs/libembed.so
W: dh_python3 fs:143: Paths differ:
debian/python3-cocotb/usr/lib/python3.14/dist-packages/cocotb/libs/libcocotb.so
and debian/python3-cocotb/usr/lib/python3/dist-packages/cocotb/libs/libcocotb.so
The package is running dh_python3 with --no-ext-rename, in other words,
do notto rename .so files to add multiarch tuples.
So, when it gets two different versions of .so file, what is it supposed
to do?
It just leaves them installed in a python-interpreter-version specific
path, because it has no other option.
Stefano
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272