sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

596
active users

@csantosb I’d love to know when -R and -RR (and ‘-f squashfs’, etc.) do not work, since that’s the main motivation. :-)

(Spoiler: it always works. Tier-1/Tier-0 supercomputers these days have either unprivileged user namespaces or Singularity/Apptainer so ‘guix pack’ works like a charm!)

@civodul
It does ! However, it is good to know how flexible is, and the many alternatives it offers.

@civodul There is a way in which -R sometimes doesn't work: when it's something other than code references in ELF files that's not relocatable. As for example in issues.guix.gnu.org/issue/7330 for Python. I just encountered a similar issue with SBCL.

I tried the trick cited by @csantosb but only got cryptic Guile error messages. Maybe it's me, maybe it's some details missing, maybe something else.

issues.guix.gnu.orgPython in relocatable guix pack leads to wrong sys.path

@khinsen Oh, right. But isn’t the core issue that Python does lexical ‘..’ resolution, which is (alas) incorrect in the presence of symlinks?

(By “lexical” I mean that it replaces “a/b/../c” by “a/c”.)

@csantosb

@civodul Yes, that's the core issue, but we haven't been able to properly diagnose and fix it yet, so I don't expect the average Guix HPC user to find a solution. That's why I like Arun's workaround - if only I could make it work!

@csantosb

@civodul @csantosb I love it when people feel they have the justifiable power to say, 'It always works!'