Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 345021

Summary: dev-db/mysql-workbench-5.2.29-r1 error: ‘MYSQL_PLUGIN_IMPORT’ does not name a type
Product: Gentoo Linux Reporter: Arsen Shnurkov <Arsen.Shnurkov>
Component: New packagesAssignee: Hans de Graaff <graaff>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/temp/build.log
emerge --info =dev-db/mysql-workbench-5.2.29-r1
emerge -pqv =dev-db/mysql-workbench-5.2.29-r1

Description Arsen Shnurkov 2010-11-11 08:54:31 UTC
In file included from /usr/include/mysql/psi/mysql_thread.h:57,
                 from /usr/include/mysql/my_pthread.h:742,
                 from mysys_priv.h:29,
                 from charset-def.cpp:17:
/usr/include/mysql/psi/psi.h:1306: error: ‘MYSQL_PLUGIN_IMPORT’ does not name a type
make[4]: *** [charset-def.lo] Ошибка 1
make[4]: *** Ожидание завершения заданий...
In file included from /usr/include/mysql/psi/mysql_thread.h:57,
                 from /usr/include/mysql/my_pthread.h:742,
                 from mysys_priv.h:29,
                 from charset.cpp:17:
/usr/include/mysql/psi/psi.h:1306: error: ‘MYSQL_PLUGIN_IMPORT’ does not name a type
make[4]: *** [charset.lo] Ошибка 1
mv -f .deps/ctype-bin.Tpo .deps/ctype-bin.Plo
mv -f .deps/ctype-big5.Tpo .deps/ctype-big5.Plo
make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/work/mysql-workbench-gpl-5.2.29-src/library/sql-parser/source'
make[3]: *** [all-recursive] Ошибка 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/work/mysql-workbench-gpl-5.2.29-src/library/sql-parser'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/work/mysql-workbench-gpl-5.2.29-src/library'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/work/mysql-workbench-gpl-5.2.29-src'
make: *** [all] Ошибка 2
 * ERROR: dev-db/mysql-workbench-5.2.29-r1 failed:
 *   compile failure
 * Call stack:
 *, line   54:  Called src_compile
 *   environment, line 3475:  Called gnome2_src_compile
 *   environment, line 2638:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
Comment 1 Arsen Shnurkov 2010-11-11 08:55:16 UTC
Created attachment 253979 [details]
Comment 2 Arsen Shnurkov 2010-11-11 08:56:03 UTC
Created attachment 253981 [details]
emerge --info =dev-db/mysql-workbench-5.2.29-r1
Comment 3 Arsen Shnurkov 2010-11-11 08:56:35 UTC
Created attachment 253983 [details]
emerge -pqv =dev-db/mysql-workbench-5.2.29-r1
Comment 4 Arsen Shnurkov 2010-11-11 08:57:07 UTC
Created attachment 253985 [details]

S: '/var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/work/mysql-workbench-gpl-5.2.29-src'
Comment 5 Hans de Graaff gentoo-dev Security 2010-11-18 10:45:52 UTC
Which version of mysql do you have installed? Which USE flags?
Comment 6 Arsen Shnurkov 2010-12-16 18:42:54 UTC
I tried with 

# emerge -pv mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-db/mysql-5.5.6_rc  USE="community extraengine perl profiling ssl -big-tables -cluster -debug -embedded -latin1 -max-idx-128 -minimal -pbxt (-selinux) -static -test -xtradb" 0 kB [?=>1]

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage

the ebuild was from

Comment 7 Hans de Graaff gentoo-dev Security 2010-12-18 10:53:21 UTC
I'm not sure if mysql-workbench is already meant to be compatible with this version of mysql. It would be great if you could try to find out and file an upstream bug otherwise.
Comment 8 Hans de Graaff gentoo-dev Security 2012-09-06 11:16:48 UTC
I've just verified that mysql-workbench-5.2.40 compiles fine with mysql 5.5.20.