archlinux-s390x/patches
Mathieu Benoit dc0f38987e [FIX] gcc: libquadmath does not exist on s390x; python alias for util-linux
mv: cannot stat 'usr/lib/libquadmath.a': No such file or directory

libquadmath implements __float128, which exists on x86 and ia64. On
s390x the directory is CONFIGURED -- it holds a Makefile, a config.log
and a config.status -- but no library is ever built. The half-created
directory is what makes this one confusing: it looks like a build that
failed rather than a target that has nothing to build.

Dropped from pkgname, from the _pick lines, and from the depends entry
in another sub-package. That last one matters: with --nodeps it is
harmless at build time and fatal at install time, which is exactly the
kind of defect that surfaces long after the build that introduced it.

package_libquadmath() is left in place. makepkg never calls a function
whose name is absent from pkgname, so removing it would be churn.

util-linux calls "python", which Ubuntu does not provide -- only
python3. python-is-python3 supplies the name.

--- FR ---

  mv: cannot stat 'usr/lib/libquadmath.a': No such file or directory

libquadmath implemente __float128, qui existe sur x86 et ia64. Sur
s390x le repertoire est CONFIGURE -- il contient un Makefile, un
config.log et un config.status -- mais aucune bibliotheque n y est
jamais batie. C est ce repertoire a moitie cree qui rend le cas
trompeur : il a l air d une compilation ratee plutot que d une cible
qui n a rien a construire.

Retire de pkgname, des lignes _pick, et de la declaration depends d un
autre sous-paquet. Ce dernier point compte : avec --nodeps il est
inoffensif a la compilation et fatal a l installation, exactement le
genre de defaut qui se revele longtemps apres la compilation qui l a
introduit.

package_libquadmath() reste en place. makepkg n appelle jamais une
fonction dont le nom est absent de pkgname ; la retirer serait du
bruit.

util-linux appelle « python », qu Ubuntu ne fournit pas -- seulement
python3. python-is-python3 fournit le nom.

Assisted-by: Claude Opus 5
2026-08-16 19:52:55 -04:00
..
pkgbuild [FIX] gcc: libquadmath does not exist on s390x; python alias for util-linux 2026-08-16 19:52:55 -04:00
mkinitcpio-mount-run.patch full boot with systemd 2025-06-05 12:32:34 +02:00
mkinitcpio-s390x-base-hook.patch rearchitechted things 2025-06-02 19:01:23 +02:00
mkinitcpio-s390x.conf fix ci & cleanup mkintcpio patching 2025-06-01 19:22:10 +02:00