Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178556 - mysql-5.0.40 fails to emerge .. File.cpp:53: error: expected id-expression before '(' token
Summary: mysql-5.0.40 fails to emerge .. File.cpp:53: error: expected id-expression be...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 19:57 UTC by Dan Coats
Modified: 2007-05-15 13:16 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 Dan Coats 2007-05-14 19:57:50 UTC
mysql-5.0.40 fails to emerge 

[ebuild  N    ] dev-db/mysql-5.0.40  USE="berkdb big-tables cluster extraengine perl ssl -debug -embedded -latin1 -max-idx-128 -minimal (-selinux) -static" 0 kB



Reproducible: Always

Steps to Reproduce:
1.emerge =dev-db/mysql-5.0.40
 


Actual Results:  
/bin/bash ../../../../libtool --preserve-dup-deps --tag=CXX   --mode=compile i686-gentoo-freebsd6.2-g++ -DHAVE_CONFIG_H -DNDEBUG   -I. -I../../../..  -I. -I../../../../include -I../../../../ndb/include -I../../../../include -I../../../../mysys -I../../../../ndb/include -I../../../../ndb/include/util -I../../../../ndb/include/portlib -I../../../../ndb/include/logger    -DDBUG_OFF -O2 -mtune=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000   -MT Properties.lo -MD -MP -MF .deps/Properties.Tpo -c -o Properties.lo Properties.cpp
File.cpp: In static member function 'static off_t File_class::size(FILE*)':
File.cpp:53: error: expected id-expression before '(' token
gmake[5]: *** [File.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs....
 i686-gentoo-freebsd6.2-g++ -DHAVE_CONFIG_H -DNDEBUG -I. -I../../../.. -I. -I../../../../include -I../../../../ndb/include -I../../../../include -I../../../../mysys -I../../../../ndb/include -I../../../../ndb/include/util -I../../../../ndb/include/portlib -I../../../../ndb/include/logger -DDBUG_OFF -O2 -mtune=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT Properties.lo -MD -MP -MF .deps/Properties.Tpo -c Properties.cpp  -fPIC -DPIC -o .libs/Properties.o
 i686-gentoo-freebsd6.2-g++ -DHAVE_CONFIG_H -DNDEBUG -I. -I../../../.. -I. -I../../../../include -I../../../../ndb/include -I../../../../include -I../../../../mysys -I../../../../ndb/include -I../../../../ndb/include/util -I../../../../ndb/include/portlib -I../../../../ndb/include/logger -DDBUG_OFF -O2 -mtune=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT Properties.lo -MD -MP -MF .deps/Properties.Tpo -c Properties.cpp -o Properties.o >/dev/null 2>&1
mv -f .deps/Properties.Tpo .deps/Properties.Plo
gmake[5]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.40/work/mysql/ndb/src/common/util'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.40/work/mysql/ndb/src/common'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.40/work/mysql/ndb/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.40/work/mysql/ndb'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.40/work/mysql'
gmake: *** [all] Error 2

!!! ERROR: dev-db/mysql-5.0.40 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1305:   Called mysql_src_compile
  mysql.eclass, line 605:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/dev-db:mysql-5.0.40:20070514-234303.log'.


Expected Results:  
Package should build without failure. 

emerge --info
Portage 2.1.2.7 (default-bsd/fbsd/6.2/x86, gcc-4.1.2, freebsd-lib-6.2-r1, 6.2-RELEASE i386)
=================================================================
System uname: 6.2-RELEASE i386 i386
Gentoo Base System release 2.0.0_alpha2
Timestamp of tree: Mon, 14 May 2007 12:00:10 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.6.3, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  6.2-r1
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-freebsd6.2"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-gentoo-freebsd6.2"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="a52 aac accessability acl adns apache2 bash-completion bcmath berkdb bidi bindinst browserplugin bzip2 cairo calendar cli crypt cups curlwrappers dbus dedicated dga dlloader dri dts emacs emacs-w3 erandom ethereal expat fastcgi font ftp gd gdbm glitz glut gnusetup gnutls gtkhtml hal hardened iconv imap immqt-bc inifile innodb java java5 javascript jp2 jpeg jpeg2k libcaca libclamv libg++ lzo midi mime ming mmap motif mpi ncurses nls nptlonly oav objc oracle oscar oss pam pcre pdf perl php pic posix ppds python qt3support readline reflection samba session shared spl sqlite sse ssl symlink tcltktcpd tcpd test threads unicode urandom usb usepackagedmakefiles userlocales vcd vhosts x86-fbsd xml xorg xpm xprint zeroconf zlib" 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="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="BSD" VIDEO_CARDS="s3virge"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Dan Coats 2007-05-14 20:47:41 UTC
5.0.34 and 5.0.38 fail at the exact same place for me. I'm thinking this bug is invalid, but if you know the solution please point it out to me.
Comment 2 Dan Coats 2007-05-15 13:16:29 UTC
Builds fine after removing cluster and extraengine......

[ebuild   R   ] dev-db/mysql-5.0.40  USE="berkdb big-tables perl ssl -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static" 0 kB