Bug#825286: lmms: FTBFS on i386: wineg++ linking problems - missing many libstdc++ symbols

Andreas Beckmann anbe at debian.org
Wed May 25 14:17:49 UTC 2016


Source: lmms
Version: 1.1.3-2
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

lmms FTBFS on i386:

https://buildd.debian.org/status/fetch.php?pkg=lmms&arch=i386&ver=1.1.3-2&stamp=1463674293

[...]
[ 84%] Generating RemoteVstPlugin
cd /«PKGBUILDDIR»/obj-i686-linux-gnu/plugins/vst_base && /usr/bin/wineg++ -I"/«PKGBUILDDIR»/obj-i686-linux-gnu" -I"/«PKGBUILDDIR»/include" -I"/usr/include/wine/windows" -I"/usr/include" -I/usr/include/wine/windows "/«PKGBUILDDIR»/plugins/vst_base/RemoteVstPlugin.cpp" -ansi -mwindows -lpthread -fno-omit-frame-pointer -O2 -g -fno-exceptions -Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow -Werror -Wno-array-bounds -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -Wl,-z,relro -Wl,--enable-new-dtags,-rpath=/usr/lib/i386-linux-gnu/wine -o RemoteVstPlugin
RemoteVstPlugin-tf4Yzm.o: In function `void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*>(char*, char*, std::forward_iterator_tag)':
/usr/include/c++/5/bits/basic_string.tcc:216: undefined reference to `std::__throw_logic_error(char const*)'
/usr/include/c++/5/bits/basic_string.tcc:223: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned int&, unsigned int)'
RemoteVstPlugin-tf4Yzm.o: In function `RemotePluginBase::~RemotePluginBase()':
/«PKGBUILDDIR»/include/RemotePlugin.h:1017: undefined reference to `operator delete(void*)'
[...]
RemoteVstPlugin-tf4Yzm.o: In function `main':
/«PKGBUILDDIR»/plugins/vst_base/RemoteVstPlugin.cpp:1924: undefined reference to `operator new(unsigned int)'
RemoteVstPlugin-tf4Yzm.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned int)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
RemoteVstPlugin-tf4Yzm.o: In function `__gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::deallocate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
RemoteVstPlugin-tf4Yzm.o: In function `__gnu_cxx::new_allocator<char>::deallocate(char*, unsigned int)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
RemoteVstPlugin-tf4Yzm.o: In function `__gnu_cxx::new_allocator<VstMidiEvent>::allocate(unsigned int, void const*)':
/usr/include/c++/5/ext/new_allocator.h:104: undefined reference to `operator new(unsigned int)'
RemoteVstPlugin-tf4Yzm.o: In function `__gnu_cxx::new_allocator<VstMidiEvent>::deallocate(VstMidiEvent*, unsigned int)':
/usr/include/c++/5/ext/new_allocator.h:110: undefined reference to `operator delete(void*)'
RemoteVstPlugin-tf4Yzm.o:(.data.rel.ro._ZTI16RemotePluginBase[_ZTI16RemotePluginBase]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
RemoteVstPlugin-tf4Yzm.o:(.data.rel.ro._ZTI18RemotePluginClient[_ZTI18RemotePluginClient]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
RemoteVstPlugin-tf4Yzm.o:(.data.rel.ro._ZTI15RemoteVstPlugin[_ZTI15RemoteVstPlugin]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
RemoteVstPlugin-tf4Yzm.o:(.data.rel.ro._ZTV16RemotePluginBase[_ZTV16RemotePluginBase]+0x10): undefined reference to `__cxa_pure_virtual'
RemoteVstPlugin-tf4Yzm.o:(.data.rel.ro._ZTV18RemotePluginClient[_ZTV18RemotePluginClient]+0x14): undefined reference to `__cxa_pure_virtual'
collect2: error: ld returned 1 exit status
winegcc: gcc failed
plugins/vst_base/CMakeFiles/vstbase.dir/build.make:64: recipe for target 'plugins/vst_base/RemoteVstPlugin' failed
[...]

This error message makes me suspicious: "winegcc: gcc failed"
Does something call gcc instead of g++? (may be wine's fault)


Andreas



More information about the Debian-edu-pkg-team mailing list