archlinux-s390x/patches/pkgbuild/fakeroot.sh

51 lines
2.6 KiB
Bash
Raw Normal View History

[FIX] s390x: say which machine this port targets zlib stopped on '__builtin_s390_vec_unpackl' requires '-mvx', after its own configure had detected vector support and defined -DHAVE_S390X_VX. Both halves were right, so it was worth measuring rather than patching: host gcc (Ubuntu) --with-arch=z13 --with-tune=z16 default -march=arch11 our gcc nothing default -march=arch5 arch5 is z900, from 2000. Arch's PKGBUILD names no s390x baseline because Arch has no s390x, so ours fell back to the oldest machine imaginable while zlib went on detecting a CPU the compiler had been told to forget. Every distribution picks one of these; this port had never said which, and silence chose 2000. z13 is what Ubuntu s390x already requires, so nothing that runs today stops. Set in two places: makepkg.conf, how this distribution is compiled, and gcc's --with-arch, what the compiler we ship assumes with no flags at all. --- FR --- zlib s'est arrêté sur '__builtin_s390_vec_unpackl' requires '-mvx', après que son propre configure avait détecté le support vectoriel et défini -DHAVE_S390X_VX. Les deux moitiés avaient raison : il fallait mesurer, pas rustiner. gcc de l'hôte --with-arch=z13 --with-tune=z16 défaut -march=arch11 notre gcc rien défaut -march=arch5 arch5, c'est z900, de l'an 2000. Le PKGBUILD d'Arch ne nomme aucune base s390x puisque Arch n'a pas de s390x : le nôtre retombait sur la machine la plus ancienne imaginable pendant que zlib détectait un processeur qu'on avait dit au compilateur d'oublier. Toute distribution en choisit une ; ce portage ne l'avait jamais dit, et le silence a choisi 2000. z13 est ce qu'Ubuntu s390x exige déjà : rien qui tourne aujourd'hui ne cesse de tourner. Posé aux deux endroits : makepkg.conf, comment cette distribution est compilée, et le --with-arch de gcc, ce que suppose le compilateur qu'on livre. Assisted-by: Claude Opus 5
2026-08-21 00:23:26 -04:00
#!/usr/bin/env bash
[FIX] libaio, and two packages that installed man pages nobody wrote libaio is a real closure gap: lvm2 stops on "libaio.h: No such file or directory". This port had already met that library from the other side, noting Ubuntu's time64 rename to libaio.so.1t64 long before anything needed its headers. fakeroot is the interesting one. The first hook removed the po4a call and nothing else, so build() ended on a bare `cd doc` and package() failed on install: cannot stat './faked.1': No such file or directory The English man pages ARE shipped. What is not shipped are the translations: doc/Makefile carries SUBDIRS = de es fr nl pt ro sv, each holding only Makefiles whose man_MANS name files po4a was supposed to generate. Removing the generator and leaving the recursion is the same mistake as removing a build target and leaving its install target. shadow needs distinguishing: xsltproc exists here now, from our libxslt. What is missing is the DocBook XML data its stylesheets read -- the same as pam. --- FR --- libaio est un vrai trou de fermeture : lvm2 s'arrête sur « libaio.h: No such file or directory ». Ce portage avait déjà croisé cette bibliothèque par l'autre bout, en notant le renommage time64 d'Ubuntu en libaio.so.1t64 bien avant que ses en-têtes servent. fakeroot est le cas intéressant. Le premier hook retirait l'appel à po4a et rien d'autre : build() finissait sur un `cd doc` nu et package() échouait sur install: cannot stat './faked.1': No such file or directory Les pages anglaises SONT livrées. Ce qui ne l'est pas, ce sont les traductions : doc/Makefile porte SUBDIRS = de es fr nl pt ro sv, chacun ne contenant que des Makefiles dont man_MANS nomme des fichiers que po4a devait générer. Retirer le générateur en laissant la récursion est la même erreur que retirer une cible de construction en laissant celle d'installation. shadow mérite une distinction : xsltproc existe désormais, via notre libxslt. Ce qui manque, ce sont les données DocBook que lisent ses feuilles de style — comme pour pam. Assisted-by: Claude Opus 5
2026-08-22 22:00:00 -04:00
# fakeroot: no translated man pages, and no attempt to install them.
[FIX] s390x: say which machine this port targets zlib stopped on '__builtin_s390_vec_unpackl' requires '-mvx', after its own configure had detected vector support and defined -DHAVE_S390X_VX. Both halves were right, so it was worth measuring rather than patching: host gcc (Ubuntu) --with-arch=z13 --with-tune=z16 default -march=arch11 our gcc nothing default -march=arch5 arch5 is z900, from 2000. Arch's PKGBUILD names no s390x baseline because Arch has no s390x, so ours fell back to the oldest machine imaginable while zlib went on detecting a CPU the compiler had been told to forget. Every distribution picks one of these; this port had never said which, and silence chose 2000. z13 is what Ubuntu s390x already requires, so nothing that runs today stops. Set in two places: makepkg.conf, how this distribution is compiled, and gcc's --with-arch, what the compiler we ship assumes with no flags at all. --- FR --- zlib s'est arrêté sur '__builtin_s390_vec_unpackl' requires '-mvx', après que son propre configure avait détecté le support vectoriel et défini -DHAVE_S390X_VX. Les deux moitiés avaient raison : il fallait mesurer, pas rustiner. gcc de l'hôte --with-arch=z13 --with-tune=z16 défaut -march=arch11 notre gcc rien défaut -march=arch5 arch5, c'est z900, de l'an 2000. Le PKGBUILD d'Arch ne nomme aucune base s390x puisque Arch n'a pas de s390x : le nôtre retombait sur la machine la plus ancienne imaginable pendant que zlib détectait un processeur qu'on avait dit au compilateur d'oublier. Toute distribution en choisit une ; ce portage ne l'avait jamais dit, et le silence a choisi 2000. z13 est ce qu'Ubuntu s390x exige déjà : rien qui tourne aujourd'hui ne cesse de tourner. Posé aux deux endroits : makepkg.conf, comment cette distribution est compilée, et le --with-arch de gcc, ce que suppose le compilateur qu'on livre. Assisted-by: Claude Opus 5
2026-08-21 00:23:26 -04:00
#
[FIX] libaio, and two packages that installed man pages nobody wrote libaio is a real closure gap: lvm2 stops on "libaio.h: No such file or directory". This port had already met that library from the other side, noting Ubuntu's time64 rename to libaio.so.1t64 long before anything needed its headers. fakeroot is the interesting one. The first hook removed the po4a call and nothing else, so build() ended on a bare `cd doc` and package() failed on install: cannot stat './faked.1': No such file or directory The English man pages ARE shipped. What is not shipped are the translations: doc/Makefile carries SUBDIRS = de es fr nl pt ro sv, each holding only Makefiles whose man_MANS name files po4a was supposed to generate. Removing the generator and leaving the recursion is the same mistake as removing a build target and leaving its install target. shadow needs distinguishing: xsltproc exists here now, from our libxslt. What is missing is the DocBook XML data its stylesheets read -- the same as pam. --- FR --- libaio est un vrai trou de fermeture : lvm2 s'arrête sur « libaio.h: No such file or directory ». Ce portage avait déjà croisé cette bibliothèque par l'autre bout, en notant le renommage time64 d'Ubuntu en libaio.so.1t64 bien avant que ses en-têtes servent. fakeroot est le cas intéressant. Le premier hook retirait l'appel à po4a et rien d'autre : build() finissait sur un `cd doc` nu et package() échouait sur install: cannot stat './faked.1': No such file or directory Les pages anglaises SONT livrées. Ce qui ne l'est pas, ce sont les traductions : doc/Makefile porte SUBDIRS = de es fr nl pt ro sv, chacun ne contenant que des Makefiles dont man_MANS nomme des fichiers que po4a devait générer. Retirer le générateur en laissant la récursion est la même erreur que retirer une cible de construction en laissant celle d'installation. shadow mérite une distinction : xsltproc existe désormais, via notre libxslt. Ce qui manque, ce sont les données DocBook que lisent ses feuilles de style — comme pour pam. Assisted-by: Claude Opus 5
2026-08-22 22:00:00 -04:00
# First attempt removed the po4a call and nothing else. build() then ended on a
# bare `cd doc`, and package() failed with
[FIX] s390x: say which machine this port targets zlib stopped on '__builtin_s390_vec_unpackl' requires '-mvx', after its own configure had detected vector support and defined -DHAVE_S390X_VX. Both halves were right, so it was worth measuring rather than patching: host gcc (Ubuntu) --with-arch=z13 --with-tune=z16 default -march=arch11 our gcc nothing default -march=arch5 arch5 is z900, from 2000. Arch's PKGBUILD names no s390x baseline because Arch has no s390x, so ours fell back to the oldest machine imaginable while zlib went on detecting a CPU the compiler had been told to forget. Every distribution picks one of these; this port had never said which, and silence chose 2000. z13 is what Ubuntu s390x already requires, so nothing that runs today stops. Set in two places: makepkg.conf, how this distribution is compiled, and gcc's --with-arch, what the compiler we ship assumes with no flags at all. --- FR --- zlib s'est arrêté sur '__builtin_s390_vec_unpackl' requires '-mvx', après que son propre configure avait détecté le support vectoriel et défini -DHAVE_S390X_VX. Les deux moitiés avaient raison : il fallait mesurer, pas rustiner. gcc de l'hôte --with-arch=z13 --with-tune=z16 défaut -march=arch11 notre gcc rien défaut -march=arch5 arch5, c'est z900, de l'an 2000. Le PKGBUILD d'Arch ne nomme aucune base s390x puisque Arch n'a pas de s390x : le nôtre retombait sur la machine la plus ancienne imaginable pendant que zlib détectait un processeur qu'on avait dit au compilateur d'oublier. Toute distribution en choisit une ; ce portage ne l'avait jamais dit, et le silence a choisi 2000. z13 est ce qu'Ubuntu s390x exige déjà : rien qui tourne aujourd'hui ne cesse de tourner. Posé aux deux endroits : makepkg.conf, comment cette distribution est compilée, et le --with-arch de gcc, ce que suppose le compilateur qu'on livre. Assisted-by: Claude Opus 5
2026-08-21 00:23:26 -04:00
#
[FIX] libaio, and two packages that installed man pages nobody wrote libaio is a real closure gap: lvm2 stops on "libaio.h: No such file or directory". This port had already met that library from the other side, noting Ubuntu's time64 rename to libaio.so.1t64 long before anything needed its headers. fakeroot is the interesting one. The first hook removed the po4a call and nothing else, so build() ended on a bare `cd doc` and package() failed on install: cannot stat './faked.1': No such file or directory The English man pages ARE shipped. What is not shipped are the translations: doc/Makefile carries SUBDIRS = de es fr nl pt ro sv, each holding only Makefiles whose man_MANS name files po4a was supposed to generate. Removing the generator and leaving the recursion is the same mistake as removing a build target and leaving its install target. shadow needs distinguishing: xsltproc exists here now, from our libxslt. What is missing is the DocBook XML data its stylesheets read -- the same as pam. --- FR --- libaio est un vrai trou de fermeture : lvm2 s'arrête sur « libaio.h: No such file or directory ». Ce portage avait déjà croisé cette bibliothèque par l'autre bout, en notant le renommage time64 d'Ubuntu en libaio.so.1t64 bien avant que ses en-têtes servent. fakeroot est le cas intéressant. Le premier hook retirait l'appel à po4a et rien d'autre : build() finissait sur un `cd doc` nu et package() échouait sur install: cannot stat './faked.1': No such file or directory Les pages anglaises SONT livrées. Ce qui ne l'est pas, ce sont les traductions : doc/Makefile porte SUBDIRS = de es fr nl pt ro sv, chacun ne contenant que des Makefiles dont man_MANS nomme des fichiers que po4a devait générer. Retirer le générateur en laissant la récursion est la même erreur que retirer une cible de construction en laissant celle d'installation. shadow mérite une distinction : xsltproc existe désormais, via notre libxslt. Ce qui manque, ce sont les données DocBook que lisent ses feuilles de style — comme pour pam. Assisted-by: Claude Opus 5
2026-08-22 22:00:00 -04:00
# install: cannot stat './faked.1': No such file or directory
[FIX] s390x: say which machine this port targets zlib stopped on '__builtin_s390_vec_unpackl' requires '-mvx', after its own configure had detected vector support and defined -DHAVE_S390X_VX. Both halves were right, so it was worth measuring rather than patching: host gcc (Ubuntu) --with-arch=z13 --with-tune=z16 default -march=arch11 our gcc nothing default -march=arch5 arch5 is z900, from 2000. Arch's PKGBUILD names no s390x baseline because Arch has no s390x, so ours fell back to the oldest machine imaginable while zlib went on detecting a CPU the compiler had been told to forget. Every distribution picks one of these; this port had never said which, and silence chose 2000. z13 is what Ubuntu s390x already requires, so nothing that runs today stops. Set in two places: makepkg.conf, how this distribution is compiled, and gcc's --with-arch, what the compiler we ship assumes with no flags at all. --- FR --- zlib s'est arrêté sur '__builtin_s390_vec_unpackl' requires '-mvx', après que son propre configure avait détecté le support vectoriel et défini -DHAVE_S390X_VX. Les deux moitiés avaient raison : il fallait mesurer, pas rustiner. gcc de l'hôte --with-arch=z13 --with-tune=z16 défaut -march=arch11 notre gcc rien défaut -march=arch5 arch5, c'est z900, de l'an 2000. Le PKGBUILD d'Arch ne nomme aucune base s390x puisque Arch n'a pas de s390x : le nôtre retombait sur la machine la plus ancienne imaginable pendant que zlib détectait un processeur qu'on avait dit au compilateur d'oublier. Toute distribution en choisit une ; ce portage ne l'avait jamais dit, et le silence a choisi 2000. z13 est ce qu'Ubuntu s390x exige déjà : rien qui tourne aujourd'hui ne cesse de tourner. Posé aux deux endroits : makepkg.conf, comment cette distribution est compilée, et le --with-arch de gcc, ce que suppose le compilateur qu'on livre. Assisted-by: Claude Opus 5
2026-08-21 00:23:26 -04:00
#
[FIX] libaio, and two packages that installed man pages nobody wrote libaio is a real closure gap: lvm2 stops on "libaio.h: No such file or directory". This port had already met that library from the other side, noting Ubuntu's time64 rename to libaio.so.1t64 long before anything needed its headers. fakeroot is the interesting one. The first hook removed the po4a call and nothing else, so build() ended on a bare `cd doc` and package() failed on install: cannot stat './faked.1': No such file or directory The English man pages ARE shipped. What is not shipped are the translations: doc/Makefile carries SUBDIRS = de es fr nl pt ro sv, each holding only Makefiles whose man_MANS name files po4a was supposed to generate. Removing the generator and leaving the recursion is the same mistake as removing a build target and leaving its install target. shadow needs distinguishing: xsltproc exists here now, from our libxslt. What is missing is the DocBook XML data its stylesheets read -- the same as pam. --- FR --- libaio est un vrai trou de fermeture : lvm2 s'arrête sur « libaio.h: No such file or directory ». Ce portage avait déjà croisé cette bibliothèque par l'autre bout, en notant le renommage time64 d'Ubuntu en libaio.so.1t64 bien avant que ses en-têtes servent. fakeroot est le cas intéressant. Le premier hook retirait l'appel à po4a et rien d'autre : build() finissait sur un `cd doc` nu et package() échouait sur install: cannot stat './faked.1': No such file or directory Les pages anglaises SONT livrées. Ce qui ne l'est pas, ce sont les traductions : doc/Makefile porte SUBDIRS = de es fr nl pt ro sv, chacun ne contenant que des Makefiles dont man_MANS nomme des fichiers que po4a devait générer. Retirer le générateur en laissant la récursion est la même erreur que retirer une cible de construction en laissant celle d'installation. shadow mérite une distinction : xsltproc existe désormais, via notre libxslt. Ce qui manque, ce sont les données DocBook que lisent ses feuilles de style — comme pour pam. Assisted-by: Claude Opus 5
2026-08-22 22:00:00 -04:00
# The English man pages are shipped -- doc/faked.1 and doc/fakeroot.1 are in the
# tree. What is NOT shipped is their translations: doc/Makefile carries
#
# SUBDIRS = de es fr nl pt ro sv
#
# and each of those directories holds only Makefiles, with man_MANS naming
# fakeroot.1 and faked.1 that po4a was supposed to generate. So `make install`
# recursed into doc/fr and tried to install a file nobody had written. Removing
# the generator without removing the recursion left the second half of the job
# undone, which is the same mistake as removing a build target and leaving its
# install target -- eight packages in this port have now failed that way.
#
# WHY NOT po4a. It is Perl, and packaging it means packaging its module stack --
# perl-yaml-tiny, perl-syntax-keyword-try, perl-term-readkey and more -- so that
# fakeroot's man page exists in Polish. fakeroot itself is not optional: makepkg
# cannot build a package without it.
#
# The English man pages ARE still installed. Only the translations are dropped.
[FIX] s390x: say which machine this port targets zlib stopped on '__builtin_s390_vec_unpackl' requires '-mvx', after its own configure had detected vector support and defined -DHAVE_S390X_VX. Both halves were right, so it was worth measuring rather than patching: host gcc (Ubuntu) --with-arch=z13 --with-tune=z16 default -march=arch11 our gcc nothing default -march=arch5 arch5 is z900, from 2000. Arch's PKGBUILD names no s390x baseline because Arch has no s390x, so ours fell back to the oldest machine imaginable while zlib went on detecting a CPU the compiler had been told to forget. Every distribution picks one of these; this port had never said which, and silence chose 2000. z13 is what Ubuntu s390x already requires, so nothing that runs today stops. Set in two places: makepkg.conf, how this distribution is compiled, and gcc's --with-arch, what the compiler we ship assumes with no flags at all. --- FR --- zlib s'est arrêté sur '__builtin_s390_vec_unpackl' requires '-mvx', après que son propre configure avait détecté le support vectoriel et défini -DHAVE_S390X_VX. Les deux moitiés avaient raison : il fallait mesurer, pas rustiner. gcc de l'hôte --with-arch=z13 --with-tune=z16 défaut -march=arch11 notre gcc rien défaut -march=arch5 arch5, c'est z900, de l'an 2000. Le PKGBUILD d'Arch ne nomme aucune base s390x puisque Arch n'a pas de s390x : le nôtre retombait sur la machine la plus ancienne imaginable pendant que zlib détectait un processeur qu'on avait dit au compilateur d'oublier. Toute distribution en choisit une ; ce portage ne l'avait jamais dit, et le silence a choisi 2000. z13 est ce qu'Ubuntu s390x exige déjà : rien qui tourne aujourd'hui ne cesse de tourner. Posé aux deux endroits : makepkg.conf, comment cette distribution est compilée, et le --with-arch de gcc, ce que suppose le compilateur qu'on livre. Assisted-by: Claude Opus 5
2026-08-21 00:23:26 -04:00
set -euo pipefail
python3 - <<'ZZPY'
import io, re
lines = io.open("PKGBUILD", encoding="utf-8").read().split("\n")
[FIX] libaio, and two packages that installed man pages nobody wrote libaio is a real closure gap: lvm2 stops on "libaio.h: No such file or directory". This port had already met that library from the other side, noting Ubuntu's time64 rename to libaio.so.1t64 long before anything needed its headers. fakeroot is the interesting one. The first hook removed the po4a call and nothing else, so build() ended on a bare `cd doc` and package() failed on install: cannot stat './faked.1': No such file or directory The English man pages ARE shipped. What is not shipped are the translations: doc/Makefile carries SUBDIRS = de es fr nl pt ro sv, each holding only Makefiles whose man_MANS name files po4a was supposed to generate. Removing the generator and leaving the recursion is the same mistake as removing a build target and leaving its install target. shadow needs distinguishing: xsltproc exists here now, from our libxslt. What is missing is the DocBook XML data its stylesheets read -- the same as pam. --- FR --- libaio est un vrai trou de fermeture : lvm2 s'arrête sur « libaio.h: No such file or directory ». Ce portage avait déjà croisé cette bibliothèque par l'autre bout, en notant le renommage time64 d'Ubuntu en libaio.so.1t64 bien avant que ses en-têtes servent. fakeroot est le cas intéressant. Le premier hook retirait l'appel à po4a et rien d'autre : build() finissait sur un `cd doc` nu et package() échouait sur install: cannot stat './faked.1': No such file or directory Les pages anglaises SONT livrées. Ce qui ne l'est pas, ce sont les traductions : doc/Makefile porte SUBDIRS = de es fr nl pt ro sv, chacun ne contenant que des Makefiles dont man_MANS nomme des fichiers que po4a devait générer. Retirer le générateur en laissant la récursion est la même erreur que retirer une cible de construction en laissant celle d'installation. shadow mérite une distinction : xsltproc existe désormais, via notre libxslt. Ce qui manque, ce sont les données DocBook que lisent ses feuilles de style — comme pour pam. Assisted-by: Claude Opus 5
2026-08-22 22:00:00 -04:00
po = [i for i, l in enumerate(lines) if re.match(r"^[ \t]*po4a\b", l)]
assert len(po) == 1, "fakeroot: expected one po4a call, got %d" % len(po)
i = po[0]
# The `cd doc` immediately above exists only to run po4a.
assert re.match(r"^[ \t]*cd doc[ \t]*$", lines[i - 1]), \
"fakeroot: expected `cd doc` above the po4a call, found %r" % lines[i - 1]
ind = re.match(r"^[ \t]*", lines[i - 1]).group(0)
lines[i - 1:i + 1] = [
ind + "# po4a is not available at either stage, so the translated man pages",
ind + "# are never generated -- and doc/<lang>/Makefile would still try to",
ind + "# install them. Cut the recursion instead of leaving it to fail.",
ind + 'sed -i "s/^SUBDIRS = de es fr nl pt ro sv$/SUBDIRS =/" doc/Makefile',
]
out = [l.replace(" 'po4a'", "") if "makedepends" in l else l for l in lines]
[FIX] s390x: say which machine this port targets zlib stopped on '__builtin_s390_vec_unpackl' requires '-mvx', after its own configure had detected vector support and defined -DHAVE_S390X_VX. Both halves were right, so it was worth measuring rather than patching: host gcc (Ubuntu) --with-arch=z13 --with-tune=z16 default -march=arch11 our gcc nothing default -march=arch5 arch5 is z900, from 2000. Arch's PKGBUILD names no s390x baseline because Arch has no s390x, so ours fell back to the oldest machine imaginable while zlib went on detecting a CPU the compiler had been told to forget. Every distribution picks one of these; this port had never said which, and silence chose 2000. z13 is what Ubuntu s390x already requires, so nothing that runs today stops. Set in two places: makepkg.conf, how this distribution is compiled, and gcc's --with-arch, what the compiler we ship assumes with no flags at all. --- FR --- zlib s'est arrêté sur '__builtin_s390_vec_unpackl' requires '-mvx', après que son propre configure avait détecté le support vectoriel et défini -DHAVE_S390X_VX. Les deux moitiés avaient raison : il fallait mesurer, pas rustiner. gcc de l'hôte --with-arch=z13 --with-tune=z16 défaut -march=arch11 notre gcc rien défaut -march=arch5 arch5, c'est z900, de l'an 2000. Le PKGBUILD d'Arch ne nomme aucune base s390x puisque Arch n'a pas de s390x : le nôtre retombait sur la machine la plus ancienne imaginable pendant que zlib détectait un processeur qu'on avait dit au compilateur d'oublier. Toute distribution en choisit une ; ce portage ne l'avait jamais dit, et le silence a choisi 2000. z13 est ce qu'Ubuntu s390x exige déjà : rien qui tourne aujourd'hui ne cesse de tourner. Posé aux deux endroits : makepkg.conf, comment cette distribution est compilée, et le --with-arch de gcc, ce que suppose le compilateur qu'on livre. Assisted-by: Claude Opus 5
2026-08-21 00:23:26 -04:00
io.open("PKGBUILD", "w", encoding="utf-8").write("\n".join(out))
ZZPY
[FIX] libaio, and two packages that installed man pages nobody wrote libaio is a real closure gap: lvm2 stops on "libaio.h: No such file or directory". This port had already met that library from the other side, noting Ubuntu's time64 rename to libaio.so.1t64 long before anything needed its headers. fakeroot is the interesting one. The first hook removed the po4a call and nothing else, so build() ended on a bare `cd doc` and package() failed on install: cannot stat './faked.1': No such file or directory The English man pages ARE shipped. What is not shipped are the translations: doc/Makefile carries SUBDIRS = de es fr nl pt ro sv, each holding only Makefiles whose man_MANS name files po4a was supposed to generate. Removing the generator and leaving the recursion is the same mistake as removing a build target and leaving its install target. shadow needs distinguishing: xsltproc exists here now, from our libxslt. What is missing is the DocBook XML data its stylesheets read -- the same as pam. --- FR --- libaio est un vrai trou de fermeture : lvm2 s'arrête sur « libaio.h: No such file or directory ». Ce portage avait déjà croisé cette bibliothèque par l'autre bout, en notant le renommage time64 d'Ubuntu en libaio.so.1t64 bien avant que ses en-têtes servent. fakeroot est le cas intéressant. Le premier hook retirait l'appel à po4a et rien d'autre : build() finissait sur un `cd doc` nu et package() échouait sur install: cannot stat './faked.1': No such file or directory Les pages anglaises SONT livrées. Ce qui ne l'est pas, ce sont les traductions : doc/Makefile porte SUBDIRS = de es fr nl pt ro sv, chacun ne contenant que des Makefiles dont man_MANS nomme des fichiers que po4a devait générer. Retirer le générateur en laissant la récursion est la même erreur que retirer une cible de construction en laissant celle d'installation. shadow mérite une distinction : xsltproc existe désormais, via notre libxslt. Ce qui manque, ce sont les données DocBook que lisent ses feuilles de style — comme pour pam. Assisted-by: Claude Opus 5
2026-08-22 22:00:00 -04:00
grep -qE "^[[:space:]]*po4a " PKGBUILD && { echo "fakeroot: a po4a call survived" >&2; exit 1; }
grep -q 'SUBDIRS =/' PKGBUILD || { echo "fakeroot: the doc recursion was not cut" >&2; exit 1; }
grep -q "'po4a'" PKGBUILD && { echo "fakeroot: po4a still in makedepends" >&2; exit 1; }
echo "fakeroot: translated man pages dropped, recursion cut"