-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Owain testing] Standing up the stack on Kathleen #61
Comments
That library isn't on Myriad in the usual locations so........ |
|
Myriad also only has |
Ah, then that's problematic 😕 |
However, with Perl it's tricky because libxcrypt requires Perl and Perl requires libxcrypt. It's a known issue: So in Spack libxcrypt is not a dependency of perl, but perl's configure script will enable it anyhow if it can find it as part of glibc; I don't think their configure scripts allows one to disable it explicitly. |
Thanks! |
Ah right, this is one where we need a perl built and added to our own build cache first to not hit this problem. (Which has been the case for all the previous work I was doing). Then it won't try to get it from manylinux. |
I was thinking if we added system perl as an external then this might be resolvable, but from that issue "But to configure libxcrypt, you need perl 5.14 with open.pm, which is not available on RHEL and derivatives by default, and you may not have access to yum install perl-open." so that probably isn't going to help us. |
How about installing libxcrypt from RHEL repos and use that as an external? 😅 Still, avoiding externals would be better to keep things self-consistent |
Discussion in the Spack Slack about never reusing Perl from a buildcache but reusing everything else pointed at the examples in spack/spack#42782 of excluding things from being reused by the concretizer, not sure if useful here. The perl we get from first_compiler.yaml was like this when the binary cache was not added. The gcc 11.2.1 here is our starting external compiler.
|
(adding system perl only removed netcdf from the list of things that don't install) |
The perl from the firstcompiler run is in the build-cache but it doesn't help. |
We've tried various things. So some things that definitely break things badly: If you include_concrete:
- /path/that/doesnt/exist it will break Tied in to that it doesn't expand environment variables. |
@haampie would you be able to rebuild perl in the buildcache to use libxcrypt, which uses the first perl in the buildcache (basically do the bootstrap process)? Feels like the current situation isn't ideal 🥲 |
As a result of trying to help with CMake in #58 I've been trying to stand everything up on Kathleen, as
ccspapp
.Because it started there, the site name is called "owain-issue58". Sorry.
This led to #60.
Now at the stage on Kathleen where most of the stuff in a base install installs (
spack -e base install
) but with some failures.These failures seem to stem from various dependencies not being able to find
libcrypt.so.2
This issue is just to capture my notes as I work on this!
The text was updated successfully, but these errors were encountered: