Package Details: pacman-static 7.0.0.r6.gc685ae6-12

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: 58
Popularity: 2.43
First Submitted: 2013-01-09 02:17 (UTC)
Last Updated: 2024-12-19 07:58 (UTC)

Dependencies (5)

Required by (0)

Sources (26)

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
[pacman-static]
SigLevel = Required
Server = https://pkgbuild.com/~morganamilo/$repo/$arch
Pre compiled binaries

https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 14 Next › Last »

andreas_baumann commented on 2024-04-18 14:03 (UTC) (edited on 2024-04-20 08:20 (UTC) by andreas_baumann)

Interesting case on pentium4 (ARch32), pacman-static runs, but I get

pacman-static -U /var/cache/pacman/pkg/coreutils-9.4-3.0-pentium4.pkg.tar.zst
loading packages...
error: GPGME error: Invalid crypto engine
error: GPGME error: Invalid crypto engine
error: '/var/cache/pacman/pkg/coreutils-9.4-3.0-pentium4.pkg.tar.zst': invalid or corrupted package (PGP signature)

Post scriptum: this discussion we had in disguise: "..you just have to set the proper enviroment variables.." (my original saying). Having fallen into my own trap now I think it's better to make sure that pacman-static calls static/self-contained versions of gpg for instance or that we have a static pacman-key per default.

BryanLiang commented on 2024-04-12 11:39 (UTC)

I fail to build xz part when using mold as linker.

Here is the log: https://pastebin.com/raw/GW432UU0

Is this package can only build with GNU ld?

andreas_baumann commented on 2024-03-31 14:52 (UTC) (edited on 2024-03-31 14:57 (UTC) by andreas_baumann)

We could get rid of po4a and doxygen as makedends by using ./autogen.sh --no-po4a --no-doxygen

Are we now so paranoid to assume that disabling documentation triggers something?

https://github.com/google/oss-fuzz/commit/6403e93344476972e908ce17e8244f5c2b957dfd

As I can tell autogen.sh just calls update-po and update-doxygen which also look quite ok to me.

Upstream xz should also either add makedepends (as autogen.sh fails in a similar way).

I'm opting to add the flags to autogen for now.

andreas_baumann commented on 2024-03-31 09:39 (UTC)

yep, was missing too, fixed in 6.1.0-6.

petronny commented on 2024-03-31 09:24 (UTC) (edited on 2024-03-31 09:27 (UTC) by petronny)

Updated: I just see that you are working with building in a clean chroot. Sorry to interupt. I'll just wait then.

==> ERROR: Cannot find the git package needed to handle git sources.

andreas_baumann commented on 2024-03-31 09:08 (UTC) (edited on 2024-03-31 09:15 (UTC) by andreas_baumann)

Did I introduce that now with autogen.sh in xz? Checking.. ..didn't build in a clean devtools chroot yet. A, yes. Thanks. Also added git. This is all because autogen.sh in xz needs some more things installed.

deadite66 commented on 2024-03-31 09:01 (UTC) (edited on 2024-03-31 09:04 (UTC) by deadite66)

missing po4a and doxygen makedepends


parallel-tests: installing 'build-aux/test-driver'
+ generate_po4a=y
+ generate_doxygen=y
+ test y '!=' n
+ cd po4a
+ sh update-po
po4a/update-po: The program 'po4a' was not found.
po4a/update-po: Translated man pages were not generated.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pacman-static-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
pacman-static - exit status 4

andreas_baumann commented on 2024-03-31 08:00 (UTC) (edited on 2024-03-31 08:33 (UTC) by andreas_baumann)

Yep, done. Using https://git.tukaani.org/xz.git now. Generating a tarball from git sources directly doesn't contain the backdoored code. And autogen.sh regenerates the autoconf stuff during the build..

yochananmarqos commented on 2024-03-30 19:54 (UTC)

@andreas_baumann: Please use the developer's repo as Arch has done. I know this has all been a confusing mess.

andreas_baumann commented on 2024-03-30 19:25 (UTC) (edited on 2024-03-30 19:32 (UTC) by andreas_baumann)

@BryanLiang: upstream also uses https://git.tukaani.org/xz.git#tag=v${pkgver}") with pkgver=5.6.1. So this is presumably ok to take. But I prefer to wait a little bit for official statements and a 5.6.2 version..