Bug#667345: qtractor: ftbfs with GCC-4.7
Matthias Klose
doko at debian.org
Tue Apr 3 23:12:01 UTC 2012
Package: qtractor
Version: 0.5.4-1
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7
The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.
qtractor.cpp:304:50: error: 'getpid' was not declared in this scope
The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/qtractor_0.5.4-1_unstable-gcc47.log
The last lines of the build log are at the end of this report.
Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html
To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
[...]
/usr/bin/uic-qt4 qtractorMidiControlObserverForm.ui -o .ui/ui_qtractorMidiControlObserverForm.h
/usr/bin/uic-qt4 qtractorMidiEditorForm.ui -o .ui/ui_qtractorMidiEditorForm.h
/usr/bin/uic-qt4 qtractorMidiSysexForm.ui -o .ui/ui_qtractorMidiSysexForm.h
/usr/bin/uic-qt4 qtractorMidiToolsForm.ui -o .ui/ui_qtractorMidiToolsForm.h
/usr/bin/uic-qt4 qtractorOptionsForm.ui -o .ui/ui_qtractorOptionsForm.h
/usr/bin/uic-qt4 qtractorPasteRepeatForm.ui -o .ui/ui_qtractorPasteRepeatForm.h
/usr/bin/uic-qt4 qtractorPluginForm.ui -o .ui/ui_qtractorPluginForm.h
/usr/bin/uic-qt4 qtractorPluginSelectForm.ui -o .ui/ui_qtractorPluginSelectForm.h
/usr/bin/uic-qt4 qtractorSessionForm.ui -o .ui/ui_qtractorSessionForm.h
/usr/bin/uic-qt4 qtractorShortcutForm.ui -o .ui/ui_qtractorShortcutForm.h
/usr/bin/uic-qt4 qtractorTakeRangeForm.ui -o .ui/ui_qtractorTakeRangeForm.h
/usr/bin/uic-qt4 qtractorTempoAdjustForm.ui -o .ui/ui_qtractorTempoAdjustForm.h
/usr/bin/uic-qt4 qtractorTimeScaleForm.ui -o .ui/ui_qtractorTimeScaleForm.h
/usr/bin/uic-qt4 qtractorTrackForm.ui -o .ui/ui_qtractorTrackForm.h
g++ -c -m64 -pipe -I/usr/include/suil-0 -I/usr/include/lilv-0 -msse -mfpmath=sse -ffast-math -g -Wall -W -D_REENTRANT -DDATADIR="/usr/share" -DLOCALEDIR="/usr/share/locale" -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I/usr/include/qt4 -I/usr/local/include -I/usr/include -I/usr/include/qt4 -Ivestige -Ilv2 -I.moc -I.ui -o .obj/qtractor.o qtractor.cpp
qtractor.cpp: In function 'void stacktrace(int)':
qtractor.cpp:304:50: error: 'getpid' was not declared in this scope
qtractor.cpp:306:13: error: 'fork' was not declared in this scope
qtractor.cpp:314:38: error: 'execl' was not declared in this scope
qtractor.cpp:315:10: error: '_exit' was not declared in this scope
qtractor.cpp:328:9: error: '_exit' was not declared in this scope
make[3]: *** [.obj/qtractor.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/src'
make[2]: *** [sub-src-make_default] Error 2
make[1]: *** [src/qtractor] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the pkg-multimedia-maintainers
mailing list