Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874570 - games-action/geki3-KXL-1.0.3-r4 - int (const char , const char ); ISO C99 and later do not support
Summary: games-action/geki3-KXL-1.0.3-r4 - int (const char , const char ); ISO C99 and...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 08:15 UTC by Toralf Förster
Modified: 2022-11-04 01:46 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2022-10-03 08:15 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.06 KB, application/x-bzip)
2022-10-03 08:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,61.13 KB, text/plain)
2022-10-03 08:15 UTC, Toralf Förster
Details
environment (environment,86.49 KB, text/plain)
2022-10-03 08:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.16 KB, application/x-bzip)
2022-10-03 08:15 UTC, Toralf Förster
Details
games-action:geki3-KXL-1.0.3-r4:20221003-073615.log (games-action:geki3-KXL-1.0.3-r4:20221003-073615.log,36.24 KB, text/plain)
2022-10-03 08:15 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.58 KB, application/x-bzip)
2022-10-03 08:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.06 KB, application/x-bzip)
2022-10-03 08:15 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 2022-10-03 08:15:39 UTC
/usr/include/KXL.h:267:57: note: passing argument to parameter 'title' here
void        KXL_CreateWindow(Uint16 w, Uint16 h, Uint8 *title, Uint32 event);
                                                        ^
main.c:139:10: error: call to undeclared library function 'strcmp' with type
      'int (const char *, const char *)'; ISO C99 and later do not support
      implicit function declarations [-Werror,-Wimplicit-function-declaration]
    if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) {

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

  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 94292ed89a871eba2feef4353b5a8a9a7a360e5f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 06:48:51 2022 +0000

    2022-10-03 06:48:50 UTC

emerge -qpvO games-action/geki3-KXL
[ebuild  N    ] games-action/geki3-KXL-1.0.3-r4
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:15:40 UTC
Created attachment 817414 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:15:41 UTC
Created attachment 817417 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:15:42 UTC
Created attachment 817420 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:15:43 UTC
Created attachment 817423 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:15:45 UTC
Created attachment 817426 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:15:46 UTC
Created attachment 817429 [details]
games-action:geki3-KXL-1.0.3-r4:20221003-073615.log
Comment 7 Toralf Förster gentoo-dev 2022-10-03 08:15:47 UTC
Created attachment 817432 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-03 08:15:48 UTC
Created attachment 817435 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-11-04 01:46:43 UTC
The bug has been closed via the following commit(s):

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

commit 3fc8f4637e806784c1af4731386028e5f0ef456b
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-04 00:02:53 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-04 01:45:59 +0000

    games-action/geki3-KXL: fix build w/ upcoming clang16
    
    Also adjust old patch since moved string.h to geki3.h.
    
    Closes: https://bugs.gentoo.org/874570
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../geki3-KXL/files/geki3-KXL-1.0.3-clang.patch     |  8 +-------
 .../geki3-KXL/files/geki3-KXL-1.0.3-clang16.patch   | 21 +++++++++++++++++++++
 ...XL-1.0.3-r4.ebuild => geki3-KXL-1.0.3-r5.ebuild} |  3 ++-
 3 files changed, 24 insertions(+), 8 deletions(-)