Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75506 - Emerge of mysql-4.0.22 fails with the error "g++: Internal error: Terminated (program cc1plus)"
Summary: Emerge of mysql-4.0.22 fails with the error "g++: Internal error: Terminated ...
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
Depends on:
Reported: 2004-12-23 18:59 UTC by Michael Hollis
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hollis 2004-12-23 18:59:50 UTC
I want to install mysql apache php & mod_php so I was following the instructions in the Gentoo-Portage Wiki ( and it said that the easiest way to accomplish this was with the following command: USE="-* mysql" emerge mysql apache php mod_php. So when I give that instruction I get the error in this case.

Reproducible: Always
Steps to Reproduce:
1. Logged in as Root
2. USE="-* mysql" emerge mysql apache php mod_php
3. Compiles/installs to a point and then craps out.

Actual Results:  

Please submit a full bug report.
See <URL:> for instructions.
make[3]: *** [sql_yacc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/mysql-4.0.22/work/mysql-
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.22/work/mysql-
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.22/work/mysql-4.0.22'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-4.0.22 failed.
!!! Function src_compile, Line 160, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
Should have compiled/emerged cleanly.

I had no other programs running. I have no other programs installed yet that 
weren't part of the general setup.

delux root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-
r0,glibc-, 2.6.9-gentoo-r9 i686)
System uname: 2.6.9-gentoo-r9 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r7
CFLAGS="-O2 -mcpu=i686 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
USE="X aim apm arts avi berkdb bitmap-fonts cdr cjk crypt cups doc dvb dvd dvdr 
encode f77 flac foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gps gstreamer 
gtk gtk2 gtkhtml icc icc-pgo icq imagemagick imap imlib indent ipv6 java jikes 
jpeg kerbos ldap libg++ libwww mad mikmod mime mmsql motif mozilla mpeg msn 
msql mysql mysqli nas ncurses netboot nls oci8 odbc oggvorbis oogvorbis opeal 
opengl oss pam pda pdflib perl php png pnp python quicktime readline scanner 
sdl slang spell spl ssl svga tcpd truetype x86 xml2 xmms xv yahoo zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-24 00:14:04 UTC

*** This bug has been marked as a duplicate of 20600 ***