Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945158 - sys-process/runit-2.1.2-r6 - [ncurses-6.5] [meson] [gcc-15] tryuwtmpx.c: error: invalid use of undefined type struct futmpx
Summary: sys-process/runit-2.1.2-r6 - [ncurses-6.5] [meson] [gcc-15] tryuwtmpx.c: erro...
Status: RESOLVED DUPLICATE of bug 946137
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zhixu Liu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-27 21:35 UTC by Toralf Förster
Modified: 2024-12-09 10:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.93 KB, text/plain)
2024-11-27 21:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,153.25 KB, text/plain)
2024-11-27 21:35 UTC, Toralf Förster
Details
environment (environment,84.48 KB, text/plain)
2024-11-27 21:35 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-11-27 21:35 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.22 KB, application/x-xz)
2024-11-27 21:35 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,45.04 KB, application/x-xz)
2024-11-27 21:35 UTC, Toralf Förster
Details
sys-process:runit-2.1.2-r6:20241127-204401.log (sys-process:runit-2.1.2-r6:20241127-204401.log,11.89 KB, text/plain)
2024-11-27 21:35 UTC, Toralf Förster
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-11-27 21:35:46 UTC
+ rm -f tryulong64.o tryulong64
+ exec cat uint64.h2
( ./compile tryuwtmpx.c && cat uw_tmp.h2 >uw_tmp.h ) || \
( ./compile tryuwtmp.c && cat uw_tmp.h1 >uw_tmp.h )
+ exec x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c tryuwtmpx.c
tryuwtmpx.c: In function main:
tryuwtmpx.c:8:14: error: invalid use of undefined type struct futmpx
    8 |   char *s =ut.ut_name;
      |              ^

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

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

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit a0ed6442b1d9fd9d4588aae69544ceed246d8388
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 27 19:50:12 2024 +0000

    2024-11-27 19:50:12 UTC

emerge -qpvO =sys-process/runit-2.1.2-r6
[ebuild  N    ] sys-process/runit-2.1.2-r6  USE="(-split-usr) -static"
Comment 1 Toralf Förster gentoo-dev 2024-11-27 21:35:47 UTC
Created attachment 912319 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-27 21:35:49 UTC
Created attachment 912320 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-27 21:35:50 UTC
Created attachment 912321 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-27 21:35:51 UTC
Created attachment 912322 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-27 21:35:52 UTC
Created attachment 912323 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-27 21:35:53 UTC
Created attachment 912324 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-27 21:35:54 UTC
Created attachment 912325 [details]
sys-process:runit-2.1.2-r6:20241127-204401.log
Comment 8 Zhixu Liu 2024-12-09 03:11:39 UTC
I'll fix this after gcc 15 is released officially.
I did test w/ success by using gcc 15 pre-release IIRC, so it seems gcc15 is not stabilized yet.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-09 03:17:56 UTC
The issue is C23 specific (which GCC 15 defaults to).
Comment 10 Zhixu Liu 2024-12-09 10:06:39 UTC

*** This bug has been marked as a duplicate of bug 946137 ***