Created attachment 652920 [details] build.log Milkytracker fails to emerge, with a message about undefined references to internal sources. Specifically to the object "MidiReceiver" I noticed that CMakelists.txt is missing a reference to add_subdirectory(src/midi), where that source code is located. However, in the configure stage, midi support is disabled, due to not finding the RTMIDI package (http://www.music.mcgill.ca/~gary/rtmidi/index.html not in portage, as far as I can tell). src/tracker/sdl/SDL_Main.cpp has references to MidiReceiver that exist if HAVE_LIBASOUND is defined. I haven't dug far enough to see why this is defined if midi support is disabled by the top level build I guess the proper resolution is (maybe?) to replace
I guess the proper resolution is (maybe?) to replace #ifdef HAVE_LIBASOUND with #ifdef RTMIDI_VERSION, which is defined in RtMidi.h (see https://github.com/thestk/rtmidi/blob/master/RtMidi.h)
...an internal "midi supported" define may be needed...I'm making myself late for work obsessing about the :)
(In reply to Joshua Clayton from comment #1) > I guess the proper resolution is (maybe?) to replace #ifdef HAVE_LIBASOUND > with #ifdef RTMIDI_VERSION, which is defined in RtMidi.h (see > https://github.com/thestk/rtmidi/blob/master/RtMidi.h) It fixed the compile at least, haven't tested if it breaks anything.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0396facd8f27eee98893cfc68de03905d9b95892 commit 0396facd8f27eee98893cfc68de03905d9b95892 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-08-08 08:48:35 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-08-08 08:48:51 +0000 media-sound/milkytracker: fixes 1) added xdg 2) switched to virtual/jack 3) fixed compilation wrt rtmidi Closes: https://bugs.gentoo.org/736306 Closes: https://bugs.gentoo.org/735916 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> ...ker-1.02.00-fix-hard-dependency-on-rtmidi.patch | 85 ++++++++++++++++++++++ ...02.00.ebuild => milkytracker-1.02.00-r1.ebuild} | 9 ++- 2 files changed, 92 insertions(+), 2 deletions(-)