found a candidate which should probably be patched:
./scripts/pacman-key.sh.in:PACMAN_KEYRING_DIR=${PACMAN_KEYRING_DIR:-$(pacman-conf --config="$CONFIG" gpgdir)}
But I doubt a hook calls pacman-key..
Git Clone URL: | https://aur.archlinux.org/pacman-static.git (read-only, click to copy) |
---|---|
Package Base: | pacman-static |
Description: | Statically-compiled pacman (to fix or install systems without libc) |
Upstream URL: | https://www.archlinux.org/pacman/ |
Licenses: | GPL-2.0-or-later |
Submitter: | mazieres |
Maintainer: | Morganamilo (andreas_baumann) |
Last Packager: | andreas_baumann |
Votes: | 57 |
Popularity: | 2.77 |
First Submitted: | 2013-01-09 02:17 (UTC) |
Last Updated: | 2024-11-23 08:26 (UTC) |
found a candidate which should probably be patched:
./scripts/pacman-key.sh.in:PACMAN_KEYRING_DIR=${PACMAN_KEYRING_DIR:-$(pacman-conf --config="$CONFIG" gpgdir)}
But I doubt a hook calls pacman-key..
strange. musl-gcc is part of the musl package which is a makedepend of the package.
There is a /usr/bin/pacman-conf-static, maybe copying that to /usr/bin/pacman-conf temporarily is an option to install libassuan. To me it's not clear which hook is calling pacman-conf..
Any tips on installing libassuan
?
% sudo ./pacman-static -S libassuan 129ms | 24-10-19 23:52:56
warning: libassuan-3.0.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) libassuan-3.0.0-1
Total Installed Size: 0.23 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [################################################] 100%
(1/1) checking package integrity [################################################] 100%
(1/1) loading package files [################################################] 100%
(1/1) checking for file conflicts [################################################] 100%
(1/1) checking available disk space [################################################] 100%
:: Processing package changes...
(1/1) reinstalling libassuan [################################################] 100%
:: Running post-transaction hooks...
(1/1) Cleaning pacman cache...
Installed packages:
pacman-conf: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory
==> no candidate packages found for pruning
Uninstalled packages:
pacman: error while loading shared libraries: libassuan.so.0: cannot open shared object file: No such file or directory
==> ERROR: failed to retrieve the list of installed packages
error: command failed to execute correctly
make[1]: Entering directory '/tmp/src/openssl-3.3.2'
musl-gcc -I. -Iinclude -Iapps/include -pthread -m64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_LARGEFILE6
4_SOURCE -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_LARGEFILE64_SOURC
E -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -static -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/t
mp/src/temp/usr/lib/engines-3\"" -DMODULESDIR="\"/tmp/src/temp/usr/lib/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -D_FORTIFY_SOURCE
=2 -c -o apps/lib/libapps-lib-app_libctx.o apps/lib/app_libctx.c
musl-gcc -I. -Iinclude -Iapps/include -pthread -m64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_LARGEFILE6
4_SOURCE -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_LARGEFILE64_SOURC
E -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -static -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSLDIR="\"/etc/ssl\"" -DENGINESDIR="\"/t
mp/src/temp/usr/lib/engines-3\"" -DMODULESDIR="\"/tmp/src/temp/usr/lib/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -D_FORTIFY_SOURCE
=2 -c -o apps/lib/libapps-lib-app_params.o apps/lib/app_params.c
/bin/sh: line 1: musl-gcc: command not found
make[1]: *** [Makefile:3343: apps/lib/libapps-lib-app_libctx.o] Error 127
make[1]: *** Waiting for unfinished jobs....
/bin/sh: line 1: musl-gcc: command not found
make[1]: *** [Makefile:3345: apps/lib/libapps-lib-app_params.o] Error 127
make[1]: Leaving directory '/tmp/src/openssl-3.3.2'
make: *** [Makefile:1702: build_libs] Error 2
==> ERROR: A failure occurred in build().
Thanks for the prebuilt binary -- it saved me. Any chance of an 2024 update for it?
updated libarchive to 3.7.7
updated xz to 5.6.3
reactivated and fixed nvchecker mechanism.. *(use nvchecker-deps.toml
, then after updating cp nvchecker-new.txt nvchecker-old.txt
)
nvchecker with aurpkg runs into 429 currently, so updated nvchecker files by hand.
updated libarchive to 3.7.6
@BryanLiang: You can replace 5c9cd3eb2d2126a5ccc6973c66f46ee5787e1808cbcdfada35ea9566206bf77969fb8ba401694ce75f6866fafde3c59114d22694f811f3b251cb073fd0c4ec47 with SKIP
I had trouble on armv6 too with the xz checksum.
Pinned Comments
Morganamilo commented on 2022-02-20 18:30 (UTC)
There's now a custom repo and binaries again. Though only for x86_64 currently.
Custom Repo
Pre compiled binaries
https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/