Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785235 - games-engines/qtads-3.0.0 - SDL_audiolib/.../DecoderFluidsynth.cpp: error: invalid conversion from int (*)(void*, int, void*) to f
Summary: games-engines/qtads-3.0.0 - SDL_audiolib/.../DecoderFluidsynth.cpp: error: in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-04-23 14:52 UTC by Toralf Förster
Modified: 2021-05-31 07:58 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.72 KB, text/plain)
2021-04-23 14:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,344.64 KB, text/plain)
2021-04-23 14:52 UTC, Toralf Förster
Details
environment (environment,62.87 KB, text/plain)
2021-04-23 14:52 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.06 KB, application/x-bzip)
2021-04-23 14:52 UTC, Toralf Förster
Details
games-engines:qtads-3.0.0:20210423-000930.log (games-engines:qtads-3.0.0:20210423-000930.log,9.89 KB, text/plain)
2021-04-23 14:52 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.55 KB, application/x-bzip)
2021-04-23 14:52 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 2021-04-23 14:52:46 UTC
  165 | FLUID_DEPRECATED FLUIDSYNTH_API int fluid_synth_set_reverb(fluid_synth_t *synth, double roomsize,
      |                                     ^~~~~~~~~~~~~~~~~~~~~~
SDL_audiolib/src/DecoderFluidsynth.cpp:132:57: error: invalid conversion from ‘int (*)(void*, int, void*)’ to ‘fluid_sfloader_callback_read_t’ {aka ‘int (*)(void*, long long int, void*)’} [-fpermissive]
  132 |     fluid_sfloader_set_callbacks(sfloader, sfontOpenCb, sfontReadCb, sfontSeekCb, sfontTellCb,
      |                                                         ^~~~~~~~~~~
      |                                                         |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20210410-103050

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr 22 23:50:10 UTC 2021

emerge -qpvO games-engines/qtads
[ebuild  N    ] games-engines/qtads-3.0.0  USE="sound"
Comment 1 Toralf Förster gentoo-dev 2021-04-23 14:52:47 UTC
Created attachment 701916 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-23 14:52:49 UTC
Created attachment 701919 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-23 14:52:50 UTC
Created attachment 701922 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-23 14:52:52 UTC
Created attachment 701925 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-23 14:52:53 UTC
Created attachment 701928 [details]
games-engines:qtads-3.0.0:20210423-000930.log
Comment 6 Toralf Förster gentoo-dev 2021-04-23 14:52:54 UTC
Created attachment 701931 [details]
temp.tar.bz2
Comment 7 Nikos Chantziaras 2021-05-09 12:32:05 UTC
This is due to media-sound/fluidsynth-2.2.0 breaking its API/ABI. Patch in GH PR fixes it.
Comment 8 Larry the Git Cow gentoo-dev 2021-05-31 07:58:09 UTC
The bug has been closed via the following commit(s):

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

commit 55c6de3f88fef3cfd41daae00837edbbab4088d2
Author:     Nikos Chantziaras <realnc@gmail.com>
AuthorDate: 2021-05-09 12:25:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-31 07:55:07 +0000

    games-engines/qtads: Fix build error when using >=fluidsynth-2.2
    
    Closes: https://bugs.gentoo.org/785235
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Nikos Chantziaras <realnc@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/20741
    Signed-off-by: Sam James <sam@gentoo.org>

 .../qtads/files/qtads-3.0-fluidsynth.patch         | 55 ++++++++++++++++++++++
 games-engines/qtads/qtads-3.0.0.ebuild             |  6 ++-
 2 files changed, 60 insertions(+), 1 deletion(-)