Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173891 - >=dev-db/mysql++-2.2.1 - undefined reference to fct
Summary: >=dev-db/mysql++-2.2.1 - undefined reference to fct
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
: 179164 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-09 11:24 UTC by Zillode
Modified: 2008-11-14 06:20 UTC (History)
1 user (show)

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


Attachments
emerge build log (build.log,13.40 KB, text/plain)
2007-04-09 11:27 UTC, Zillode
Details
build log for mysql++ 2.2.2 failure (identical behavior) (build.log,13.01 KB, text/plain)
2007-04-16 20:12 UTC, JTRiley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zillode 2007-04-09 11:24:44 UTC
162 !!! ERROR: dev-db/mysql++-2.2.1 failed.
163 Call stack:
164   ebuild.sh, line 1614:   Called dyn_compile
165   ebuild.sh, line 971:   Called qa_call 'src_compile'
166   environment, line 3213:   Called src_compile
167   mysql++-2.2.1.ebuild, line 40:   Called die
168
169 !!! unable to make


Reproducible: Always

Steps to Reproduce:
1. emerge mysql++
2.
3.

Actual Results:  
162 !!! ERROR: dev-db/mysql++-2.2.1 failed.
163 Call stack:
164   ebuild.sh, line 1614:   Called dyn_compile
165   ebuild.sh, line 971:   Called qa_call 'src_compile'
166   environment, line 3213:   Called src_compile
167   mysql++-2.2.1.ebuild, line 40:   Called die


Expected Results:  
be installed

Portage 2.1.2.2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 08 Apr 2007 21:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-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/php/apache1-php4/ext-active/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://ftp.fu-berlin.de/unix/X11/ftp.x.org ftp://ftp.sunet.se/pub/X11 http://gentoo.osuosl.org/distfiles/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.utf8"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-src /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.belnet.be/gentoo-portage"
USE="64bit 7zip X a52 aac akode alsa amarok amd amd64 apache2 api arts asf audiofile bash-completion berkdb bitmap-fonts branding browserplugin cdr cli cracklib crypt cups devhelp doc dri dv dvd dvdr dvdread eds emboss encode esd ethereal examples fam ffmpeg firefox flac flash foomaticdb fortran ftp gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 hal hardened iconv imap imlib isdnlog java jpeg jpeg2k kde kdeenablefinal logitech-mouse lzw lzw-tiff midi mng mono mp3 mpeg msn mysql ncurses network new-login nforce nls no-htdocs no-seamonkey nptl nptlonly nsplugin nvidia ogg opengl opera optimizations oss pam pcre pdf perl php png pppd python qt qt3 qt4 quicktime rdesktop readline reflection ruby scanner sdl seamonkey session sftp spell spl ssl subversion svg tcpd theora threads tidy tiff tracker truetype truetype-fonts type1-fonts unicode usb v4l videos vim-with-x vorbis win32ddl xinerama xml xorg xpm xscreensaver xv xvid xvmc 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="serial usb devinput mouseremote mouseremote_ps2 pctv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zillode 2007-04-09 11:27:38 UTC
Created attachment 115799 [details]
emerge build log
Comment 2 JTRiley 2007-04-16 20:12:06 UTC
Created attachment 116470 [details]
build log for mysql++ 2.2.2 failure (identical behavior)

build log bump for version 2.2.2
Comment 3 JTRiley 2007-04-16 20:14:11 UTC
Comment on attachment 116470 [details]
build log for mysql++ 2.2.2 failure (identical behavior)

build log bump for version 2.2.2 of mysql++ on amd64 architecture.  This bug has been through several versions, I've just been ignoring it for quite some time.
Comment 4 Patrizio Bassi 2007-04-30 17:38:48 UTC
i confirm same error on amd64
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-05-20 10:56:56 UTC
*** Bug 179164 has been marked as a duplicate of this bug. ***
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-07-11 10:16:36 UTC
Looks like a GCC bug.

I cannot reproduce on my box:
 Portage 2.1.3_rc5 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.20-pmp-g2763f27c x86_64)
