Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687922 - games-fps/gzdoom-4.1.3: src/sound/i_musicinterns.h:254:10: fatal error: fluidsynth.h: No such file or directory
Summary: games-fps/gzdoom-4.1.3: src/sound/i_musicinterns.h:254:10: fatal error: fluid...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Breathitt Gray
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-06-12 10:44 UTC by BT
Modified: 2019-06-18 20:59 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.info,6.46 KB, text/plain)
2019-06-12 10:44 UTC, BT
Details
build log (build.log,307.24 KB, text/plain)
2019-06-12 10:45 UTC, BT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BT 2019-06-12 10:44:14 UTC
Created attachment 579606 [details]
emerge --info

gzdoom-4.1.3 fails to build with the fluidsynth USE flag disabled:

/var/tmp/portage/games-fps/gzdoom-4.1.3/work/gzdoom-g4.1.3/src/sound/i_musicinterns.h:254:10: fatal error: fluidsynth.h: No such file or directory
 #include <fluidsynth.h>
          ^~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

Enabling the fluidsynth USE flag allows gzdoom-4.1.3 to build successfully.
Comment 1 BT 2019-06-12 10:45:47 UTC
Created attachment 579608 [details]
build log
Comment 2 BT 2019-06-13 09:59:37 UTC
Could an elog message be added to the GZDoom ebuild informing users to install media-sound/fluid-soundfont or added as a runtime dep? Having just FluidSynth installed is not enough to have MIDI playback in GZDoom. It kept complaining about missing SoundFont files.
Comment 3 William Breathitt Gray 2019-06-13 10:03:17 UTC
(In reply to BT from comment #2)
> Could an elog message be added to the GZDoom ebuild informing users to
> install media-sound/fluid-soundfont or added as a runtime dep? Having just
> FluidSynth installed is not enough to have MIDI playback in GZDoom. It kept
> complaining about missing SoundFont files.

There is a bug in the GZDoom makefile that is preventing the installation of the GZDoom soundfonts. I've submitted a patch upstream fixing this (https://github.com/coelckers/gzdoom/pull/868) and will submit a corresponding bug fix for the games-fps/gzdoom ebuild soon as well.
Comment 4 BT 2019-06-13 10:41:44 UTC
(In reply to William Breathitt Gray from comment #3)

Thanks!
Comment 5 Larry the Git Cow gentoo-dev 2019-06-18 20:59:48 UTC
The bug has been closed via the following commit(s):

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

commit 22b70de1892785b9f2dc5d3bb2ddab234410cc92
Author:     William Breathitt Gray <vilhelm.gray@gmail.com>
AuthorDate: 2019-06-12 23:13:06 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-06-18 20:55:38 +0000

    games-fps/gzdoom: Always build with fluidsynth and openal support
    
    FluidSynth is a dependency of GZDoom and cannot be disabled. Similarly,
    OpenAL is a dependency of GZDoom on Linux and cannot be disabled.
    
    Closes: https://bugs.gentoo.org/687922
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/12248
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-fps/gzdoom/gzdoom-4.1.3.ebuild | 17 +++++++----------
 games-fps/gzdoom/metadata.xml        |  1 -
 2 files changed, 7 insertions(+), 11 deletions(-)