Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 949572

Summary: dev-util/rt-tests-2.8 - [meson] [glibc] [gcc-15] [ffmpeg] src/.../rt-sched.h: error: redefinition of struct or union struct sched_attr
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Kurt Kanzenbach <kurt>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/40534
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 949198    
Attachments: emerge-info.txt
dev-util:rt-tests-2.8:20250210-145744.log
emerge-history.txt
environment
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2025-02-10 17:27:41 UTC
Makefile:49: Please install libcpupower-dev/kernel-tools-libs-devel
x86_64-pc-linux-gnu-gcc -D VERSION=2.8 -c src/lib/rt-sched.c -O2 -pipe -march=native -fno-diagnostics-color -O2 -g -D_GNU_SOURCE -Isrc/include -o bld/rt-sched.o
x86_64-pc-linux-gnu-gcc -D VERSION=2.8 -c src/lib/rt-get_cpu.c -O2 -pipe -march=native -fno-diagnostics-color -O2 -g -D_GNU_SOURCE -Isrc/include -o bld/rt-get_cpu.o
x86_64-pc-linux-gnu-gcc -D VERSION=2.8 -c src/lib/rt-error.c -O2 -pipe -march=native -fno-diagnostics-color -O2 -g -D_GNU_SOURCE -Isrc/include -o bld/rt-error.o
x86_64-pc-linux-gnu-gcc -D VERSION=2.8 -c src/lib/rt-utils.c -O2 -pipe -march=native -fno-diagnostics-color -O2 -g -D_GNU_SOURCE -Isrc/include -o bld/rt-utils.o
In file included from src/lib/rt-utils.c:28:
src/include/rt-sched.h:60:1: error: redefinition of struct or union struct sched_attr
   60 | };
      | ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20250209-062006

  UNMASKED:

    Requested by sam
  =media-video/ffmpeg-7*

    
  <sys-devel/gcc-15.0.9999:15

    Requested by dilfridge
  ~sys-libs/glibc-2.41

    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
llvm-config: 19.1.7
Python 3.12.9
go version go1.23.6 linux/amd64
Available Rust versions:
  [1]   rust-bin-1.84.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
2)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 24fa86b21f133a40842a4823b23e1266c6a899ed
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Feb 10 13:48:35 2025 +0000

    2025-02-10 13:48:35 UTC

emerge -qpvO =dev-util/rt-tests-2.8
[ebuild  N    ] dev-util/rt-tests-2.8  PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2025-02-10 17:27:42 UTC
Created attachment 918592 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-10 17:27:43 UTC
Created attachment 918593 [details]
dev-util:rt-tests-2.8:20250210-145744.log
Comment 3 Toralf Förster gentoo-dev 2025-02-10 17:27:44 UTC
Created attachment 918594 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-02-10 17:27:46 UTC
Created attachment 918595 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-02-10 17:27:47 UTC
Created attachment 918596 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-10 17:27:48 UTC
Created attachment 918597 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-10 17:27:49 UTC
Created attachment 918598 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2025-02-10 17:27:50 UTC
Created attachment 918599 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2025-02-13 12:41:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccc69af73f53fbb89fd19e149ef99cf4d1f1c295

commit ccc69af73f53fbb89fd19e149ef99cf4d1f1c295
Author:     Kurt Kanzenbach <kurt@kmk-computers.de>
AuthorDate: 2025-02-11 16:31:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-13 12:39:17 +0000

    dev-util/rt-tests: Fix build with glibc-2.41
    
    Fix build with glibc-2.41.
    
    Closes: https://bugs.gentoo.org/949572
    Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
    Closes: https://github.com/gentoo/gentoo/pull/40534
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/rt-tests/files/rt-tests-2.8-glibc.patch | 55 ++++++++++++++++++++++++
 dev-util/rt-tests/rt-tests-2.8.ebuild            |  6 ++-
 2 files changed, 60 insertions(+), 1 deletion(-)