Last active
September 5, 2023 17:28
-
-
Save Jayman2000/7f99841e52cef03d7d2727d81e69500f to your computer and use it in GitHub Desktop.
A log used to report an issue with resholve: <https://github.com/abathur/resholve/issues/99>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make update | |
Sassing docs/manpage.css from docs/manpage.scss | |
Building manpage | |
Sassing docs/strings.css from docs/strings.scss | |
Wursting _resholve/strings.py from docs/strings.wwst | |
touch .local | |
Building ci.nix | |
these 19 derivations will be built: | |
/nix/store/chkvwixk9fh507xz1c4vdziqhc6839r8-testmod1-unresholved-unreleased.drv | |
/nix/store/62mcj11zmbig7mb8n1g4b17jkdw2vfw6-testmod1-unresholved-unreleased-binlore.drv | |
/nix/store/gslbrf84syis3yrni9s6xdniq3j3f0m6-testmod2-unresholved-unreleased.drv | |
/nix/store/hqv3rgl0p7cykp9rh2xnzfqdxzaaiq5c-testmod2-unresholved-unreleased-binlore.drv | |
/nix/store/izkjlgbl94asb92nimnaxm612dcr8mr2-more-binlore.drv | |
/nix/store/nzrgrjv5rkmclhp6y59mqsl2ym44iqrs-more-binlore.drv | |
/nix/store/y32267d685lf83jc2cc18p77jqmq2898-resholve-0.9.0.drv | |
/nix/store/k4f69frs0inrvvw543fbjj3c2aclxcik-testmod2-unreleased.drv | |
/nix/store/qr5lapys6rjk32cl3m1avwh60f5d2rih-testmod2-unreleased-binlore.drv | |
/nix/store/dld9ic3543bbq9qndkda4y8nxxd9wpkr-more-binlore.drv | |
/nix/store/gpj0c5pqd91ni7wja2vq6li2r7g5kad8-testmod1-unreleased.drv | |
/nix/store/rjpz0n7l77dk1q2xn97k1s582sflyarn-testmod1-unreleased-binlore.drv | |
/nix/store/chl6kymng36gn8y49vhh9rqw5igrg5jf-more-binlore.drv | |
/nix/store/2syz0qzn36p1jf02ki459626nswmz60c-testmod3-unreleased.drv | |
/nix/store/6nnakz966cd50f73g5q978qv1flsdbx7-resholve-test.drv | |
/nix/store/dnf042sg7bkx041b6b53ddqgycrs5rgn-resholved-script.drv | |
/nix/store/rrf88z6r619r4z71xkar6gp7dy5v8qsl-resholved-script-bin.drv | |
/nix/store/ynwbxnfyz3lgw5ssgqs696nx9yqky9jc-resholved-script-bin.drv | |
/nix/store/26rrhmgd8rp3d84fhhzxrz5ayqy0x09j-resholve-ci.drv | |
building '/nix/store/y32267d685lf83jc2cc18p77jqmq2898-resholve-0.9.0.drv'... | |
building '/nix/store/chkvwixk9fh507xz1c4vdziqhc6839r8-testmod1-unresholved-unreleased.drv'... | |
building '/nix/store/gslbrf84syis3yrni9s6xdniq3j3f0m6-testmod2-unresholved-unreleased.drv'... | |
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing setuptools-build-hook | |
Using setuptoolsBuildPhase | |
Using setuptoolsShellHook | |
Sourcing pip-install-hook | |
Using pipInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing setuptools-check-hook | |
Using setuptoolsCheckPhase | |
unpacking sources | |
unpacking source archive /nix/store/q88bqjf4xsbn0vk6f0dwvps9m7w1d47a-repo | |
unpacking sources | |
unpacking source archive /nix/store/q88bqjf4xsbn0vk6f0dwvps9m7w1d47a-repo | |
unpacking sources | |
unpacking source archive /nix/store/q88bqjf4xsbn0vk6f0dwvps9m7w1d47a-repo | |
source root is repo | |
source root is repo/tests/nix/libressl | |
patching sources | |
source root is repo/tests/nix/openssl | |
configuring | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file repo/wordswurst.nix | |
patching sources | |
patching sources | |
configuring | |
no configure script, doing nothing | |
building | |
no Makefile or custom buildPhase, doing nothing | |
configuring | |
installing | |
no configure script, doing nothing | |
building | |
post-installation fixup | |
no Makefile or custom buildPhase, doing nothing | |
installing | |
shrinking RPATHs of ELF executables and libraries in /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased | |
post-installation fixup | |
checking for references to /build/ in /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased... | |
patching script interpreter paths in /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased | |
stripping (with command strip and flags -S -p) in /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased/bin | |
no configure script, doing nothing | |
building | |
shrinking RPATHs of ELF executables and libraries in /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased | |
Executing setuptoolsBuildPhase | |
checking for references to /build/ in /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased... | |
building '/nix/store/62mcj11zmbig7mb8n1g4b17jkdw2vfw6-testmod1-unresholved-unreleased-binlore.drv'... | |
patching script interpreter paths in /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased | |
/nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased/libexec/invokeme: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash" | |
stripping (with command strip and flags -S -p) in /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased/libexec /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased/bin | |
building '/nix/store/hqv3rgl0p7cykp9rh2xnzfqdxzaaiq5c-testmod2-unresholved-unreleased-binlore.drv'... | |
generating binlore for /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased by running: | |
/nix/store/jmignvx82sz0n6p2dy8i35c7np7kmcq5-yara-4.3.1/bin/yara --scan-list --recursive /nix/store/jf8bpr2dbcprc4mpyplg7hv16lzw327x-execers.yar <(printf '%s\n' /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased/{bin,lib,libexec}) | /nix/store/9dx4bmdqbmazrdzdj08gh1kjjlkmvc2w-yallback-0.1.0/bin/yallback /nix/store/kmdywkvhcwdifd77jlc3pag7bxnfkzn9-execers.yall | |
error scanning /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased/lib: could not open file | |
error scanning /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased/libexec: could not open file | |
binlore for /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased written to /nix/store/iviwf6admfns4xw4f0clnmi4w3h81zmy-testmod1-unresholved-unreleased-binlore | |
generating binlore for /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased by running: | |
/nix/store/jmignvx82sz0n6p2dy8i35c7np7kmcq5-yara-4.3.1/bin/yara --scan-list --recursive /nix/store/jf8bpr2dbcprc4mpyplg7hv16lzw327x-execers.yar <(printf '%s\n' /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased/{bin,lib,libexec}) | /nix/store/9dx4bmdqbmazrdzdj08gh1kjjlkmvc2w-yallback-0.1.0/bin/yallback /nix/store/kmdywkvhcwdifd77jlc3pag7bxnfkzn9-execers.yall | |
error scanning /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased/lib: could not open file | |
binlore for /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased written to /nix/store/p3s6c5hsd4anfmrb55mj6kcpy1qx8rmg-testmod2-unresholved-unreleased-binlore | |
building '/nix/store/izkjlgbl94asb92nimnaxm612dcr8mr2-more-binlore.drv'... | |
building '/nix/store/nzrgrjv5rkmclhp6y59mqsl2ym44iqrs-more-binlore.drv'... | |
substituteStream(): WARNING: pattern '/nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased/' doesn't match anything in file '/nix/store/gbg4yx092xzndidp1aqvz56yfvbl68bf-more-binlore/wrappers' | |
substituteStream(): WARNING: pattern '/nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased/' doesn't match anything in file '/nix/store/xljf5adzi44d1yalvhflzl03prlx8lm0-more-binlore/wrappers' | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
creating build/lib/_resholve | |
copying _resholve/version.py -> build/lib/_resholve | |
copying _resholve/__init__.py -> build/lib/_resholve | |
copying _resholve/strings.py -> build/lib/_resholve | |
running egg_info | |
creating resholve.egg-info | |
writing resholve.egg-info/PKG-INFO | |
writing top-level names to resholve.egg-info/top_level.txt | |
writing dependency_links to resholve.egg-info/dependency_links.txt | |
writing manifest file 'resholve.egg-info/SOURCES.txt' | |
reading manifest file 'resholve.egg-info/SOURCES.txt' | |
writing manifest file 'resholve.egg-info/SOURCES.txt' | |
running build_scripts | |
creating build/scripts-2.7 | |
copying and adjusting resholve -> build/scripts-2.7 | |
changing mode of build/scripts-2.7/resholve from 644 to 755 | |
installing to build/bdist.linux-x86_64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-x86_64 | |
creating build/bdist.linux-x86_64/wheel | |
creating build/bdist.linux-x86_64/wheel/_resholve | |
copying build/lib/_resholve/version.py -> build/bdist.linux-x86_64/wheel/_resholve | |
copying build/lib/_resholve/__init__.py -> build/bdist.linux-x86_64/wheel/_resholve | |
copying build/lib/_resholve/strings.py -> build/bdist.linux-x86_64/wheel/_resholve | |
running install_egg_info | |
Copying resholve.egg-info to build/bdist.linux-x86_64/wheel/resholve-0.9.0-py2.7.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/resholve-0.9.0.data | |
creating build/bdist.linux-x86_64/wheel/resholve-0.9.0.data/scripts | |
copying build/scripts-2.7/resholve -> build/bdist.linux-x86_64/wheel/resholve-0.9.0.data/scripts | |
changing mode of build/bdist.linux-x86_64/wheel/resholve-0.9.0.data/scripts/resholve to 755 | |
adding license file "LICENSE" (matched pattern "LICEN[CS]E*") | |
creating build/bdist.linux-x86_64/wheel/resholve-0.9.0.dist-info/WHEEL | |
creating 'dist/resholve-0.9.0-py2-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding '_resholve/__init__.py' | |
adding '_resholve/strings.py' | |
adding '_resholve/version.py' | |
adding 'resholve-0.9.0.data/scripts/resholve' | |
adding 'resholve-0.9.0.dist-info/LICENSE' | |
adding 'resholve-0.9.0.dist-info/METADATA' | |
adding 'resholve-0.9.0.dist-info/WHEEL' | |
adding 'resholve-0.9.0.dist-info/top_level.txt' | |
adding 'resholve-0.9.0.dist-info/RECORD' | |
removing build/bdist.linux-x86_64/wheel | |
Finished executing setuptoolsBuildPhase | |
installing | |
Executing pipInstallPhase | |
/build/repo/dist /build/repo | |
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. | |
Processing ./resholve-0.9.0-py2-none-any.whl | |
Installing collected packages: resholve | |
Successfully installed resholve-0.9.0 | |
/build/repo | |
Finished executing pipInstallPhase | |
pythonOutputDistPhase | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
post-installation fixup | |
shrinking RPATHs of ELF executables and libraries in /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0 | |
checking for references to /build/ in /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0... | |
gzipping man pages under /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/share/man/ | |
patching script interpreter paths in /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0 | |
stripping (with command strip and flags -S -p) in /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/lib /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/bin | |
shrinking RPATHs of ELF executables and libraries in /nix/store/5nnz9r14g8ngy62ccnw52f5lqf9iqaqp-resholve-0.9.0-dist | |
checking for references to /build/ in /nix/store/5nnz9r14g8ngy62ccnw52f5lqf9iqaqp-resholve-0.9.0-dist... | |
patching script interpreter paths in /nix/store/5nnz9r14g8ngy62ccnw52f5lqf9iqaqp-resholve-0.9.0-dist | |
Rewriting #!/nix/store/r3qy746fdmdx402xy6x1ymn0n8rx013a-python-2.7.18.6/bin/python2.7 to #!/nix/store/r3qy746fdmdx402xy6x1ymn0n8rx013a-python-2.7.18.6 | |
wrapping `/nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/bin/resholve'... | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
running install tests | |
no Makefile or custom installCheckPhase, doing nothing | |
pythonCatchConflictsPhase | |
pythonRemoveBinBytecodePhase | |
pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
setuptoolsCheckPhase | |
Executing setuptoolsCheckPhase | |
running test | |
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. | |
running egg_info | |
writing resholve.egg-info/PKG-INFO | |
writing top-level names to resholve.egg-info/top_level.txt | |
writing dependency_links to resholve.egg-info/dependency_links.txt | |
reading manifest file 'resholve.egg-info/SOURCES.txt' | |
writing manifest file 'resholve.egg-info/SOURCES.txt' | |
running build_ext | |
---------------------------------------------------------------------- | |
Ran 0 tests in 0.000s | |
OK | |
Finished executing setuptoolsCheckPhase | |
building '/nix/store/6nnakz966cd50f73g5q978qv1flsdbx7-resholve-test.drv'... | |
building '/nix/store/rrf88z6r619r4z71xkar6gp7dy5v8qsl-resholved-script-bin.drv'... | |
building '/nix/store/ynwbxnfyz3lgw5ssgqs696nx9yqky9jc-resholved-script-bin.drv'... | |
building '/nix/store/dnf042sg7bkx041b6b53ddqgycrs5rgn-resholved-script.drv'... | |
building '/nix/store/k4f69frs0inrvvw543fbjj3c2aclxcik-testmod2-unreleased.drv'... | |
unpacking sources | |
[resholve context] : invoking resholve with PWD=/nix/store/hccm4ydm1fxxgvypc48cgywpzakdjxxm-resholved-script-bin | |
[resholve context] RESHOLVE_LORE=/nix/store/kisx130gsz9iq2ghwrsxbxad3cqx5qvi-more-binlore | |
[resholve context] RESHOLVE_INPUTS=/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin | |
[resholve context] RESHOLVE_INTERPRETER=/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
[resholve context] /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/bin/resholve --overwrite bin/resholved-script-bin | |
unpacking source archive /nix/store/q88bqjf4xsbn0vk6f0dwvps9m7w1d47a-repo | |
[resholve context] : invoking resholve with PWD=/nix/store/d3f7jxjl1vhi7f09hvn3gl3h9h2rpbyz-resholved-script-bin | |
[resholve context] RESHOLVE_LORE=/nix/store/kisx130gsz9iq2ghwrsxbxad3cqx5qvi-more-binlore | |
[resholve context] RESHOLVE_INPUTS=/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin | |
[resholve context] RESHOLVE_INTERPRETER=none | |
[resholve context] /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/bin/resholve --overwrite bin/resholved-script-bin | |
[resholve context] : invoking resholve with PWD=/build | |
[resholve context] RESHOLVE_LORE=/nix/store/kisx130gsz9iq2ghwrsxbxad3cqx5qvi-more-binlore | |
[resholve context] RESHOLVE_INPUTS=/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin | |
[resholve context] RESHOLVE_INTERPRETER=/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
[resholve context] /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/bin/resholve --overwrite /nix/store/9px244k59l5cyyigskyzf5dam2ix9sd7-resholved-script | |
source root is repo | |
patching sources | |
unpacking sources | |
unpacking source archive /nix/store/2kwfbyk05na99vmfzk580zn7wc712brb-testmod2-unresholved-unreleased | |
configuring | |
source root is testmod2-unresholved-unreleased | |
patching sources | |
no configure script, doing nothing | |
installing | |
building | |
build flags: SHELL=/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
post-installation fixup | |
/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash: line 1: nix-shell: command not found | |
Sorry--the Makefile is a lie. I just use this for dev tasks atm. | |
See README.md / https://github.com/abathur/resholve | |
[resholve context] : invoking resholve with PWD=/nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased | |
[resholve context] RESHOLVE_LORE=/nix/store/xljf5adzi44d1yalvhflzl03prlx8lm0-more-binlore | |
[resholve context] RESHOLVE_EXECER='cannot:/nix/store/5x0cf6xglh7h6qszkflll6fspgl39jrb-openssl-3.0.10-bin/bin/openssl can:/nix/store/5x0cf6xglh7h6qszkflll6fspgl39jrb-openssl-3.0.10-bin/bin/c_rehash' | |
[resholve context] RESHOLVE_FIX=aliases | |
[resholve context] RESHOLVE_INPUTS=/nix/store/0zzx9skjkkkk37iyz4wlaw3a7zh4nbgy-shunit2-2.1.8/bin:/nix/store/5x0cf6xglh7h6qszkflll6fspgl39jrb-openssl-3.0.10-bin/bin:libexec:libexec/invokeme | |
[resholve context] RESHOLVE_INTERPRETER=none | |
[resholve context] /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/bin/resholve --overwrite bin/openssl.sh libexec/invokeme | |
running tests | |
patching script interpreter paths in . | |
./test.sh: interpreter directive changed from "#! /usr/bin/env bash" to "/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash" | |
./resholve: interpreter directive changed from "#!/usr/bin/env python2" to "/nix/store/r3qy746fdmdx402xy6x1ymn0n8rx013a-python-2.7.18.6/bin/python2" | |
./demo: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash" | |
Overwrote '/nix/store/hccm4ydm1fxxgvypc48cgywpzakdjxxm-resholved-script-bin/bin/resholved-script-bin' | |
Overwrote '/nix/store/d3f7jxjl1vhi7f09hvn3gl3h9h2rpbyz-resholved-script-bin/bin/resholved-script-bin' | |
Overwrote '/nix/store/9px244k59l5cyyigskyzf5dam2ix9sd7-resholved-script' | |
Overwrote '/nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/bin/openssl.sh' | |
Overwrote '/nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/libexec/invokeme' | |
[resholve context] RESHOLVE_LORE=/nix/store/gbg4yx092xzndidp1aqvz56yfvbl68bf-more-binlore | |
[resholve context] RESHOLVE_INPUTS= | |
[resholve context] RESHOLVE_INTERPRETER=none | |
[resholve context] /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/bin/resholve --overwrite profile | |
Overwrote '/nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/profile' | |
shrinking RPATHs of ELF executables and libraries in /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased | |
checking for references to /build/ in /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased... | |
patching script interpreter paths in /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased | |
stripping (with command strip and flags -S -p) in /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/libexec /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/bin | |
building '/nix/store/qr5lapys6rjk32cl3m1avwh60f5d2rih-testmod2-unreleased-binlore.drv'... | |
generating binlore for /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased by running: | |
/nix/store/jmignvx82sz0n6p2dy8i35c7np7kmcq5-yara-4.3.1/bin/yara --scan-list --recursive /nix/store/jf8bpr2dbcprc4mpyplg7hv16lzw327x-execers.yar <(printf '%s\n' /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/{bin,lib,libexec}) | /nix/store/9dx4bmdqbmazrdzdj08gh1kjjlkmvc2w-yallback-0.1.0/bin/yallback /nix/store/kmdywkvhcwdifd77jlc3pag7bxnfkzn9-execers.yall | |
error scanning /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/lib: could not open file | |
binlore for /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased written to /nix/store/46q78ym2vkcwm737ggcy1b1cwprvv4rg-testmod2-unreleased-binlore | |
building '/nix/store/dld9ic3543bbq9qndkda4y8nxxd9wpkr-more-binlore.drv'... | |
substituteStream(): WARNING: pattern '/nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased/' doesn't match anything in file '/nix/store/gjg5xa45sp7hf17gynp4yp5yyb3n0524-more-binlore/execers' | |
substituteStream(): WARNING: pattern '/nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased/' doesn't match anything in file '/nix/store/gjg5xa45sp7hf17gynp4yp5yyb3n0524-more-binlore/wrappers' | |
building '/nix/store/gpj0c5pqd91ni7wja2vq6li2r7g5kad8-testmod1-unreleased.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/pqpb68fc29qfzbhclwcbj1fv6iprw5kl-testmod1-unresholved-unreleased | |
source root is testmod1-unresholved-unreleased | |
patching sources | |
installing | |
post-installation fixup | |
[resholve context] : invoking resholve with PWD=/nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased | |
[resholve context] RESHOLVE_LORE=/nix/store/gjg5xa45sp7hf17gynp4yp5yyb3n0524-more-binlore | |
[resholve context] RESHOLVE_INPUTS=/nix/store/i1jf9af43mf4jpnz7angp62bfndm8ksd-jq-1.6-bin/bin:/nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/bin:/nix/store/19zksiynyks5jlpffw5j0z9vg2ambs7b-libressl-3.7.3-bin/bin | |
[resholve context] RESHOLVE_INTERPRETER=none | |
[resholve context] /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/bin/resholve --overwrite bin/libressl.sh submodule/helper.sh | |
Overwrote '/nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/bin/libressl.sh' | |
Overwrote '/nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/submodule/helper.sh' | |
shrinking RPATHs of ELF executables and libraries in /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased | |
checking for references to /build/ in /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased... | |
patching script interpreter paths in /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased | |
stripping (with command strip and flags -S -p) in /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/bin | |
building '/nix/store/rjpz0n7l77dk1q2xn97k1s582sflyarn-testmod1-unreleased-binlore.drv'... | |
generating binlore for /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased by running: | |
/nix/store/jmignvx82sz0n6p2dy8i35c7np7kmcq5-yara-4.3.1/bin/yara --scan-list --recursive /nix/store/jf8bpr2dbcprc4mpyplg7hv16lzw327x-execers.yar <(printf '%s\n' /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/{bin,lib,libexec}) | /nix/store/9dx4bmdqbmazrdzdj08gh1kjjlkmvc2w-yallback-0.1.0/bin/yallback /nix/store/kmdywkvhcwdifd77jlc3pag7bxnfkzn9-execers.yall | |
error scanning /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/lib: could not open file | |
error scanning /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/libexec: could not open file | |
binlore for /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased written to /nix/store/0qv85367civxdaiav4iwfgz89ay4hffd-testmod1-unreleased-binlore | |
building '/nix/store/chl6kymng36gn8y49vhh9rqw5igrg5jf-more-binlore.drv'... | |
building '/nix/store/2syz0qzn36p1jf02ki459626nswmz60c-testmod3-unreleased.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/q88bqjf4xsbn0vk6f0dwvps9m7w1d47a-repo | |
source root is repo/tests/nix/future_perfect_tense | |
patching sources | |
configuring | |
no configure script, doing nothing | |
building | |
no Makefile or custom buildPhase, doing nothing | |
installing | |
[resholve context] : invoking resholve with PWD=/nix/store/2ikwnph7pkmrax8dn2vm75774rqsbiyh-testmod3-unreleased | |
[resholve context] RESHOLVE_LORE=/nix/store/a7bqiv0xky7wbik68s357w6grn87qjqc-more-binlore | |
[resholve context] RESHOLVE_FAKE='external:'\''jq'\'';'\''openssl'\''' | |
[resholve context] RESHOLVE_INPUTS=/nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/bin | |
[resholve context] RESHOLVE_INTERPRETER=/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
[resholve context] /nix/store/sj7j63halb1w0zk06v3ggs1nyhf7k9v1-resholve-0.9.0/bin/resholve --overwrite bin/conjure.sh | |
Overwrote '/nix/store/2ikwnph7pkmrax8dn2vm75774rqsbiyh-testmod3-unreleased/bin/conjure.sh' | |
post-installation fixup | |
shrinking RPATHs of ELF executables and libraries in /nix/store/2ikwnph7pkmrax8dn2vm75774rqsbiyh-testmod3-unreleased | |
checking for references to /build/ in /nix/store/2ikwnph7pkmrax8dn2vm75774rqsbiyh-testmod3-unreleased... | |
patching script interpreter paths in /nix/store/2ikwnph7pkmrax8dn2vm75774rqsbiyh-testmod3-unreleased | |
stripping (with command strip and flags -S -p) in /nix/store/2ikwnph7pkmrax8dn2vm75774rqsbiyh-testmod3-unreleased/bin | |
============================= resholve test suite =================================== | |
1..67 | |
ok 1 verify warnings are thrown for quoted evals in 176ms | |
ok 2 verify --keep '$varname' allows dynamic commands in 183ms | |
ok 3 verify --fix '$varname:cmd' substitutes dynamic commands in 196ms | |
ok 4 can resolve a simple coproc in 172ms | |
ok 5 can't resolve a named braced coproc w/o upstream support :( in 178ms | |
ok 6 can't resolve a named paren coproc w/o upstream support :( in 165ms | |
ok 7 objects to unexempted absolute source paths in 172ms | |
ok 8 allows exempted absolute source paths in 184ms | |
ok 9 allow (but do not parse) --fake 'source:path' in 167ms | |
ok 10 allow (*and* do not parse) --keep 'source:path' + --fake 'source:path' in 314ms | |
ok 11 objects to unexempted tilde executable paths in 165ms | |
ok 12 allows exempted tilde executable paths in 165ms | |
ok 13 allows --fake executable in 165ms | |
ok 14 allows --fake function with colons in 168ms | |
ok 15 resolve abspath with --fix abspath in 171ms | |
ok 16 resolve fails without lore in 187ms | |
ok 17 resolve fails without assay in 167ms | |
ok 18 resolve fails with bad assay in 318ms | |
ok 19 resolve fails with overshooting assay wordnum in 324ms | |
ok 20 resolve fails with assay wordnum 0 in 167ms | |
ok 21 resolve fails with undershooting assay wordnum in 315ms | |
ok 22 resolve succeeds with assay in 167ms | |
ok 23 resolve commands mixed with varlike assignments in 182ms | |
ok 24 verify warnings are thrown for overridden builtins in 170ms | |
ok 25 Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo in 171ms | |
ok 26 don't get confused by input redirections in 169ms | |
ok 27 invoking resholve without --interpreter prints an error in 307ms | |
ok 28 invoking resholve without path/inputs prints an error in 313ms | |
ok 29 invoking resholve with missing interpreter prints an error in 309ms | |
ok 30 invoking resholve with a relative interpreter prints an error in 308ms | |
ok 31 invoking resholve with a non-executable interpreter prints an error in 307ms | |
ok 32 invoking resholve without script's deps prints an error in 312ms | |
ok 33 ensure shebangs are identical in 301ms | |
ok 34 resholve resolves simple external dependency from command-line args in 328ms | |
ok 35 resholve resolves simple external dependency from stdin in 170ms | |
ok 36 path/inputs can be supplied with the inputs alias in 314ms | |
ok 37 only one of path/inputs can be supplied in 306ms | |
ok 38 resholve fails if target script isn't found in 309ms | |
ok 39 resholve fails with duplicate input scripts in 167ms | |
ok 40 resholve fails when scripts have untriaged dynamic elements in 314ms | |
ok 41 resholve fails when 'keep' directives are misformatted in 452ms | |
ok 42 resholve fails when triage directive doesn't specify the right thing in 1045ms | |
ok 43 resholve succeeds when 1x 'keep' directives are correct in 467ms | |
ok 44 resholve succeeds when 2x 'keep' directives are correct in 780ms | |
ok 45 resholve accepts empty directives in 170ms | |
ok 46 don't resolve aliases without '--fix aliases' in 203ms | |
ok 47 inject before and after script in 318ms | |
ok 48 inject before/after in multiple scripts in 175ms | |
ok 49 fail with bad lore argument in 169ms | |
ok 50 accept good lore argument in 161ms | |
ok 51 'which' needs to be in RESHOLVE_PATH in 165ms | |
ok 52 Even in a function, 'which' needs to be in RESHOLVE_PATH in 166ms | |
ok 53 Absolute executable paths need exemptions in 165ms | |
ok 54 Even nested-executable paths need exemptions in 165ms | |
ok 55 Source, among others, needs an exemption for arguments containing variables in 163ms | |
ok 56 Resolves unqualified 'file' to absolute path from RESHOLVE_PATH in 165ms | |
ok 57 Even in a function, resolves unqualified 'file' to absolute path from RESHOLVE_PATH in 166ms | |
ok 58 Only some commands ('source' but NOT 'file', here) are checked for variable arguments. in 166ms | |
ok 59 Add an exemption with --keep <scope>:<name> in 165ms | |
ok 60 Add an exemption with RESHOLVE_ALLOW=source:$PWD in 165ms | |
ok 61 'source' targets also need to be in RESHOLVE_PATH in 163ms | |
ok 62 Resolves unqualified 'source' to absolute path from RESHOLVE_PATH in 190ms | |
ok 63 Has (naive) context-specific resolution rules in 213ms | |
ok 64 Has (rudimentary) support for resolving executable arguments in 246ms | |
ok 65 Can substitute a variable used as a command in 208ms | |
ok 66 modern resholve versions reject v1 files in 169ms | |
ok 67 exercise built-in syntax parsers in 1584ms | |
============================= resholve demo =================================== | |
1..15 | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < which_simple.sh (exit: 3) ] | |
Original: | |
>>> # no inputs provide which | |
>>> which resholve | |
Output: | |
>>> which resholve | |
>>> ^~~~~ | |
>>> [ stdinNone ]:3: Couldn't resolve command 'which' | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 1 'which' needs to be in RESHOLVE_PATH in 170ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < command_in_function.sh (exit: 3) ] | |
Original: | |
>>> source file_simple.sh | |
>>> file() { | |
>>> # no inputs provide which | |
>>> command which "$@" | |
>>> } | |
Output: | |
>>> command which "$@" | |
>>> ^~~~~ | |
>>> [ stdinNone ]:5: Couldn't resolve command 'which' | |
>>> #!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> source /build/repo/tests/file_simple.sh | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 2 Even in a function, 'which' needs to be in RESHOLVE_PATH in 174ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < absolute_path.sh (exit: 5) ] | |
Original: | |
>>> /usr/bin/which resholve | |
Output: | |
>>> /usr/bin/which resholve | |
>>> ^~~~~~~~~~~~~~ | |
>>> [ stdinNone ]:2: Unexpected absolute command path. | |
>>> | |
>>> Next step: keep, fix, or pre-patch/substitute it. | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 3 Absolute executable paths need exemptions in 172ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < absolute_path_nested.sh (exit: 5) ] | |
Original: | |
>>> find . -name resholve -exec /usr/bin/file {} + | |
Output: | |
>>> find . -name resholve -exec /usr/bin/file {} + | |
>>> ^~~~~~~~~~~~~ | |
>>> [ stdinNone ]:2: Unexpected absolute command path. | |
>>> | |
>>> Next step: keep, fix, or pre-patch/substitute it. | |
>>> #!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 4 Even nested-executable paths need exemptions in 172ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < source_var_pwd.sh (exit: 6) ] | |
Original: | |
>>> # fails because $PWD requires a dynamic parse | |
>>> # (I can resolve from a dictionary but haven't | |
>>> # seen a clear reason to do it...) | |
>>> # and isn't exempted with --keep source:PWD | |
>>> source $PWD/file_simple.sh | |
>>> source ${PWD}/file_simple.sh | |
Output: | |
>>> source $PWD/file_simple.sh | |
>>> ^~~~ | |
>>> [ stdinNone ]:6: Can't resolve dynamic argument in 'source' | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 5 Source, among others, needs an exemption for arguments containing variables in 172ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < file_simple.sh (exit: 0) ] | |
Diff: | |
>>> --- original | |
>>> +++ resolved | |
>>> @@ -1,3 +1,7 @@ | |
>>> +#!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> # resolves file from inputs | |
>>> -file resholver | |
>>> -"file" resholver | |
>>> +/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file resholver | |
>>> +"/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file" resholver | |
>>> + | |
>>> +### resholve directives (auto-generated) ## format_version: 3 | |
>>> +# resholve: keep /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 6 Resolves unqualified 'file' to absolute path from RESHOLVE_PATH in 176ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < file_in_function.sh (exit: 0) ] | |
Diff: | |
>>> --- original | |
>>> +++ resolved | |
>>> @@ -1,5 +1,10 @@ | |
>>> -source which_simple.sh | |
>>> +#!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> +source /build/repo/tests/which_simple.sh | |
>>> which() { | |
>>> # resolves file here too | |
>>> - file "$@" | |
>>> + /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file "$@" | |
>>> } | |
>>> + | |
>>> +### resholve directives (auto-generated) ## format_version: 3 | |
>>> +# resholve: keep /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | |
>>> +# resholve: keep source:/build/repo/tests/which_simple.sh | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 7 Even in a function, resolves unqualified 'file' to absolute path from RESHOLVE_PATH in 178ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < file_home_source_pwd.sh (exit: 6) ] | |
Original: | |
>>> # $HOME not blocking here; vars currently only checked in: | |
>>> # alias command eval exec source|. sudo env | |
>>> file $HOME/file_simple.sh | |
>>> # PWD needs exemption: --keep source:PWD or RESHOLVE_KEEP='source:PWD' | |
>>> source $PWD/file_simple.sh | |
Output: | |
>>> source $PWD/file_simple.sh | |
>>> ^~~~ | |
>>> [ stdinNone ]:6: Can't resolve dynamic argument in 'source' | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 8 Only some commands ('source' but NOT 'file', here) are checked for variable arguments. in 173ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash --keep 'source:$PWD' < file_home_source_pwd.sh (exit: 0) ] | |
Diff: | |
>>> --- original | |
>>> +++ resolved | |
>>> @@ -1,5 +1,10 @@ | |
>>> +#!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> # $HOME not blocking here; vars currently only checked in: | |
>>> # alias command eval exec source|. sudo env | |
>>> -file $HOME/file_simple.sh | |
>>> +/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file $HOME/file_simple.sh | |
>>> # PWD needs exemption: --keep source:PWD or RESHOLVE_KEEP='source:PWD' | |
>>> source $PWD/file_simple.sh | |
>>> + | |
>>> +### resholve directives (auto-generated) ## format_version: 3 | |
>>> +# resholve: keep /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | |
>>> +# resholve: keep source:$PWD | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 9 Add an exemption with --keep <scope>:<name> in 176ms | |
--[ RESHOLVE_KEEP='source:$PWD' resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < file_home_source_pwd.sh (exit: 0) ] | |
Diff: | |
>>> --- original | |
>>> +++ resolved | |
>>> @@ -1,5 +1,10 @@ | |
>>> +#!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> # $HOME not blocking here; vars currently only checked in: | |
>>> # alias command eval exec source|. sudo env | |
>>> -file $HOME/file_simple.sh | |
>>> +/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file $HOME/file_simple.sh | |
>>> # PWD needs exemption: --keep source:PWD or RESHOLVE_KEEP='source:PWD' | |
>>> source $PWD/file_simple.sh | |
>>> + | |
>>> +### resholve directives (auto-generated) ## format_version: 3 | |
>>> +# resholve: keep /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | |
>>> +# resholve: keep source:$PWD | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 10 Add an exemption with RESHOLVE_ALLOW=source:$PWD in 176ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < source_missing_target.sh (exit: 4) ] | |
Original: | |
>>> # fails to resolve this (from inputs, or relative to directory) | |
>>> source doesnt_exist.sh | |
Output: | |
>>> source doesnt_exist.sh | |
>>> ^~~~~~~~~~~~~~~ | |
>>> [ stdinNone ]:3: Unable to resolve source target 'doesnt_exist.sh' to a known file | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 11 'source' targets also need to be in RESHOLVE_PATH in 170ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < source_present_target.sh (exit: 0) ] | |
Diff: | |
>>> --- original | |
>>> +++ resolved | |
>>> @@ -1,3 +1,7 @@ | |
>>> +#!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> # resolves gettext from inputs | |
>>> -source gettext.sh | |
>>> -. gettext.sh | |
>>> +source /nix/store/fgr89gfh5if2x12qm0wz2s996jyn5qx9-gettext-0.21/bin/gettext.sh | |
>>> +. /nix/store/fgr89gfh5if2x12qm0wz2s996jyn5qx9-gettext-0.21/bin/gettext.sh | |
>>> + | |
>>> +### resholve directives (auto-generated) ## format_version: 3 | |
>>> +# resholve: keep source:/nix/store/fgr89gfh5if2x12qm0wz2s996jyn5qx9-gettext-0.21/bin/gettext.sh | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 12 Resolves unqualified 'source' to absolute path from RESHOLVE_PATH in 197ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash --fix aliases < alias_riddle.sh (exit: 0) ] | |
Diff: | |
>>> --- original | |
>>> +++ resolved | |
>>> @@ -1,16 +1,22 @@ | |
>>> +#!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> # don't try to run me; I'll probably crash or hang or something | |
>>> # I'm just a succinct test for complex resolution logic... | |
>>> alias file="file -n" # the function | |
>>> -alias find="find -H" find2="find -P" # external! | |
>>> +alias find="/nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find -H" find2="/nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find -P" # external! | |
>>> | |
>>> function file(){ | |
>>> file -n # the alias :P | |
>>> } | |
>>> | |
>>> file # I'm the alias | |
>>> \file # the function! | |
>>> -command file # external | |
>>> +command /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file # external | |
>>> | |
>>> find # alias | |
>>> -\find # external | |
>>> -command find # external | |
>>> +\/nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find# external | |
>>> +command /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find # external | |
>>> + | |
>>> +### resholve directives (auto-generated) ## format_version: 3 | |
>>> +# resholve: fix aliases | |
>>> +# resholve: keep /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find | |
>>> +# resholve: keep /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 13 Has (naive) context-specific resolution rules in 216ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash < nested_execer.sh (exit: 0) ] | |
Diff: | |
>>> --- original | |
>>> +++ resolved | |
>>> @@ -1,27 +1,35 @@ | |
>>> +#!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> fargs(){ | |
>>> - echo "nice $(type -ap file) you got there" | |
>>> + echo "nice $(type -ap /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file) you got there" | |
>>> } | |
>>> | |
>>> -echo wert | find $(type -p file) -name file -exec file {} + # resolve 1st/~last | |
>>> +echo wert | /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find $(type -p /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file) -name file -exec /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file {} + # resolve 1st/~last | |
>>> echo wert | fargs file # resolve none | |
>>> -echo wert | exec find file # resolve 2nd | |
>>> -echo wert | xargs file # resolve both | |
>>> +echo wert | exec /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find file # resolve 2nd | |
>>> +echo wert | /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/xargs /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file # resolve both | |
>>> | |
>>> -builtin source gettext.sh # resolve last | |
>>> -builtin command . gettext.sh # resolve last | |
>>> -builtin command -v . gettext.sh # resolve last | |
>>> +builtin source /nix/store/fgr89gfh5if2x12qm0wz2s996jyn5qx9-gettext-0.21/bin/gettext.sh # resolve last | |
>>> +builtin command . /nix/store/fgr89gfh5if2x12qm0wz2s996jyn5qx9-gettext-0.21/bin/gettext.sh # resolve last | |
>>> +builtin command -v . /nix/store/fgr89gfh5if2x12qm0wz2s996jyn5qx9-gettext-0.21/bin/gettext.sh # resolve last | |
>>> | |
>>> echo wert | exec >&2 # resolve none | |
>>> | |
>>> # semi-nonsense, but should resolve bash, gettext, file, bash, file | |
>>> -bash \ | |
>>> - -c "source gettext.sh" \ | |
>>> +/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash \ | |
>>> + -c "source /nix/store/fgr89gfh5if2x12qm0wz2s996jyn5qx9-gettext-0.21/bin/gettext.sh" \ | |
>>> "bop" \ | |
>>> - -c "command file" \ | |
>>> - -c "bash -c file" | |
>>> + -c "command /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file" \ | |
>>> + -c "/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash -c /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file" | |
>>> | |
>>> -if type -p find; then | |
>>> - type -p find | |
>>> -elif ! type -p find; then | |
>>> - ! type -p find | |
>>> +if type -p /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find; then | |
>>> + type -p /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find | |
>>> +elif ! type -p /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find; then | |
>>> + ! type -p /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find | |
>>> fi | |
>>> + | |
>>> +### resholve directives (auto-generated) ## format_version: 3 | |
>>> +# resholve: keep /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> +# resholve: keep /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/find | |
>>> +# resholve: keep /nix/store/x6rwgp1jl5sgzwbsaigqkdbdc7krzwj7-findutils-4.9.0/bin/xargs | |
>>> +# resholve: keep /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | |
>>> +# resholve: keep source:/nix/store/fgr89gfh5if2x12qm0wz2s996jyn5qx9-gettext-0.21/bin/gettext.sh | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 14 Has (rudimentary) support for resolving executable arguments in 259ms | |
--[ resholve --interpreter /nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash --fix '$FILE_CMD:file' < file_var.sh (exit: 0) ] | |
Diff: | |
>>> --- original | |
>>> +++ resolved | |
>>> @@ -1,12 +1,17 @@ | |
>>> +#!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
>>> FILE_CMD="$HOME/.local/bin/file" | |
>>> | |
>>> -$FILE_CMD resholver | |
>>> -"$FILE_CMD" resholver | |
>>> -${FILE_CMD} resholver | |
>>> -"${FILE_CMD}" resholver | |
>>> -${FILE_CMD:-default} resholver | |
>>> -"${FILE_CMD:-default}" resholver | |
>>> -exec $FILE_CMD | |
>>> -exec "$FILE_CMD" | |
>>> -exec $FILE_CMD | exec $FILE_CMD | |
>>> -exec "$FILE_CMD" | exec "$FILE_CMD" | |
>>> +/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file resholver | |
>>> +"/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file" resholver | |
>>> +/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file resholver | |
>>> +"/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file" resholver | |
>>> +/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file resholver | |
>>> +"/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file" resholver | |
>>> +exec /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | |
>>> +exec "/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file" | |
>>> +exec /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | exec /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | |
>>> +exec "/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file" | exec "/nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file" | |
>>> + | |
>>> +### resholve directives (auto-generated) ## format_version: 3 | |
>>> +# resholve: fix $FILE_CMD:file | |
>>> +# resholve: keep /nix/store/yqa6z204wc1qwrac9sjdsnp2cdjay6bg-file-5.44/bin/file | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ok 15 Can substitute a variable used as a command in 214ms | |
installing | |
post-installation fixup | |
shrinking RPATHs of ELF executables and libraries in /nix/store/0dd6wfkwwbbpp16565yidj01wsf59bbs-resholve-test | |
checking for references to /build/ in /nix/store/0dd6wfkwwbbpp16565yidj01wsf59bbs-resholve-test... | |
patching script interpreter paths in /nix/store/0dd6wfkwwbbpp16565yidj01wsf59bbs-resholve-test | |
building '/nix/store/26rrhmgd8rp3d84fhhzxrz5ayqy0x09j-resholve-ci.drv'... | |
Hello | |
.: directory | |
============================= resholve Nix demo =============================== | |
much help | |
test_future_perfection | |
nothing up my sleeve | |
+++++ type jq openssl | |
/nix/store/2ikwnph7pkmrax8dn2vm75774rqsbiyh-testmod3-unreleased/bin/conjure.sh: line 7: type: jq: not found | |
/nix/store/2ikwnph7pkmrax8dn2vm75774rqsbiyh-testmod3-unreleased/bin/conjure.sh: line 7: type: openssl: not found | |
+++++ set +x | |
test_openssl | |
+++++ /nix/store/5x0cf6xglh7h6qszkflll6fspgl39jrb-openssl-3.0.10-bin/bin/openssl version | |
OpenSSL 3.0.10 1 Aug 2023 (Library: OpenSSL 3.0.10 1 Aug 2023) | |
+++++ /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/libexec/invokeme | |
OpenSSL 3.0.10 1 Aug 2023 (Library: OpenSSL 3.0.10 1 Aug 2023) | |
+++++ /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/libexec/invokeme | |
OpenSSL 3.0.10 1 Aug 2023 (Library: OpenSSL 3.0.10 1 Aug 2023) | |
+++++ set +x | |
test_libressl | |
+++++ /nix/store/i1jf9af43mf4jpnz7angp62bfndm8ksd-jq-1.6-bin/bin/jq -n --arg greeting world '{"hello":$greeting}' | |
{ | |
"hello": "world" | |
} | |
+++++ /nix/store/19zksiynyks5jlpffw5j0z9vg2ambs7b-libressl-3.7.3-bin/bin/openssl version | |
LibreSSL 3.7.3 | |
+++++ set +x | |
Ran 3 tests. | |
OK | |
───────┬──────────────────────────────────────────────────────────────────────── | |
│ File: /nix/store/2ikwnph7pkmrax8dn2vm75774rqsbiyh-testmod3-unreleased/bin/conjure.sh | |
───────┼──────────────────────────────────────────────────────────────────────── | |
1 │ #!/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash | |
2 │ test_future_perfection() { | |
3 │ echo "nothing up my sleeve" | |
4 │ | |
5 │ { | |
6 │ set -x | |
7 │ type jq openssl | |
8 │ set +x | |
9 │ } | |
10 │ return 0 | |
11 │ } | |
12 │ | |
13 │ test_openssl() { | |
14 │ openssl_sh | |
15 │ } | |
16 │ | |
17 │ test_libressl() { | |
18 │ libressl_sh | |
19 │ } | |
20 │ | |
21 │ source /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/bin/libressl.sh | |
22 │ | |
23 │ ### resholve directives (auto-generated) ## format_version: 3 | |
24 │ # resholve: fake external:jq | |
25 │ # resholve: fake external:openssl | |
26 │ # resholve: keep source:/nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/bin/libressl.sh | |
27 │ | |
───────┴──────────────────────────────────────────────────────────────────────── | |
───────┬──────────────────────────────────────────────────────────────────────── | |
│ File: /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/bin/openssl.sh | |
───────┼──────────────────────────────────────────────────────────────────────── | |
1 │ openssl_sh() { | |
2 │ set -x | |
3 │ /nix/store/5x0cf6xglh7h6qszkflll6fspgl39jrb-openssl-3.0.10-bin/bin/openssl version | |
4 │ /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/libexec/invokeme | |
5 │ /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/libexec/invokeme | |
6 │ set +x | |
7 │ } | |
8 │ alias blah=/nix/store/5x0cf6xglh7h6qszkflll6fspgl39jrb-openssl-3.0.10-bin/bin/openssl | |
9 │ | |
10 │ source /nix/store/0zzx9skjkkkk37iyz4wlaw3a7zh4nbgy-shunit2-2.1.8/bin/shunit2 | |
11 │ | |
12 │ ### resholve directives (auto-generated) ## format_version: 3 | |
13 │ # resholve: fix aliases | |
14 │ # resholve: keep /nix/store/5x0cf6xglh7h6qszkflll6fspgl39jrb-openssl-3.0.10-bin/bin/openssl | |
15 │ # resholve: keep /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/libexec/invokeme | |
16 │ # resholve: keep source:/nix/store/0zzx9skjkkkk37iyz4wlaw3a7zh4nbgy-shunit2-2.1.8/bin/shunit2 | |
17 │ | |
───────┴──────────────────────────────────────────────────────────────────────── | |
───────┬──────────────────────────────────────────────────────────────────────── | |
│ File: /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/bin/libressl.sh | |
───────┼──────────────────────────────────────────────────────────────────────── | |
1 │ source /nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/submodule/helper.sh | |
2 │ | |
3 │ libressl_sh() { | |
4 │ set -x | |
5 │ /nix/store/i1jf9af43mf4jpnz7angp62bfndm8ksd-jq-1.6-bin/bin/jq -n --arg greeting world '{"hello":$greeting}' | |
6 │ /nix/store/19zksiynyks5jlpffw5j0z9vg2ambs7b-libressl-3.7.3-bin/bin/openssl version | |
7 │ set +x | |
8 │ } | |
9 │ | |
10 │ just_being_helpful | |
11 │ | |
12 │ source /nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/bin/openssl.sh | |
13 │ | |
14 │ ### resholve directives (auto-generated) ## format_version: 3 | |
15 │ # resholve: keep /nix/store/19zksiynyks5jlpffw5j0z9vg2ambs7b-libressl-3.7.3-bin/bin/openssl | |
16 │ # resholve: keep /nix/store/i1jf9af43mf4jpnz7angp62bfndm8ksd-jq-1.6-bin/bin/jq | |
17 │ # resholve: keep source:/nix/store/7qs5ddahig1c1hc1c0g7dg55mwaq8675-testmod2-unreleased/bin/openssl.sh | |
18 │ # resholve: keep source:/nix/store/jnxan3lccyf99nysw4k69z7n6p1xcqkq-testmod1-unreleased/submodule/helper.sh | |
19 │ | |
───────┴──────────────────────────────────────────────────────────────────────── | |
/nix/store/pid08ml4g81vss82129cj5gwgx0w4lw4-resholve-ci | |
Building timings.md | |
Building demos.md | |
Building plain-text copy of manpage | |
Sassing docs/markdown.css from docs/markdown.scss | |
Building Nixpkgs README (markdown) | |
Traceback (most recent call last): | |
File "/nix/store/kzsapik8igygrxawxci95xrj4cy6ky86-python3.9-wordswurst-test/bin/.wordswurst-wrapped", line 9, in <module> | |
sys.exit(main()) | |
File "/nix/store/kzsapik8igygrxawxci95xrj4cy6ky86-python3.9-wordswurst-test/lib/python3.9/site-packages/wordswurst/__init__.py", line 705, in main | |
print(WordsWurst.translate(tree).lstrip()) | |
File "/nix/store/j4082523cdrr7cn52qzi2szry8h0q1ll-python3.9-d-mark-python/lib/python3.9/site-packages/dmark/__init__.py", line 381, in translate | |
return "".join( | |
File "/nix/store/j4082523cdrr7cn52qzi2szry8h0q1ll-python3.9-d-mark-python/lib/python3.9/site-packages/dmark/__init__.py", line 383, in <lambda> | |
map(lambda node: cls.handle(node, context), nodes) | |
File "/nix/store/j4082523cdrr7cn52qzi2szry8h0q1ll-python3.9-d-mark-python/lib/python3.9/site-packages/dmark/__init__.py", line 393, in handle | |
return cls.handle_element(node, context) | |
File "/nix/store/kzsapik8igygrxawxci95xrj4cy6ky86-python3.9-wordswurst-test/lib/python3.9/site-packages/wordswurst/__init__.py", line 563, in handle_element | |
return cls.handle_compose(element, context, depth) | |
File "/nix/store/kzsapik8igygrxawxci95xrj4cy6ky86-python3.9-wordswurst-test/lib/python3.9/site-packages/wordswurst/__init__.py", line 527, in handle_compose | |
space_cadet(cls.handle_children(element, dict(context, depth=depth + 1))) | |
File "/nix/store/j4082523cdrr7cn52qzi2szry8h0q1ll-python3.9-d-mark-python/lib/python3.9/site-packages/dmark/__init__.py", line 407, in handle_children | |
return [cls.handle(child, context) for child in node.children] | |
File "/nix/store/j4082523cdrr7cn52qzi2szry8h0q1ll-python3.9-d-mark-python/lib/python3.9/site-packages/dmark/__init__.py", line 407, in <listcomp> | |
return [cls.handle(child, context) for child in node.children] | |
File "/nix/store/j4082523cdrr7cn52qzi2szry8h0q1ll-python3.9-d-mark-python/lib/python3.9/site-packages/dmark/__init__.py", line 393, in handle | |
return cls.handle_element(node, context) | |
File "/nix/store/kzsapik8igygrxawxci95xrj4cy6ky86-python3.9-wordswurst-test/lib/python3.9/site-packages/wordswurst/__init__.py", line 567, in handle_element | |
return cls.handle_insert(element, context, depth) | |
File "/nix/store/kzsapik8igygrxawxci95xrj4cy6ky86-python3.9-wordswurst-test/lib/python3.9/site-packages/wordswurst/__init__.py", line 533, in handle_insert | |
with open(content_path, "r") as cd: | |
FileNotFoundError: [Errno 2] No such file or directory: '../../nixpkgs/pkgs/tools/misc/dgoss/default.nix' | |
make: *** [Makefile:53: docs/README.nixpkgs.md] Error 1 | |
$ echo "$?" | |
2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment