Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770904 - games-fps/qudos-0.40.1 - src/.../g_local.h: fatal error: bits/nan.h: No such file or directory
Summary: games-fps/qudos-0.40.1 - src/.../g_local.h: fatal error: bits/nan.h: No such ...
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: glibc-2.27
  Show dependency tree
 
Reported: 2021-02-16 08:25 UTC by Toralf Förster
Modified: 2022-10-24 21:34 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.76 KB, text/plain)
2021-02-16 08:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,370.99 KB, text/plain)
2021-02-16 08:25 UTC, Toralf Förster
Details
environment (environment,120.48 KB, text/plain)
2021-02-16 08:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.89 KB, application/x-bzip)
2021-02-16 08:25 UTC, Toralf Förster
Details
games-fps:qudos-0.40.1:20210216-005002.log (games-fps:qudos-0.40.1:20210216-005002.log,289.46 KB, text/plain)
2021-02-16 08:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,40.95 KB, application/x-bzip)
2021-02-16 08:25 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 2021-02-16 08:25:16 UTC
x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -fno-diagnostics-color  -falign-functions=32:25:16 -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/games/quake2"' -DGAME_MOD -DLIBDIR='"/usr/games/lib64/qudos"' -DQMAX -DRETEX -fPIC -o QuDos-build/rogue/b_coopcam.o src/mods/rogue/b_coopcam.c
In file included from src/mods/rogue/b_coopcam.c:7:
src/mods/rogue/g_local.h:30:10: fatal error: bits/nan.h: No such file or directory
   30 | #include <bits/nan.h>
      |          ^~~~~~~~~~~~
compilation terminated.

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.1
Python 3.8.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.49.0
  [2]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Feb 16 00:37:47 UTC 2021

emerge -qpvO games-fps/qudos
[ebuild  N    ] games-fps/qudos-0.40.1  USE="ipv6 mods opengl qmax -cdinstall -debug -dedicated -demo -dga -joystick -oss -sdl -textures"
Comment 1 Toralf Förster gentoo-dev 2021-02-16 08:25:18 UTC
Created attachment 686889 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-02-16 08:25:19 UTC
Created attachment 686892 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-02-16 08:25:21 UTC
Created attachment 686895 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-02-16 08:25:22 UTC
Created attachment 686898 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-02-16 08:25:24 UTC
Created attachment 686901 [details]
games-fps:qudos-0.40.1:20210216-005002.log
Comment 6 Toralf Förster gentoo-dev 2021-02-16 08:25:25 UTC
Created attachment 686904 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-24 19:26:47 UTC
The bug has been closed via the following commit(s):

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(-)