Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715452 - games-board/xgammon-0.98-r1 : save.c: error: sys_siglist undeclared (first use in this function)
Summary: games-board/xgammon-0.98-r1 : save.c: error: sys_siglist undeclared (first us...
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: missing-musl-includes glibc-2.32
  Show dependency tree
 
Reported: 2020-03-30 14:56 UTC by Toralf Förster
Modified: 2020-08-26 22:07 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.28 KB, text/plain)
2020-03-30 14:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,89.77 KB, text/plain)
2020-03-30 14:56 UTC, Toralf Förster
Details
environment (environment,76.51 KB, text/plain)
2020-03-30 14:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.16 KB, application/x-bzip)
2020-03-30 14:56 UTC, Toralf Förster
Details
games-board:xgammon-0.98-r1:20200330-124805.log (games-board:xgammon-0.98-r1:20200330-124805.log,5.56 KB, text/plain)
2020-03-30 14:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.30 KB, application/x-bzip)
2020-03-30 14:56 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 2020-03-30 14:56:29 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native      -I/usr/include    -Dlinux -D__amd64__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 				-D_BSD_SOURCE -D_SVID_SOURCE 				 -DX_LOCALE  -DFUNCPROTO=15 -DNARROWPROTO       -c -o save.o save.c
save.c: In function sig_save:
save.c:145:53: error: sys_siglist undeclared (first use in this function)
  145 |  fprintf (stderr, xgammon: %s.  Sorry and bye!\n, sys_siglist[n]);
      |                                                     ^~~~~~~~~~~
save.c:145:53: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 11:40:23 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO games-board/xgammon
[ebuild  N    ] games-board/xgammon-0.98-r1
Comment 1 Toralf Förster gentoo-dev 2020-03-30 14:56:32 UTC
Created attachment 627342 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 14:56:35 UTC
Created attachment 627344 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-30 14:56:37 UTC
Created attachment 627346 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-30 14:56:40 UTC
Created attachment 627348 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-30 14:56:43 UTC
Created attachment 627350 [details]
games-board:xgammon-0.98-r1:20200330-124805.log
Comment 6 Toralf Förster gentoo-dev 2020-03-30 14:56:46 UTC
Created attachment 627352 [details]
temp.tbz2
Comment 7 Agostino Sarubbo gentoo-dev 2020-08-26 19:46:12 UTC
I can reproduce on glibc system
Comment 8 Larry the Git Cow gentoo-dev 2020-08-26 22:07:44 UTC
The bug has been closed via the following commit(s):

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

commit 54e123ebc9020f0ae7c93dd972ad970049ad38c7
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-26 22:07:19 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-26 22:07:19 +0000

    games-board/xgammon: Fix building against glibc 2.32
    
    Closes: https://bugs.gentoo.org/715452
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../xgammon/files/xgammon-0.98-glibc-2.32.patch    | 19 +++++++++++++++
 games-board/xgammon/xgammon-0.98-r1.ebuild         | 27 +++++++++++++---------
 2 files changed, 35 insertions(+), 11 deletions(-)