Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619524 - dev-db/mysql-workbench-6.3.4-r1 build fail with gcc-5.4
Summary: dev-db/mysql-workbench-6.3.4-r1 build fail with gcc-5.4
Status: RESOLVED DUPLICATE of bug 600376
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 09:08 UTC by Micha
Modified: 2017-05-25 05:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Micha 2017-05-24 09:08:21 UTC
I switched from gcc 4.9.4 to 5.4.0. After that dev-db/mysql-workbench-6.3.4-r1 fails to build.
Solution for me: use dev-db/mysql-workbench-6.3.4-r2
At time of writing this version is not yet stable. Solution would be to have this one stable.


Reproducible: Always

Steps to Reproduce:
1. Use gcc-5.4.0
2. emerge -1av dev-db/mysql-workbench (version 6.3.4-r1)
Actual Results:  
Fails to build.

Expected Results:  
Build should work.

Last lines of build fail:

[ 28%] Building CXX object library/forms/CMakeFiles/mforms.dir/gtk/src/lf_popover.cpp.o
cd /var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-6.3.4_build/library/forms && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -DHAVE_PRCTL_H -DMYSQLCPPCONN_VERSION_1_1_4 -DMYSQLCPPCONN_VERSION_1_1_5 -D__STDC_FORMAT_MACROS -Dmforms_EXPORTS -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/plugins/migration/copytable -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/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/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/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/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/grt/src -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/mysql.canvas/src -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/mforms -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/backend/wbpublic -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/ext/scintilla/include -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/if -I"/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/(" -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/UNIX -I"/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/)" -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/frontend/linux/linux_utilities -I/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/endif   -DNDEBUG -O2 -pipe -march=native -std=c++11 -fPIC   -DSCI_NAMESPACE -o CMakeFiles/mforms.dir/gtk/src/lf_popover.cpp.o -c /var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/lf_popover.cpp
/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/lf_popover.cpp: In Elementfunktion »void {anonym}::PopoverWidget::show_popover(int, int, mforms::StartPosition)«:
/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/lf_popover.cpp:383:13: Fehler: no match for »operator!=« (operand types are »Glib::RefPtr<Gdk::Window>« and »int«)
     if (wnd != 0)
             ^
/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/lf_popover.cpp:383:13: Anmerkung: candidate: operator!=(int, int) <eingebaut>
/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/lf_popover.cpp:383:13: Anmerkung:   keine bekannte Umwandlung für Argument 1 von »Glib::RefPtr<Gdk::Window>« nach »int«
In file included from /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:22:0,
                 from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:23,
                 from /usr/include/glibmm-2.4/glibmm.h:93,
                 from /usr/include/gtkmm-2.4/gtkmm.h:87,
                 from /var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/../lf_base.h:24,
                 from /var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/../lf_mforms.h:68,
                 from /var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/lf_popover.cpp:21:
/usr/include/glibmm-2.4/glibmm/refptr.h:394:1: Anmerkung: candidate: bool Glib::RefPtr<T_CppObject>::operator!=(const Glib::RefPtr<T_CppObject>&) const [mit T_CppObject = Gdk::Window]
 RefPtr<T_CppObject>::operator!=(const RefPtr& src) const noexcept
 ^
.................
.................
................
/usr/include/gdkmm-2.4/gdkmm/region.h:310:6: Anmerkung:   keine bekannte Umwandlung für Argument 1 von »Glib::RefPtr<Gdk::Display>« nach »const Gdk::Region&«
In file included from /usr/include/gdkmm-2.4/gdkmm/region.h:67:0,
                 from /usr/include/gdkmm-2.4/gdkmm/screen.h:33,
                 from /usr/include/gdkmm-2.4/gdkmm.h:27,
                 from /usr/include/gtkmm-2.4/gtkmm.h:89,
                 from /var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/../lf_base.h:24,
                 from /var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/../lf_mforms.h:68,
                 from /var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src/library/forms/gtk/src/lf_popover.cpp:21:
/usr/include/gdkmm-2.4/gdkmm/types.h:338:13: Anmerkung: candidate: bool Gdk::operator!=(const Gdk::Point&, const Gdk::Point&)
 inline bool operator!=(const Point& lhs, const Point& rhs)
             ^
/usr/include/gdkmm-2.4/gdkmm/types.h:338:13: Anmerkung:   keine bekannte Umwandlung für Argument 1 von »Glib::RefPtr<Gdk::Display>« nach »const Gdk::Point&«
make[2]: *** [library/forms/CMakeFiles/mforms.dir/build.make:783: library/forms/CMakeFiles/mforms.dir/gtk/src/lf_popover.cpp.o] Fehler 1
make[2]: Verzeichnis „/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-6.3.4_build“ wird verlassen
make[1]: *** [CMakeFiles/Makefile2:1246: library/forms/CMakeFiles/mforms.dir/all] Fehler 2
make[1]: Verzeichnis „/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-6.3.4_build“ wird verlassen
make: *** [Makefile:128: all] Fehler 2
 * ERROR: dev-db/mysql-workbench-6.3.4-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-db/mysql-workbench-6.3.4-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mysql-workbench-6.3.4-r1::gentoo'`.
 * The complete build log is located at '/mnt/portage/log/dev-db:mysql-workbench-6.3.4-r1:20170523-152851.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-6.3.4_build'
 * S: '/var/tmp/portage/dev-db/mysql-workbench-6.3.4-r1/work/mysql-workbench-community-6.3.4-src'
Comment 1 Micha 2017-05-24 09:17:58 UTC
Can't attach my build log....
Comment 2 Jonas Stein gentoo-dev 2017-05-24 21:09:08 UTC
You need to compress the log first.
xz -9 /var/tmp/portage/<category>/<packagename>/temp/build.log
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Problems_at_build_time

Review your gcc upgrade. A gcc upgrade is not trivial and source of many problems. Please try check it together with out wiki and our support channels and provide more information as soon as possible and reopen the ticket.
https://www.gentoo.org/support/
Comment 3 Hans de Graaff gentoo-dev Security 2017-05-25 05:47:15 UTC

*** This bug has been marked as a duplicate of bug 600376 ***