[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#752733: g++-4.9: PR61214 breaks packages linking against wxWidgets



Am 26.06.2014 01:51, schrieb Michael Tautschnig:
> Package: g++-4.9 Version: 4.9.0-7 Usertags: goto-cc Affects: hugin
> mkvtoolnix Tags: upstream Forwarded:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61214
> 
> It seems that the problem known upstream as PR 61214 makes several Debian 
> packages FTBFS.
> 
> This is hugin 2014.0.0~rc3+dfsg-1: [...] /usr/bin/c++   -g -O2
> -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Werror=format-security -D_FORTIFY_SOURCE=2  -pthread -O2 -g -DNDEBUG
> -Wl,-z,relro -Wl,--as-needed -Wl,-z,defs
> CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o
> CMakeFiles/PTBatcherGUI.dir/Batch.cpp.o
> CMakeFiles/PTBatcherGUI.dir/RunStitchFrame.cpp.o
> CMakeFiles/PTBatcherGUI.dir/ProjectArray.cpp.o
> CMakeFiles/PTBatcherGUI.dir/ProjectListBox.cpp.o
> CMakeFiles/PTBatcherGUI.dir/BatchFrame.cpp.o
> CMakeFiles/PTBatcherGUI.dir/FindPanoDialog.cpp.o
> CMakeFiles/PTBatcherGUI.dir/FailedProjectsDialog.cpp.o
> CMakeFiles/PTBatcherGUI.dir/BatchTrayIcon.cpp.o  -o PTBatcherGUI -rdynamic
> ../base_wx/libhuginbasewx.so.0.0 ../../hugin_base/libhuginbase.so.0.0
> -lboost_thread -lboost_date_time -lboost_regex -lboost_filesystem
> -lboost_iostreams -lboost_system -lpthread -lpano13 -lGLEW
> ../../foreign/levmar/libhuginlevmar.a
> ../../foreign/vigra/vigra_impex/libhuginvigraimpex.so.0.0 -lImath -lIlmImf
> -lIex -lHalf -lIlmThread -ljpeg -ltiff -lpng -lz -lz -lexiv2
> -L/usr/lib/x86_64-linux-gnu -pthread -lwx_baseu-3.0 -lwx_gtk2u_core-3.0
> -lwx_gtk2u_aui-3.0 -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0
> -lwx_baseu_xml-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_gl-3.0 -lwx_baseu_net-3.0
> ../../hugin_base/makefilelib/libmakefilelib.so.0.0 -lpthread -lGLU -lGL
> -lSM -lICE -lX11 -lXext -lglut -lpthread -lGLU -lGL -lSM -lICE -lX11 -lXext
> -lglut -ltiff -lexiv2 -llensfun -lboost_thread -lboost_date_time
> -lboost_regex -lboost_filesystem -lboost_iostreams -lboost_system -lpthread
> -lpano13 -lGLEW
> -Wl,-rpath,"/srv/jenkins-slave/workspace/sid-goto-cc-hugin/hugin-2014.0.0~rc3+dfsg/build-dir/src/hugin1/base_wx:/srv/jenkins-slave/workspace/sid-goto-cc-hugin/hugin-2014.0.0~rc3+dfsg/build-dir/src/hugin_base:/srv/jenkins-slave/workspace/sid-goto-cc-hugin/hugin-2014.0.0~rc3+dfsg/build-dir/src/foreign/vigra/vigra_impex:/srv/jenkins-slave/workspace/sid-goto-cc-hugin/hugin-2014.0.0~rc3+dfsg/build-dir/src/hugin_base/makefilelib:"
>  CMakeFiles/PTBatcherGUI.dir/Batch.cpp.o: In function
> `wxEvtHandler::AddPendingEvent(wxEvent const&)': 
> /usr/include/wx-3.0/wx/event.h:3395: undefined reference to
> `wxCommandEvent::Clone() const' collect2: error: ld returned 1 exit status
> 
> and here is mkvtoolnix 7.0.0-1: [...] LINK src/mmg/mmg 
> src/mmg/mux_dialog.o: In function `wxEvtHandler::AddPendingEvent(wxEvent
> const&)': /usr/include/wx-3.0/wx/event.h:3395: undefined reference to
> `wxCommandEvent::Clone() const' collect2: error: ld returned 1 exit status
> 
> 
> For flamerobin a workaround has been put in place to fix the FTBFS reported
> in #746847.

Wondering if we can have a work-around in wxwidgets-3.0, building without
-fvisibility-inlines-hidden, until this is fixed in gcc-4.9. This way we would
have to touch only one package. At least the upstream test case works with it.


Reply to: