| View previous topic :: View next topic |
| Author |
Message |
MartinB Apprentice

Joined: 12 Feb 2003 Posts: 208 Location: Apeldoorn, Netherlands
|
Posted: Mon Jun 11, 2012 8:07 pm Post subject: "emerge hugin" compile fails |
|
|
The topic is fairly self-explanatory. I've run emerge -av hugin, which fails.
The compilation gets to 55%, then my whole system slows to a crawl to the point where it is unusable for some time before the compile fails.
Here is the output at the point where it fails:
| Code: | [ 54%] Building CXX object src/hugin_base/CMakeFiles/huginbase.dir/nona/Stitcher3.cpp.o
cd /var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build/src/hugin_base && /usr/bin/x86_64-pc-linux-gnu-g++ -Dhuginbase_EXPORTS -DNDEBUG -O2 -pipe -march=nocona -fPIC -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build/src -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/hugin_base -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/foreign -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/foreign/vigra -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/celeste -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build/src/celeste -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src -I/usr/include/OpenEXR -I/usr/include/boost-1_48 -o CMakeFiles/huginbase.dir/nona/Stitcher3.cpp.o -c /var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/hugin_base/nona/Stitcher3.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build/CMakeFiles 66
[ 55%] Building CXX object src/hugin_base/CMakeFiles/huginbase.dir/nona/Stitcher4.cpp.o
cd /var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build/src/hugin_base && /usr/bin/x86_64-pc-linux-gnu-g++ -Dhuginbase_EXPORTS -DNDEBUG -O2 -pipe -march=nocona -fPIC -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build/src -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/hugin_base -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/foreign -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/foreign/vigra -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/celeste -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build/src/celeste -I/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src -I/usr/include/OpenEXR -I/usr/include/boost-1_48 -o CMakeFiles/huginbase.dir/nona/Stitcher4.cpp.o -c /var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0/src/hugin_base/nona/Stitcher4.cpp
{standard input}: Assembler messages:
{standard input}:53780: Warning: end of file not at end of a line; newline inserted
{standard input}: Error: .size expression for _ZN5vigra6detail30mapScalarImageToLowerPixelTypeINS_23ConstBasicImageIteratorIhPPhEENS_26StandardConstValueAccessorIhEENS_18BasicImageIteratorIfPPfEENS_21StandardValueAccessorIfEEEEvT_SE_T0_T1_T2_ does not evaluate to a constant
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/as: BFD (GNU Binutils) 2.21.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.21.1-r1/work/binutils-2.21.1/bfd/elf.c:2823
x86_64-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make[2]: *** [src/hugin_base/CMakeFiles/huginbase.dir/nona/Stitcher1.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:185686: Warning: end of file not at end of a line; newline inserted
{standard input}:186376: Error: expected comma after name `_ZN9vigra_ext25transformImageAlphaInternIN5vigra23ConstBasicImageIteratorINS1_8RGBValueIhLj0ELj1ELj2EEEPPS4_EENS1_11RGBAccessorIS4_EENS2_IhPPhEENS1_26Sta' in .size directive
x86_64-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make[2]: *** [src/hugin_base/CMakeFiles/huginbase.dir/nona/Stitcher3.cpp.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build'
make[1]: *** [src/hugin_base/CMakeFiles/huginbase.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0_build'
make: *** [all] Error 2
* ERROR: media-gfx/hugin-2011.0.0 failed (compile phase):
* emake failed
*
* If you need support, post the output of 'emerge --info =media-gfx/hugin-2011.0.0',
* the complete build log and the output of 'emerge -pqv =media-gfx/hugin-2011.0.0'.
* The complete build log is located at '/var/tmp/portage/media-gfx/hugin-2011.0.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/hugin-2011.0.0/temp/environment'.
* S: '/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0'
>>> Failed to emerge media-gfx/hugin-2011.0.0, Log file:
>>> '/var/tmp/portage/media-gfx/hugin-2011.0.0/temp/build.log'
* Messages for package media-gfx/hugin-2011.0.0:
* ERROR: media-gfx/hugin-2011.0.0 failed (compile phase):
* emake failed
*
* If you need support, post the output of 'emerge --info =media-gfx/hugin-2011.0.0',
* the complete build log and the output of 'emerge -pqv =media-gfx/hugin-2011.0.0'.
* The complete build log is located at '/var/tmp/portage/media-gfx/hugin-2011.0.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/hugin-2011.0.0/temp/environment'.
* S: '/var/tmp/portage/media-gfx/hugin-2011.0.0/work/hugin-2011.0.0'
elise ~ # |
Here is the output from emerge --info =media-gfx/hugin-2011.0.0
| Code: | elise ~ # emerge --info =media-gfx/hugin-2011.0.0
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Sat, 09 Jun 2012 14:30:01 +0000
app-shells/bash: 4.2_p20
dev-lang/python: 2.7.3-r1, 3.2.3
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
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.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @GPL-COMPATIBLE @OSI-APPROVED @EULA atheros-hal BitstreamVera"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs 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="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm iconv ipv6 jpeg kde kipi lcms ldap libnotify lm_sensors mad matroska minizip mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid 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 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" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, USE_PYTHON |
And the output from emerge -pqv =media-gfx/hugin-2011.0.0:
| Code: | elise ~ # emerge -pqv =media-gfx/hugin-2011.0.0
[ebuild N ] media-gfx/hugin-2011.0.0 USE="-lapack -sift" LINGUAS="-bg -ca -cs -de -en_GB -es -fi -fr -hu -it -ja -ko -nl -pl -pt_BR -ro -ru -sk -sl -sv -uk -zh_CN -zh_TW" |
Any idea on how I can solve this?
With Kind Regards,
Martin _________________ Intel i7 3820 - 16GB Corsair DDR3 - GeForce GTX 660 2GB - SBLive - 12TB Storage Capacity - Gentoo 64-bit - KDE4 |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4812
|
Posted: Mon Jun 11, 2012 9:42 pm Post subject: |
|
|
First, check if yo aren't running out of disk space / memory.
Other than that, are you sure it's the first error in the log ? |
|
| Back to top |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3980 Location: Saint Amant, Acadiana
|
|
| Back to top |
|
 |
depontius Advocate

Joined: 05 May 2004 Posts: 2156
|
Posted: Tue Jun 12, 2012 12:57 pm Post subject: |
|
|
I don't know if this is related or now, but I had a pile of trouble building hugin, related to boost. It turns out that I had to use one level of boost to build one of the dependencies, and another level to build hugin itself. One of those boost levels was significantly back, and one was current. I don't remember which was which, at the moment.
Your error doesn't look like this, but of course you may still hit mine. _________________ .sigs waste space and bandwidth |
|
| Back to top |
|
 |
MartinB Apprentice

Joined: 12 Feb 2003 Posts: 208 Location: Apeldoorn, Netherlands
|
Posted: Tue Jun 12, 2012 4:43 pm Post subject: |
|
|
| Jaglover wrote: | | MAKEOPTS="-j1" may result in correct error to be printed. |
Thanks, this solved it.  _________________ Intel i7 3820 - 16GB Corsair DDR3 - GeForce GTX 660 2GB - SBLive - 12TB Storage Capacity - Gentoo 64-bit - KDE4 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|