Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945254 - sys-libs/pkgcraft-0.0.16-r1 - [libtool] [gcc-15] mkbuiltins.c: error: too many arguments to function xmalloc
Summary: sys-libs/pkgcraft-0.0.16-r1 - [libtool] [gcc-15] mkbuiltins.c: error: too man...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-28 18:05 UTC by Toralf Förster
Modified: 2024-12-09 05:49 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.25 KB, text/plain)
2024-11-28 18:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,227.31 KB, text/plain)
2024-11-28 18:05 UTC, Toralf Förster
Details
environment (environment,102.48 KB, text/plain)
2024-11-28 18:05 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-11-28 18:05 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.88 KB, application/x-xz)
2024-11-28 18:05 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,234.69 KB, application/x-xz)
2024-11-28 18:05 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,58.15 KB, application/x-xz)
2024-11-28 18:05 UTC, Toralf Förster
Details
sys-libs:pkgcraft-0.0.16-r1:20241128-064151.log.xz (sys-libs:pkgcraft-0.0.16-r1:20241128-064151.log.xz,29.31 KB, application/x-xz)
2024-11-28 18:05 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.54 KB, application/x-xz)
2024-11-28 18:05 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-28 18:05:38 UTC
     74 | main (argc, argv)
        | ^~~~
  /var/tmp/portage/sys-libs/pkgcraft-0.0.16-r1/work/pkgcraft-c-0.0.16/vendor/scallop/bash/builtins/mkbuiltins.c: In function main:
  /var/tmp/portage/sys-libs/pkgcraft-0.0.16-r1/work/pkgcraft-c-0.0.16/vendor/scallop/bash/builtins/mkbuiltins.c:232:1: warning: old-style function definition [-Wold-style-definition]
    232 | main (argc, argv)
        | ^~~~
  /var/tmp/portage/sys-libs/pkgcraft-0.0.16-r1/work/pkgcraft-c-0.0.16/vendor/scallop/bash/builtins/mkbuiltins.c:267:29: error: too many arguments to function xmalloc
    267 |           error_directory = xmalloc (2 + strlen (argv[arg_index]));
        |                             ^~~~~~~

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

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

  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.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0
  [3]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	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-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 720fb9cd653278498919def0734ecc42fad1fb60
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 28 05:50:39 2024 +0000

    2024-11-28 05:50:38 UTC

emerge -qpvO =sys-libs/pkgcraft-0.0.16-r1
[ebuild  N    ] sys-libs/pkgcraft-0.0.16-r1  USE="-debug -test"
Comment 1 Toralf Förster gentoo-dev 2024-11-28 18:05:39 UTC
Created attachment 912453 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-28 18:05:40 UTC
Created attachment 912454 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-28 18:05:41 UTC
Created attachment 912455 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-28 18:05:42 UTC
Created attachment 912456 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-28 18:05:43 UTC
Created attachment 912457 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-28 18:05:45 UTC
Created attachment 912458 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-28 18:05:46 UTC
Created attachment 912459 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-28 18:05:47 UTC
Created attachment 912460 [details]
sys-libs:pkgcraft-0.0.16-r1:20241128-064151.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-28 18:05:48 UTC
Created attachment 912461 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-12-09 05:49:08 UTC
The bug has been closed via the following commit(s):

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

commit 44a801e369a951ee8580e975bf7fbd0b989aab7d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-09 05:48:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-09 05:48:51 +0000

    sys-libs/pkgcraft: build w/ -std=gnu17, sync live
    
    C17 for the bundled/modified fork of bash (scallop).
    
    Closes: https://bugs.gentoo.org/945254
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/pkgcraft/pkgcraft-0.0.16-r1.ebuild | 5 ++++-
 sys-libs/pkgcraft/pkgcraft-9999.ebuild      | 8 +++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)