Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138726 - dev-db/mysql-query-browser-1.1.18 fails to build
Summary: dev-db/mysql-query-browser-1.1.18 fails to build
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-01 08:46 UTC by Thomas Tuttle
Modified: 2007-11-05 07:35 UTC (History)
3 users (show)

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


Attachments
Modified ebuild (mysql-query-browser-1.1.18.ebuild,1.53 KB, text/plain)
2006-07-07 13:46 UTC, Benjamin Wohlwend
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Tuttle 2006-07-01 08:46:00 UTC
I'm trying to build mysql-query-browser, and I'm getting a build error.  Here it is:

Making all in library
make[1]: Entering directory `/var/tmp/portage/mysql-query-browser-1.1.18/work/mysql-query-browser-1.1.18/mysql-query-browser/library'
Making all in source
make[2]: Entering directory `/var/tmp/portage/mysql-query-browser-1.1.18/work/mysql-query-browser-1.1.18/mysql-query-browser/library/source'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../source/linux -I../include -I../public_interface/linux -I../../../mysql-gui-common/source/linux -I../../../mysql-gui-common/library/include -I../../../mysql-gui-common/library_util/shared_include -I../../../mysql-gui-common/library_util/include -I/usr/include/mysql -march=pentium-m -pipe -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   yes    -O2 -march=pentium-m -pipe -ggdb3 -g -g -g -MT myx_qb_library.o -MD -MP -MF ".deps/myx_qb_library.Tpo" -c -o myx_qb_library.o myx_qb_library.c; \
then mv -f ".deps/myx_qb_library.Tpo" ".deps/myx_qb_library.Po"; else rm -f ".deps/myx_qb_library.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../source/linux -I../include -I../public_interface/linux -I../../../mysql-gui-common/source/linux -I../../../mysql-gui-common/library/include -I../../../mysql-gui-common/library_util/shared_include -I../../../mysql-gui-common/library_util/include -I/usr/include/mysql -march=pentium-m -pipe -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   yes    -O2 -march=pentium-m -pipe -ggdb3 -g -g -g -MT myx_xml_bookmark.o -MD -MP -MF ".deps/myx_xml_bookmark.Tpo" -c -o myx_xml_bookmark.o myx_xml_bookmark.c; \
then mv -f ".deps/myx_xml_bookmark.Tpo" ".deps/myx_xml_bookmark.Po"; else rm -f ".deps/myx_xml_bookmark.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc: yes: No such file or directory
make[2]: *** [myx_qb_library.o] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc: yes: No such file or directory
make[2]: *** [myx_xml_bookmark.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.18/work/mysql-query-browser-1.1.18/mysql-query-browser/library/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-query-browser-1.1.18/work/mysql-query-browser-1.1.18/mysql-query-browser/library'
make: *** [all-recursive] Error 1

!!! ERROR: dev-db/mysql-query-browser-1.1.18 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mysql-query-browser-1.1.18.ebuild, line 44:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Here's my emerge --info:

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17.1 i686)
=================================================================
System uname: 2.6.17.1 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -ggdb3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -ggdb3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer nostrip parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="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"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/initng-portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 arts avi berkdb bitmap-fonts cli crypt cups debug dri dvd emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml i8x0 imlib ipv6 isdnlog jpeg kde libg++ libwww lirc mad mikmod mmx motif mp3 mpeg ncurses nls nptl offensive ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd theora truetype truetype-fonts type1-fonts udev unicode utf8 vcd vorbis xinerama xml xmms xorg xv zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_jamstudio input_devices_joystick input_devices_spaceorb input_devices_synaptics input_devices_vmmouse kernel_linux linguas_en userland_GNU video_cards_fbdev video_cards_i810 video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Also note that I'm using mysql-4.0, not mysql-4.1, if that makes a difference.
Comment 1 Benjamin Wohlwend 2006-07-07 13:46:07 UTC
I've encountered the same bug and narrowed it down to errors in two Makefiles generated by configure (or so I think, I don't know that much about the build chain). Both errors are of the same kind, a 'yes' that creeped into the code, hence the error message 'yes: No such file or directory'. The two files are:

library/source/Makefile (error on line 201)
source/linux/Makefile (line 240)

My dirty workaround is to use sed to get rid of the errors. A cleaner way would be to find out how the 'yes' get there in the first place, but I don't have enough knowledge for that.

I'm going to attach the modified ebuild.
Comment 2 Benjamin Wohlwend 2006-07-07 13:46:57 UTC
Created attachment 91161 [details]
Modified ebuild
Comment 3 James Porter 2006-11-14 22:06:50 UTC
when I try to build the admin or the browser I get almost identical error messages. If my emerge info is needed let me know....are these programs just that bad coming from upstream or is the ebuild strange? Seems upstream to me, but I would like to be able to use these utilities :)


/usr/include/mysql/m_ctype.h:344: error: parameter name omitted
myx_library.c:1757: error: expected '{' at end of input
make[3]: *** [myx_library.o] Error 1
Comment 4 Hans de Graaff gentoo-dev Security 2006-12-18 07:04:19 UTC
The bug mentioned in comment 3 is http://bugs.mysql.com/bug.php?id=25118 which is actually a bug in the mysql include files introduced in mysql 5.0.30. Not sure if there is a quick fix availabe, so I'm going to downgrade to 5.0.26-r1 which doesn't seem to have this issue.
Comment 5 Robin Bankhead 2007-01-28 15:18:46 UTC
I have the Comment 3 bug as well, and can't downgrade mysql.  Should a new bug be filed against mysql itself, or what's the best course of action?
Comment 6 Greg Fitzgerald 2007-03-14 17:33:34 UTC
dies here as well and the digest appears to be broken.
Comment 7 Sean Davidson 2007-10-01 12:11:04 UTC
This seems to work fine and have been using this for months build this way
when I change gtkmm from 2.8.3 to 2.8*

<       >=dev-cpp/gtkmm-2.8.3"
---
>       =dev-cpp/gtkmm-2.8*"
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-11-05 07:35:06 UTC
Removed; use dev-db/mysql-gui-tools