Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568812 - media-libs/vigra-1.9.0::gentoo failed (compile phase)
Summary: media-libs/vigra-1.9.0::gentoo failed (compile phase)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-19 18:15 UTC by Steffen
Modified: 2015-12-20 18:58 UTC (History)
1 user (show)

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


Attachments
vigra-1.9.0 build log (media-libs:vigra-1.9.0:20151219-180624.log,117.46 KB, text/plain)
2015-12-19 21:33 UTC, Steffen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen 2015-12-19 18:15:44 UTC
While running emerge @preserved-rebuild -uDN eventually emerge is crashing while building vigra:
...
[ 96%] Built target vigranumpy_analysis
[ 96%] Linking CXX shared library learning.so
cd /var/tmp/portage/media-libs/vigra-1.9.0/work/vigra-1.9.0_build/vigranumpy/src/core && /usr/bin/cmake -E cmake_link_script CMakeFiles/vigranumpy_learning.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -O2 -march=native -pipe   -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,learning.so -o learning.so CMakeFiles/vigranumpy_learning.dir/random_forest_old.cxx.o CMakeFiles/vigranumpy_learning.dir/random_forest.cxx.o CMakeFiles/vigranumpy_learning.dir/learning.cxx.o ../../../src/impex/libvigraimpex.so.4.190 -lhdf5 -lhdf5_hl -lz -lpython2.7 -lboost_python-2.7-mt -ljpeg -lpng -ltiff -lIlmImf -lImath -lHalf -lIex -lIlmThread -lhdf5 -lhdf5_hl -lz -Wl,-rpath,/var/tmp/portage/media-libs/vigra-1.9.0/work/vigra-1.9.0_build/src/impex: 
Copying module to temporary module directory
cd /var/tmp/portage/media-libs/vigra-1.9.0/work/vigra-1.9.0_build/vigranumpy/src/core && /usr/bin/cmake -E copy_if_different /var/tmp/portage/media-libs/vigra-1.9.0/work/vigra-1.9.0_build/vigranumpy/src/core/learning.so /var/tmp/portage/media-libs/vigra-1.9.0/work/vigra-1.9.0_build/vigranumpy/vigra/
make[2]: Leaving directory '/var/tmp/portage/media-libs/vigra-1.9.0/work/vigra-1.9.0_build'
[ 96%] Built target vigranumpy_learning
make[1]: Leaving directory '/var/tmp/portage/media-libs/vigra-1.9.0/work/vigra-1.9.0_build'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-libs/vigra-1.9.0::gentoo failed (compile phase):
 *   emake failed
 * 


Reproducible: Always

Steps to Reproduce:
1.recently ran emerge --sync; then emerge -1 portage
2.emerge @preserved-rebuild
3.alternatively emerge -1 vigra
4.can be reproduced each time tested, vigra-1.10.0 fails with similar error message
Actual Results:  
after emerge @preserved-rebuild:
Calculating dependencies... done!
[ebuild   R    ] media-libs/vigra-1.9.0::gentoo  USE="fftw hdf5 jpeg openexr* png python tiff -doc {-test}" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild     U  ] media-gfx/enblend-4.1.3-r1::gentoo [4.1.1::gentoo] USE="gpu openmp -debug -doc -image-cache* (-openexr%*)" 0 KiB
[ebuild  N    *] media-libs/libmtp-9999:0/9::gentoo  USE="crypt doc examples -static-libs" 0 KiB
[ebuild     U  ] media-gfx/hugin-2015.0.0-r1::gentoo [2014.0.0-r1::gentoo] USE="lapack sift -debug -python" LINGUAS="de en_GB -ca@valencia% -ca_ES% -cs_CZ% -da -es -eu -fi -fr -hu -it -ja -nl -pl -pt_BR -ro -ru -sk -sv -zh_CN -zh_TW (-cs%)" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_4* -python3_3*" 0 KiB

then compile error

Expected Results:  
emerge to finish and install packages


emerge --info '=media-libs/vigra-1.9.0::gentoo'

Portage 2.2.24 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.1.4-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8053852 total,   6121496 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 18 Dec 2015 20:30:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.2.5-r6::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/conf.d/cpufrequtils /etc/conf.d/dmcrypt /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/rc.conf /etc/revdep-rebuild /etc/sandbox.d /etc/ssh/sshd_config /etc/sudoers /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/wget /usr/share/applications/mimeinfo.cache"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk hal iconv icu ipv6 jpeg kpathsea lcms ldap libnotify lock mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf php png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp semantic-desktop session spell sql sse sse2 ssl startup-notification svg systemd tcpd thunar tiff truetype udev udisks unicode upower usb vaapi vorbis webkit wxwidgets x264 xattr xcb xml xv xvid xvmc zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" DRACUT_MODULES="crypt crypt-gpg crypt-loop" 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 ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XFCE_PLUGINS="brightness menu trash power-manager notifyd volumed" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-libs/vigra-1.9.0::gentoo was built with the following:
USE="fftw hdf5 jpeg png python tiff -doc -openexr -test" ABI_X86="64" PYTHON_TARGETS="python2_7"
Comment 1 Rafał Mużyło 2015-12-19 18:40:13 UTC
For the time being, you've failed to even provide the actual error.
Attach full build log.
Comment 2 Steffen 2015-12-19 21:33:25 UTC
Created attachment 419856 [details]
vigra-1.9.0 build log

build log of vigra-1.9.0 after emerge @preserved-rebuild
Comment 3 Steffen 2015-12-19 21:39:24 UTC
emerge -pqv '=media-libs/vigra-1.9.0::gentoo'
[ebuild   R   ] media-libs/vigra-1.9.0  USE="fftw hdf5 jpeg openexr* png python tiff -doc {-test}" PYTHON_TARGETS="python2_7"
Comment 4 Michael Palimaka (kensington) gentoo-dev 2015-12-20 15:59:55 UTC
> x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)

It looks like you ran out of memory. Please try with lower jobs and try again.
Comment 5 Steffen 2015-12-20 18:58:05 UTC
Thanks. This worked.