Activity log for bug #2054239

Date Who What changed Old value New value Message
2024-02-18 20:35:14 Michael Hudson-Doyle bug added bug
2024-02-20 21:23:41 Michael Hudson-Doyle description If you run git-ubuntu.experimental-build on mantic you get this: (ubuntu/devel)mwhudson@orcrist:~/src/pkg/icedtea-web$ git-ubuntu.experimental-build -- -S Cwd.c: loadable library and perl binaries are mismatched (got first handshake key 0xcd00080, needed 0xeb80080) I think the issue here is that git-ubuntu's meta/snap.yaml sets PERL5LIB to point inside the snap and when experimental-build runs dpkg-buildpackage from the host (which is a perl script), /usr/bin/perl tries to load compiled from the snap (i.e. focal) and complains. I think git-ubuntu needs to grow some kind of helper to run system binaries with a clean or at least clean-enough environment (PYTHONPATH could definitely cause similar issues). (Classic snaps are a hoot) If you run git-ubuntu.experimental-build on mantic you get this: (ubuntu/devel)mwhudson@orcrist:~/src/pkg/icedtea-web$ git-ubuntu.experimental-build -- -S Cwd.c: loadable library and perl binaries are mismatched (got first handshake key 0xcd00080, needed 0xeb80080) I think the issue here is that git-ubuntu's meta/snap.yaml sets PERL5LIB to point inside the snap and when experimental-build runs dpkg-buildpackage from the host (which is a perl script), /usr/bin/perl tries to load compiled extensions from the snap (i.e. focal) and complains. I think git-ubuntu needs to grow some kind of helper to run system binaries with a clean or at least clean-enough environment (PYTHONPATH could definitely cause similar issues). (Classic snaps are a hoot)