Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533802 - media-gfx/hugin-2014.0.0-r1 - ../foreign/vigra/vigra_impex/libhuginvigraimpex.so.0.0: undefined reference to `Imf::Header::Header(Imath_2_1::Box<Imath_2_1::Vec2<int> > ...
Summary: media-gfx/hugin-2014.0.0-r1 - ../foreign/vigra/vigra_impex/libhuginvigraimpex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-28 14:13 UTC by P Purkayastha
Modified: 2017-07-26 09:21 UTC (History)
1 user (show)

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


Attachments
emerge --info -pv hugin (emerge--info.txt,16.49 KB, text/plain)
2014-12-28 14:14 UTC, P Purkayastha
Details
Build log for hugin-2014.0.0 (build.log,222.24 KB, text/plain)
2014-12-28 14:14 UTC, P Purkayastha
Details
Build log for hugin-2014.0.0-r1 (build.log,227.05 KB, text/plain)
2014-12-28 14:15 UTC, P Purkayastha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description P Purkayastha 2014-12-28 14:13:09 UTC
Both media-gfx/hugin-2014.0.0-r1 and media-gfx/hugin-2014.0.0 fail to build

Reproducible: Always

Steps to Reproduce:
1. emerge -auDv world
2. fails to compile at hugin-2014.0.0
3. unkeyword hugin-2014.0.0-r1 and x11-libs/wxGTK-3.0.1.1 and it still fails to compile



Last few lines of build:

../foreign/vigra/vigra_impex/libhuginvigraimpex.so.0.0: undefined reference to `Imf::Header::Header(Imath_2_1::Box<Imath_2_1::Vec2<int> > const&, Imath_2_1::Box<Imath_2_1::Vec2<int> > const&, float, Imath_2_1::Vec2<float> const&, float, Imf::LineOrder, Imf::Compression)'
collect2: error: ld returned 1 exit status
src/tools/CMakeFiles/align_image_stack.dir/build.make:156: recipe for target 'src/tools/align_image_stack' failed
make[2]: *** [src/tools/align_image_stack] Error 1
make[2]: Leaving directory '/tmp/var_tmp/portage/media-gfx/hugin-2014.0.0-r1/work/hugin-2014.0.0_build'
CMakeFiles/Makefile2:631: recipe for target 'src/tools/CMakeFiles/align_image_stack.dir/all' failed
make[1]: *** [src/tools/CMakeFiles/align_image_stack.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....




Can not comment with emerge --info. It will be attached later.
Comment 1 P Purkayastha 2014-12-28 14:14:08 UTC
Created attachment 392568 [details]
emerge --info -pv hugin
Comment 2 P Purkayastha 2014-12-28 14:14:43 UTC
Created attachment 392570 [details]
Build log for hugin-2014.0.0
Comment 3 P Purkayastha 2014-12-28 14:15:13 UTC
Created attachment 392572 [details]
Build log for hugin-2014.0.0-r1
Comment 4 Richard Ash 2015-01-05 21:29:18 UTC
Hitting the same problem here with media-gfx/hugin-2014.0.0 (amd64). On a hunch (the missing symbol comes from part of openexr), I note I'm using media-libs/openexr-1.7.0, and that this is the oldest version of that package in the tree (there are three newer ones, which are all ~amd64). As Bug #526054 is a stable request for stabilising 2.1.0, try an upgrade to that and see if it fixes hugin (I can't find any info on the versions of dependencies which hugin is supposed to need).

This worked, so it looks like the solution may be to bump the dependency on hugin-2014.0.0 and get openexr-2.1.0 stabled.

