mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.43k stars 1.27k forks source link

Build error #7453

Closed mixxxbot closed 2 years ago

mixxxbot commented 2 years ago

Reported by: jobermayr Date: 2014-04-28T15:05:17Z Status: Fix Released Importance: Low Launchpad Issue: lp1313772


See: https://pmbs.links2linux.de/package/show/Multimedia/mixxx-unstable

[  177s] g++ -o lin64_build/dlgprefmodplug.o -c -pipe -Wall -Wextra -g -pthread -O3 -ffast-math -funroll-loops -fomit-frame-pointer -mtune=generic -mmmx -msse -mfpmath=sse -msse2 -Dx86_64 -D__LINUX__ -D__UNIX__ -DSETTINGS_PATH=\".mixxx/\" -DSETTINGS_FILE=\"mixxx.cfg\" -DUNIX_SHARE_PATH=\"/usr/share/mixxx\" -DUNIX_LIB_PATH=\"/usr/lib/mixxx\" -DSOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS -D__PORTAUDIO__ -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB -DQT_SHARED -D__SNDFILE__ -D__MAD__ -D__HID__ -D__BULK__ -D__VINYLCONTROL__ -D__SHOUTCAST__ -DQT_NO_DEBUG_OUTPUT -D__SSE__ -D__SSE2__ -D__MODPLUG__ -DHAVE_FFTW3 -D__AUTODJCRATES__ -Ilin64_build -Isrc -Ilib/soundtouch-1.6.0 -Ilib/replaygain -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include/QtScript -I/usr/include/QtXmlPatterns -I/usr/include/QtNetwork -I/usr/include/QtCore -I/usr/include/QtTest -Ilib/gtest-1.7.0/include -Ilib/fidlib-0.9.10 -I/usr/include/taglib -Ilib/hidapi-0.8.0-pre/hidapi -I/usr/include/libusb-1.0 -Ilib/xwax -Ilib/scratchlib src/dlgprefmodplug.cpp
[  178s] In file included from src/dlgprefmodplug.cpp:8:0:
[  178s] src/soundsourcemodplug.h:25:9: error: conflicting return type specified for 'virtual int SoundSourceModPlug::open()'
[  178s]      int open();
[  178s]          ^
[  178s] In file included from src/soundsourcemodplug.h:11:0,
[  178s]                  from src/dlgprefmodplug.cpp:8:
[  178s] src/soundsource.h:62:20: error:   overriding 'virtual Result Mixxx::SoundSource::open()'
[  178s]      virtual Result open() = 0;
[  178s]                     ^
[  178s] scons: *** [lin64_build/dlgprefmodplug.o] Error 1
[  178s] scons: building terminated because of errors.
[  178s] error: Bad exit status from /var/tmp/rpm-tmp.Afujgr (%build)
[  178s] 
[  178s] 
[  178s] RPM build errors:
mixxxbot commented 2 years ago

Commented by: kain88-de Date: 2014-04-28T21:11:48Z


fixed in

https://github.com/mixxxdj/mixxx/commit/f4ce8f1b0cf2108be4edb0cc9faba86bb5846cb0

mixxxbot commented 2 years ago

Commented by: jobermayr Date: 2014-04-29T16:25:27Z


