Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874486 - games-fps/qudos-0.40.1 - defaults to int; ISO C99 and later do not support implicit int
Summary: games-fps/qudos-0.40.1 - defaults to int; ISO C99 and later do not support im...
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: PMASKED
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 08:01 UTC by Toralf Förster
Modified: 2022-11-24 06:37 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.96 KB, text/plain)
2022-10-03 08:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,76.35 KB, text/plain)
2022-10-03 08:01 UTC, Toralf Förster
Details
environment (environment,94.35 KB, text/plain)
2022-10-03 08:01 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.49 KB, application/x-bzip)
2022-10-03 08:01 UTC, Toralf Förster
Details
games-fps:qudos-0.40.1:20221003-005905.log.bz2 (games-fps:qudos-0.40.1:20221003-005905.log.bz2,13.25 KB, application/x-bzip)
2022-10-03 08:01 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.23 KB, application/x-bzip)
2022-10-03 08:01 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:01:43 UTC
too long lines were shrinked:

clang -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DWITH_ACEBOT -DDATADIR='"usr/share/quake2"' 
8 warnings generated.
clang -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include -I/usr/include -I/usr/X11R6/include -DGAME_NAME='"game.so"' -DQUDOS_VERSION='"QuDos v0.40.1"' -DWITH_ACEBOT -DDATADIR='"usr/share/quake2"' 
src/mods/jabot/ai/AStar.c:83:37: error: parameter 'n2' was not declared,
      defaults to 'int'; ISO C99 and later do not support implicit int
      [-Werror,-Wimplicit-int]
static int AStar_PLinkDistance( n1, n2 )

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20221002-132844

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

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 Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit f0563c90e636da833af43e4a5334c6ebddd3cf6a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 2 22:16:57 2022 +0000

    2022-10-02 22:16:57 UTC

emerge -qpvO games-fps/qudos
[ebuild  N    ] games-fps/qudos-0.40.1  USE="ipv6 mods qmax (-cdinstall) -debug -dedicated -demo -dga -joystick -opengl -oss -sdl -textures"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:01:44 UTC
Created attachment 816847 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:01:45 UTC
Created attachment 816850 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:01:46 UTC
Created attachment 816853 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:01:48 UTC
Created attachment 816856 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:01:49 UTC
Created attachment 816859 [details]
games-fps:qudos-0.40.1:20221003-005905.log.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:01:50 UTC
Created attachment 816862 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-24 19:26:52 UTC
The bug has been referenced in the following commit(s):

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

commit eaee51329bda88fd5ffc0e97bb8c8fe2cc93c73e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-24 17:33:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-24 19:21:05 +0000

    profiles: last-rite games-fps/qudos
    
    Bug: https://bugs.gentoo.org/874486
    Bug: https://bugs.gentoo.org/791604
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)

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

commit 8a8f555584d6806e35409cb85f652dcf37e2ed8c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-24 17:17:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-24 19:21:05 +0000

    games-fps/qudos: almost fix build w/ Clang 16
    
    - Drop various seds, converting them into patches
    - Fix build with libpng 1.4.0 too
    - Fix build on modern glibc
    - Use pkg-config (and therefore fix build on LLD)
    
    This nearly got there wrt Clang 16, but then ended up hitting
    -Wincompatible-function-pointer-types with some USE flags
    and got fed up.
    
    Bug: https://bugs.gentoo.org/874486
    Closes: https://bugs.gentoo.org/730806
    Closes: https://bugs.gentoo.org/770904
    Signed-off-by: Sam James <sam@gentoo.org>

 .../qudos/files/qudos-0.40.1-libjpeg-clash.patch   |  25 +++++
 games-fps/qudos/files/qudos-0.40.1-libpng.patch    |  30 +++++
 games-fps/qudos/files/qudos-0.40.1-libpng15.patch  |  10 --
 .../qudos/files/qudos-0.40.1-no-bits-nan.patch     |  12 ++
 .../qudos/files/qudos-0.40.1-respect-cc.patch      |  15 +++
 .../qudos/files/qudos-0.40.1-respect-libdir.patch  |  53 +++++++++
 .../qudos/files/qudos-0.40.1-use-pkg-config.patch  |  30 +++++
 .../qudos/files/qudos-0.40.1-zlib-build.patch      |  12 ++
 ...{qudos-0.40.1.ebuild => qudos-0.40.1-r1.ebuild} | 121 ++++++++++-----------
 9 files changed, 235 insertions(+), 73 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2022-11-24 06:37:14 UTC
The bug has been closed via the following commit(s):

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

commit 448d6666a37161bad5cea78c890e83dbbca49a00
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-11-24 06:34:22 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-11-24 06:36:47 +0000

    games-fps/qudos: treeclean
    
    Closes: https://bugs.gentoo.org/791604
    Closes: https://bugs.gentoo.org/874486
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 games-fps/qudos/Manifest                           |   2 -
 games-fps/qudos/files/qudos-0.40.1-gnusource.patch |  12 --
 .../qudos/files/qudos-0.40.1-libjpeg-clash.patch   |  25 ---
 games-fps/qudos/files/qudos-0.40.1-libpng.patch    |  30 ----
 .../qudos/files/qudos-0.40.1-no-bits-nan.patch     |  12 --
 .../qudos/files/qudos-0.40.1-respect-cc.patch      |  15 --
 .../qudos/files/qudos-0.40.1-respect-libdir.patch  |  53 ------
 .../qudos/files/qudos-0.40.1-use-pkg-config.patch  |  30 ----
 .../qudos/files/qudos-0.40.1-zlib-build.patch      |  12 --
 games-fps/qudos/metadata.xml                       |  17 --
 games-fps/qudos/qudos-0.40.1-r1.ebuild             | 184 ---------------------
 profiles/package.mask                              |   5 -
 12 files changed, 397 deletions(-)