libtool: link: x86_64-gentoo-linux-musl-gcc -I../../src/include -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-O1 -o .libs/atmsigd atmsigd.o io.o kernel.o proto.o uni.o sap.o timeout.o trace.o policy.o cfg_y.o cfg_l.o mess.o ../../src/q2931/q.out.o ../../src/q2931/qd.dump.o -Wl,--as-needed ../../src/lib/.libs/libatm.so -lresolv ../../src/saal/libsaal.a -lfl /usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: atmsigd.o: in function main: atmsigd.c:(.text.startup+0x6f7): undefined reference to on_exit collect2: error: ld returned 1 exit status make[3]: *** [Makefile:333: atmsigd] Error 1 make[3]: Leaving directory /var/tmp/portage/net-dialup/linux-atm-2.5.2/work/linux-atm-2.5.2/src/sigd ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200311-204810 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.2.0 * [2] x86_64-gentoo-linux-musl-9.3.0 clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.41.1 [2] rust-1.41.1 * The following VMs are available for generation-2: repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Mon, 16 Mar 2020 04:38:59 +0000 emerge -qpvO net-dialup/linux-atm [ebuild N ] net-dialup/linux-atm-2.5.2 USE="-static-libs"
Created attachment 620454 [details] emerge-info.txt
Created attachment 620456 [details] emerge-history.txt
Created attachment 620458 [details] environment
Created attachment 620460 [details] etc.portage.tbz2
Created attachment 620462 [details] logs.tbz2
Created attachment 620464 [details] net-dialup:linux-atm-2.5.2:20200316-070138.log
Created attachment 620466 [details] temp.tbz2
The first attempt to tinderbox a musl image failed at all. I'll mass close therefore all filed bug reports of the last days related to this tinderbox image. Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
tinderbox_musl has reproduced this issue with version 2.5.2-r1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c43b5fb511c078be274b6952fd041189982ea15c commit c43b5fb511c078be274b6952fd041189982ea15c Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-02-20 09:06:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-20 13:50:12 +0000 net-dialup/linux-atm: fix build on musl, C23 As usual, wrong defines, missing includes, need for gnu extensions, `int` instead of `socklen_t`, `Bool_t bool`, weird fixes for buggy and outdated system libraries. Included fixes for formatting in *printf(), partially cherry-picked from debian patch https://sources.debian.org/patches/linux-atm/1:2.5.1-7/misc/ Closes: https://bugs.gentoo.org/897842 Closes: https://bugs.gentoo.org/949721 Closes: https://bugs.gentoo.org/712860 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40666 Signed-off-by: Sam James <sam@gentoo.org> .../linux-atm/files/linux-atm-2.5.2-c99-musl.patch | 113 ++++++++++++ .../files/linux-atm-2.5.2-fix-booleans.patch | 42 +++++ .../files/linux-atm-2.5.2-fix-formatting.patch | 192 +++++++++++++++++++++ .../files/linux-atm-2.5.2-remove-bad-define.patch | 31 ++++ .../files/linux-atm-2.5.2-socklen-types.patch | 182 +++++++++++++++++++ net-dialup/linux-atm/linux-atm-2.5.2-r2.ebuild | 48 ++++++ 6 files changed, 608 insertions(+)