Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939218 - sys-auth/elogind-255.5 - [gcc-15 / musl] error: redefinition of struct prctl_mm_map
Summary: sys-auth/elogind-255.5 - [gcc-15 / musl] error: redefinition of struct prctl_...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-07 08:54 UTC by Toralf Förster
Modified: 2025-01-29 16:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.60 KB, text/plain)
2024-09-07 08:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,21.46 KB, text/plain)
2024-09-07 08:54 UTC, Toralf Förster
Details
environment (environment,154.01 KB, text/plain)
2024-09-07 08:54 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.96 KB, application/x-xz)
2024-09-07 08:54 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,56.11 KB, text/plain)
2024-09-07 08:54 UTC, Toralf Förster
Details
sys-auth:elogind-255.5:20240907-023128.log (sys-auth:elogind-255.5:20240907-023128.log,53.43 KB, text/plain)
2024-09-07 08:54 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.08 KB, application/x-xz)
2024-09-07 08:54 UTC, Toralf Förster
Details
build.log (255.5-r2) (elogind-255.5-r2:20250129-082808.log,42.72 KB, text/plain)
2025-01-29 08:32 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-09-07 08:54:43 UTC
too long lines were shrinked:

[22/437] 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 -I
[23/437] x86_64-pc-linux-musl-gcc -Isrc/basic/libbasic.a.p -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
FAILED: src/basic/libbasic.a.p/capability-util.c.o 
x86_64-pc-linux-musl-gcc -Isrc/basic/libbasic.a.p -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 -fdiagno
In file included from ../elogind-255.5/src/basic/missing_prctl.h:4,
                 from ../elogind-255.5/src/basic/capability-util.c:16:
/usr/include/linux/prctl.h:134:8: error: redefinition of 'struct prctl_mm_map'
  134 | struct prctl_mm_map {
      |        ^~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240906-211007

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-15 *
clang/llvm (if any):
Python 3.12.5
Available Ruby profiles:
  (none found)
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 40557df2867069d24a51f4d54345026c66281b9e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 6 23:19:07 2024 +0000

    2024-09-06 23:19:06 UTC

emerge -qpvO =sys-auth/elogind-255.5
[ebuild  N    ] sys-auth/elogind-255.5  USE="acl cgroup-hybrid pam policykit -audit -debug -doc (-selinux) -test"
Comment 1 Toralf Förster gentoo-dev 2024-09-07 08:54:44 UTC
Created attachment 902264 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-07 08:54:45 UTC
Created attachment 902265 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-09-07 08:54:46 UTC
Created attachment 902266 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-07 08:54:47 UTC
Created attachment 902267 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-07 08:54:48 UTC
Created attachment 902268 [details]
qlist-info.txt
Comment 6 Toralf Förster gentoo-dev 2024-09-07 08:54:49 UTC
Created attachment 902269 [details]
sys-auth:elogind-255.5:20240907-023128.log
Comment 7 Toralf Förster gentoo-dev 2024-09-07 08:54:50 UTC
Created attachment 902270 [details]
temp.tar.xz
Comment 8 ernsteiswuerfel archtester 2025-01-29 08:32:27 UTC
Created attachment 917798 [details]
build.log (255.5-r2)

Happens also on current musl/llvm profile:

[...]
FAILED: src/basic/libbasic.a.p/capability-util.c.o 
clang -Isrc/basic/libbasic.a.p -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 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O3 -Wno-missing-field-initializers -Wno-unused-parameter -Warray-bounds -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=undef -Wfloat-equal -Winit-self -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wunused-function -Wwrite-strings '-Wno-error=#warnings' -Wno-string-plus-int -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-typedef-redefinition -Wno-gnu-variable-sized-type-not-at-end -ftrivial-auto-var-init=zero -Werror=shadow -Os -march=znver2 -pipe -fPIC -fno-strict-aliasing -fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections -include config.h -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/capability-util.c.o -MF src/basic/libbasic.a.p/capability-util.c.o.d -o src/basic/libbasic.a.p/capability-util.c.o -c ../elogind-255.5/src/basic/capability-util.c
In file included from ../elogind-255.5/src/basic/capability-util.c:16:
In file included from ../elogind-255.5/src/basic/missing_prctl.h:4:
/usr/include/linux/prctl.h:134:8: error: redefinition of 'prctl_mm_map'
  134 | struct prctl_mm_map {
      |        ^
/usr/include/sys/prctl.h:88:8: note: previous definition is here
   88 | struct prctl_mm_map {
      |        ^
1 error generated.
ninja: build stopped: subcommand failed.
 * ERROR: sys-auth/elogind-255.5-r2::gentoo failed (compile phase):