Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Sebastian Ramacher
Mon, 23 Nov 2026 16:20
Bug#1155014: csoundqt: FTBFS: src/midihandler.cpp:29:24: error: expected type-specifier before ‘RtMidiIn’
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads