Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 76540

Summary: building dev-db/mysql++ fails due to error in type_info1.hh
Product: Gentoo Linux Reporter: Lenno Nagel <lenno>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: 2004.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lenno Nagel 2005-01-03 11:03:23 UTC
-1.7.9-r3 fails to build for me, also -r6 (which is masked for x86)
My gcc version is:
$ gcc -v                         
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/specs
Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,java --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib --with-x --disable-multilib --enable-__cxa_atexit --enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)

CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"

and the build error itself:
==============================
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O2 -march=athlon-xp -fomit-frame-pointer -O2 -march=athlon-xp -fomit-frame-pointer -Wp,-MD,.deps/connection.pp -c  -fPIC -DPIC connection.cc -o .libs/connection.lo
In file included from coldata1.hh:8,
                 from coldata2.hh:5,
                 from coldata3.hh:12,
                 from coldata4.hh:6,
                 from coldata.cc:3:
type_info1.hh: In constructor `mysql_ti_sql_type_info::mysql_ti_sql_type_info()
   ':
type_info1.hh:29: error: uninitialized member '
   mysql_ti_sql_type_info::_base_type' with 'const' type 'const unsigned char'
type_info1.hh:29: error: uninitialized member 'mysql_ti_sql_type_info::_default
   ' with 'const' type 'const bool'
make[2]: *** [coldata.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from coldata1.hh:8,
                 from field_names1.hh:9,
                 from result1.hh:15,
                 from query1.hh:13,
                 from connection1.hh:19,
                 from connection2.hh:4,
                 from connection3.hh:2,
                 from connection.cc:2:
type_info1.hh: In constructor `mysql_ti_sql_type_info::mysql_ti_sql_type_info()
   ':
type_info1.hh:29: error: uninitialized member '
   mysql_ti_sql_type_info::_base_type' with 'const' type 'const unsigned char'
type_info1.hh:29: error: uninitialized member 'mysql_ti_sql_type_info::_default
   ' with 'const' type 'const bool'
make[2]: *** [connection.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/mysql++-1.7.9-r3/work/mysql++-1.7.9/sqlplusint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql++-1.7.9-r3/work/mysql++-1.7.9'
make: *** [all-recursive-am] Error 2
==============================
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-10 13:18:19 UTC
mysql++-1.7.26 is now in the tree.
The upstream is now maintained by a new person, and there are finally new releases.
The only downside is that they are no longer compatible with GCC-2.95.

If there are no problems with .26 in the next 30 days, I'm going to remove the
old versions.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-10 13:19:31 UTC
marking as fixed because .26 is in the tree, and works for me.
this means .9 shouldn't be needed anymore.
Comment 3 Lenno Nagel 2005-01-11 07:35:07 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The .26 compiles cleanly, great :)

Lenno Nagel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFB4/IFNKU6aMqfFgARAsxfAJ9VJc8egyDegKy+h4ZEmzHxAjFWgACfQ0qE
QUQ+SioUqxmlMF8ZcYCxkxc=
=q94K
-----END PGP SIGNATURE-----
Comment 4 Luca Longinotti (RETIRED) gentoo-dev 2006-05-24 06:39:34 UTC
Closing as it's an old bug and seems to have been fixed.
Best regards, CHTEKK.