Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946137 - sys-process/runit-2.2.0 - [gcc-15] alloc_re.c: error: number of arguments doesnt match prototype
Summary: sys-process/runit-2.2.0 - [gcc-15] alloc_re.c: error: number of arguments doe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zhixu Liu
URL:
Whiteboard:
Keywords: PullRequest
: 945158 (view as bug list)
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-12-09 09:40 UTC by Toralf Förster
Modified: 2024-12-11 02:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.30 KB, text/plain)
2024-12-09 09:40 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,76.63 KB, application/x-xz)
2024-12-09 09:40 UTC, Toralf Förster
Details
environment (environment,82.42 KB, text/plain)
2024-12-09 09:40 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-12-09 09:40 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.87 KB, application/x-xz)
2024-12-09 09:40 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,81.89 KB, application/x-xz)
2024-12-09 09:40 UTC, Toralf Förster
Details
sys-process:runit-2.2.0:20241209-092310.log (sys-process:runit-2.2.0:20241209-092310.log,4.44 KB, text/plain)
2024-12-09 09:40 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-12-09 09:40:12 UTC
rm -f tryuwtmp.o tryuwtmpx.o
./compile alloc_re.c
alloc_re.c: In function alloc_re:
alloc_re.c:6:5: warning: old-style function definition [-Wold-style-definition]
    6 | int alloc_re(x,m,n)
      |     ^~~~~~~~
alloc_re.c:10:1: error: number of arguments doesnt match prototype
   10 | {
      | ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20241201-015002

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

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

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


  HEAD of ::gentoo
commit 9f5ea91ad3a356fa39872929b789286837442fa5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 9 07:48:41 2024 +0000

    2024-12-09 07:48:41 UTC

emerge -qpvO =sys-process/runit-2.2.0
[ebuild  N    ] sys-process/runit-2.2.0  USE="(-split-usr) -static"
Comment 1 Toralf Förster gentoo-dev 2024-12-09 09:40:13 UTC
Created attachment 913621 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-09 09:40:15 UTC
Created attachment 913622 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-12-09 09:40:16 UTC
Created attachment 913623 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-12-09 09:40:17 UTC
Created attachment 913624 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-12-09 09:40:18 UTC
Created attachment 913625 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-09 09:40:19 UTC
Created attachment 913626 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-09 09:40:20 UTC
Created attachment 913627 [details]
sys-process:runit-2.2.0:20241209-092310.log
Comment 8 Zhixu Liu 2024-12-09 10:06:39 UTC
*** Bug 945158 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-10 02:52:56 UTC
Please add -std=gnu17 for now if you don't intend to patch it until 15 is out.
Comment 10 Larry the Git Cow gentoo-dev 2024-12-11 02:48:20 UTC
The bug has been closed via the following commit(s):

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

commit bb8bc1ef97092820084ae19a97c06732e22b5837
Author:     Z. Liu <zhixu.liu@gmail.com>
AuthorDate: 2024-12-10 08:39:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-11 02:47:36 +0000

    sys-process/runit: build w/ -std=gnu17
    
    workaround for gcc 15, will remove after gcc 15 is released officially.
    
    Closes: https://bugs.gentoo.org/946137
    Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/39659
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/runit/runit-2.1.2-r6.ebuild | 1 +
 sys-process/runit/runit-2.2.0.ebuild    | 1 +
 2 files changed, 2 insertions(+)