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

Bug 945487

Summary: net-mail/safecat-1.13-r2 - [libtool] [gcc-15] strerr_die.c: error: too many arguments to function _exit
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
net-mail:safecat-1.13-r2:20241130-203806.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-11-30 21:28:03 UTC
./compile strerr_die.c
In file included from strerr_die.c:3:
exit.h:4:13: warning: conflicting types for built-in function _exit; expected void(int) [-Wbuiltin-declaration-mismatch]
    4 | extern void _exit();
      |             ^~~~~
strerr_die.c: In function strerr_die:
strerr_die.c:31:3: error: too many arguments to function _exit
   31 |   _exit(e);
      |   ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20241125-092503

  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-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
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0
  [4]   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 6e61ed46e0bbe50362fc92d812198eb3e94a9706
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 30 19:33:23 2024 +0000

    2024-11-30 19:33:22 UTC

emerge -qpvO =net-mail/safecat-1.13-r2
[ebuild  N    ] net-mail/safecat-1.13-r2
Comment 1 Toralf Förster gentoo-dev 2024-11-30 21:28:04 UTC
Created attachment 912892 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-30 21:28:05 UTC
Created attachment 912893 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-30 21:28:06 UTC
Created attachment 912894 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-30 21:28:07 UTC
Created attachment 912895 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-30 21:28:08 UTC
Created attachment 912896 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-30 21:28:09 UTC
Created attachment 912897 [details]
net-mail:safecat-1.13-r2:20241130-203806.log
Comment 7 Toralf Förster gentoo-dev 2024-11-30 21:28:10 UTC
Created attachment 912898 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-30 21:28:11 UTC
Created attachment 912899 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-12-02 04:39:09 UTC
The bug has been closed via the following commit(s):

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

commit c3c7109c9383582faff4f2c45b0073cd58bd859e
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2024-12-02 04:38:41 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2024-12-02 04:39:05 +0000

    net-mail/safecat: GCC15 fixes
    
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    Closes: https://bugs.gentoo.org/945487

 net-mail/safecat/files/safecat-1.13-gcc15.patch | 11 +++++++++++
 net-mail/safecat/safecat-1.13-r2.ebuild         |  5 ++++-
 2 files changed, 15 insertions(+), 1 deletion(-)