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

Bug 62638

Summary: dev-db/mysql++-1.7.9-r6 failed to compile with GCC 3.4: Failed Patch: mysql++-1.7.9-gcc_throw.patch
Product: Gentoo Linux Reporter: Ioannis Aslanidis (RETIRED) <deathwing00>
Component: Current packagesAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: normal CC: morfic, mysql-bugs, nichoj
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mysql++-1.7.9-gcc_throw.patch
the .out file described in the failure output on my own box.

Description Ioannis Aslanidis (RETIRED) gentoo-dev 2004-09-02 09:53:31 UTC
As requested in gentoo-dev mailing list, I compiled mysql++ using GCC 3.4 and it failed:

 * Patching for gcc 3.0...                                                [ ok ]
 * Patching for gcc 3.4 (patch for 3.2 needed first)...                   [ ok ]
 * Patching for gcc 3.4...                                                [ ok ]
 * Patching to fix some warnings and errors...

 * Failed Patch: mysql++-1.7.9-gcc_throw.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/mysql++-1.7.9-r6/temp/mysql++-1.7.9-gcc_throw.patch-5597.out


!!! ERROR: dev-db/mysql++-1.7.9-r6 failed.
!!! Function epatch, Line 362, Exitcode 0
!!! Failed Patch: mysql++-1.7.9-gcc_throw.patch!



***** mysql++-1.7.9-gcc_throw.patch *****

=========================================

PATCH COMMAND:  patch -p0 -p1 -d /var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9 < /usr/portage/dev-db/mysql++/files/mysql++-1.7.9-gcc_throw.patch

=========================================
patching file sqlplusint/connection1.hh
Hunk #1 FAILED at 11.
1 out of 1 hunk FAILED -- saving rejects to file sqlplusint/connection1.hh.rej
patching file sqlplusint/convert1.hh
patching file sqlplusint/exceptions.hh
Hunk #1 FAILED at 13.
Hunk #2 FAILED at 42.
Hunk #3 FAILED at 52.
3 out of 3 hunks FAILED -- saving rejects to file sqlplusint/exceptions.hh.rej
patching file sqlplusint/result1.hh
=========================================

PATCH COMMAND:  patch -p1 -p1 -d /var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9 < /usr/portage/dev-db/mysql++/files/mysql++-1.7.9-gcc_throw.patch

=========================================
patching file sqlplusint/connection1.hh
Hunk #1 FAILED at 11.
1 out of 1 hunk FAILED -- saving rejects to file sqlplusint/connection1.hh.rej
patching file sqlplusint/convert1.hh
patching file sqlplusint/exceptions.hh
Hunk #1 FAILED at 13.
Hunk #2 FAILED at 42.
Hunk #3 FAILED at 52.
3 out of 3 hunks FAILED -- saving rejects to file sqlplusint/exceptions.hh.rej
patching file sqlplusint/result1.hh
=========================================

PATCH COMMAND:  patch -p2 -p1 -d /var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9 < /usr/portage/dev-db/mysql++/files/mysql++-1.7.9-gcc_throw.patch

=========================================
patching file sqlplusint/connection1.hh
Hunk #1 FAILED at 11.
1 out of 1 hunk FAILED -- saving rejects to file sqlplusint/connection1.hh.rej
patching file sqlplusint/convert1.hh
patching file sqlplusint/exceptions.hh
Hunk #1 FAILED at 13.
Hunk #2 FAILED at 42.
Hunk #3 FAILED at 52.
3 out of 3 hunks FAILED -- saving rejects to file sqlplusint/exceptions.hh.rej
patching file sqlplusint/result1.hh
=========================================

PATCH COMMAND:  patch -p3 -p1 -d /var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9 < /usr/portage/dev-db/mysql++/files/mysql++-1.7.9-gcc_throw.patch

=========================================
patching file sqlplusint/connection1.hh
Hunk #1 FAILED at 11.
1 out of 1 hunk FAILED -- saving rejects to file sqlplusint/connection1.hh.rej
patching file sqlplusint/convert1.hh
patching file sqlplusint/exceptions.hh
Hunk #1 FAILED at 13.
Hunk #2 FAILED at 42.
Hunk #3 FAILED at 52.
3 out of 3 hunks FAILED -- saving rejects to file sqlplusint/exceptions.hh.rej
patching file sqlplusint/result1.hh
=========================================

