Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847490 - app-emulation/86Box-3.4.1-r1 compilation failure (header)
Summary: app-emulation/86Box-3.4.1-r1 compilation failure (header)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-26 02:57 UTC by David Duchesne
Modified: 2022-05-27 22:48 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Duchesne 2022-05-26 02:57:49 UTC
Current ebuild fails to compile :

[...]
FAILED: src/sound/CMakeFiles/snd.dir/xaudio2.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DCMAKE -DRELEASE_BUILD -DUSE_DYNAREC -DUSE_FLUIDSYNTH -DUSE_MUNT -DUSE_RTMIDI -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DUSE_FAUDIO -I/usr/include/freetype2 -I/usr/include/SDL2 -I/var/tmp/portage/app-emulation/86Box-3.4.1-r1/work/86Box-3.4.1_build/src/include -I/var/tmp/portage/app-emulation/86Box-3.4.1-r1/work/86Box-3.4.1/src/include -I/var/tmp/portage/app-emulation/86Box-3.4.1-r1/work/86Box-3.4.1/src/cpu -I/var/tmp/portage/app-emulation/86Box-3.4.1-r1/work/86Box-3.4.1/src/codegen  -march=bdver2 -O2 -pipe -std=gnu11 -MD -MT src/sound/CMakeFiles/snd.dir/xaudio2.c.o -MF src/sound/CMakeFiles/snd.dir/xaudio2.c.o.d -o src/sound/CMakeFiles/snd.dir/xaudio2.c.o -c /var/tmp/portage/app-emulation/86Box-3.4.1-r1/work/86Box-3.4.1/src/sound/xaudio2.c
/var/tmp/portage/app-emulation/86Box-3.4.1-r1/work/86Box-3.4.1/src/sound/xaudio2.c:28:14: fatal error: FAudio.h: No such file or directory
   28 | #    include <FAudio.h>
      |              ^~~~~~~~~~
[...]

This fixes the ebuild :
src_prepare() {
  sed -e 's|FAudio.h|FAudio/FAudio.h|' -i src/sound/xaudio2.c || die
  cmake_src_prepare
}


Reproducible: Always
Comment 1 Conrad Kostecki gentoo-dev 2022-05-27 22:44:52 UTC
Seems fixed in 3.5 release. Will bump. Was able to reproduce with 3.4.1.
Comment 2 Larry the Git Cow gentoo-dev 2022-05-27 22:48:03 UTC
The bug has been closed via the following commit(s):

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

commit 650a6c4239be2a8893c12b294424894d4940e6e3
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-05-27 22:46:26 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-05-27 22:47:50 +0000

    app-emulation/86Box: drop 3.4.1-r1
    
    Closes: https://bugs.gentoo.org/847490
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-emulation/86Box/86Box-3.4.1-r1.ebuild | 69 -------------------------------
 app-emulation/86Box/Manifest              |  1 -
 2 files changed, 70 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit cb33d759afd231265771d394446d348e2bcadd3e
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-05-27 22:45:31 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-05-27 22:47:35 +0000

    app-emulation/86Box: add 3.5
    
    Bug: https://bugs.gentoo.org/847490
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-emulation/86Box/86Box-3.5.ebuild | 69 ++++++++++++++++++++++++++++++++++++
 app-emulation/86Box/Manifest         |  1 +
 2 files changed, 70 insertions(+)