Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831494 - games-sports/foobillard-3.0a-r1 - sound_stuff.c: fatal error: sys/unistd.h: No such file or directory
Summary: games-sports/foobillard-3.0a-r1 - sound_stuff.c: fatal error: sys/unistd.h: N...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-01-19 16:13 UTC by Toralf Förster
Modified: 2025-02-09 01:39 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.85 KB, text/plain)
2022-01-19 16:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,37.60 KB, text/plain)
2022-01-19 16:13 UTC, Toralf Förster
Details
environment (environment,97.61 KB, text/plain)
2022-01-19 16:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,4.57 KB, application/x-bzip)
2022-01-19 16:13 UTC, Toralf Förster
Details
games-sports:foobillard-3.0a-r1:20220119-143032.log (games-sports:foobillard-3.0a-r1:20220119-143032.log,40.05 KB, text/plain)
2022-01-19 16:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.78 KB, application/x-bzip)
2022-01-19 16:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.19 KB, application/x-bzip)
2022-01-19 16:13 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 2022-01-19 16:13:24 UTC
font.c:496:54: warning: 'tdv_n' may be used uninitialized in this function [-Wmaybe-uninitialized]
  496 |                     glVertex3f( tdv_n->d[0], tdv_n->d[1], -depth );
      |                                              ~~~~~~~~^~~
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"'   -Wall `x86_64-gentoo-linux-musl-pkg-config --cflags freetype2`  -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND  -pipe -march=native -fno-diagnostics-color -O2 -c -o menu.o menu.c
sound_stuff.c:36:10: fatal error: sys/unistd.h: No such file or directory
   36 | #include <sys/unistd.h>
      |          ^~~~~~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.58.0 *
php cli:

  HEAD of ::gentoo
commit 5a566f94f26cbf352930ce637e6688cb797d90cc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jan 19 11:51:53 2022 +0000

    2022-01-19 11:51:51 UTC

emerge -qpvO games-sports/foobillard
[ebuild  N    ] games-sports/foobillard-3.0a-r1  USE="-sdl" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2022-01-19 16:13:25 UTC
Created attachment 762662 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-19 16:13:26 UTC
Created attachment 762663 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-01-19 16:13:27 UTC
Created attachment 762664 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-01-19 16:13:28 UTC
Created attachment 762665 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-01-19 16:13:29 UTC
Created attachment 762666 [details]
games-sports:foobillard-3.0a-r1:20220119-143032.log
Comment 6 Toralf Förster gentoo-dev 2022-01-19 16:13:30 UTC
Created attachment 762667 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-01-19 16:13:32 UTC
Created attachment 762668 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2025-02-09 01:39:20 UTC
The bug has been closed via the following commit(s):

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

commit 848fe1501679d74e65ef2085d1c131343828b68f
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2025-02-08 16:59:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-09 01:38:47 +0000

    games-sports/foobillard: update EAPI 7 -> 8
    
    Fix build with gcc 15
    
    Closes: https://bugs.gentoo.org/946901
    Closes: https://bugs.gentoo.org/884917
    Closes: https://bugs.gentoo.org/875497
    Closes: https://bugs.gentoo.org/831494
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../foobillard/files/foobillard-3.0a-c99.patch     | 14 +++++
 .../foobillard/files/foobillard-3.0a-musl.patch    | 14 +++++
 .../files/foobillard-3.0a-pointer-types.patch      | 36 +++++++++++
 .../foobillard/files/foobillard-3.0a-queue.patch   | 13 ++++
 games-sports/foobillard/foobillard-3.0a-r2.ebuild  | 72 ++++++++++++++++++++++
 5 files changed, 149 insertions(+)