Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834366 - media-sound/milkytracker-1.03.00 - /.../RtMidi.h: error: expected , or before && token
Summary: media-sound/milkytracker-1.03.00 - /.../RtMidi.h: error: expected , or before...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-28 15:09 UTC by Toralf Förster
Modified: 2023-02-17 10:16 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.92 KB, text/plain)
2022-02-28 15:09 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,121.25 KB, application/x-bzip)
2022-02-28 15:09 UTC, Toralf Förster
Details
environment (environment,106.04 KB, text/plain)
2022-02-28 15:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,38.94 KB, application/x-bzip)
2022-02-28 15:09 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.62 KB, application/x-bzip)
2022-02-28 15:09 UTC, Toralf Förster
Details
media-sound:milkytracker-1.03.00:20220228-124644.log (media-sound:milkytracker-1.03.00:20220228-124644.log,15.71 KB, text/plain)
2022-02-28 15:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.20 KB, application/x-bzip)
2022-02-28 15:09 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-02-28 15:09:12 UTC
too long lines were shrinked:

[3/214] /usr/bin/x86_64-pc-linux-gnu-g++ -DMILKYTRACKER -I/var/tmp/portage/media-sound/milkytracker-1.03.00/work/MilkyTracker-1.03.00/src/midi -I/var/tmp/portage/media-sound/milkytracker-1.03.00/work/MilkyTracker-1.03.00/src/midi/../milkyplay -I/var/tmp/portage/media-sound/milkytracker-1.03.00/work/
FAILED: src/midi/CMakeFiles/midi.dir/posix/MidiReceiver_pthread.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DMILKYTRACKER -I/var/tmp/portage/media-sound/milkytracker-1.03.00/work/MilkyTracker-1.03.00/src/midi -I/var/tmp/portage/media-sound/milkytracker-1.03.00/work/MilkyTracker-1.03.00/src/midi/../milkyplay -I/var/tmp/portage/media-sound/milkytracker-1.03.00/work/MilkyTra
In file included from /var/tmp/portage/media-sound/milkytracker-1.03.00/work/MilkyTracker-1.03.00/src/midi/posix/MidiReceiver_pthread.cpp:34:
/usr/include/rtmidi/RtMidi.h:137:19: error: expected ,’ or ...’ before &&’ token
  137 |      RtMidi(RtMidi&& other) noexcept;
      |                   ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20220216-224552

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.58.1
  [2]   rust-1.58.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit a8a03653f22f19f21ae5c2cf9013891a2db89aae
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Feb 28 12:22:34 2022 +0000

    2022-02-28 12:22:26 UTC

emerge -qpvO media-sound/milkytracker
[ebuild  N    ] media-sound/milkytracker-1.03.00  USE="alsa -jack"
Comment 1 Toralf Förster gentoo-dev 2022-02-28 15:09:13 UTC
Created attachment 765990 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-28 15:09:15 UTC
Created attachment 765991 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-02-28 15:09:16 UTC
Created attachment 765992 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-02-28 15:09:17 UTC
Created attachment 765993 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-02-28 15:09:18 UTC
Created attachment 765994 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-28 15:09:19 UTC
Created attachment 765995 [details]
media-sound:milkytracker-1.03.00:20220228-124644.log
Comment 7 Toralf Förster gentoo-dev 2022-02-28 15:09:20 UTC
Created attachment 765996 [details]
temp.tar.bz2
Comment 8 Samuel Bauer 2023-02-17 10:16:47 UTC
Rtmidi is auto detected by cmake
Version in portage tree is too recent for this milkytracker release

locally I patch the ebuild like this
----------------------------------------------
--- a/media-sound/milkytracker/milkytracker-1.03.00.ebuild
+++ b/media-sound/milkytracker/milkytracker-1.03.00.ebuild
@@ -24,6 +24,7 @@
 DEPEND="${RDEPEND}"
 
 src_prepare() {
+       sed -i '/find_package(RTMIDI/d' CMakeLists.txt || die
        cmake_src_prepare
 }
-----------------------------------------------

It just disables rtmidi detection.
Better thing would be to backport changes if any done upstream