Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158477 - dev-db/mysql-gui-tools-5.0_p8 failed
Summary: dev-db/mysql-gui-tools-5.0_p8 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Low major (vote)
Assignee: Sven Wegener
URL: http://bugs.mysql.com/bug.php?id=25118
Whiteboard:
Keywords:
: 158478 159702 165169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-18 10:59 UTC by Denis Bakunovitch
Modified: 2007-02-03 21:41 UTC (History)
4 users (show)

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


Attachments
mysql-gui-tools-5.0_p8-add-definitions.patch (mysql-gui-tools-5.0_p8-add-definitions.patch,1.10 KB, patch)
2006-12-18 14:19 UTC, Gergan Penkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Bakunovitch 2006-12-18 10:59:09 UTC
Here is some messages produced with gcc-4.1.1:
In file included from myx_library.c:52:
/usr/include/mysql/m_ctype.h:189: error: expected ':', ',', ';', '}' or '__attribute__' before 'ATTRIBUTE_FORMAT_FPTR'
...
Call stack:
  ebuild.sh, line 1576:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  mysql-gui-tools-5.0_p8.ebuild, line 52:   Called gnome2_src_compile '--disable-i18n'


And error appeared when compiled with gcc-3.4.6:
In file included from myx_library.c:52:
/usr/include/mysql/m_ctype.h:189: warning: no semicolon at end of struct or union
/usr/include/mysql/m_ctype.h:189: error: syntax error before "ATTRIBUTE_FORMAT_FPTR"



Portage 2.1.2_rc3-r4 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.5-r0, 2.6.18-my-r3 i686)
=================================================================
                        System Settings
=================================================================
System uname: 2.6.18-my-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 18 Dec 2006 15:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
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.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.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686"
DISTDIR="/home/gentoo/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF8"
LINGUAS="en ru"
PKGDIR="/home/gentoo/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="/home/gentoo/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib aiglx alsa berkdb bitmap-fonts bzip2 cairo cdr cli cracklib dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode fam fbcon firefox gdbm gif gpm gstreamer hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libcaca libg++ linguas_en linguas_ru mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf png ppds pppd qt3 qt4 quicktime readline real reflection sdl session speex spell spl ssl symlink tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_i810 video_cards_intel video_cards_nv video_cards_sis video_cards_vesa vorbis win32codecs xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Gergan Penkov 2006-12-18 14:19:06 UTC
Created attachment 104325 [details, diff]
mysql-gui-tools-5.0_p8-add-definitions.patch

adds the missing definitions in order to compile it, it is possible that the problem is mysql-version dependant.
the problem is that they state and it is true, that they could not import mysql/my_global.h, because of redefinitions and they define some of the needed stuff in the c-file, which fails in the moment - less the thing, because of which the compilation fails :). This whole thing is very ugly, but this patch should at least make it to compile :)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-18 15:25:35 UTC
*** Bug 158478 has been marked as a duplicate of this bug. ***
Comment 3 Mark Phipps 2006-12-20 12:16:51 UTC
(In reply to comment #1)
> Created an attachment (id=104325) [edit]
> mysql-gui-tools-5.0_p8-add-definitions.patch

I've applied the patch to my system and the package does compile and appears to work.  Thanks!

Mark Phipps

Comment 4 Sven Wegener gentoo-dev 2007-01-02 13:35:18 UTC
*** Bug 159702 has been marked as a duplicate of this bug. ***
Comment 5 Sven Wegener gentoo-dev 2007-01-28 16:56:42 UTC
mysql-gui-tools-5.0_p9 should be fixed.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-02-03 21:41:36 UTC
*** Bug 165169 has been marked as a duplicate of this bug. ***