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

Avoid /dev/null for spack@develop #197

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Avoid /dev/null for spack@develop #197

merged 2 commits into from
Aug 27, 2024

Conversation

simonpintarelli
Copy link
Member

Current spack@develop wants to read config from SPACK_USER_CONFIG_PATH despite it has been set to /dev/null. Use $HOME hidden by tmpfs instead.

[daint][simonpi@nid006880 build-bwrap]$ env --ignore-environment http_proxy="$http_proxy" https_proxy="$https_proxy" no_proxy="$no_proxy" PATH=/usr/bin:/bin:`pwd`/spack/bin HOME=$HOME make store.squashfs -j32
/dev/shm/simonpi/build-bwrap/bwrap-mutable-root.sh --tmpfs ~ --bind /dev/shm/simonpi/build-bwrap/tmp /tmp --bind /dev/shm/simonpi/build-bwrap/store /user-environment spack --version > spack-version
spack arch... ==> Error: Path is not a file or is not readable: /dev/null/config.yaml: [Errno 20] Not a directory: '/dev/null/config.yaml'

spack version... 0.23.0.dev0 (0fee2c234ef1eda5483a2da5c6bd679c48d7ab26)
checking if spack concretizer works...  failed, see /dev/shm/simonpi/build-bwrap/spack-bootstrap-output
make: *** [Makefile:15: spack-setup] Error 1

Copy link
Member

@bcumming bcumming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@bcumming bcumming merged commit 008a6f1 into master Aug 27, 2024
13 checks passed
@simonpintarelli simonpintarelli deleted the fix-user-config-develop branch August 27, 2024 19:28
albestro added a commit to albestro/stackinator that referenced this pull request Nov 21, 2024
simonpintarelli pushed a commit that referenced this pull request Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants