When using the glibc standalone Python builds for Linux containers, installing these standalone builds into / results in some weird behaviour. The root cause appears to be that sys.base_prefix is set to /install. I've created a Rockcraft file that demonstrates the issue at https://github.com/lengau/bug-reproducers/tree/python-standalone-bin
While the packages work correctly when placed into /usr, they don't work in /. If placed in /usr on a system with /usr merge, the same issues appear when calling /bin/python3 or related.
Given how different this is from the purpose of these builds I think it's reasonable to file it under quirks and move on, but I figured you ought to know :-)
When using the glibc standalone Python builds for Linux containers, installing these standalone builds into
/results in some weird behaviour. The root cause appears to be thatsys.base_prefixis set to/install. I've created a Rockcraft file that demonstrates the issue at https://github.com/lengau/bug-reproducers/tree/python-standalone-binWhile the packages work correctly when placed into
/usr, they don't work in/. If placed in/usron a system with /usr merge, the same issues appear when calling/bin/python3or related.Given how different this is from the purpose of these builds I think it's reasonable to file it under quirks and move on, but I figured you ought to know :-)