Article View: linux.debian.bugs.rc
Article #3961Bug#1155014: csoundqt: FTBFS: src/midihandler.cpp:29:24: error: expected type-specifier before ‘RtMidiIn’
From: Sebastian Ramacher
Date: Mon, 23 Nov 2026 16:20
Date: Mon, 23 Nov 2026 16:20
160 lines
9031 bytes
9031 bytes
Source: csoundqt
Version: 1.1.3+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org
Dear maintainer,
csoundqt FTBFS:
x86_64-linux-gnu-g++ -c -pipe -g -Wunused-parameter -g -O2 -ffile-prefix-map=/build/reproducible-path/csoundqt-1.1.3+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DNOMINMAX -DCSOUND6 -DQCS_DEBUGGER -DUSE_QT5 -DUSE_QT_GT_53 -DUSE_QT_GT_54 -DUSE_QT_GT_55 -DUSE_QT_GT_58 -DQCS_RTMIDI -DPERFTHREAD_RECORD -DQCS_DEBUGGER -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I/usr/include/rtmidi -I/usr/include/csound -I/build/reproducible-path/csoundqt-1.1.3+dfsg/csound/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/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtCore -Ibuild/moc -Ibuild/ui -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o build/doubles/obj/debugpanel.o src/debugpanel.cpp
src/selectcolorbutton.cpp: In constructor ‘SelectColorButton::SelectColorButton(QWidget*)’:
src/selectcolorbutton.cpp:5:47: warning: unused parameter ‘parent’ [-Wunused-parameter]
5 | SelectColorButton::SelectColorButton(QWidget* parent) {
| ~~~~~~~~~^~~~~~
src/midihandler.cpp: In constructor ‘MidiHandler::MidiHandler(int, QObject*)’:
src/midihandler.cpp:29:24: error: expected type-specifier before ‘RtMidiIn’
29 | m_midiin = new RtMidiIn((RtMidi::Api) api, "CsoundQt"); //api - see RtMidi.h for types
| ^~~~~~~~
src/midihandler.cpp:30:25: error: expected type-specifier before ‘RtMidiOut’
30 | m_midiout = new RtMidiOut((RtMidi::Api) api, "CsoundQt");
| ^~~~~~~~~
src/midihandler.cpp:31:17: error: invalid use of incomplete type ‘class RtMidiIn’
31 | m_midiin->setCallback(&midiInMessageCallback, this);
| ^~
In file included from src/midihandler.cpp:1:
src/midihandler.h:8:7: note: forward declaration of ‘class RtMidiIn’
8 | class RtMidiIn;
| ^~~~~~~~
src/midihandler.cpp: In member function ‘void MidiHandler::sendMidiOut(std::vector<unsigned char>*)’:
src/midihandler.cpp:81:18: error: invalid use of incomplete type ‘class RtMidiOut’
81 | m_midiout->sendMessage(message);
| ^~
src/midihandler.h:9:7: note: forward declaration of ‘class RtMidiOut’
9 | class RtMidiOut;
| ^~~~~~~~~
src/midihandler.cpp: In member function ‘int MidiHandler::findMidiInPortByName(QString)’:
src/midihandler.cpp:108:33: error: invalid use of incomplete type ‘class RtMidiIn’
108 | for (int i=0; i<m_midiin->getPortCount(); i++) { // find port number according to the name
| ^~
src/midihandler.h:8:7: note: forward declaration of ‘class RtMidiIn’
8 | class RtMidiIn;
| ^~~~~~~~
src/midihandler.cpp:109:59: error: invalid use of incomplete type ‘class RtMidiIn’
109 | portName = QString::fromStdString(m_midiin->getPortName(i));
| ^~
src/midihandler.h:8:7: note: forward declaration of ‘class RtMidiIn’
8 | class RtMidiIn;
| ^~~~~~~~
src/midihandler.cpp: In member function ‘int MidiHandler::findMidiOutPortByName(QString)’:
src/midihandler.cpp:131:34: error: invalid use of incomplete type ‘class RtMidiOut’
131 | for (int i=0; i<m_midiout->getPortCount(); i++) { // find port number according to the name
| ^~
src/midihandler.h:9:7: note: forward declaration of ‘class RtMidiOut’
9 | class RtMidiOut;
| ^~~~~~~~~
src/midihandler.cpp:132:60: error: invalid use of incomplete type ‘class RtMidiOut’
132 | portName = QString::fromStdString(m_midiout->getPortName(i));
| ^~
src/midihandler.h:9:7: note: forward declaration of ‘class RtMidiOut’
9 | class RtMidiOut;
| ^~~~~~~~~
src/midihandler.cpp: In member function ‘void MidiHandler::openMidiInPort(int)’:
src/midihandler.cpp:161:25: error: invalid use of incomplete type ‘class RtMidiIn’
161 | m_midiin->openPort(port, "MIDI in");
| ^~
src/midihandler.h:8:7: note: forward declaration of ‘class RtMidiIn’
8 | class RtMidiIn;
| ^~~~~~~~
src/midihandler.cpp: In member function ‘void MidiHandler::openMidiOutPort(int)’:
src/midihandler.cpp:203:26: error: invalid use of incomplete type ‘class RtMidiOut’
203 | m_midiout->openPort(port, "MIDI out");
| ^~
src/midihandler.h:9:7: note: forward declaration of ‘class RtMidiOut’
9 | class RtMidiOut;
| ^~~~~~~~~
src/midihandler.cpp: In member function ‘void MidiHandler::closeMidiInPort()’:
src/midihandler.cpp:223:17: error: invalid use of incomplete type ‘class RtMidiIn’
223 | m_midiin->closePort();
| ^~
src/midihandler.h:8:7: note: forward declaration of ‘class RtMidiIn’
8 | class RtMidiIn;
| ^~~~~~~~
src/midihandler.cpp: In member function ‘void MidiHandler::closeMidiOutPort()’:
src/midihandler.cpp:230:18: error: invalid use of incomplete type ‘class RtMidiOut’
230 | m_midiout->closePort();
| ^~
src/midihandler.h:9:7: note: forward declaration of ‘class RtMidiOut’
9 | class RtMidiOut;
| ^~~~~~~~~
make[1]: *** [Makefile:1860: build/doubles/obj/midihandler.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/reproducible-path/csoundqt-1.1.3+dfsg'
See
https://buildd.debian.org/status/fetch.php?pkg=csoundqt&arch=amd64&ver=1.1.3%2Bdfsg-1%2Bb1&stamp=1795434270&raw=0
for a full log.
Cheers
--
Sebastian Ramacher
Technical Details
Message-ID:
<O2EVP-dHrC-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Sebastian Ramacher <sramacher@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1155014: csoundqt: FTBFS: src/midihandler.cpp:29:24: error: expected type-specifier before ‘RtMidiIn’ Date: Mon, 23 Nov 2026 17:20:01 +0100 Message-ID: <O2EVP-dHrC-7@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Mon Nov 23 16:13:28 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1155014@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sramacher@debian.org, debian-multimedia@lists.debian.org X-Debian-Pr-Message: report 1155014 X-Debian-Pr-Package: src:csoundqt X-Debian-Pr-Keywords: ftbfs X-Debian-Pr-Source: csoundqt 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/839318 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 160 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 23 Nov 2026 17:10:46 +0100 X-Original-Message-ID: <awRlhjYFB4gtEwL1@ramacher.at>