Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330865 - dev-db/mysql-workbench does not compile with gcc 4.5.0 (patch included)
Summary: dev-db/mysql-workbench does not compile with gcc 4.5.0 (patch included)
Status: RESOLVED DUPLICATE of bug 320863
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://bugs.mysql.com/bug.php?id=53687
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.5
  Show dependency tree
 
Reported: 2010-08-02 16:21 UTC by David Carlos Manuelda
Modified: 2010-08-02 19:20 UTC (History)
0 users

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


Attachments
patch that fixes problem (mysql-workbench-5.2.19-gcc-4.5.0.patch,540 bytes, patch)
2010-08-02 16:22 UTC, David Carlos Manuelda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2010-08-02 16:21:43 UTC
This is the usefull output:

Making all in wbprivate
make[3]: Entering directory
`/home/users/Arvenil/rpm/BUILD/mysql-workbench-oss-5.2.21/backend/wbprivate'
x86_64-pld-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -I/usr/include/sigc++-2.0
-I/usr/lib64/sigc++-2.0/include    -I/usr/include/lua51   -I/usr/include/python2.6 
-DENABLE_LUA_MODULES -DENABLE_PYTHON_MODULES -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng14   -pthread -I/usr/include/libglade-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
-I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-unix-print-2.0
-I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0
-I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0
-I/usr/lib64/cairomm-1.0/include   -DORBIT2=1 -pthread -I/usr/include/libgnome-2.0
-I/usr/include/orbit-2.0 -I/usr/include/gconf2 -I/usr/include/gnome-vfs-2.0
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/libbonobo-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
-I/usr/include/bonobo-activation-2.0 -I../../library/grt/src -I../../library/base/src
-I../../library/forms -I../../library/forms/mforms -I../../modules
-I../../frontend/common -I../../backend/wbpublic -I../../generated
-I../../library/canvas/src -I../../backend/wbprivate/workbench -I../../ext/cppconn/
-I../../library/dbc/src -I../../library/vsqlite++/include  -D_FORTIFY_SOURCE=2   -O2
-fno-strict-aliasing -fwrapv -march=x86-64 -gdwarf-2 -g2  -Wextra -Wall -Wno-unused
-Wno-deprecated -ggdb3 -DENABLE_DEBUG   -MT canvas_floater.o -MD -MP -MF
.deps/canvas_floater.Tpo -c -o canvas_floater.o `test -f 'model/canvas_floater.cpp' ||
echo './'`model/canvas_floater.cpp
model/canvas_floater.cpp: In constructor 'wb::Floater::Floater(mdc::Layer*, const
std::string&)':
model/canvas_floater.cpp:65:59: error: cannot call constructor 'mdc::Color::Color'
directly
model/canvas_floater.cpp:65:59: error:   for a function-style cast, remove the redundant
'::Color'
make[3]: *** [canvas_floater.o] Error 1
make[3]: Leaving directory
`/home/users/Arvenil/rpm/BUILD/mysql-workbench-oss-5.2.21/backend/wbprivate'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/users/Arvenil/rpm/BUILD/mysql-workbench-oss-5.2.21/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/Arvenil/rpm/BUILD/mysql-workbench-oss-5.2.21'
make: *** [all] Error 2


It has been fixed upstream, but I don't know in which version. Since other superior versions requires unstable mysql, I created a patch for this version (maybe it is applicable to others too).

Reproducible: Always
Comment 1 David Carlos Manuelda 2010-08-02 16:22:32 UTC
Created attachment 241121 [details, diff]
patch that fixes problem

Also remember to add a EPATCH line inside ebuild. Thanks
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-02 19:20:23 UTC

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