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

Bug 231218

Summary: problem to compile mysql: Killed (program cc1plus)
Product: Gentoo Linux Reporter: Rafael Azevedo <rafael>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mysql-bugs
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mysqlbuild log
Build Log file

Description Rafael Azevedo 2008-07-08 19:57:56 UTC
dev-db/mysql: can't compile mysql server. I've already upgraded portage to the lastest version.

Reproducible: Always

Steps to Reproduce:
1.USE='-sysvipc -apache2 -berkdb big-tables cli crypt gdbm iconv ipv6 ldap mysql ncurses nls pcre readline reflection session snmp spl ssl truetype unicode xml zlib bcmath bzip2 calendar cgi ctype curl ftp gd hash imap postgres simplexml sockets xmlrpc xmlwriter xsl zip xmlreader soap' emerge php
Actual Results:  
x86_64-pc-linux-gnu-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I../include -I../innobase/include -I../innobase/include -I../include -I../include -I../regex -I.     -DDBUG_OFF -O2 -pipe -march=nocona -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates   -fno-implicit-templates -fno-exceptions -fno-rtti -MT sql_error.o -MD -MP -MF .deps/sql_error.Tpo -c -o sql_error.o sql_error.cc
{standard input}: Assembler messages:
{standard input}:5763: Warning: end of file not at end of a line; newline inserted
{standard input}:5821: Error: expected comma after name `_ZN4ListI12set_var_base' in .size directive
x86_64-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
x86_64-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [set_var.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [sql_yacc.o] Error 1
mv -f .deps/sql_base.Tpo .deps/sql_base.Po
mv -f .deps/sql_parse.Tpo .deps/sql_parse.Po
mv -f .deps/table.Tpo .deps/table.Po
mv -f .deps/sql_insert.Tpo .deps/sql_insert.Po
mv -f .deps/sql_prepare.Tpo .deps/sql_prepare.Po
mv -f .deps/sql_error.Tpo .deps/sql_error.Po
mv -f .deps/sql_select.Tpo .deps/sql_select.Po
make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql'
make: *** [all] Error 2
 [31;01m*[0m 
 [31;01m*[0m ERROR: dev-db/mysql-5.0.56 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   49:  Called src_compile
 [31;01m*[0m             environment, line 3608:  Called mysql_src_compile
 [31;01m*[0m             environment, line 3203:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake || die "emake failed";
 [31;01m*[0m  The die message:
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.56/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.56/temp/environment'.
 [31;01m*[0m 


Expected Results:  
it should finish compilation.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-08 21:19:43 UTC
As hinted in red letters, "Gentoo Bugzilla" is not the correct product to file bugs regarding ebuilds. Please use "New -> Gentoo Linux -> Component: Ebuilds" in future.


When you try to build mysql again, does it fail in the same line?
Comment 2 Rafael Azevedo 2008-07-08 21:22:36 UTC
yes it does. same error every time.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-08 23:42:03 UTC
(In reply to comment #2)
> yes it does. same error every time.
> 

The question wasn't, if it is the same error you're experiencing, but if it occurs always with the same part of the code. If this is the case, please provide the output of `emerge --info`.
Comment 4 Rafael Azevedo 2008-07-09 00:17:53 UTC
Portage 2.2_rc1 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.21-xen x86_64)
=================================================================
System uname: Linux-2.6.21-xen-x86_64-Intel-R-_Xeon-R-_CPU_E5405_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Tue, 08 Jul 2008 12:31:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/"
LDFLAGS=""
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg zlib ~amd64" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Rafael Azevedo 2008-07-09 14:27:21 UTC
is there anything I can do do install mysql sucessfully?
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2008-07-09 14:45:17 UTC
Created attachment 159953 [details]
mysqlbuild log

Please put logs as attachments on bugs instead of referencing an external website.
Comment 7 Peet van de Sande 2008-08-14 19:52:51 UTC
Created attachment 162923 [details]
Build Log file

This is my build log, my build fails as well, constantly at the same spot with the same error message.

My machine is a virtual machine inside VMware Server 2.0.0 build-101586, running on an AMD BE-2350 processor.

Hope this info helps a bit!
Comment 8 Peet van de Sande 2008-08-14 19:55:22 UTC
Peet: My emerge --info:
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Athlon(tm) X2 Dual Core Processor BE-2350
Timestamp of tree: Thu, 14 Aug 2008 18:46:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.8.5-r3, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -fomit-frame-pointer -funroll-loops -msse -msse2 -mmmx -finline-functions -O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -fomit-frame-pointer -funroll-loops -msse -msse2 -mmmx -finline-functions -O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow ALSA a52 aac acl acpi alsa amd64 apache2 apm asterisk backendonly bash-completion bdb berkdb branding bzip2 calendar cdr cgi cli cracklib crypt curl dbus dri dvd dvdr dvdread encode exif ffmpeg flac flatfile foomaticdb fortran ftp gd gdbm gif gpm hash hvm iconv imagemagick imap imlib isdnlog javascript jpeg ldap libwww mad maildir math mbstring mhash midi mmx mp3 mpeg mpeg2 mudflap multilib mysql ncurses netboot network nls nptl nptlonly nsplugin oav offensive ogg openmp pam pcre perl php pmu png posix ppds pppd python readline reflection resperl restrict samba sdl session sieve simplexml slp smime snmp soap sockets speex spell spl sse sse2 ssl symlink sysfs syslog tcpd theora threads tiff tokenizer truetype unicode usb v4l v4l2 vhosts vim-syntax vorbis x264 xattr xinerama xinetd xml xmlreader xmlrpc xmlwriter xorg xsl xvid zaptel zip 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 9 SpanKY gentoo-dev 2008-08-20 02:26:04 UTC
if your compiler is getting killed, it's most likely a hardware/kernel problem

run `dmesg` to find out

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