🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #3964

Bug#1155017: polyphone: FTBFS: context/mididevice.h:95:5: error: reference to ‘RtMidiIn’ is ambiguous

#3964
From: Sebastian Ramacher
Date: Mon, 23 Nov 2026 16:30
86 lines
6440 bytes
Source: polyphone
Version: 2.2.0.20210109+dfsg1-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

Dear maintainer,

polyphone FTBFS:

x86_64-linux-gnu-g++ -c -pipe -std=c++11 -g -O2 -ffile-prefix-map=/build/reproducible-path/polyphone-2.2.0.20210109+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated-declarations -Wno-deprecated-copy -ffloat-store -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC -DSOFT_VERSION=\"2.2.0\" -DIDENTIFIER="\"Debian/amd64 2.2.0.20210109+dfsg1-3+b5\"" -D__LINUX_ALSASEQ__ -D__UNIX_JACK__ -DSFTOOLS_NOXML -DRTMIDI_API_JACK -DRTMIDI_API_ALSA -D__LINUX_ALSA__ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ilib/qtsingleapplication -Ilib -Imainwindow -Idialogs -Icontext -Icontext/interface -Ieditor -Ieditor/graphics -Ieditor/modulator -Ieditor/overview -Ieditor/tools -Ieditor/widgets -Ieditor/tree -Iqcustomplot -Iresources -Icore -Icore/input -Icore/output -Icore/model -Icore/sample -Icore/types -Iclavier -Isound_engine -Isound_engine/elements -Irepository -Irepository/browser -Irepository/daily -Irepository/widgets -Irepository/user -Irepository/soundfont -Irepository/soundfont/viewer -Irepository/soundfont/editor -I. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/rtmidi -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o solomanager.o core/solomanager.cpp
In file included from context/contextmanager.h:34,
                 from main.cpp:35:
context/mididevice.h:95:5: error: reference to ‘RtMidiIn’ is ambiguous
   95 |     RtMidiIn * _midiin;
      |     ^~~~~~~~
  • there are 2 candidates
In file included from context/mididevice.h:33:
    • candidate 1: ‘class rt::midi::RtMidiIn’
      /usr/include/rtmidi/RtMidi.h:330:25:
        330 | class RTMIDI_DLL_PUBLIC RtMidiIn : public RtMidi
            |                         ^~~~~~~~
    • candidate 2: ‘class RtMidiIn’
      context/mididevice.h:35:7:
         35 | class RtMidiIn;
            |       ^~~~~~~~
x86_64-linux-gnu-g++ -c -pipe -std=c++11 -g -O2 -ffile-prefix-map=/build/reproducible-path/polyphone-2.2.0.20210109+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated-declarations -Wno-deprecated-copy -ffloat-store -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -pthread -pthread -Wall -Wextra -D_REENTRANT -fPIC -DSOFT_VERSION=\"2.2.0\" -DIDENTIFIER="\"Debian/amd64 2.2.0.20210109+dfsg1-3+b5\"" -D__LINUX_ALSASEQ__ -D__UNIX_JACK__ -DSFTOOLS_NOXML -DRTMIDI_API_JACK -DRTMIDI_API_ALSA -D__LINUX_ALSA__ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ilib/qtsingleapplication -Ilib -Imainwindow -Idialogs -Icontext -Icontext/interface -Ieditor -Ieditor/graphics -Ieditor/modulator -Ieditor/overview -Ieditor/tools -Ieditor/widgets -Ieditor/tree -Iqcustomplot -Iresources -Icore -Icore/input -Icore/output -Icore/model -Icore/sample -Icore/types -Iclavier -Isound_engine -Isound_engine/elements -Irepository -Irepository/browser -Irepository/daily -Irepository/widgets -Irepository/user -Irepository/soundfont -Irepository/soundfont/viewer -Irepository/soundfont/editor -I. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/rtmidi -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o abstractinputparser.o core/input/abstractinputparser.cpp
make[1]: *** [Makefile:5584: main.o] Error 1

See
https://buildd.debian.org/status/fetch.php?pkg=polyphone&arch=amd64&ver=2.2.0.20210109%2Bdfsg1-3%2Bb5&stamp=1795435706&raw=0
for the full log.

Cheers
-- 
Sebastian Ramacher
Technical Details
Message-ID: <O2F5v-dHva-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Sebastian Ramacher <sramacher@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1155017: polyphone: FTBFS: context/mididevice.h:95:5: error: reference to ‘RtMidiIn’ is ambiguous
Date: Mon, 23 Nov 2026 17:30:01 +0100
Message-ID: <O2F5v-dHva-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Mon Nov 23 16:23:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1155017@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sramacher@debian.org, tg@mirbsd.de
X-Debian-Pr-Message: report 1155017
X-Debian-Pr-Package: src:polyphone
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: polyphone
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-User: sramacher
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/839321
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 86
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 23 Nov 2026 17:20:33 +0100
X-Original-Message-ID: <awRn0YVTCuKRAqcD@ramacher.at>