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

Bug 874105

Summary: net-irc/psybnc-2.3.2.9-r4 - src/psybnc.c: error: call to undeclared library function exit with type
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
net-irc:psybnc-2.3.2.9-r4:20221002-170055.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-02 17:04:06 UTC
src/psybnc.c:180:140: warning: format specifies type 'char *' but the argument
      has type 'FILE *' (aka 'struct _IO_FILE *') [-Wformat]
  ...%s not found, aborting\nRun 'make menuconfig' for creating a configuration or create the file manually.\n",conffile...
     ~~                                                                                                         ^~~~~~~~
src/psybnc.c:181:6: error: call to undeclared library function 'exit' with type
      'void (int) __attribute__((noreturn))'; ISO C99 and later do not support
      implicit function declarations [-Werror,-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221001-190003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby30 *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit bf31bd1510c88fb7cc62274835494537f14c97f8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 15:48:43 2022 +0000

    2022-10-02 15:48:43 UTC

emerge -qpvO net-irc/psybnc
[ebuild  N    ] net-irc/psybnc-2.3.2.9-r4  USE="ipv6 ssl -multinetwork -oidentd -scripting"
Comment 1 Toralf Förster gentoo-dev 2022-10-02 17:04:07 UTC
Created attachment 815770 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-02 17:04:09 UTC
Created attachment 815773 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-02 17:04:11 UTC
Created attachment 815776 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-02 17:04:12 UTC
Created attachment 815779 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-02 17:04:12 UTC
Created attachment 815782 [details]
net-irc:psybnc-2.3.2.9-r4:20221002-170055.log
Comment 6 Toralf Förster gentoo-dev 2022-10-02 17:04:14 UTC
Created attachment 815785 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-24 11:47:02 UTC
The bug has been referenced in the following commit(s):

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

commit 94f95c98b33988c57038800875bcb2ce830a67af
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-24 11:46:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-24 11:46:29 +0000

    net-irc/psybnc: add 2.4.3
    
    Bug: https://bugs.gentoo.org/724916
    Bug: https://bugs.gentoo.org/831310
    Bug: https://bugs.gentoo.org/861464
    Bug: https://bugs.gentoo.org/874105
    Signed-off-by: Sam James <sam@gentoo.org>

 .../psybnc-2.4.3-Fix-build-with-Clang-16.patch     | 212 +++++++++++++++++++++
 net-irc/psybnc/psybnc-2.4.3.ebuild                 | 165 ++++++++++++++++
 2 files changed, 377 insertions(+)