PATCH COMMAND:  patch -p4 -p1 -d /var/tmp/portage/mysql++-1.7.9-r6/work/mysql++-1.7.9 < /usr/portage/dev-db/mysql++/files/mysql++-1.7.9-gcc_throw.patch

=========================================
patching file sqlplusint/connection1.hh
Hunk #1 FAILED at 11.
1 out of 1 hunk FAILED -- saving rejects to file sqlplusint/connection1.hh.rej
patching file sqlplusint/convert1.hh
patching file sqlplusint/exceptions.hh
Hunk #1 FAILED at 13.
Hunk #2 FAILED at 42.
Hunk #3 FAILED at 52.
3 out of 3 hunks FAILED -- saving rejects to file sqlplusint/exceptions.hh.rej
patching file sqlplusint/result1.hh


Reproducible: Always
Steps to Reproduce:
1. emerge mysql++ with GCC 3.4
Actual Results:  
Patch failed.


Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.5.3
distcc 2.17 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i586 -mtune=i686 -ftracer -fomit-frame-pointer -ffast-math
-pipe -fforce-addr -fforce-mem -falign-functions=4"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i586 -mtune=i686 -ftracer -fomit-frame-pointer -ffast-math
-pipe -fforce-addr -fforce-mem -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distcc fixpackages sandbox usersandbox"
GENTOO_MIRRORS="http://www.gigaload.org/gentoo.org/ http://gentoo.spb.ru/rsync
http://mirror.gentoo.ru/pub/mirror/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa apache2 apm arts audiofile avi berkdb
blender-game bluetooth bootsplash bzlib c++ caps cddb cdinstall cdparanoia cdr
cdrom chroot clamav clanVoice codecs crypt cups curl dga dio directfb divx4linux
dvd dvdr encode erandom esd ethereal fastcgi fbcon flac flash foomaticdb
freetype gd gdbm ggi gif gimp gimpprint gmp gnome gphoto2 gpm gstreamer gtk icq
imagemagick imlib ipv6 java jikes jpeg junit kde lcms ldap libg++ libwww
linguas_el linguas_es mad memlimit mikmod mmx motif mozilla mpeg msn mysql
ncurses nls nocd nptl oggvorbis opengl oss pam pdflib perl pic png ppds python
qt quicktime readline samba sdl session slang spell ssl svg svga szip tcltk tcpd
tetex tiff truetype ttf unicode usb video_cards_nvidia videos wmf x86 xml xml2
xmms xv xvid zlib"
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-09-04 05:02:31 UTC
Several parts of the patch has already been applied, thats why it fails.
Here is a patch that works.
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-09-04 05:03:02 UTC
Created attachment 38894 [details, diff]
mysql++-1.7.9-gcc_throw.patch

mysql++-1.7.9-gcc_throw.patch
Comment 3 Disenchanted (RETIRED) gentoo-dev 2004-09-04 10:31:43 UTC
patch applies thanks Bjarke Istrup Pedersen  
now if it only liked to compile the rest ;)

Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-01 15:56:50 UTC
*** Bug 69774 has been marked as a duplicate of this bug. ***
Comment 5 Roger Franz 2004-11-26 11:40:11 UTC
Created attachment 44786 [details]
the .out file described in the failure output on my own box.

Just an attachment showing an output file for the error; I noticed one was not
attached. I receive the same error:

>>> Unpacking mysql++-1.7.9.tar.gz to /var/tmp/portage/mysql++-1.7.9-r6/work
 * Patching for gcc 3.0...						       
				   [ ok ]
 * Patching for gcc 3.4 (patch for 3.2 needed first)... 		       
				   [ ok ]
 * Patching for gcc 3.4...						       
				   [ ok ]
 * Patching to fix some warnings and errors...

 * Failed Patch: mysql++-1.7.9-gcc_throw.patch!
 *
 * Include in your bugreport the contents of:
 *
 *  
/var/tmp/portage/mysql++-1.7.9-r6/temp/mysql++-1.7.9-gcc_throw.patch-10231.out


!!! ERROR: dev-db/mysql++-1.7.9-r6 failed.
Comment 6 Daniel Black (RETIRED) gentoo-dev 2004-12-28 18:07:29 UTC

*** This bug has been marked as a duplicate of 58837 ***
Comment 7 Daniel Black (RETIRED) gentoo-dev 2004-12-28 18:09:31 UTC
Really a duplicate of bug 61202
Bug 72069 lists a version bump.