Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159702 - dev-db/mysql-administrator-1.1.10 broken, compile error in m_ctype.h
Summary: dev-db/mysql-administrator-1.1.10 broken, compile error in m_ctype.h
Status: RESOLVED DUPLICATE of bug 158477
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sven Wegener
URL: http://bugs.mysql.com/bug.php?id=25118
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-02 04:20 UTC by Shahar Evron
Modified: 2007-01-02 13:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shahar Evron 2007-01-02 04:20:51 UTC
Trying to build both dev-db/mysql-administrator-1.1.10 and dev-db/mysql-gui-tools-5.0_p8 I get the same problem in building, related to m_ctype.h:190. I think the problem is upstream, and is related to this MySQL bug report: http://bugs.mysql.com/bug.php?id=25118

Looks like Debian already has a patch for it - maybe the ebuild could apply it?


wintergreen ~ # emerge dev-db/mysql-administrator

...<snip>...

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../../library_util/shared_include -I../../library_util/include -I/usr/include/mysql -Os -march=pentium-m -msse2 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2       -Os -march=pentium-m -msse2 -pipe -fomit-frame-pointer -fexceptions -MT myx_library.o -MD -MP -MF ".deps/myx_library.Tpo" -c -o myx_library.o myx_library.c; \
        then mv -f ".deps/myx_library.Tpo" ".deps/myx_library.Po"; else rm -f ".deps/myx_library.Tpo"; exit 1; fi
In file included from myx_library.c:49:
/usr/include/mysql/m_ctype.h:190: error: expected 
Comment 1 Shahar Evron 2007-01-02 04:20:51 UTC
Trying to build both dev-db/mysql-administrator-1.1.10 and dev-db/mysql-gui-tools-5.0_p8 I get the same problem in building, related to m_ctype.h:190. I think the problem is upstream, and is related to this MySQL bug report: http://bugs.mysql.com/bug.php?id=25118

Looks like Debian already has a patch for it - maybe the ebuild could apply it?


wintergreen ~ # emerge dev-db/mysql-administrator

...<snip>...

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../../library_util/shared_include -I../../library_util/include -I/usr/include/mysql -Os -march=pentium-m -msse2 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2       -Os -march=pentium-m -msse2 -pipe -fomit-frame-pointer -fexceptions -MT myx_library.o -MD -MP -MF ".deps/myx_library.Tpo" -c -o myx_library.o myx_library.c; \
        then mv -f ".deps/myx_library.Tpo" ".deps/myx_library.Po"; else rm -f ".deps/myx_library.Tpo"; exit 1; fi
In file included from myx_library.c:49:
/usr/include/mysql/m_ctype.h:190: error: expected :, ,, ;, } or __attribute__ before ATTRIBUTE_FORMAT_FPTR
/usr/include/mysql/m_ctype.h: In function my_snprintf_8bit:
/usr/include/mysql/m_ctype.h:330: error: expected declaration specifiers before ATTRIBUTE_FORMAT
/usr/include/mysql/m_ctype.h:402: error: storage class specified for parameter my_caseup_str_mb

...<snip>...

myx_library.c:1726: error: expected =, ,, ;, asm or __attribute__ before { token
myx_library.c:1755: error: expected =, ,, ;, asm or __attribute__ before { token
myx_library.c:1757: error: old-style parameter declarations in prototyped function definition
/usr/include/mysql/m_ctype.h:328: error: parameter name omitted
myx_library.c:1757: error: expected { at end of input
myx_library.c:1757: warning: no return statement in function returning non-void
make[3]: *** [myx_library.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-administrator-1.1.10/work/mysql-administrator-1.1.10/mysql-gui-common/library/source'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-administrator-1.1.10/work/mysql-administrator-1.1.10/mysql-gui-common/library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-administrator-1.1.10/work/mysql-administrator-1.1.10/mysql-gui-common'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-administrator-1.1.10 failed.
Call stack:
  ebuild.sh, line 1593:   Called dyn_compile
  ebuild.sh, line 951:   Called src_compile
  mysql-administrator-1.1.10.ebuild, line 43:   Called die



wintergreen ~ # emerge --info
Portage 2.1.2_rc4-r4 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-ck1 i686)
=================================================================
System uname: 2.6.18-ck1 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.8
Last Sync: Tue, 02 Jan 2007 07:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium-m -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi alsa apache2 apm avi bash-completion beagle bidi bitmap-fonts browserplugin bzip2 bzlib cairo cdparanoia cdr cli cracklib crypt cups daap dbus diretfb divx divx4linux dlloader doc dri dvd eds emboss encode esd ethereal exif fam fbcon ffmpeg firefox flac foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2 hal i8x0 iconv imap imlib ipod ipv6 isdnlog jpeg libg++ libnotify libwww mad mikmod mmx mng mono motif mp3 mpeg musepack mysql nautilus ncurses nfs nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcmcia pcre pdflib perl php png pnp pppd python qt3 qt4 quicktime readline reflection samba sdl session slang spell spl sse2 ssl stream svg svga tcpd theora threads tidy truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l2 vhost vorbis win32codecs wma x86 xinerama xml xml2 xorg xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Gergan Penkov 2007-01-02 10:03:59 UTC
dupe of #158477
Comment 3 Sven Wegener gentoo-dev 2007-01-02 13:35:18 UTC

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