Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645586 - dev-db/mysql-workbench-6.3.10 : /.../my_global.h:926:2: error: #error Neither int or long is of 4 bytes width
Summary: dev-db/mysql-workbench-6.3.10 : /.../my_global.h:926:2: error: #error Neither...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-24 18:20 UTC by Toralf Förster
Modified: 2019-07-23 08:52 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.84 KB, text/plain)
2018-01-24 18:20 UTC, Toralf Förster
Details
dev-db:mysql-workbench-6.3.10:20180124-023928.log.bz2 (dev-db:mysql-workbench-6.3.10:20180124-023928.log.bz2,31.60 KB, application/x-bzip)
2018-01-24 18:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.23 KB, text/plain)
2018-01-24 18:20 UTC, Toralf Förster
Details
environment (environment,174.10 KB, text/plain)
2018-01-24 18:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.62 KB, application/x-bzip)
2018-01-24 18:20 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.23 KB, application/x-bzip)
2018-01-24 18:20 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,68.54 KB, application/x-bzip)
2018-01-24 18:20 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-01-24 18:20:23 UTC
In file included from /var/tmp/portage/dev-db/mysql-workbench-6.3.10/work/mysql-workbench-community-6.3.10-src/library/sql.parser/source/mysys_priv.h:17:0,
                 from /var/tmp/portage/dev-db/mysql-workbench-6.3.10/work/mysql-workbench-community-6.3.10-src/library/sql.parser/source/charset-def.cpp:17:
/var/tmp/portage/dev-db/mysql-workbench-6.3.10/work/mysql-workbench-community-6.3.10-src/library/sql.parser/source/./my_global.h:926:2: error: #error "Neither int or long is of 4 bytes width"
 #error "Neither int or long is of 4 bytes width"
  ^~~~~
In file included from /var/tmp/portage/dev-db/mysql-workbench-6.3.10/work/mysql-workbench-community-6.3.10-src/library/sql.parser/source/mysys_priv.h:17:0,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_20180121-125258

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-db/mysql-workbench
[ebuild  N    ] dev-db/mysql-workbench-6.3.9  USE="gnome-keyring -debug -doc" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-01-24 18:20:25 UTC
Created attachment 516422 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-24 18:20:28 UTC
Created attachment 516424 [details]
dev-db:mysql-workbench-6.3.10:20180124-023928.log.bz2
Comment 3 Toralf Förster gentoo-dev 2018-01-24 18:20:31 UTC
Created attachment 516426 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-01-24 18:20:34 UTC
Created attachment 516428 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-01-24 18:20:36 UTC
Created attachment 516430 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-24 18:20:39 UTC
Created attachment 516432 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-01-24 18:20:42 UTC
Created attachment 516434 [details]
temp.tbz2
Comment 8 Juergen Rose 2018-02-23 10:15:37 UTC
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?
Comment 9 Simon Maurer 2018-02-24 16:56:58 UTC
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'.
Comment 10 Hans de Graaff gentoo-dev Security 2019-07-23 08:52:47 UTC
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.