Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534798 - =media-libs/devil-1.7.8-r2 USE=openexr - .../work/devil-1.7.8/lib/.libs/libIL.so: undefined reference to `Imf::Header::Header(int, int, Imath_2_1::Box<Imath_2_1::Vec2<int> > const&, float, Imath_2_1::Vec2<float> const&, float, Imf::LineOrder, Imf::...
Summary: =media-libs/devil-1.7.8-r2 USE=openexr - .../work/devil-1.7.8/lib/.libs/libIL...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-05 18:01 UTC by Mario Kicherer
Modified: 2016-04-06 19:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,85.57 KB, text/plain)
2015-01-05 18:01 UTC, Mario Kicherer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Kicherer 2015-01-05 18:01:02 UTC
Upgrade of media-libs/devil to 1.7.8-r2 from 1.7.8-r1 fails if the openexr flag is activated with the following error:

make[1]: Entering directory '/var/tmp/portage/media-libs/devil-1.7.8-r2/work/devil-1.7.8/bin'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../include   -O2 -pipe -march=native -c -o ilur.o `test -f '../src-ILU/ilur/ilur.c' || echo './'`../src-ILU/ilur/ilur.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native  -Wl,-O1 -Wl,--as-needed -o ilur ilur.o ../lib/libILU.la -lm -lz 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -o .libs/ilur ilur.o  -Wl,--as-needed ../lib/.libs/libILU.so /var/tmp/portage/media-libs/devil-1.7.8-r2/work/devil-1.7.8/lib/.libs/libIL.so -ltiff -lpng -lmng -ljpeg -lIlmImf -lImath -lHalf -lIex -lIlmThread -lm -lz -pthread
/var/tmp/portage/media-libs/devil-1.7.8-r2/work/devil-1.7.8/lib/.libs/libIL.so: undefined reference to `Imf::Header::Header(int, int, 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
Makefile:684: recipe for target 'ilur' failed
make[1]: *** [ilur] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-libs/devil-1.7.8-r2/work/devil-1.7.8/bin'
Makefile:452: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1



Reproducible: Always




Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.3, glibc-2.19-r1, 3.17.7-gentoo x86_64)
=================================================================
System uname: Linux-3.17.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     8026432 total,   1737928 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 05 Jan 2015 16:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
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.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.4.7, 4.8.3
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 steam-overlay anyc-overlay gamerlay x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam-overlay-meta /var/lib/layman/anyc-overlay /var/lib/layman/local-gamerlay /usr/local/portage"
USE="X a52 aac acl acpi alevt alsa amd64 apng aspell attica avahi berkdb bluetooth bluray branding bs2b bzip2 cairo caps cdda cdr cli colord cracklib crypt cryptsetup cuda cups cxx dbus declarative device-mapper dri dts dvb dvd dvdr eap-tls ebook emboss encode exif fam farstream ffmpeg firefox flac fortran g3dvl gdbm gif gimp git glamor gles go gpg gphoto2 gpm gps gpu gtk hid2hci hunspell iconv imagemagick inotify ipv6 jpeg json kde kipi latex lcms ldap lensfun libass libnotify lm_sensors lzma lzo mad matroska mjpeg mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses network network-cron networkmanager nls nptl nscd ntfsdecrypt ogg opencl openexr opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds projectm pulseaudio pvr python qalculate qt qt3support qt4 quicktime raw rdesktop readline resolvconf rtsp samba sdl semantic-desktop session slp smp spell sqlite sse sse2 sse3 sse4 sse4_1 sse4a ssh ssl ssse3 startup-notification svg systemd tcpd telepathy theora threads thumbnail tiff tray truetype udev udisks unicode upnp upower usb v4l vaapi vcd vdpau video vlc vnc vorbis vpx wayland wps wxwidgets x264 xcb xcomposite xine xinerama xml xmp xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64 32" 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 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="lvm nfs dmraid mdraid ssh-client" 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 pc" INPUT_DEVICES="evdev keyboard mouse synaptics wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vesa nouveau intel nvidia modesetting" 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, SYNC, USE_PYTHON
Comment 1 Mario Kicherer 2015-01-05 18:01:54 UTC
Created attachment 393258 [details]
build.log
Comment 2 Róbert Čerňanský 2015-01-06 15:13:41 UTC
Exactly same failure happened here (stable amd64) during world update.  It however emerges fine after @preserved-rebuild where one of rebuilded packages was media-libs/openexr-1.7.0.

$ emerge -pv devil
...
[ebuild   R    ] media-libs/devil-1.7.8-r2  USE="X gif jpeg jpeg2k mng openexr opengl png sdl sse sse2 tiff xpm -allegro -glut -nvtt -sse3 -static-libs" 0 KiB
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2015-02-27 03:48:31 UTC
I'm not able to reproduce this with either media-libs/openexr-1.7.0 or media-libs/openexr-2.1.0.  I don't use preserve-libs though.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2016-04-06 19:26:59 UTC
I added slot deps to the libraries that have subslots so maybe that will help this failure to not happen in the future.