Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404351 - dev-db/sqlite-3.7.7.1 - powerpc-unknown-linux-gnu-gcc: Internal error: Killed (program cc1)
Summary: dev-db/sqlite-3.7.7.1 - powerpc-unknown-linux-gnu-gcc: Internal error: Killed...
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-18 08:54 UTC by tsounoi
Modified: 2012-02-18 20:49 UTC (History)
0 users

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


Attachments
complete build log (build.log,13.76 KB, text/plain)
2012-02-18 09:01 UTC, tsounoi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tsounoi 2012-02-18 08:54:11 UTC
When trying to update my Kurobox HG I got this error :

 * Messages for package dev-db/sqlite-3.7.7.1:

 * ERROR: dev-db/sqlite-3.7.7.1 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 3108:  Called die
 * The specific snippet of code:
 *       emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-db/sqlite-3.7.7.1',
 * the complete build log and the output of 'emerge -pqv =dev-db/sqlite-3.7.7.1'.
 * The complete build log is located at '/var/tmp/portage/dev-db/sqlite-3.7.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/sqlite-3.7.7.1/temp/environment'.
 * S: '/var/tmp/portage/dev-db/sqlite-3.7.7.1/work/sqlite-autoconf-3070701'

 * GNU info directory index is up-to-date.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.


Last emerge --sync was done yesterday. 

My kurobox is running kernel :
Linux kuro500 3.2.1-gentoo-r2 #1 Mon Feb 13 11:53:07 CET 2012 ppc 82xx Linkstation I/Kurobox(HG) GNU/Linux


Reproducible: Didn't try

Steps to Reproduce:
1. emerge -uvD sqlite
2.
3.
Actual Results:  
sqlite compilation fails.

Expected Results:  
sqlite should compile successfully.
Comment 1 tsounoi 2012-02-18 08:57:18 UTC
Here's the complete emerge --info output for my issue :

kuro500 / # emerge --info =dev-db/sqlite-3.7.7.1
Portage 2.1.10.44 (default/linux/powerpc/ppc32/10.0, gcc-4.4.5, glibc-2.13-r4, 3.2.1-gentoo-r2 ppc)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r2-ppc-82xx-with-gentoo-2.0.3
Timestamp of tree: Fri, 17 Feb 2012 19:30:01 +0000
distcc 3.1 powerpc-unknown-linux-gnu [disabled]
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r2, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-ls-wiki
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=603e -fno-strict-aliasing -pipe -fsigned-char"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=603e -fno-strict-aliasing -pipe -fsigned-char"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/ls-wiki"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cjk cli cracklib crypt cups cxx dri gdbm gpm iconv kuro libwww mailwrapper mbox milter modules mudflap ncurses nls nptl nptlonly openmp pam pcre ppc ppds pppd readline samba sasl session ssl sysfs tcpd unicode usb xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 tsounoi 2012-02-18 09:01:27 UTC
Created attachment 302315 [details]
complete build log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-18 16:36:02 UTC
Please check dmesg to make sure you didn't simply run out of RAM. Processes normally don't get killed unless that's the case. If that is the case:

1) Install more RAM.
2) Do not set anything higher than MAKEOPTS=-j1.
3) Remove -pipe from your CFLAGS/CXXFLAGS.

In any other case, provide more information and reopen this bug report.
Comment 4 tsounoi 2012-02-18 20:47:38 UTC
Indeed I checked dmesg and you're right. That's the 1st time I run out of memory on a linux box...
Well, thanks for the quick support.