Package Details: pacman-static 6.1.0-7

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
Submitter: mazieres
Maintainer: Morganamilo (andreas_baumann)
Last Packager: andreas_baumann
Votes: 44
Popularity: 2.22
First Submitted: 2013-01-09 02:17 (UTC)
Last Updated: 2024-03-31 15:03 (UTC)

Dependencies (5)

Required by (0)

Sources (33)

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

1 2 3 4 5 6 .. 11 Next › Last »

andreas_baumann commented on 2024-04-18 16:12 (UTC)

@BryanLiang: when I set -fuse-ld=mold in LDFLAGS in PKGBUILD I also get an error in xz when compiling a conftest. This might not be supported by xz itself to compile with mold and statically..

andreas_baumann commented on 2024-04-18 14:03 (UTC)

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)

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.