Looks GCC15 related and am currently using snapshot 15.0.0_pre20240915 FAILED: src/libelogind/libelogind_static.a.p/sd-bus_bus-error.c.o x86_64-pc-linux-musl-gcc -Isrc/libelogind/libelogind_static.a.p -Isrc/libelogind -I../elogind-255.5/src/libelogind -Isrc/basic -I../elogind-255.5/src/basic -Isrc/fundamental -I../elogind-255.5/src/fundamental -Isrc/core -I../elogind-255.5/src/core -Isrc/login -I../elogind-255.5/src/login -Isrc/systemd -I../elogind-255.5/src/systemd -I. -I../elogind-255.5 -I../elogind-255.5/src/libelogind/sd-bus -I../elogind-255.5/src/libelogind/sd-device -I../elogind-255.5/src/libelogind/sd-event -I../elogind-255.5/src/libelogind/sd-hwdb -I../elogind-255.5/src/libelogind/sd-id128 -I../elogind-255.5/src/libelogind/sd-journal -Isrc/sleep -I../elogind-255.5/src/sleep -Isrc/update-utmp -I../elogind-255.5/src/update-utmp -Isrc/shared -I../elogind-255.5/src/shared -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O3 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong -fstrict-flex-arrays --param=ssp-buffer-size=4 -Wno-maybe-uninitialized -Wno-unused-result -ftrivial-auto-var-init=zero -Werror=shadow -O2 -pipe -march=skylake -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/libelogind/libelogind_static.a.p/sd-bus_bus-error.c.o -MF src/libelogind/libelogind_static.a.p/sd-bus_bus-error.c.o.d -o src/libelogind/libelogind_static.a.p/sd-bus_bus-error.c.o -c ../elogind-255.5/src/libelogind/sd-bus/bus-error.c ../elogind-255.5/src/libelogind/sd-bus/bus-error.c: In function 'bus_error_strerror': ../elogind-255.5/src/libelogind/sd-bus/bus-error.c:413:19: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 413 | x = strerror_r(error, m, k); | ^ ../elogind-255.5/src/libelogind/sd-bus/bus-error.c: In function '_bus_error_message': ../elogind-255.5/src/libelogind/sd-bus/bus-error.c:599:16: error: returning 'int' from a function with return type 'const char *' makes pointer from integer without a cast [-Wint-conversion] 599 | return strerror_r(abs(error), buf, ERRNO_BUF_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # emerge --info Portage 3.0.66.1 (python 3.12.6-final-0, default/linux/amd64/23.0/musl, gcc-15, musl-1.2.5-r1, 6.10.7-gentoo-dist x86_64) ================================================================= System uname: Linux-6.10.7-gentoo-dist-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-libc KiB Mem: 65744244 total, 19583380 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 23 Sep 2024 01:30:00 +0000 Head commit of repository gentoo: 50f1cf16534bb50ed6524694297d478234908d41 sh bash 5.2_p32-r1 ld GNU ld (Gentoo 2.43 p2) 2.43.1 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p32-r1::gentoo dev-build/autoconf: 2.71-r7::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo, 1.17-r1::gentoo dev-build/cmake: 3.30.3::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.5.2::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.12.6_p2::gentoo dev-lang/rust-bin: 1.81.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.55.1::gentoo sys-apps/sandbox: 2.39::gentoo sys-devel/binutils: 2.42-r1::gentoo, 2.43-r1::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 13.3.1_p20240614::gentoo, 15.0.0_pre20240915::gentoo sys-devel/gcc-config: 2.11::gentoo sys-kernel/linux-headers: 6.10::gentoo (virtual/os-headers) sys-libs/musl: 1.2.5-r1::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-extra-opts: sync-rsync-verify-max-age: 3 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 local location: /var/db/repos/local masters: gentoo volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64_musl ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-musl" CFLAGS="-O2 -pipe -march=skylake -flto" CHOST="x86_64-pc-linux-musl" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d" CXXFLAGS="-O2 -pipe -march=skylake -flto" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe -march=skylake -flto" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=skylake -flto" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="charset.alias /usr/share/locale/locale.alias" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" RUSTFLAGS=" -Clinker-plugin-lto -Ctarget-cpu=skylake" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc lto mad mng mp3 mp4 mpeg ncurses nls ogg opengl openmp pam pango pcre pdf pgo pic png policykit ppds pulseaudio qml readline sdl seccomp sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan webm wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en_GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 903610 [details] build log
No, it's just the usual musl thing (GNU vs POSIX strerror_r). There's a PR pending to fix it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=153d8c6f57b601f4597bf6f90ef63463a00007f3 commit 153d8c6f57b601f4597bf6f90ef63463a00007f3 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-30 05:40:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-30 05:40:51 +0000 profiles/features/musl: mask elogind-255.5 ... until the PR is merged. Bug: https://bugs.gentoo.org/940130 Signed-off-by: Sam James <sam@gentoo.org> profiles/features/musl/package.mask | 4 ++++ 1 file changed, 4 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf8c16515cf19894db2e20292b5663f405fac87 commit edf8c16515cf19894db2e20292b5663f405fac87 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-11-20 15:56:02 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-11-20 15:56:02 +0000 profiles: musl: Mask sys-auth/elogind-255.5-r1 as well Bug: https://bugs.gentoo.org/940130 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> profiles/features/musl/package.mask | 1 + 1 file changed, 1 insertion(+)
This is preventing sys-libs/pam-1.7.0_p20241230-r2 to build on musl-based systems. Please check https://bugs.gentoo.org/947739 for more information.
¯\_(ツ)_/¯