Package Details: pacman-static 6.1.0-9

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: 46
Popularity: 1.44
First Submitted: 2013-01-09 02:17 (UTC)
Last Updated: 2024-06-13 09:27 (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-06-13 09:28 (UTC) (edited on 2024-06-13 10:11 (UTC) by andreas_baumann)

Thanks for reporting, updated and fixed download location, also updated tons of other libraries. Note: there is a newer version of c-ares (1.30), but upstream still has 1.29, so taking that one.

Nevuly commented on 2024-06-13 01:12 (UTC) (edited on 2024-06-13 01:14 (UTC) by Nevuly)

It seems have a problem to download c-ares package.

curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://c-ares.haxx.se/download/c-ares-1.18.1.tar.gz

I checked It changed download link in below:

https://github.com/c-ares/c-ares/releases/download/cares-1_18_1/c-ares-1.18.1.tar.gz

Can you fix this issue? Thanks!

andreas_baumann commented on 2024-05-16 06:27 (UTC)

@fjr: thanks for that, good catch. I disabled LTO for the whole package for now.

fjr commented on 2024-05-16 05:41 (UTC)

Just a heads-up: yesterday I got a gcc "internal compiler error" while building libgpg-error component as part of this package. It was caused by enabling LTO in /etc/makepkg.conf (OPTIONS=...), so if you hit the same issue, try disabling it.

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) (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.