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

Bug 715272

Summary: games-arcade/xboing-2.4-r3 with musl : ./.../file.h: error: unknown type name u_long
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: dilfridge
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: musl
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-arcade:xboing-2.4-r3:20200329-050601.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-29 09:55:24 UTC
gcc -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security      -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   -I./include -I/usr/X11R6/include/X11/          -DHIGH_SCORE_FILE=\/var/games/xboing.score\         -DAUDIO_FILE=\audio/LINUXaudio2.c\         -DLEVEL_INSTALL_DIR=\/usr/share/xboing/levels\         -DAUDIO_AVAILABLE=\True\         -DSOUNDS_DIR=\/usr/share/xboing/sounds\         -DREADMEP_FILE=\/usr/share/doc/xboing-GENTOO_VER/problems.doc.gz\    -c -o highscore.o highscore.c
In file included from highscore.c:56:
./include/file.h:68:2: error: unknown type name u_long
   68 |  u_long  version; /* Version of save game format */
      |  ^~~~~~
./include/file.h:69:5: error: unknown type name u_long

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

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

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.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) *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Mar 29 02:38:54 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO games-arcade/xboing
[ebuild  N    ] games-arcade/xboing-2.4-r3
Comment 1 Toralf Förster gentoo-dev 2020-03-29 09:55:34 UTC
Created attachment 626836 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-29 09:55:54 UTC
Created attachment 626838 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-29 09:56:09 UTC
Created attachment 626840 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-29 09:56:18 UTC
Created attachment 626842 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-29 09:56:21 UTC
Created attachment 626844 [details]
games-arcade:xboing-2.4-r3:20200329-050601.log
Comment 6 Toralf Förster gentoo-dev 2020-03-29 09:56:24 UTC
Created attachment 626846 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2023-04-08 18:30:57 UTC
The bug has been closed via the following commit(s):

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

commit dda167183bd8954fcc1799816d1cde020612a037
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2023-04-08 18:30:27 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2023-04-08 18:30:46 +0000

    games-arcade/xboing: fix musl build
    
    Closes: https://bugs.gentoo.org/715272
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 games-arcade/xboing/files/xboing-2.4-musl.patch | 11 +++++++++++
 games-arcade/xboing/xboing-2.4-r4.ebuild        |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)