emerge --info:
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.17
.7-gentooamd64 x86_64)
=================================================================
System uname: Linux-3.17.7-gentooamd64-x86_64-AMD_Athlon-tm-_II_X4_620_Processor-with-gentoo-2.2
KiB Mem:     4047744 total,    960460 free
KiB Swap:   15728636 total,  15728636 free
Timestamp of tree: Mon, 05 Jan 2015 19:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6-r1, 1.14
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo kde proaudio xmw sunrise science x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 Oracle-BCLA-JavaSE AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j 6 -l 4.0"
PKGDIR="/usr/portage/packages/greenfield"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/distfiles/overlays/kde /usr/portage/distfiles/overlays/pro-audio /usr/portage/distfiles/overlays/xmw /usr/portage/distfiles/overlays/sunrise /usr/portage/distfiles/overlays/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi activefilter alsa amd64 amr asf asm audiofile bash-completion berkdb bidi binary-drivers branding bzip2 bzlib cairo cdda cddax cdparanoia cdr cdrom chm cjk cli consolekit cracklib crypt cscope css cups curlwrappers cxx dbase dbus dga dhcp dirac dnd dpms dri drm droproot dts dv dvd dvdr dvdread edl emboss emf encode erandom evolution exif faac faad fame ffmpeg fftw firefox flac flash fortran fpx ftp fuse gdbm geolocation gif gimp gimpprint git glamor glut gnutls gphoto2 gpm gpu gs gsm gstreamer iconv id3tag ieee1394 image imagemagick imap inkjar ipv6 jack javadoc javascript jp2 jpeg jpeg2k kde ladcca ladspa lame largeterminal lcms libnotify libvisual live lm_sensors lzo lzw lzw-tiff mad mbox md5sum mdb mime ming mixer mjpeg mmx mmxext mng modules mp2 mp3 mp4 mpeg mpeg2 mpeg4 mplayer mpm-prefork multilib musicbrainz ncurses network nls no-old-linux no24bpp nodrm noplugin nothemes nptl nptlonly nvidia ogg opencore-amr opengl openmp opus pam pango pcre pdf pdfkit plugin png policykit portaudio postgres postscript ppds qt3support qt4 quicktime readline real redeyes rtc rtmp rtsp samba schroedinger sdl semantic-desktop server session sftplogging shapefile smp sndfile sockets soundtouch sox speex spell sql sqlite sse sse2 sse3 ssl startup-notification stream subversion svg svgz sysfs syslog sysvipc taglib tcpd tga theora threads tidy tiff timidity transcode truetype twolame udev udisks unicode upower usb userlocales utf8 v4l v4l2 vamp vdpau vhosts vim vim-syntax virtual vorbis wmf wxwidgets x11vnc x264 xanim xbase xcb xinerama xml xosd xv xvid xvmc yv12 zlib" ABI_X86="64" ALSA_CARDS="hda_intel via82xx ens1371 dummy loopback" 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="canon fuji 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 ublox ubx" INPUT_DEVICES="void evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 arm x86_64" QEMU_USER_TARGETS="arm x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="net hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005" USERLAND="GNU" VIDEO_CARDS="nvidia v4l vesa nouveau fbdev" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Szef 2015-01-12 16:45:48 UTC
Same issue. Cured with Richard Ash's solution.
Comment 6 Alexander Potashev 2015-02-22 00:45:48 UTC
I had a similar problem when building Krita-2.9-beta3 manually from Git source. The problem was that I had openexr-1.7.0 and ilmbase-2.1.0 and they don't fit good. So the proper fix would be to mask openexr-1.7.0 when ilmbase-2.* in installed.
Comment 7 Alexander Potashev 2015-02-22 00:51:48 UTC
More details on why openexr-1.7 doesn't work with ilmbase-2.1:
when I build Krita, it uses a header from openexr-1.7 which when includes /usr/include/x86_64-pc-linux-gnu/OpenEXR/IlmBaseConfig.h from ilmbase-2.1 which has the line "#define IMATH_INTERNAL_NAMESPACE Imath_2_1". Now Krita knows about Imath_2_1 and openexr-1.7's libraries were still built with just "Imath" namespace, not "Imath_2_1", - that's why I get a linking error.
Comment 8 Pacho Ramos gentoo-dev 2017-07-26 09:21:01 UTC
2016.2.0 builds ok