Summary: | dev-db/mysql-workbench-6.3.10 : /.../my_global.h:926:2: error: #error Neither int or long is of 4 bytes width | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Hans de Graaff <graaff> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | rose |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-db:mysql-workbench-6.3.10:20180124-023928.log.bz2 emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 |
Description
Toralf Förster
2018-01-24 18:20:23 UTC
Created attachment 516422 [details]
emerge-info.txt
Created attachment 516424 [details]
dev-db:mysql-workbench-6.3.10:20180124-023928.log.bz2
Created attachment 516426 [details]
emerge-history.txt
Created attachment 516428 [details]
environment
Created attachment 516430 [details]
etc.portage.tbz2
Created attachment 516432 [details]
logs.tbz2
Created attachment 516434 [details]
temp.tbz2
I have the same issue. root@lynxold:/root(15)# gcc-config -l [1] x86_64-pc-linux-gnu-7.3.0 * root@lynxold:/root(19)# eselect python list Available Python interpreters, in order of preference: [1] python3.6 [2] python3.4 [3] python3.5 (fallback) [4] python2.7 (fallback) [5] pypy (fallback) root@lynxold:/root(20)# eselect ruby list Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) [3] ruby24 (with Rubygems) * [4] ruby25 (with Rubygems) root@lynxold:/root(26)# java-config -L The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Are there any news? I got the same error. Looks like mysql-workbench includes the wrong header file (or maybe mariadb installs some of its header files in the wrong place). Mariadb installs two versions of my_config.h. One in /usr/include/mysql and the other one in /usr/include/mysql/server. The latter should be used by mysql-workbench. As a workaround I modified the /usr/bin/mysql_config script and set the variable pkgincludedir='/usr/include/mysql/server'. mysql-workbench-8.x uses mysql-connector-c++ instead of the C bindings. Please test and re-open if this is still an issue with mysql-workbench 8.x. |