Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874639 - games-action/geki2-KXL-2.0.3-r4 - main.c: error: implicit declaration of function strcmp [-Werror=implicit-function-declaration]
Summary: games-action/geki2-KXL-2.0.3-r4 - main.c: error: implicit declaration of func...
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 14:04 UTC by Toralf Förster
Modified: 2022-11-05 02:01 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.23 KB, text/plain)
2022-10-03 14:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,110.95 KB, text/plain)
2022-10-03 14:04 UTC, Toralf Förster
Details
environment (environment,86.73 KB, text/plain)
2022-10-03 14:04 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.96 KB, application/x-bzip)
2022-10-03 14:04 UTC, Toralf Förster
Details
games-action:geki2-KXL-2.0.3-r4:20221003-104652.log (games-action:geki2-KXL-2.0.3-r4:20221003-104652.log,9.71 KB, text/plain)
2022-10-03 14:04 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.05 KB, application/x-bzip)
2022-10-03 14:04 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.10 KB, application/x-bzip)
2022-10-03 14:04 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 14:04:43 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"geki2-KXL\" -DVERSION=\"2.0.3\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"geki2-KXL\" -DVERSION=\"2.0.3\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"geki2-KXL\" -DVERSION=\"2.0.3\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES
main.c: In function options:
main.c:139:10: error: implicit declaration of function strcmp [-Werror=implicit-function-declaration]
  139 |     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_systemd-j4-20221002-182017

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

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]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	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-bin-8 
  [2]   openjdk-bin-11 
  [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 efae18a5fbb6519e3f5149f7fdfbc153404ede03
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 10:16:52 2022 +0000

    2022-10-03 10:16:51 UTC

emerge -qpvO games-action/geki2-KXL
[ebuild  N    ] games-action/geki2-KXL-2.0.3-r4
Comment 1 Toralf Förster gentoo-dev 2022-10-03 14:04:44 UTC
Created attachment 817612 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 14:04:45 UTC
Created attachment 817615 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 14:04:47 UTC
Created attachment 817618 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 14:04:48 UTC
Created attachment 817621 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 14:04:49 UTC
Created attachment 817624 [details]
games-action:geki2-KXL-2.0.3-r4:20221003-104652.log
Comment 6 Toralf Förster gentoo-dev 2022-10-03 14:04:50 UTC
Created attachment 817627 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 14:04:51 UTC
Created attachment 817630 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-11-05 02:01:18 UTC
The bug has been closed via the following commit(s):

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

commit 45a08073b16549f3514937634d28fef811e6578c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-04 22:57:31 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-05 02:00:29 +0000

    games-action/geki2-KXL: fix build w/ upcoming clang16
    
    Also adjust old patch since moved string.h to geki2.h.
    
    Essentially same fixes as geki3-KXL except with two
    missing function declarations in less.
    
    Closes: https://bugs.gentoo.org/874639
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang.patch   |  8 +-------
 games-action/geki2-KXL/files/geki2-KXL-2.0.3-clang16.patch | 14 ++++++++++++++
 ...geki2-KXL-2.0.3-r4.ebuild => geki2-KXL-2.0.3-r5.ebuild} |  3 ++-
 3 files changed, 17 insertions(+), 8 deletions(-)