Comments (2)
some debug stuff...
$ export NP_DEBUG=1
$ export NP_RUNTIME=bwrap
$ nix-portable nix-shell -p zsh
installing files
figuring out ssl certs
SSL_CERT_FILE not defined. trying to find certs automatically
found /etc/ssl/certs/ca-bundle.crt with real path /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
figuring out which runtime to use
bwrap executable: /p/home/jraa/.nix-portable/bin/bwrap
proot executable: /p/home/jraa/.nix-portable/bin/proot
runtime selected via NP_RUNTIME: bwrap
base command will be: /p/home/jraa/.nix-portable/bin/bwrap --bind /p/home/jraa/.nix-portable/emptyroot / --dev-bind /dev /dev --bind /p/home/jraa/.nix-portable/ /nix --bind /sys /sys --bind /p/work1 /incoming --bind /archive /archive --bind /var /var --bind /p/app /app --bind /media /media --bind /lost+found /lost+found --bind /etc /etc --bind /Quarantine /Quarantine --bind /usr/sbin /sbin --bind /p/home/sitecfg/acct /acct --bind /10d.out /10d.out --bind /usr/lib /lib --bind /p /p --bind /usr /usr --bind /core.81279 /core.81279 --bind /p/home/sitecfg/acct /acct.old --bind /localhome /localhome --bind /proc /proc --bind /tmp /tmp --bind /ELT /ELT --bind /core.93066 /core.93066 --bind /tmpmnt /tmpmnt --bind /scripts /scripts --bind /mnt /mnt --bind /srv /srv --bind /home /home --bind /run /run --bind /usr/lib64 /lib64 --bind /boot /boot --bind /pbs_server /pbs_server --bind /.readahead /.readahead --bind /opt /opt --bind /root /root --bind /usr/bin /bin --bind /core.27897 /core.27897 --bind /etc/host.conf /etc/host.conf --bind /etc/hosts /etc/hosts --bind /etc/hosts.equiv /etc/hosts.equiv --bind /etc/networks /etc/networks --bind /etc/passwd /etc/passwd --bind /etc/group /etc/group --bind /etc/nsswitch.conf /etc/nsswitch.conf --bind /etc/resolv.conf /etc/resolv.conf --bind /usr/share/zoneinfo/UTC /usr/share/zoneinfo/UTC --bind /p/home/jraa /p/home/jraa --bind /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /p/home/jraa/.nix-portable/ca-bundle.crt
cat: can't open '/p/home/jraa/.nix-portable/conf/last_runtime': No such file or directory
Testing if nix can build stuff without sandbox
/p/home/jraa/.nix-portable/store/cqvxiq4l98b7d1ra0sqj1p83cb8sk99z-nix-2.18.0/bin/nix-build: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory
Fatal error: nix is unable to build packages
from nix-portable.
With some sym link and LD_LIBRARY_PATH hacking I was able to get as far as:
$ NP_DEBUG=1 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/krb5/lib:$HOME/pks/rpms/keyutils-libs/lib64:$HOME/.local/lib nix-portable nix-shell -p zsh
installing files
figuring out ssl certs
SSL_CERT_FILE not defined. trying to find certs automatically
found /etc/ssl/certs/ca-bundle.crt with real path /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
figuring out which runtime to use
bwrap executable: /p/home/jraa/.nix-portable/bin/bwrap
proot executable: /p/home/jraa/.nix-portable/bin/proot
bwrap seems to work on this system -> will use bwrap
base command will be: /p/home/jraa/.nix-portable/bin/bwrap --bind /p/home/jraa/.nix-portable/emptyroot / --dev-bind /dev /dev --bind /p/home/jraa/.nix-portable/ /nix --bind /sys /sys --bind /p/work1 /incoming --bind /archive /archive --bind /var /var --bind /p/app /app --bind /media /media --bind /lost+found /lost+found --bind /etc /etc --bind /Quarantine /Quarantine --bind /usr/sbin /sbin --bind /p/home/sitecfg/acct /acct --bind /10d.out /10d.out --bind /usr/lib /lib --bind /p /p --bind /usr /usr --bind /core.81279 /core.81279 --bind /p/home/sitecfg/acct /acct.old --bind /localhome /localhome --bind /proc /proc --bind /tmp /tmp --bind /ELT /ELT --bind /core.93066 /core.93066 --bind /tmpmnt /tmpmnt --bind /scripts /scripts --bind /mnt /mnt --bind /srv /srv --bind /home /home --bind /run /run --bind /usr/lib64 /lib64 --bind /boot /boot --bind /pbs_server /pbs_server --bind /.readahead /.readahead --bind /opt /opt --bind /root /root --bind /usr/bin /bin --bind /core.27897 /core.27897 --bind /etc/host.conf /etc/host.conf --bind /etc/hosts /etc/hosts --bind /etc/hosts.equiv /etc/hosts.equiv --bind /etc/networks /etc/networks --bind /etc/passwd /etc/passwd --bind /etc/group /etc/group --bind /etc/nsswitch.conf /etc/nsswitch.conf --bind /etc/resolv.conf /etc/resolv.conf --bind /usr/share/zoneinfo/UTC /usr/share/zoneinfo/UTC --bind /p/home/jraa /p/home/jraa --bind /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /p/home/jraa/.nix-portable/ca-bundle.crt
cat: can't open '/p/home/jraa/.nix-portable/conf/last_runtime': No such file or directory
Testing if nix can build stuff without sandbox
/p/home/jraa/.nix-portable/store/cqvxiq4l98b7d1ra0sqj1p83cb8sk99z-nix-2.18.0/bin/nix-build: /p/app/gnu/11.2.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /nix/store/cqvxiq4l98b7d1ra0sqj1p83cb8sk99z-nix-2.18.0/lib/libnixstore.so)
/p/home/jraa/.nix-portable/store/cqvxiq4l98b7d1ra0sqj1p83cb8sk99z-nix-2.18.0/bin/nix-build: /p/app/gnu/11.2.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /nix/store/cqvxiq4l98b7d1ra0sqj1p83cb8sk99z-nix-2.18.0/lib/libnixutil.so)
/p/home/jraa/.nix-portable/store/cqvxiq4l98b7d1ra0sqj1p83cb8sk99z-nix-2.18.0/bin/nix-build: /p/app/gnu/11.2.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /nix/store/428ig60cc3n8q8kg0cmpws07a12ksrqx-aws-sdk-cpp-1.11.37/lib/libaws-cpp-sdk-transfer.so)
/p/home/jraa/.nix-portable/store/cqvxiq4l98b7d1ra0sqj1p83cb8sk99z-nix-2.18.0/bin/nix-build: /p/app/gnu/11.2.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /nix/store/428ig60cc3n8q8kg0cmpws07a12ksrqx-aws-sdk-cpp-1.11.37/lib/libaws-cpp-sdk-core.so)
/p/home/jraa/.nix-portable/store/cqvxiq4l98b7d1ra0sqj1p83cb8sk99z-nix-2.18.0/bin/nix-build: /p/app/gnu/11.2.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /nix/store/v4r4x88y91nc72sjbi9791hqsziiz4ns-aws-crt-cpp-0.19.8/lib/libaws-crt-cpp.so)
Fatal error: nix is unable to build packages
from nix-portable.
Related Issues (20)
- Fails to run with vfs mount
- nix-portable breaks on symlinked home directory
- Error "nix is unable to build packages" when there's nothing to build HOT 1
- Debugging 'unzip: short read' HOT 2
- Sudo in nix-portable HOT 6
- How to update to nixos 23.11? HOT 1
- What is the `nix --store` runtime? HOT 3
- cannot use `nix --store` runtime which is selected by default HOT 9
- nixpkgs#emacs29-gtk3 with packages ends up with Operation not permitted in fixupPhase
- I cannot start nix-portable as a user HOT 7
- super slow access to webarchive when downloading proot
- [Help Wanted] nix bundle within nix-portable HOT 1
- Ability to simply enter the sandbox HOT 2
- Making Nix-Portable's runner script POSIX HOT 1
- Relative flake input files
- CACert issue?
- Bundler does not work in aarch64_linux
- homeless-shelter writable and causes failure if something writes there HOT 1
- set LOCALE_ARCHIVE for nix-shell
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix-portable.