Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919447

Summary: games-misc/bsd-games-3.2 - [clang] adventure/advent.c: error: use of undeclared identifier _glibc_objsize
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
games-misc:bsd-games-3.2:20231207-235954.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-08 09:54:22 UTC
adventure/../common/vector.h:6:22: note: expanded from macro 'ArraySize'
    6 | #define ArraySize(a)    (sizeof(a)/sizeof(a[0]))
      |                         ^
/usr/include/sys/cdefs.h:159:10: note: macro '__glibc_objsize' defined here
  159 | # define __glibc_objsize(__o) __bos (__o)
      |          ^
adventure/advent.c:314:5: error: use of undeclared identifier '__glibc_objsize'
  314 |     snprintf (ArrayBlock (game_score.name), "%s", player_name());
      |     ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd_merged_usr-20231203-121010

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
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.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-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]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

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

  HEAD of ::gentoo
commit a35770df91302efe6a07725ae16a9e84445a9dd9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 7 22:16:59 2023 +0000

    2023-12-07 22:16:59 UTC

emerge -qpvO games-misc/bsd-games
[ebuild  N    ] games-misc/bsd-games-3.2
Comment 1 Toralf Förster gentoo-dev 2023-12-08 09:54:23 UTC
Created attachment 878234 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-08 09:54:24 UTC
Created attachment 878235 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-08 09:54:26 UTC
Created attachment 878236 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-08 09:54:26 UTC
Created attachment 878237 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-08 09:54:27 UTC
Created attachment 878238 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-08 09:54:28 UTC
Created attachment 878239 [details]
games-misc:bsd-games-3.2:20231207-235954.log
Comment 7 Toralf Förster gentoo-dev 2023-12-08 09:54:30 UTC
Created attachment 878240 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-08 09:54:31 UTC
Created attachment 878241 [details]
temp.tar.xz