static: sqlite, libgpg-error y fontconfig cumplen link=static (8 de 28)

Mismo patrón de libtool: LDFLAGS="-all-static -no-pie" en compile Y en install.

El control duro (lista de ficheros vs sellado viejo + 0 NEEDED en TODOS los
ejecutables, si no revierte) hizo su trabajo: pcre2 salió del build con
pcre2grep y pcre2test todavía dinámicos y se revirtió sola. Sin ese control
habría entrado como "arreglada" — es la misma trampa de xz, que devolvía rc=0
con el artefacto mutilado.

sqlite b3:235b18d98f18 (8 ficheros) · libgpg-error b3:8ccbe32ccb41 (36) ·
fontconfig b3:ad960af29ef5 (65) — todas con la lista de ficheros intacta.

Quedan 20: 9 con forma de fase distinta (mandoc, libwebp, kbd, parted, sudo,
libarchive, lsof, samurai, pkgconf, libcap: van a mano), pcre2 y xz que
necesitan otro enfoque, y 5 Rust (helix, yazi, git-absorb, cargo-audit, tuc)
que arrastran libgcc_s por crt-static, no por libtool.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-17 04:33:58 -04:00
co-authored by Claude Opus 4.8
parent b7c0e434c0
commit ea5279a608
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ target = "x86_64-linux-musl"
link = "static"
[build.phases]
configure = "./configure --prefix=/usr --sysconfdir=/etc --disable-shared --enable-static --disable-docs"
compile = "make"
install = "make install DESTDIR=/out"
compile = 'make LDFLAGS="-all-static -no-pie" -j"$(nproc)"'
install = 'make install DESTDIR=/out LDFLAGS="-all-static -no-pie"'
# libpng+zlib: freetype se compila --with-png, así que freetype2.pc trae `Requires: libpng`
# (y libpng.pc → zlib); sin ellos pkg-config no resuelve freetype2 y ./configure aborta.
[deps]
+2 -2
View File
@@ -17,6 +17,6 @@ build = ["make"]
[build.phases]
configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static --disable-doc --disable-tests --enable-install-gpg-error-config'
compile = 'make'
install = 'make DESTDIR=/out install'
compile = 'make LDFLAGS="-all-static -no-pie" -j"$(nproc)"'
install = 'make DESTDIR=/out install LDFLAGS="-all-static -no-pie"'
+2 -2
View File
@@ -13,5 +13,5 @@ build = ["make"]
[build.phases]
configure = "./configure --prefix=/usr --disable-shared --enable-static"
compile = "make"
install = "make install DESTDIR=/out"
compile = 'make LDFLAGS="-all-static -no-pie" -j"$(nproc)"'
install = 'make install DESTDIR=/out LDFLAGS="-all-static -no-pie"'