[ 1472s] g++ -o lin32_build/plugins/lin32_build/m4a/soundsourcem4a.os -c -pipe -Wall -Wextra -g -pthread -O3 -ffast-math -funroll-loops -fomit-frame-pointer -mtune=generic -mmmx -msse -mfpmath=sse -fPIC -Di686 -D__LINUX__ -D__UNIX__ -DSETTINGS_PATH=\".mixxx/\" -DSETTINGS_FILE=\"mixxx.cfg\" -DUNIX_SHARE_PATH=\"/usr/share/mixxx\" -DUNIX_LIB_PATH=\"/usr/lib/mixxx\" -DSOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS -D__PORTAUDIO__ -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB -DQT_SHARED -D__SNDFILE__ -D__MAD__ -D__HID__ -D__BULK__ -D__VINYLCONTROL__ -D__SHOUTCAST__ -DQT_NO_DEBUG_OUTPUT -D__SSE__ -D__MODPLUG__ -DHAVE_FFTW3 -D__AUTODJCRATES__ -D__MP4V2__ -Ilin32_build/plugins/lin32_build/m4a -Iplugins/soundsourcem4a -Isrc -Iplugins/lin32_build/m4a -Isrc/plugins/lin32_build/m4a -Ilib/soundtouch-1.6.0 -Ilib/replaygain -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScript -I/usr/include/QtXmlPatterns -I/usr/include/QtNetwork -I/usr/include/QtTest -Ilib/gtest-1.7.0/include -Ilib/fidlib-0.9.10 -I/usr/include/taglib -Ilib/hidapi-0.8.0-pre/hidapi -I/usr/include/libusb-1.0 -Ilib/xwax -Ilib/scratchlib plugins/soundsourcem4a/soundsourcem4a.cpp
[ 1473s] In file included from plugins/soundsourcem4a/soundsourcem4a.cpp:33:0:
[ 1473s] plugins/soundsourcem4a/m4a/mp4-mixxx.cpp:12:23: fatal error: mathstuff.h: No such file or directory
[ 1473s] compilation terminated.
[ 1473s] scons: *** [lin32_build/plugins/lin32_build/m4a/soundsourcem4a.os] Error 1
[ 1473s] scons: building terminated because of errors.
[ 1474s] error: Bad exit status from /var/tmp/rpm-tmp.4cp8ek (%build)
mixxxbot commented 2 years ago

Commented by: kain88-de Date: 2014-04-29T17:22:44Z


https://github.com/mixxxdj/mixxx/commit/ad097a849bc670b226a965e067b4aba53750cf54

for future reference we use the Incomplete status to indicate that more information from the bug-reporter is needed. If you have more trouble building please also post the command that you use to invoke scons, This is helpful for us if you build non standard features

mixxxbot commented 2 years ago

Commented by: jobermayr Date: 2014-04-29T19:16:55Z


scons -j1 prefix=/usr optimize=9 djconsole=1 djconsole_legacy=0 hifieq=1 experimentalrecord=1 cmetrics=0 ladspa=0 vinylcontrol=1 ffmpeg=0 shoutcast=1 ipod=0 script=1 midiscript=1 tonal=1 m4a=1 faad=1 mad=1 hss1394=0 wv=1 asmlib=0 portmidi=1 shoutcast=1 modplug=1 qdebug=0 perftools=1

