No description
gpgme is the one worth reading. It failed while BUILDING, not testing: make[3]: Entering directory '.../gpgme/tests/gpg' gpgconf: error running '/usr/bin/gpg-connect-agent': exit status 1 EL_NOCHECK skips check(), but `make all` still descends into tests/gpg and sets up a throwaway GNUPGHOME, which means starting an agent -- and the chroot has no dbus, no session and no tty. Third time this port has found that "no tests" and "no test harness" are different requests. groff needs xpmtoppm from netpbm to draw the GNU logo for its own manual. There is no configure switch: groff has neither --without-doc nor --disable-doc, so inventing a flag would have failed identically while the hook's check passed -- autoconf only warns about options it does not know. The generated Makefile's DOC_GNU_EPS is emptied instead, and the verification runs inside build(), where the generated file actually exists. --- FR --- gpgme mérite lecture. Il échouait en CONSTRUISANT, pas en testant : make[3]: Entering directory '.../gpgme/tests/gpg' gpgconf: error running '/usr/bin/gpg-connect-agent': exit status 1 EL_NOCHECK saute check(), mais `make all` descend quand même dans tests/gpg et met en place un GNUPGHOME jetable, donc démarre un agent — or le chroot n'a ni dbus, ni session, ni terminal. Troisième fois que ce portage constate que « pas de tests » et « pas de harnais de test » sont deux demandes différentes. groff a besoin de xpmtoppm, de netpbm, pour dessiner le logo GNU de son propre manuel. Aucun interrupteur n'existe : ni --without-doc ni --disable-doc, donc inventer un drapeau aurait échoué à l'identique pendant que le contrôle du hook passait — autoconf ne fait qu'avertir des options qu'il ignore. La variable DOC_GNU_EPS du Makefile généré est vidée, et la vérification tourne dans build(), là où le fichier généré existe. Assisted-by: Claude Opus 5 |
||
|---|---|---|
| .github/workflows | ||
| arch-kernel | ||
| boot | ||
| patches | ||
| scripts | ||
| .env.example | ||
| .gitignore | ||
| CODEOWNERS | ||
| Containerfile | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| TODO.md | ||
Arch Linux s390x
A port of Arch Linux to IBM s390x mainframe architecture with systemd support.
Boots a full Arch Linux system on IBM mainframes (or QEMU s390x emulation) using a hybrid build: cross-compilation for the kernel, native s390x compilation on z/VM for userspace.
Quick Start
make container # build dev container (first time)
cp .env.example .env # configure z/VM access
make all # build kernel + initramfs + systemd
make test-systemd # boot it
What Works
- Arch Linux kernel 6.18.6-arch1 with Arch patches, cross-compiled
- Initramfs via modified mkinitcpio
- Static busybox built natively on z/VM, 2.3MB
- Root filesystem with ext4, switch_root to real rootfs
- Systemd as PID 1
Pacman, bash, and GNU coreutils are not yet ported.
Build System
The build uses two tiers:
Cross-compilation (x86_64 host): Kernel is built in a Fedora 43 container with s390x-linux-gnu-gcc. Initramfs is generated with a patched mkinitcpio that handles cross-architecture binary injection.
Native compilation (s390x z/VM): Busybox and systemd must be built on real s390x hardware. The z/VM system runs RHEL 9.6 with GCC 11.5.0. Scripts handle SSH deployment and retrieval automatically via .env configuration.