Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919237 - games-fps/quakeforge-0.7.2_p20210722-r2 - ./.../compat.h: error: conflicting types for strndup; have size_t(const char , size_t) {aka long unsigned in
Summary: games-fps/quakeforge-0.7.2_p20210722-r2 - ./.../compat.h: error: conflicting ...
Status: CONFIRMED
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 glibc-2.38
  Show dependency tree
 
Reported: 2023-12-04 20:48 UTC by Toralf Förster
Modified: 2023-12-05 08:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.47 KB, text/plain)
2023-12-04 20:48 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,99.93 KB, application/x-xz)
2023-12-04 20:48 UTC, Toralf Förster
Details
environment (environment,98.16 KB, text/plain)
2023-12-04 20:48 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.08 KB, application/x-xz)
2023-12-04 20:48 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,45.51 KB, application/x-xz)
2023-12-04 20:48 UTC, Toralf Förster
Details
games-fps:quakeforge-0.7.2_p20210722-r2:20231204-201748.log (games-fps:quakeforge-0.7.2_p20210722-r2:20231204-201748.log,82.65 KB, text/plain)
2023-12-04 20:48 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,18.39 KB, application/x-xz)
2023-12-04 20:48 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,97.33 KB, application/x-xz)
2023-12-04 20:48 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.47 KB, application/x-xz)
2023-12-04 20:48 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 2023-12-04 20:48:43 UTC
too long lines were shrinked:

/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include  -I./include -D_REENTRANT  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -O3 -pipe -march=native -fno-diagnostics-color -mavx2 -pipe -Wsign-compare -Wtype-limits -Wsuggest-attribute=pure -Wsuggest-attribut
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include  -I./include -D_REENTRANT  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -O3 -pipe -march=native -fno-diagnostics-color -mavx2 -pipe -Wsign-compare -Wtype-limits -Wsuggest-attribute=pure -Wsuggest-attribut
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -O3 -pipe -march=native -fno-diagnostics-color -mavx2 -pipe -Wsign-compare -Wtype-limits -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=no
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include  -I./include -D_REENTRANT  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -O3 -pipe -march=native -fno-diagnostics-color -mavx2 -pipe -Wsign-compare -Wtype-limits -Wsuggest-attribute=pure -Wsuggest-attribut
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -O3 -pipe -march=native -fno-diagnostics-color -mavx2 -pipe -Wsign-compare -Wtype-limits -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=no
In file included from libs/gib/gib_keys.c:44:
./include/compat.h:99:8: error: conflicting types for 'strndup'; have 'size_t(const char *, size_t)' {aka 'long unsigned int(const char *, long unsigned int)'}
   99 | size_t strndup (const char *str, size_t len);
      |        ^~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0
  [2]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 42e1f0ac0d31a8a6c83eb0bcfd0ef4c7ff06ffea
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 19:02:01 2023 +0000

    2023-12-04 19:02:01 UTC

emerge -qpvO games-fps/quakeforge
[ebuild  N    ] games-fps/quakeforge-0.7.2_p20210722-r2  USE="alsa ncurses sdl wildmidi zlib -client -debug -doc -flac -jack -oss -png -vorbis -vulkan"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:48:44 UTC
Created attachment 877212 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:48:46 UTC
Created attachment 877213 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:48:47 UTC
Created attachment 877214 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:48:48 UTC
Created attachment 877215 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:48:49 UTC
Created attachment 877216 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:48:50 UTC
Created attachment 877217 [details]
games-fps:quakeforge-0.7.2_p20210722-r2:20231204-201748.log
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:48:51 UTC
Created attachment 877218 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:48:53 UTC
Created attachment 877219 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 20:48:54 UTC
Created attachment 877220 [details]
temp.tar.xz
Comment 10 Ionen Wolkens gentoo-dev 2023-12-05 08:15:45 UTC
For anyone working on these bugs, I'd suggest not wasting time on this one unless really care about it.

May or may not try another snapshot sometime to see if it's in a usable state (tend to be WIP with some things being left broken after partial refactoring), but odds are will go for last-rites either way if it starts failing with gcc:14 too as it's been giving too many headaches.

Maybe could consider re-adding when there will be a proper release.