Closed lamchau closed 2 months ago
In 3.46.1 version of sqlite packaging no longer stores the binaries under a directory, so we get the following error
sqlite
failed to find binaries "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1/*"
hermit install sqlite-3.46.1 --trace
info:sqlite-3.46.1:install: Installing sqlite-3.46.1 debug:sqlite-3.46.1:install: From https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip debug:sqlite-3.46.1:install: To /Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1 trace:sqlite-3.46.1: timeout for acquiring the lock is 30s trace:sqlite-3.46.1: cachePath /Users/redacted/Library/Caches/hermit/cache/2d/2d6fbcc91d554ac9800d94cdc687014c3b885b717fad554c4f0161c069ea918c-sqlite-tools-osx-x64-3460100.zip checksum url https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip trace: GET https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip debug:sqlite-3.46.1:download: Downloading https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip trace:sqlite-3.46.1: Download https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip (1.049890792s elapsed) debug:sqlite-3.46.1:unpack: Extracting /Users/redacted/Library/Caches/hermit/cache/2d/2d6fbcc91d554ac9800d94cdc687014c3b885b717fad554c4f0161c069ea918c-sqlite-tools-osx-x64-3460100.zip to /Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1 trace:sqlite-3.46.1:unpack: sqlite3 trace:sqlite-3.46.1:unpack: sqldiff trace:sqlite-3.46.1:unpack: sqlite3_analyzer trace:sqlite-3.46.1:unpack: mv "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1-3074874548" "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1" trace:sqlite-3.46.1:unpack: chmod a-w "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1" █████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 3/3 100.0% fatal: app/install_cmd.go:97: env.go:563: env.go:648: state/state.go:308: state/state.go:357: manifest/resolver.go:133: sqlite-3.46.1: failed to find binaries "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1/*"
info:sqlite-3.46.1:install: Installing sqlite-3.46.1 debug:sqlite-3.46.1:install: From https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip debug:sqlite-3.46.1:install: To /Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1 trace:sqlite-3.46.1: timeout for acquiring the lock is 30s trace:sqlite-3.46.1: cachePath /Users/redacted/Library/Caches/hermit/cache/2d/2d6fbcc91d554ac9800d94cdc687014c3b885b717fad554c4f0161c069ea918c-sqlite-tools-osx-x64-3460100.zip checksum url https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip trace: GET https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip debug:sqlite-3.46.1:download: Downloading https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip trace:sqlite-3.46.1: Download https://www.sqlite.org/2024/sqlite-tools-osx-x64-3460100.zip (1.097068041s elapsed) debug:sqlite-3.46.1:unpack: Extracting /Users/redacted/Library/Caches/hermit/cache/2d/2d6fbcc91d554ac9800d94cdc687014c3b885b717fad554c4f0161c069ea918c-sqlite-tools-osx-x64-3460100.zip to /Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1 trace:sqlite-3.46.1:unpack: sqlite3 trace:sqlite-3.46.1:unpack: sqldiff trace:sqlite-3.46.1:unpack: sqlite3_analyzer trace:sqlite-3.46.1:unpack: mv "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1-3388432684" "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1" trace:sqlite-3.46.1:unpack: chmod a-w "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1" trace:sqlite-3.46.1:unpack: chmod a-w "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1/sqldiff" trace:sqlite-3.46.1:unpack: chmod a-w "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1/sqlite3" trace:sqlite-3.46.1:unpack: chmod a-w "/Users/redacted/Library/Caches/hermit/pkg/sqlite-3.46.1/sqlite3_analyzer" debug:sqlite-3.46.1:link: Linking binaries for sqlite-3.46.1 debug:sqlite-3.46.1:link: ln -s "hermit" "/Users/redacted/Development/hermit-test/bin/.sqlite-3.46.1.pkg" debug:sqlite-3.46.1:link: ln -s ".sqlite-3.46.1.pkg" "/Users/redacted/Development/hermit-test/bin/sqldiff" debug:sqlite-3.46.1:link: ln -s ".sqlite-3.46.1.pkg" "/Users/redacted/Development/hermit-test/bin/sqlite3" debug:sqlite-3.46.1:link: ln -s ".sqlite-3.46.1.pkg" "/Users/redacted/Development/hermit-test/bin/sqlite3_analyzer"
Thanks Lam.
In 3.46.1 version of
sqlite
packaging no longer stores the binaries under a directory, so we get the following errorError
Detailed error log:
hermit install sqlite-3.46.1 --trace
Detailed fixed log:
hermit install sqlite-3.46.1 --trace