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

Permissions issue when using CMakePythonPackage with extensions #3071

Open
jfgrimm opened this issue Jan 9, 2024 · 1 comment
Open

Permissions issue when using CMakePythonPackage with extensions #3071

jfgrimm opened this issue Jan 9, 2024 · 1 comment

Comments

@jfgrimm
Copy link
Member

jfgrimm commented Jan 9, 2024

When EasyBuild is configured with read-only-installdir, I'm seeing issues like this on a few easyconfigs:

== FAILED: Installation ended unsuccessfully (build directory: /dev/shm/jfg508/pygmo/2.18.0/foss-2022a): build failed (first 300 chars): Failed to copy file /opt/apps/eb/software/EasyBuild/4.8.2/lib/python3.6/site-packages/easybuild/easyblocks/generic/pythonpackage.py to /tmp/eb-niztdg64/reprod_20240108163151_2046843/easyblocks/pythonpackage.py: [Errno 13] Permission denied: '/tmp/eb-niztdg64/reprod_20240108163151_2046843/easyblocks/ (took 1 min 9 secs)

It looks like this only happens for easyconfigs using the CMakePythonPackage easyblock and have extensions. For example:

  • pygmo-2.18.0-foss-2022a.eb (CMakePythonPackage + extensions) fails
  • EZC3D-1.5.2-foss-2022a.eb (CMakePythonPackage, no extensions) works
  • EZC3D-1.5.2-foss-2022a.eb with an arbitrary extension added fails

relevant part from the log with debug output: https://gist.github.com/jfgrimm/b8aa26008bf3da34952c723a9892fa04

@jfgrimm
Copy link
Member Author

jfgrimm commented Jan 9, 2024

I see the same issue with ConfigureMakePythonPackage as well:

== FAILED: Installation ended unsuccessfully (build directory: /dev/shm/jfg508/MUSCLE3/0.7.0/foss-2022b): build failed (first 300 chars): Failed to copy file /opt/apps/eb/software/EasyBuild/4.9.0/lib/python3.6/site-packages/easybuild/easyblocks/generic/pythonpackage.py to /tmp/eb-gfah_z9c/reprod_20240109123220_3468230/easyblocks/pythonpackage.py: [Errno 13] Permission denied: '/tmp/eb-gfah_z9c/reprod_20240109123220_3468230/easyblocks/ (took 1 min 56 secs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant