too long lines were shrinked: x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -pipe -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -I/usr/include/openssl -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLU x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -pipe -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -I/usr/include/openssl -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLU x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -pipe -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -I/usr/include/openssl -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLU x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -pipe -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -I/usr/include/openssl -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLU sys-linux.c:140:10: fatal error: linux/ipx.h: No such file or directory 140 | #include <linux/ipx.h> | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [<builtin>: sys-linux.o] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-j4-20211209-163207 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * clang version 13.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.57.0 * php cli: HEAD of ::gentoo commit 3a8001fb20b7e90610fb389201068af0d8d983cd Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Dec 10 01:35:10 2021 +0000 2021-12-10 01:35:09 UTC emerge -qpvO net-dialup/ppp [ebuild N ] net-dialup/ppp-2.4.9-r5 USE="activefilter eap-tls ipv6 pam -atm -dhcp -gtk -radius (-systemd)"
Created attachment 758049 [details] emerge-info.txt
Created attachment 758050 [details] emerge-history.txt
Created attachment 758051 [details] environment
Created attachment 758052 [details] etc.portage.tar.bz2
Created attachment 758053 [details] net-dialup:ppp-2.4.9-r5:20211210-023349.log
Created attachment 758054 [details] temp.tar.bz2
linux/ipx.h was dropped from the kernel sources in v5.15.
It looks like glibc has its own copy in netipx/ipx.h. This does not exist on musl. A solution would be to disable the relevant code in pppd by unsetting the IPX_CHANGE macro.
Created attachment 776795 [details, diff] remove IPX support from ebuild, allowing use on elibc_musl systems IPX Support has been removed from kernel >= 5.15, so drop support from ebuild
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efbe724d52da612394800212d386e4d82de2994a commit efbe724d52da612394800212d386e4d82de2994a Author: Dillon <heavenly_battle.wg0in@simplelogin.co> AuthorDate: 2022-05-04 22:58:02 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2022-05-05 08:36:04 +0000 net-dialup/ppp bug #828772 Remove IPX Remove IPX, allowing build on musl systems. Note that IPX support has been removed from kernel >= 5.15 Closes: https://bugs.gentoo.org/828772 Signed-off-by: Dillon Butler <developer@vanish-media.xyz> Closes: https://github.com/gentoo/gentoo/pull/25331 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> net-dialup/ppp/ppp-2.4.9-r6.ebuild | 253 +++++++++++++++++++++++++++++++++++++ 1 file changed, 253 insertions(+)