Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSS easyconfigs broken in 5.0.x due to keepsymlinks being enabled by default #4794

Open
branfosj opened this issue Mar 5, 2025 · 3 comments
Labels
EasyBuild-5.0-blocker Blocker for EasyBuild 5.0
Milestone

Comments

@branfosj
Copy link
Member

branfosj commented Mar 5, 2025

NSS (tested both NSS-3.104-GCCcore-13.3.0.eb and NSS-3.94-GCCcore-13.2.0.eb) fails the sanity check as the install directory has broken symlinks in it.

== sanity checking...
  >> file 'bin/nss-config' found: FAILED
  >> file 'bin/multinit' found: FAILED
  >> file 'lib/libnss.a' found: FAILED

Looking at the install directory, in bin/ we see these:

lrwxrwxrwx 1 branfosj gITS_BEAR_2017-branfosj-rse 30 Mar  5 19:52 nss-config -> ../../../nss/config/nss-config
lrwxrwxrwx 1 branfosj gITS_BEAR_2017-branfosj-rse 92 Mar  5 19:45 nss-policy-check -> ../../../nss/cmd/nss-policy-check/Linux4.18_x86_64_gcc_glibc_PTH_64_OPT.OBJ/nss-policy-check
lrwxrwxrwx 1 branfosj gITS_BEAR_2017-branfosj-rse 89 Mar  5 19:52 nss_bogo_shim -> ../../../nss/gtests/nss_bogo_shim/Linux4.18_x86_64_gcc_glibc_PTH_64_OPT.OBJ/nss_bogo_shim
lrwxrwxrwx 1 branfosj gITS_BEAR_2017-branfosj-rse 76 Mar  5 19:46 ocspclnt -> ../../../nss/cmd/ocspclnt/Linux4.18_x86_64_gcc_glibc_PTH_64_OPT.OBJ/ocspclnt

NSS-3.94-GCCcore-13.2.0.eb was working for me in EB5 in mid January, so we've broken it since then. Specifically: EasyBuild 5.0.0beta1-r52d3f9e638c3dede0bf89c1e746847eb41bcc08e (framework: 5.0.0beta1-r52d3f9e638c3dede0bf89c1e746847eb41bcc08e, easyblocks: 5.0.0beta1-r30dba3532039a26dedaebbe1901c5e5ed26c6f0a).

My initial suspect is:

@branfosj branfosj added the EasyBuild-5.0-blocker Blocker for EasyBuild 5.0 label Mar 5, 2025
@branfosj branfosj added this to the 5.0 milestone Mar 5, 2025
@boegel boegel moved this to Blockers in EasyBuild v5.0 Mar 5, 2025
@boegel
Copy link
Member

boegel commented Mar 5, 2025

@branfosj Seems like we can simply fix this using keepsymlinks = False in the NSS easyconfigs?

I don't see this as a good enough reason to revert #4773...

@branfosj
Copy link
Member Author

branfosj commented Mar 5, 2025

Confirmed that reverting #4773 does fix it:

    'keepsymlinks': [False, ('Boolean to determine whether symlinks are to be kept during copying '
                             'or if the content of the files pointed to should be copied'),

So, potentially anything using files_to_copy may be broken. @boegel tells me there are 717 of those...

@branfosj
Copy link
Member Author

branfosj commented Mar 5, 2025

Adding keepsymlinks = False in the NSS easyconfigs also fixes the problem.

edit: see:

@boegel boegel changed the title NSS broken in EB5 NSS easyconfigs broken in 5.0.x due to keepsymlinks being enabled by default Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EasyBuild-5.0-blocker Blocker for EasyBuild 5.0
Projects
Status: Blockers
Development

No branches or pull requests

2 participants