[ 1952s] g++ -o lin64_build/plugins/lin64_build/wv/soundsource.os -c -pipe -Wall -Wextra -g -pthread -O3 -ffast-math -funroll-loops -fomit-frame-pointer -mtune=generic -mmmx -msse -mfpmath=sse -msse2 -fPIC -Dx86_64 -D__LINUX__ -D__UNIX__ -DSETTINGS_PATH=\".mixxx/\" -DSETTINGS_FILE=\"mixxx.cfg\" -DUNIX_SHARE_PATH=\"/usr/share/mixxx\" -DUNIX_LIB_PATH=\"/usr/lib/mixxx\" -DSOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS -D__PORTAUDIO__ -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB -DQT_SHARED -D__SNDFILE__ -D__MAD__ -D__HID__ -D__BULK__ -D__VINYLCONTROL__ -D__SHOUTCAST__ -DQT_NO_DEBUG_OUTPUT -D__SSE__ -D__SSE2__ -D__MODPLUG__ -DHAVE_FFTW3 -D__AUTODJCRATES__ -Ilin64_build/plugins/lin64_build/wv -Iplugins/soundsourcewv -Isrc -Iplugins/lin64_build/wv -Isrc/plugins/lin64_build/wv -Ilib/soundtouch-1.6.0 -Ilib/replaygain -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include/QtScript -I/usr/include/QtXmlPatterns -I/usr/include/QtNetwork -I/usr/include/QtCore -I/usr/include/QtTest -Ilib/gtest-1.7.0/include -Ilib/fidlib-0.9.10 -I/usr/include/taglib -Ilib/hidapi-0.8.0-pre/hidapi -I/usr/include/libusb-1.0 -Ilib/xwax -Ilib/scratchlib src/soundsource.cpp
[ 1957s] g++ -o lin64_build/plugins/lin64_build/wv/soundsourcewv.os -c -pipe -Wall -Wextra -g -pthread -O3 -ffast-math -funroll-loops -fomit-frame-pointer -mtune=generic -mmmx -msse -mfpmath=sse -msse2 -fPIC -Dx86_64 -D__LINUX__ -D__UNIX__ -DSETTINGS_PATH=\".mixxx/\" -DSETTINGS_FILE=\"mixxx.cfg\" -DUNIX_SHARE_PATH=\"/usr/share/mixxx\" -DUNIX_LIB_PATH=\"/usr/lib/mixxx\" -DSOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS -D__PORTAUDIO__ -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB -DQT_SHARED -D__SNDFILE__ -D__MAD__ -D__HID__ -D__BULK__ -D__VINYLCONTROL__ -D__SHOUTCAST__ -DQT_NO_DEBUG_OUTPUT -D__SSE__ -D__SSE2__ -D__MODPLUG__ -DHAVE_FFTW3 -D__AUTODJCRATES__ -Ilin64_build/plugins/lin64_build/wv -Iplugins/soundsourcewv -Isrc -Iplugins/lin64_build/wv -Isrc/plugins/lin64_build/wv -Ilib/soundtouch-1.6.0 -Ilib/replaygain -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include/QtScript -I/usr/include/QtXmlPatterns -I/usr/include/QtNetwork -I/usr/include/QtCore -I/usr/include/QtTest -Ilib/gtest-1.7.0/include -Ilib/fidlib-0.9.10 -I/usr/include/taglib -Ilib/hidapi-0.8.0-pre/hidapi -I/usr/include/libusb-1.0 -Ilib/xwax -Ilib/scratchlib plugins/soundsourcewv/soundsourcewv.cpp
[ 1958s] In file included from plugins/soundsourcewv/soundsourcewv.cpp:10:0:
[ 1958s] plugins/soundsourcewv/soundsourcewv.h:29:7: error: conflicting return type specified for 'virtual int Mixxx::SoundSourceWV::open()'
[ 1958s]    int open();
[ 1958s]        ^
[ 1958s] In file included from plugins/soundsourcewv/soundsourcewv.h:10:0,
[ 1958s]                  from plugins/soundsourcewv/soundsourcewv.cpp:10:
[ 1958s] src/soundsource.h:62:20: error:   overriding 'virtual Result Mixxx::SoundSource::open()'
[ 1958s]      virtual Result open() = 0;
[ 1958s]                     ^
[ 1958s] In file included from plugins/soundsourcewv/soundsourcewv.cpp:10:0:
[ 1958s] plugins/soundsourcewv/soundsourcewv.h:33:7: error: conflicting return type specified for 'virtual int Mixxx::SoundSourceWV::parseHeader()'
[ 1958s]    int parseHeader();
[ 1958s]        ^
[ 1958s] In file included from plugins/soundsourcewv/soundsourcewv.h:10:0,
[ 1958s]                  from plugins/soundsourcewv/soundsourcewv.cpp:10:
[ 1958s] src/soundsource.h:67:20: error:   overriding 'virtual Result Mixxx::SoundSource::parseHeader()'
[ 1958s]      virtual Result parseHeader() = 0;
[ 1958s]                     ^
[ 1958s] plugins/soundsourcewv/soundsourcewv.cpp: In member function 'virtual unsigned int Mixxx::SoundSourceWV::read(long unsigned int, const SAMPLE*)':
[ 1958s] plugins/soundsourcewv/soundsourcewv.cpp:84:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[ 1958s]    if (timesamps > (WV_BUF_LENGTH/m_iChannels)) { //if requested size requires more than one buffer filling
[ 1958s]                                              ^
[ 1958s] scons: *** [lin64_build/plugins/lin64_build/wv/soundsourcewv.os] Error 1
[ 1958s] scons: building terminated because of errors.
[ 1959s] error: Bad exit status from /var/tmp/rpm-tmp.Jpj7tm (%build)
mixxxbot commented 2 years ago

Commented by: kain88-de Date: 2014-04-29T21:51:10Z


https://github.com/mixxxdj/mixxx/commit/4e2afca878f3c1a0c7d4cb26e325b042be7461f3

I hope I fixed everything now. I can't test issues with perftools=1 because debian packages tcmalloc as tcmalloc_minimal

mixxxbot commented 2 years ago

Commented by: jobermayr Date: 2014-05-02T22:36:05Z


Oh I found another one with ffmpeg=1:

[  737s] g++ -o lin64_build/soundsourceffmpeg.o -c -pipe -Wall -Wextra -g -pthread -O3 -ffast-math -funroll-loops -fomit-frame-pointer -mtune=generic -mmmx -msse -mfpmath=sse -msse2 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -Dx86_64 -D__LINUX__ -D__UNIX__ -DSETTINGS_PATH=\".mixxx/\" -DSETTINGS_FILE=\"mixxx.cfg\" -DUNIX_SHARE_PATH=\"/usr/share/mixxx\" -DUNIX_LIB_PATH=\"/usr/lib/mixxx\" -DSOUNDTOUCH_ALLOW_X86_OPTIMIZATIONS -D__PORTAUDIO__ -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB -DQT_SHARED -D__SNDFILE__ -D__MAD__ -D__HID__ -D__BULK__ -D__VINYLCONTROL__ -D__SHOUTCAST__ -DQT_NO_DEBUG_OUTPUT -D__SSE__ -D__SSE2__ -D__MODPLUG__ -DHAVE_FFTW3 -D__AUTODJCRATES__ -D__FFMPEGFILE__ -D__LIBAVRESAMPLE__ -Ilin64_build -Isrc -Ilib/soundtouch-1.6.0 -Ilib/replaygain -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScript -I/usr/include/QtXmlPatterns -I/usr/include/QtNetwork -I/usr/include/QtTest -Ilib/gtest-1.7.0/include -Ilib/fidlib-0.9.10 -I/usr/include/taglib -Ilib/hidapi-0.8.0-pre/hidapi -I/usr/include/libusb-1.0 -Ilib/xwax -Ilib/scratchlib src/soundsourceffmpeg.cpp
[  738s] In file included from src/soundsourceffmpeg.cpp:25:0:
[  738s] src/soundsourceffmpeg.h:58:9: error: conflicting return type specified for 'virtual int SoundSourceFFmpeg::open()'
[  738s] In file included from src/soundsourceffmpeg.h:27:0,
[  738s]                  from src/soundsourceffmpeg.cpp:25:
[  738s] src/soundsource.h:62:20: error:   overriding 'virtual Result Mixxx::SoundSource::open()'
[  738s] src/soundsourceffmpeg.cpp:138:8: error: prototype for 'Result SoundSourceFFmpeg::open()' does not match any in class 'SoundSourceFFmpeg'
[  738s] In file included from src/soundsourceffmpeg.cpp:25:0:
[  738s] src/soundsourceffmpeg.h:58:9: error: candidate is: virtual int SoundSourceFFmpeg::open()
[  738s] src/soundsourceffmpeg.cpp: In member function 'virtual unsigned int SoundSourceFFmpeg::read(long unsigned int, const SAMPLE*)':
[  738s] src/soundsourceffmpeg.cpp:356:25: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3422) [-Wdeprecated-declarations]
[  738s] src/soundsourceffmpeg.cpp:356:45: warning: 'AVFrame* avcodec_alloc_frame()' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3422) [-Wdeprecated-declarations]
[  738s] src/soundsourceffmpeg.cpp:576:21: warning: 'void avcodec_get_frame_defaults(AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3432) [-Wdeprecated-declarations]
[  738s] src/soundsourceffmpeg.cpp:576:56: warning: 'void avcodec_get_frame_defaults(AVFrame*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3432) [-Wdeprecated-declarations]
[  738s] scons: *** [lin64_build/soundsourceffmpeg.o] Error 1
mixxxbot commented 2 years ago

Commented by: jobermayr Date: 2014-05-03T09:17:50Z


grep -r -n -e "int.*open()"

Here is the patch to fix the remaining two: https://pmbs.links2linux.de/package/view_file/Multimedia/mixxx-unstable/0001-Fix-remaining-Mixxx-SoundSource-open.patch?expand=1

mixxxbot commented 2 years ago

Commented by: kain88-de Date: 2014-05-04T12:46:40Z


thanks, I applied your patch

Please sign https://docs.google.com/a/mixxx.org/spreadsheet/viewform?formkey=dEpYN2NkVEFnWWQzbkFfM0ZYYUZ5X2c6MQ

mixxxbot commented 2 years ago

Issue closed with status Fix Released.