Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715272 - games-arcade/xboing-2.4-r3 with musl : ./.../file.h: error: unknown type name u_long
Summary: games-arcade/xboing-2.4-r3 with musl : ./.../file.h: error: unknown type name...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard: musl
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-03-29 09:55 UTC by Toralf Förster
Modified: 2023-04-08 18:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.91 KB, text/plain)
2020-03-29 09:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,42.39 KB, text/plain)
2020-03-29 09:55 UTC, Toralf Förster
Details
environment (environment,76.10 KB, text/plain)
2020-03-29 09:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.11 KB, application/x-bzip)
2020-03-29 09:56 UTC, Toralf Förster
Details
games-arcade:xboing-2.4-r3:20200329-050601.log (games-arcade:xboing-2.4-r3:20200329-050601.log,22.94 KB, text/plain)
2020-03-29 09:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.83 KB, application/x-bzip)
2020-03-29 09: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-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(-)