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

Bug 874624

Summary: games-arcade/xbill-2.1-r4 - int (const char , const char , unsigned long); ISO C99 and later do
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
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
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
games-arcade:xbill-2.1-r4:20221003-095216.log
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-03 10:29:35 UTC
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -I. -c Game.c -o Game.o
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -I. -c Horde.c -o Horde.o
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -I. -c Network.c -o Network.o
Game.c:258:7: error: call to undeclared library function 'strncasecmp' with type
      'int (const char *, const char *, unsigned long)'; 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_gnome-j4-20221002-133630

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

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:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 74c0618a2d34ff6f9122f11ce7063d834bf90725
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 08:49:11 2022 +0000

    2022-10-03 08:49:10 UTC

emerge -qpvO games-arcade/xbill
[ebuild  N    ] games-arcade/xbill-2.1-r4  USE="gtk"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 10:29:36 UTC
Created attachment 817570 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 10:29:37 UTC
Created attachment 817573 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 10:29:38 UTC
Created attachment 817576 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 10:29:40 UTC
Created attachment 817579 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 10:29:41 UTC
Created attachment 817582 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 10:29:42 UTC
Created attachment 817585 [details]
games-arcade:xbill-2.1-r4:20221003-095216.log
Comment 7 Toralf Förster gentoo-dev 2022-10-03 10:29:43 UTC
Created attachment 817588 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-03 10:29:44 UTC
Created attachment 817591 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-11-04 01:46:42 UTC
The bug has been closed via the following commit(s):

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

commit 97005ea03343f6c8f21db00712f8fe7f9288a53d
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-04 01:38:12 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-04 01:46:00 +0000

    games-arcade/xbill: fix build w/ upcoming clang16
    
    Closes: https://bugs.gentoo.org/874624
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-arcade/xbill/files/xbill-2.1-clang16.patch   | 44 ++++++++++++++++++++++
 .../{xbill-2.1-r4.ebuild => xbill-2.1-r5.ebuild}   |  3 +-
 2 files changed, 46 insertions(+), 1 deletion(-)