=================================================================
System uname: 2.6.20-pmp-g2763f27c x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Gentoo Base System release 1.13.0_alpha12
Timestamp of tree: Unknown
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
Comment 7 Patrizio Bassi 2007-07-11 19:17:35 UTC
Robin, two persons have the same trouble, you can't close like this!
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-07-11 23:53:28 UTC
Upgrade your profile to 2006.1, your gcc to 4.1.2 and your glibc to 2.5-r3 (or newer on all of those), and then if it still persists, reopen.
Comment 9 Patrizio Bassi 2007-07-12 21:10:13 UTC
x86_64-pc-linux-gnu-ar rcu libmysqlpp_util.a util_util.o
x86_64-pc-linux-gnu-ranlib libmysqlpp_util.a
x86_64-pc-linux-gnu-g++ -o resetdb resetdb_resetdb.o -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -L/usr/lib64   -L.    -lmysqlpp_util -lmysqlclient_r -lmysqlpp -lz
x86_64-pc-linux-gnu-g++ -o simple1 simple1_simple1.o -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -L/usr/lib64   -L.    -lmysqlpp_util -lmysqlclient_r -lmysqlpp -lz
x86_64-pc-linux-gnu-g++ -o simple2 simple2_simple2.o -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -L/usr/lib64   -L.    -lmysqlpp_util -lmysqlclient_r -lmysqlpp -lz
resetdb_resetdb.o: In function `main':
resetdb.cpp:(.text+0x63): undefined reference to `mysqlpp::get_library_version()'
./libmysqlpp_util.a(util_util.o): In function `get_stock_table(mysqlpp::Query&, mysqlpp::Result&)':
util.cpp:(.text+0x5f1): undefined reference to `mysqlpp::ResUse::operator=(mysqlpp::ResUse const&)'
./libmysqlpp_util.a(util_util.o): In function `double mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<double>(double) const':
util.cpp:(.text._ZNK7mysqlpp12ColData_TmplINS_12const_stringEE4convIdEET_S4_[double mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<double>(double) const]+0x2c): undefined reference to `mysqlpp::strip_all_blanks(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
./libmysqlpp_util.a(util_util.o): In function `long long mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<long long>(long long) const':
util.cpp:(.text._ZNK7mysqlpp12ColData_TmplINS_12const_stringEE4convIxEET_S4_[long long mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<long long>(long long) const]+0x2c): undefined reference to `mysqlpp::strip_all_blanks(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
collect2: ld returned 1 exit status
make: *** [resetdb] Error 1
make: *** Waiting for unfinished jobs....
./libmysqlpp_util.a(util_util.o): In function `get_stock_table(mysqlpp::Query&, mysqlpp::Result&)':
util.cpp:(.text+0x5f1): undefined reference to `mysqlpp::ResUse::operator=(mysqlpp::ResUse const&)'
./libmysqlpp_util.a(util_util.o): In function `double mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<double>(double) const':
util.cpp:(.text._ZNK7mysqlpp12ColData_TmplINS_12const_stringEE4convIdEET_S4_[double mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<double>(double) const]+0x2c): undefined reference to `mysqlpp::strip_all_blanks(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
./libmysqlpp_util.a(util_util.o): In function `long long mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<long long>(long long) const':
util.cpp:(.text._ZNK7mysqlpp12ColData_TmplINS_12const_stringEE4convIxEET_S4_[long long mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<long long>(long long) const]+0x2c): undefined reference to `mysqlpp::strip_all_blanks(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
collect2: ld returned 1 exit status
make: *** [simple2] Error 1
./libmysqlpp_util.a(util_util.o): In function `get_stock_table(mysqlpp::Query&, mysqlpp::Result&)':
util.cpp:(.text+0x5f1): undefined reference to `mysqlpp::ResUse::operator=(mysqlpp::ResUse const&)'
./libmysqlpp_util.a(util_util.o): In function `double mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<double>(double) const':
util.cpp:(.text._ZNK7mysqlpp12ColData_TmplINS_12const_stringEE4convIdEET_S4_[double mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<double>(double) const]+0x2c): undefined reference to `mysqlpp::strip_all_blanks(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
./libmysqlpp_util.a(util_util.o): In function `long long mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<long long>(long long) const':
util.cpp:(.text._ZNK7mysqlpp12ColData_TmplINS_12const_stringEE4convIxEET_S4_[long long mysqlpp::ColData_Tmpl<mysqlpp::const_string>::conv<long long>(long long) const]+0x2c): undefined reference to `mysqlpp::strip_all_blanks(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)'
collect2: ld returned 1 exit status
make: *** [simple1] Error 1
 *
 * ERROR: dev-db/mysql++-2.2.2 failed.
Comment 10 Patrizio Bassi 2007-07-12 21:10:21 UTC
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.3_rc6 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.22 x86_64)
=================================================================
System uname: 2.6.22 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 01 Jul 2007 09:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.50.0.16
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /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 /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="39"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="it"
MAKEOPTS="-j4"
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="/mnt/Dati/Gentoo/tmp/"
PORTDIR="/mnt/Dati/Gentoo/portage/"
PORTDIR_OVERLAY="/usr/local/portage/myportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X X509 Xaw3d a52 aac aalib accessibility ace acl acpi activefilter adns aiglx aio alsa amd amd64 amr amrr amuled ao aoss apache2 arj asf aspnet2 async atk audacious audiofile authfile automount bash-completion berkdb bidi binary-drivers bitmap-fonts bittorrent bootsplash browserplugin bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cgi charconv chardet chroot ciao clamav clearcase cli client codecs corba cracklib crypt cscope css ctype cups curl cvs daemon dar64 dba dbus depth32 dga dhcp dio directfb diskio divx djbfft dmi dri dvd dvdr dvdread edl encode ethereal exif expat extraengine faac faad fam fastbuild fbcon ffmpeg fftw firefox flac flash foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glibc-omitfp glitz glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gtk gtk2 gtkhtml guile h264 hal iconv idea idn imagemagick imap innodb ipod ipv6 irda irmc isdnlog jack java java5 javamail javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kdehiddenvisibility kerberos kqemu lame lcd lcms ldap libcaca libclamav libg++ libgda libusb lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mhash midi mikmod mime mmx mmx2 mmxext mng mono mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mpm-prefork msn msnextras mudflap musepack mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin nv nvidia oav odbc ogg openal opengl openmp openssl operanom2 pam pcre pda pdf pdo pear perl php pmu png pnp postgres pppd pthreads python qemu-fast qhull qt3 qt4 quicktime quotas readline reflection rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp smp snortsam soap sockets socks5 softmmu softquota spamassassin speex spl sqlite3 sse sse2 sse3 ssl ssse3 subject-rewrite svg tao tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vorbis wma wmf wmv wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid xvm xvmc zlib" ALSA_CARDS="hda-intel" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Patrizio Bassi 2007-09-30 20:09:41 UTC
still fails for me, can you reopen it please?
Comment 12 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-09-30 22:21:55 UTC
reopening for now
Comment 13 Patrizio Bassi 2007-10-28 09:46:46 UTC
dev-db/mysql++-2.3.2 has the same issue
Comment 14 Patrizio Bassi 2008-09-03 16:36:05 UTC
quite old bug, ping
Comment 15 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-14 06:20:40 UTC
The actual problem is your mass of LDFLAGS. Get rid of them and the problem will vanish.