You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And it will go to the end and works nicely. I was wonder if one of you can replicate the problem. I leave below the container instruction to build it with `apptainer build xxx.sif xxx.def:
Hi Guys,
I noticed that when the package is to be installed into a container (namely Apptainer) the installation fails because of:
... [09:26:37] tar: ./share/man/man3/X509_STORE_CTX_set0_untrusted.3: Cannot change ownership to uid 261840, gid 261840: Invalid argument [09:26:37] tar: ./share/man/man3/X509_STORE_CTX_set0_verified_chain.3: Cannot change ownership to uid 261840, gid 261840: Invalid argument [09:26:37] tar: ./share/man/man3/X509_STORE_CTX_set_cert.3: Cannot change ownership to uid 261840, gid 261840: Invalid argument [09:26:37] tar: ./share/man/man3/X509_STORE_CTX_set_current_cert.3: Cannot change ownership to uid 261840, gid 261840: Invalid argument [09:26:37] tar: ./share/man/man3/X509_STORE_CTX_set_default.3: Cannot change ownership to uid 261840, gid 261840: Invalid argument [09:26:37] tar: ./share/man/man3/X509_STORE_CTX_set_error.3: Cannot change ownership to uid 261840, gid 261840: Invalid ...
The solution is to
alias tar='tar --no-same-owner'
And it will go to the end and works nicely. I was wonder if one of you can replicate the problem. I leave below the container instruction to build it with `apptainer build xxx.sif xxx.def:
`
Bootstrap: docker
From: julia:1.10.4-bookworm
%files
script.jl /opt/script.jl
%post
apt update
apt install libpq-dev -y
export JULIA_DEPOT_PATH="/usr/local/julia/local/share/julia"
alias tar='tar --no-same-owner'
julia --project="." -e 'using Pkg;
Pkg.add("LibPQ");
Pkg.add("Tables");
Pkg.build();
Pkg.instantiate();
Pkg.precompile();'
%runscript
julia /opt/script.jl "$@"
`
The text was updated successfully, but these errors were encountered: