Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365395 - dev-lang/php-5.3.6 failed on emerge with "Internal error: Killed (program cc1)"
Summary: dev-lang/php-5.3.6 failed on emerge with "Internal error: Killed (program cc1)"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-30 09:32 UTC by Thomas Urban
Modified: 2011-05-09 17:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Urban 2011-04-30 09:32:23 UTC
Tried to update my system using emerge --sync and emerge -NuDav world ... emerging dev-lang/php-5.3.6 didn't succeed due to GCC crashing with internal error.

Reproducible: Always

Actual Results:  
[..]
/bin/sh /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/libtool --silent --preserve-dup-deps --mode=compile x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/fileinfo/libmagic -Iext/fileinfo/ -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/fileinfo/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/include -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/main -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/date/lib -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/TSRM -I/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/Zend    -I/usr/include -O2 -pipe  -c /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo
x86_64-pc-linux-gnu-gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make: *** [ext/fileinfo/libmagic/apprentice.lo] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
emake failed
 * ERROR: dev-lang/php-5.3.6 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *              ebuild.sh, line   56:  Called src_compile
 *            environment, line 4636:  Called eblit-run 'src_compile' 'v1'
 *            environment, line 1813:  Called eblit-php-src_compile
 *   src_compile-v1.eblit, line   14:  Called php_sapi_build 'cli'
 *   src_compile-v1.eblit, line   23:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-lang/php-5.3.6',
 * the complete build log and the output of 'emerge -pqv =dev-lang/php-5.3.6'.
 * The complete build log is located at '/var/log/portage/dev-lang:php-5.3.6:20110430-090720.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.3.6/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/php-5.3.6/work/php-5.3.6'

>>> Failed to emerge dev-lang/php-5.3.6, Log file:

>>>  '/var/log/portage/dev-lang:php-5.3.6:20110430-090720.log'

 * Messages for package dev-lang/php-5.3.6:

 * Please note that this version of PHP does not yet come with a suhosin patch
 * ERROR: dev-lang/php-5.3.6 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *              ebuild.sh, line   56:  Called src_compile
 *            environment, line 4636:  Called eblit-run 'src_compile' 'v1'
 *            environment, line 1813:  Called eblit-php-src_compile
 *   src_compile-v1.eblit, line   14:  Called php_sapi_build 'cli'
 *   src_compile-v1.eblit, line   23:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-lang/php-5.3.6',
 * the complete build log and the output of 'emerge -pqv =dev-lang/php-5.3.6'.
 * The complete build log is located at '/var/log/portage/dev-lang:php-5.3.6:20110430-090720.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.3.6/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/php-5.3.6/work/php-5.3.6'




Portage 2.1.9.42 (hardened/linux/amd64/no-multilib, gcc-4.3.4-hardenednopie, libc-0-r0, 2.6.36-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r8-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.14
Timestamp of tree: Sat, 30 Apr 2011 07:15:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2::<unknown repository>, 1.10.2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.3.4, 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="acl amd64 apache2 berkdb bzip2 calendar cli cracklib crypt ctype cups curl curlwrappers cxx dri exif filter flatfile ftp gd gdbm gpm hardened iconv imap inifile json justify ldap ldap-sasl mmx modules mpm-prefork mudflap mysql mysqli ncurses nls nptl nptlonly openmp pam pcntl pcre pdo perl posix postfix pppd python readline sasl session sharedext simplexml slang soap sqlite sse sse2 ssl sysfs tcpd tidy tokenizer truetype unicode urandom vhosts wddx xml xmlreader xmlrpc xmlwriter xorg xsl 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 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Piotr Janik 2011-05-01 12:28:20 UTC
The same problem in different file.
Reproducible: Always
I was trying fix it by emerge mysql but w/o success.

   -I/usr/include -O2 -march=i486  -c /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/fileinfo/libmagic/compress.c -o ext/fileinfo/libmagic/compress.lo 
i486-pc-linux-gnu-gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
make: *** Waiting for unfinished jobs....
emake failed
  ERROR: dev-lang/php-5.3.6 failed (compile phase):
    emake failed
  
  Call stack:
               ebuild.sh, line   56:  Called src_compile
             environment, line 4626:  Called eblit-run 'src_compile' 'v1'
             environment, line 1803:  Called eblit-php-src_compile
    src_compile-v1.eblit, line   14:  Called php_sapi_build 'cli'
    src_compile-v1.eblit, line   23:  Called die
  The specific snippet of code:
    	emake || die "emake failed"
  
  If you need support, post the output of 'emerge --info =dev-lang/php-5.3.6',
  the complete build log and the output of 'emerge -pqv =dev-lang/php-5.3.6'.
  The complete build log is located at '/var/tmp/portage/dev-lang/php-5.3.6/temp/build.log'.
  The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.3.6/temp/environment'.
  S: '/var/tmp/portage/dev-lang/php-5.3.6/work/php-5.3.6'
Comment 2 Piotr Janik 2011-05-02 20:16:01 UTC
Dear Gentoo Team,

The problem was with to less memory and no swap. When I've created 500M swap and then emerge again it has compiled successfull. The question is - if that's the reason - why I didn't get any info about it...

BR,
Piotr
Comment 3 Myckel Habets 2011-05-03 18:17:48 UTC
x86 doesn't belong here. Bye.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-04 03:43:08 UTC
(In reply to comment #2)
> The problem was with to less memory and no swap. When I've created 500M swap
> and then emerge again it has compiled successfull. The question is - if that's
> the reason - why I didn't get any info about it...

Getting 'Killed' means a process got killed. This is usually only done by 1) you, the admin, or 2) the OOM killer. If you want to figure that one out in the future, check dmesg.