First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 50442
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Harris Landgarten <harrisl@lhjonline.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 50442 depends on: Show dependency tree
Bug 50442 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-08 04:21 0000
>>> emerge (1 of 1) dev-db/mysql++-1.7.9-r4 to /
>>> md5 src_uri ;-) mysql++-1.7.9.tar.gz
>>> md5 src_uri ;-) mysql++-gcc-3.0.patch.gz
>>> md5 src_uri ;-) mysql++-gcc-3.2.patch.gz
>>> md5 src_uri ;-) mysql++-gcc-3.2.2.patch.gz
>>> md5 src_uri ;-) patch_gcc_3.3.gz
>>> md5 src_uri ;-) mysqlplus-gcc-3.4.patch.gz
>>> Unpacking source...
>>> Unpacking mysql++-1.7.9.tar.gz to /var/tmp/portage/mysql++-1.7.9-r4/work
 * Patching for gcc 3.3...                                                                                           [ ok ] * Patching for gcc 3.3.3...                                                                                         [ ok ] * Fixing examples directory bug...                                                                                  [ ok ] * Applying mysql++-1.7.9-missing.patch...                                                                           [ ok ]>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether make sets ${MAKE}... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -march=pentium4 -fprefetch-loop-arrays -pipe ) works... yes
checking whether the C compiler (gcc -O3 -march=pentium4 -fprefetch-loop-arrays -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for MySQL library directory... /usr/lib/mysql
checking for MySQL include directory... /usr/include/mysql
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O3 -march=pentium4 -fprefetch-loop-arrays -pipe  -L/usr/lib/mysql) works... yes
checking whether the C compiler (gcc -O3 -march=pentium4 -fprefetch-loop-arrays -pipe  -L/usr/lib/mysql) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... g++
checking whether the C++ compiler (g++ -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe  -L/usr/lib/mysql) works... yes
checking whether the C++ compiler (g++ -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe  -L/usr/lib/mysql) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for main in -lintl... no
checking for main in -lsocket... no
checking for main in -lnsl... yes
checking for mysql_store_result in -lmysqlclient... yes
checking if malloc debugging is wanted... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for strtol... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating sqlplusint/Makefile
creating examples/Makefile
creating config.h
creating sqlplusint/exceptions.hh
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/mysql++-1.7.9-r4/work/mysql++-1.7.9'
Making all in sqlplusint
make[2]: Entering directory `/var/tmp/portage/mysql++-1.7.9-r4/work/mysql++-1.7.9/sqlplusint'
perl custom.pl
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint  -I/usr/include/mysql  -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -c string_util.cc
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint  -I/usr/include/mysql  -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -c coldata.cc
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint  -I/usr/include/mysql  -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -c connection.cc
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -Wp,-MD,.deps/string_util.pp -c  -fPIC -DPIC string_util.cc -o .libs/string_util.lo
rm -f .libs/connection.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -Wp,-MD,.deps/connection.pp -c  -fPIC -DPIC connection.cc -o .libs/connection.lo
rm -f .libs/coldata.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -Wp,-MD,.deps/coldata.pp -c  -fPIC -DPIC coldata.cc -o .libs/coldata.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -Wp,-MD,.deps/string_util.pp -c string_util.cc -o string_util.o >/dev/null 2>&1
mv -f .libs/string_util.lo string_util.lo
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint  -I/usr/include/mysql  -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -c datetime.cc
rm -f .libs/datetime.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/include/mysql -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -O3 -march=pentium4 -fprefetch-loop-arrays -pipe -Wp,-MD,.deps/datetime.pp -c  -fPIC -DPIC datetime.cc -o .libs/datetime.loIn 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:29: error: invalid use of member `
   mysql_ti_sql_type_info::_base_type'
type_info1.hh:29: error: name `mysql_ti_sql_type_info' has incomplete type
type_info1.hh:29: error: variable declaration is not allowed here
type_info1.hh:29: error: parse error before `{' token
type_info1.hh:29: error: missing ';' before right brace
type_info1.hh:19: confused by earlier errors, bailing out
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:29: error: invalid use of member `
   mysql_ti_sql_type_info::_base_type'
type_info1.hh:29: error: name `mysql_ti_sql_type_info' has incomplete type
type_info1.hh:29: error: variable declaration is not allowed here
type_info1.hh:29: error: parse error before `{' token
type_info1.hh:29: error: missing ';' before right brace
type_info1.hh:19: confused by earlier errors, bailing out
make[2]: *** [connection.lo] Error 1
In file included from coldata1.hh:8,
                 from datetime1.hh:16,
                 from datetime2.hh:4,
                 from datetime3.hh:2,
                 from datetime.cc:9:
type_info1.hh:29: error: invalid use of member `
   mysql_ti_sql_type_info::_base_type'
type_info1.hh:29: error: name `mysql_ti_sql_type_info' has incomplete type
type_info1.hh:29: error: variable declaration is not allowed here
type_info1.hh:29: error: parse error before `{' token
type_info1.hh:29: error: missing ';' before right brace
type_info1.hh:19: confused by earlier errors, bailing out
make[2]: *** [datetime.lo] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql++-1.7.9-r4/work/mysql++-1.7.9'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: dev-db/mysql++-1.7.9-r4 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! unable to make


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

Actual Results:  
emerge fails

Expected Results:  
emerge success

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.11
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups directfb dvd
encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib
innodb java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql
ncurses nls odbc oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline samba sasl sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2
xmms xv zlib"

------- Comment #1 From Howard B. Golden 2004-05-09 17:37:36 0000 -------
I believe that line 29 of sqlplusint/type1_info.hh is incorrect. It should be
changed from:

  mysql_ti_sql_type_info : _base_type(0), _default(false) () {} 

to:

  mysql_ti_sql_type_info() : _base_type(0), _default(false) {} 

(The default constructor is moved before the colon.)

See bug #49590. I believe the patch in that bug is incorrect and should be the
above first line instead.

------- Comment #2 From Seemant Kulleen (RETIRED) 2004-05-10 10:20:04 0000 -------
I'm seeing the same errors here

------- Comment #3 From Constantin Gruber 2004-05-12 07:44:17 0000 -------
Howard is right ;)

mysql_ti_sql_type_info() : _base_type(0), _default(false) {}

fixes this problem...

------- Comment #4 From Robin Johnson 2004-05-13 01:28:30 0000 -------
fixed in cvs.
sorry about it.
i should remebmer to test with the same version of gcc that the patch targets.

First Last Prev Next    No search results available      Search page      Enter new bug