Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345021 - dev-db/mysql-workbench-5.2.29-r1 error: ‘MYSQL_PLUGIN_IMPORT’ does not name a type
Summary: dev-db/mysql-workbench-5.2.29-r1 error: ‘MYSQL_PLUGIN_IMPORT’ does not name a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-11 08:54 UTC by Arsen Shnurkov
Modified: 2012-09-06 11:16 UTC (History)
0 users

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


Attachments
/var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/temp/build.log (build.log,584.29 KB, text/plain)
2010-11-11 08:55 UTC, Arsen Shnurkov
Details
emerge --info =dev-db/mysql-workbench-5.2.29-r1 (emerge.info.txt,5.22 KB, text/plain)
2010-11-11 08:56 UTC, Arsen Shnurkov
Details
emerge -pqv =dev-db/mysql-workbench-5.2.29-r1 (emerge.pqv.txt,205 bytes, text/plain)
2010-11-11 08:56 UTC, Arsen Shnurkov
Details
/var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/temp/environment (environment,124.89 KB, text/plain)
2010-11-11 08:57 UTC, Arsen Shnurkov
Details

Note You need to log in before you can comment on or make changes to this bug.
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:
 *     ebuild.sh, 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]
/var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/temp/build.log
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]
/var/tmp/portage/dev-db/mysql-workbench-5.2.29-r1/temp/environment

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 http://bugs.gentoo.org/show_bug.cgi?id=338818

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.