Summary: | dev-db/mysql-workbench-6.3.4 fails to compile against >=dev-libs/libsigc++-2.6.0 - #error This file requires compiler and library support for the ISO C++ 2011 standard. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Torsten Kurbad <gentoo> |
Component: | Current packages | Assignee: | Hans de Graaff <graaff> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | atoth, gentoo, gentoo, kuba.iluvatar, pacho, rose |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 566328 | ||
Attachments: | build.log |
Description
Torsten Kurbad
2015-11-23 18:36:41 UTC
Created attachment 417698 [details]
build.log
Adding to src_prepare: append-cxxflags -std=c++11 allows to go through those errors, but it later fails with other error: [ 35%] ^[[32mBuilding CXX object library/forms/CMakeFiles/mforms.dir/view.cpp.o^[[0m cd /tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-6.3.4_build/library/forms && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -DHAVE_GNOME_KEYRING -DHAVE_PRCTL_H -DMYSQLCPPCONN_VERSION_1_1_4 -DMYSQLCPPCONN_VERSION_1_1_5 -D__STDC_FORMAT_MACROS -Dmforms_EXPORTS -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/plugins/migration/copytable -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/base -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/. -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/python2.7 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/grt/src -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/mysql.canvas/src -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/mforms -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/backend/wbpublic -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/ext/scintilla/include -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/if -I"/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/(" -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/UNIX -I"/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/)" -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/frontend/linux/linux_utilities -I/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/endif -DNDEBUG -mtune=native -march=native -O2 -pipe -std=c++11 -fPIC -DSCI_NAMESPACE -o CMakeFiles/mforms.dir/view.cpp.o -c /tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/view.cpp /tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/view.cpp: In member function ‘virtual bool mforms::View::mouse_leave()’: /tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-community-6.3.4-src/library/forms/view.cpp:515:32: error: cannot convert ‘boost::signals2::signal<bool()>::result_type {aka boost::optional<bool>}’ to ‘bool’ in return return _signal_mouse_leave(); ^ library/forms/CMakeFiles/mforms.dir/build.make:1862: recipe for target 'library/forms/CMakeFiles/mforms.dir/view.cpp.o' failed make[2]: *** [library/forms/CMakeFiles/mforms.dir/view.cpp.o] Error 1 make[2]: Leaving directory '/tmp/portage/dev-db/mysql-workbench-6.3.4/work/mysql-workbench-6.3.4_build' CMakeFiles/Makefile2:1245: recipe for target 'library/forms/CMakeFiles/mforms.dir/all' failed make[1]: *** [library/forms/CMakeFiles/mforms.dir/all] Error 2 To make things work for now I have masked following packages: =dev-cpp/glibmm-2.46* =dev-libs/libsigc++-2.6* =dev-cpp/pangomm-2.38* =dev-cpp/atkmm-2.24* =dev-cpp/cairomm-1.12* =dev-cpp/gtkmm-2.24.4-r3 After downgrade Workbench compiled fine and work as expected. I tried to fix 6.3.4 appending the right flags but it failed with a different problem. Then I tried to play with 6.3.3, but it also fails with a different error: [ 34%] Building CXX object library/forms/CMakeFiles/mforms.dir/textbox.cpp.o cd /var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-6.3.3_build/library/forms && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -DHAVE_GNOME_KEYRING -DHAVE_PRCTL_H -DMYSQLCPPCONN_VERSION_1_1_4 -DMYSQLCPPCONN_VERSION_1_1_5 -D__STDC_FORMAT_MACROS -Dmforms_EXPORTS -DNDEBUG -O2 -pipe -march=native -fno-stack-protector -std=c++11 -fPIC -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/plugins/migration/copytable -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/base -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/. -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/python2.7 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/grt/src -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/mysql.canvas/src -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/mforms -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/backend/wbpublic -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/ext/scintilla/include -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/if -I"/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/(" -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/UNIX -I"/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/)" -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/frontend/linux/linux_utilities -I/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/endif -DSCI_NAMESPACE -o CMakeFiles/mforms.dir/textbox.cpp.o -c /var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/textbox.cpp /var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/textbox.cpp: In member function 'bool mforms::TextBox::key_event(mforms::KeyCode, mforms::ModifierKey, const string&)': /var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-community-6.3.3-src/library/forms/textbox.cpp:128:49: error: cannot convert 'boost::signals2::signal<bool(mforms::KeyCode, mforms::ModifierKey, const std::basic_string<char>&)>::result_type {aka boost::optional<bool>}' to 'bool' in return return _key_event_signal(code, modifiers, text); ^ library/forms/CMakeFiles/mforms.dir/build.make:1742: recipe for target 'library/forms/CMakeFiles/mforms.dir/textbox.cpp.o' failed make[2]: *** [library/forms/CMakeFiles/mforms.dir/textbox.cpp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-6.3.3_build' CMakeFiles/Makefile2:1245: recipe for target 'library/forms/CMakeFiles/mforms.dir/all' failed make[1]: *** [library/forms/CMakeFiles/mforms.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-workbench-6.3.3/work/mysql-workbench-6.3.3_build' Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 Idea on how to handle the latter error: http://sources.debian.net/patches/patch/mysql-workbench/6.3.4%2Bdfsg-3/gcc5.patch/ @graff, will 6.3.4 be a stable candidate or would it be better to try to fix 6.3.3 for allowing its faster stabilization? (In reply to Pacho Ramos from comment #6) > @graff, will 6.3.4 be a stable candidate or would it be better to try to fix > 6.3.3 for allowing its faster stabilization? 6.3.4 should be fine as a stable candidate, I don't think it is more broken than 6.3.3. It is probably better to try and fix this for the latest version. Upstream is already up to 6.3.6 (based on unreleased library versions). [master 6f0a740] dev-db/mysql-workbench: Fix building with latest glibmm/libsigc++ (#566668) 2 files changed, 147 insertions(+) create mode 100644 dev-db/mysql-workbench/files/mysql-workbench-6.3.4-cxx11.patch create mode 100644 dev-db/mysql-workbench/mysql-workbench-6.3.4-r1.ebuild |