Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160308 - media-libs/openexr-1.4.0a fails to compile
Summary: media-libs/openexr-1.4.0a fails to compile
Status: RESOLVED DUPLICATE of bug 136489
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-05 11:59 UTC by Adam
Modified: 2007-01-06 13:27 UTC (History)
0 users

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


Attachments
A hacked ebuild fix from TheUlk on the Gentoo Forums (openexr-1.4.0a hack fix.ebuild,1.63 KB, text/plain)
2007-01-05 12:03 UTC, Adam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam 2007-01-05 11:59:59 UTC
openexr 1.4.0a fails to compile, here's the output of my emerge --info:

emerge --info
Portage 2.1.2_rc4-r6 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.8
Last Sync: Fri, 05 Jan 2007 08:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe -msse3 -msse2 -mmmx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -Os -pipe -msse3 -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed,--sort-common"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aiglx aim alsa amd64 amr apache2 asf automount beagle berkdb bitmap-fonts bonjour cdinstall cdr cdrom chroot cli cracklib crypt css cups daap dbus debug dlloader dri dts dvb dvd dvdr dvdread eds emboss emul-linux-x86 encode fat ffmpeg firefox flac flash font-server foomaticdb fortran gcc64 gcj gif gimp gimpprint gnustep gpm gsnd gstreamer gtk gtk2 h323 hal hpn iconv id3 ieee1394 imlib ipod ipv6 isdnlog jack java javascript jfs jikes jpeg kde kdeenablefinal kdehiddenvisibility kipi layout-osx-like lirc lzw lzw-tiff mad matroska memlimit mikmod mjpeg mozsvg mp3 mp4 mpeg mpeg2 mplayer mysql mythtv ncurses neXt nforce2 nls nocd nptl nptlonly nsplugin ntfs nvidia objc objc++ objc-gc offensive ogg opengl oss pam pcre pda pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection reiserfs rtsp samba scanner sdl server session sftplogging slp smp snmp speex spell spl sqlite ssl startup-notification svg symlink tcpd theora thesaurus threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vfat vorbis wifi wma wmf x11vnc x264 xcomposite xfs xinerama xml xorg xpm xsl xv xvid xvmc zeroconf 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="vesa fbdev mesa nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Adam 2007-01-05 12:03:08 UTC
Created attachment 105557 [details]
A hacked ebuild fix from TheUlk on the Gentoo Forums
Comment 2 Charlie Shepherd (RETIRED) gentoo-dev 2007-01-05 13:28:41 UTC
Please reopen with the compile error and the url of the forum topic.
Comment 3 Adam 2007-01-05 17:17:41 UTC
It appears to depend on the opengl use flag"

main.cpp:(.text+0x3a1): undefined reference to `Fl::set_color(Fl_Color, unsigned char, unsigned char, unsigned char)'
main.cpp:(.text+0x3c7): undefined reference to `Fl_Window::Fl_Window(int, int, char const*)'
main.cpp:(.text+0x3fb): undefined reference to `Fl_Widget::Fl_Widget(int, int, int, int, char const*)'
main.cpp:(.text+0x406): undefined reference to `vtable for Fl_Box'
main.cpp:(.text+0x438): undefined reference to `Fl_Value_Slider::Fl_Value_Slider(int, int, int, int, char const*)'
main.cpp:(.text+0x4a6): undefined reference to `Fl_Valuator::value(double)'
main.cpp:(.text+0x4ee): undefined reference to `Fl_Widget::Fl_Widget(int, int, int, int, char const*)'
main.cpp:(.text+0x4f5): undefined reference to `vtable for Fl_Box'
main.cpp:(.text+0x527): undefined reference to `Fl_Value_Slider::Fl_Value_Slider(int, int, int, int, char const*)'
main.cpp:(.text+0x56d): undefined reference to `Fl_Valuator::value(double)'
main.cpp:(.text+0x5b5): undefined reference to `Fl_Widget::Fl_Widget(int, int, int, int, char const*)'
main.cpp:(.text+0x5bc): undefined reference to `vtable for Fl_Box'
main.cpp:(.text+0x5ee): undefined reference to `Fl_Value_Slider::Fl_Value_Slider(int, int, int, int, char const*)'
main.cpp:(.text+0x63d): undefined reference to `Fl_Valuator::value(double)'
main.cpp:(.text+0x685): undefined reference to `Fl_Widget::Fl_Widget(int, int, int, int, char const*)'
main.cpp:(.text+0x68c): undefined reference to `vtable for Fl_Box'
main.cpp:(.text+0x6be): undefined reference to `Fl_Value_Slider::Fl_Value_Slider(int, int, int, int, char const*)'
main.cpp:(.text+0x729): undefined reference to `Fl_Valuator::value(double)'
main.cpp:(.text+0x818): undefined reference to `Fl_Group::end()'
main.o: In function `main':
main.cpp:(.text+0xb47): undefined reference to `Fl_Window::show(int, char**)'
main.cpp:(.text+0xb4c): undefined reference to `Fl::run()'
ImageView.o: In function `ImageView::draw()':
ImageView.cpp:(.text+0x52f): undefined reference to `glClearColor'
ImageView.cpp:(.text+0x539): undefined reference to `glClear'
ImageView.cpp:(.text+0x5b1): undefined reference to `glRasterPos2i'
ImageView.cpp:(.text+0x617): undefined reference to `glDrawPixels'
ImageView.cpp:(.text+0x635): undefined reference to `glLoadIdentity'
ImageView.cpp:(.text+0x646): undefined reference to `glViewport'
ImageView.cpp:(.text+0x673): undefined reference to `glOrtho'
ImageView.o: In function `ImageView::ImageView(int, int, int, int, char const*, Imf::Rgba const*, int, int, int, int, float, float, float, float)':
ImageView.cpp:(.text+0xb06): undefined reference to `Fl_Window::Fl_Window(int, int, int, int, char const*)'
ImageView.cpp:(.text+0xb0d): undefined reference to `vtable for Fl_Gl_Window'
ImageView.cpp:(.text+0xb15): undefined reference to `Fl_Gl_Window::init()'
ImageView.cpp:(.text+0xbda): undefined reference to `Fl_Window::~Fl_Window()'
ImageView.cpp:(.text+0xbfb): undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()'
ImageView.o: In function `ImageView::ImageView(int, int, int, int, char const*, Imf::Rgba const*, int, int, int, int, float, float, float, float)':
ImageView.cpp:(.text+0xc66): undefined reference to `Fl_Window::Fl_Window(int, int, int, int, char const*)'
ImageView.cpp:(.text+0xc6d): undefined reference to `vtable for Fl_Gl_Window'
ImageView.cpp:(.text+0xc75): undefined reference to `Fl_Gl_Window::init()'
ImageView.cpp:(.text+0xd3a): undefined reference to `Fl_Window::~Fl_Window()'
ImageView.cpp:(.text+0xd5b): undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()'
ImageView.o: In function `ImageView::setKneeHigh(float)':
ImageView.cpp:(.text+0x497): undefined reference to `Fl_Widget::redraw()'
ImageView.o: In function `ImageView::setKneeLow(float)':
ImageView.cpp:(.text+0x4b7): undefined reference to `Fl_Widget::redraw()'
ImageView.o: In function `ImageView::setDefog(float)':
ImageView.cpp:(.text+0x4d7): undefined reference to `Fl_Widget::redraw()'
ImageView.o: In function `ImageView::setExposure(float)':
ImageView.cpp:(.text+0x4f7): undefined reference to `Fl_Widget::redraw()'
ImageView.o: In function `ImageView::~ImageView()':
ImageView.cpp:(.text._ZN9ImageViewD0Ev[ImageView::~ImageView()]+0x20): undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()'
ImageView.o: In function `ImageView::~ImageView()':
ImageView.cpp:(.text._ZN9ImageViewD1Ev[ImageView::~ImageView()]+0x21): undefined reference to `Fl_Gl_Window::~Fl_Gl_Window()'
ImageView.o:(.rodata._ZTV9ImageView[vtable for ImageView]+0x28): undefined reference to `Fl_Window::handle(int)'
ImageView.o:(.rodata._ZTV9ImageView[vtable for ImageView]+0x30): undefined reference to `Fl_Gl_Window::resize(int, int, int, int)'
ImageView.o:(.rodata._ZTV9ImageView[vtable for ImageView]+0x38): undefined reference to `Fl_Gl_Window::flush()'
ImageView.o:(.rodata._ZTV9ImageView[vtable for ImageView]+0x40): undefined reference to `Fl_Gl_Window::show()'
ImageView.o:(.rodata._ZTV9ImageView[vtable for ImageView]+0x48): undefined reference to `Fl_Gl_Window::hide()'
ImageView.o:(.rodata._ZTV9ImageView[vtable for ImageView]+0x50): undefined reference to `Fl_Gl_Window::draw_overlay()'
ImageView.o:(.rodata._ZTI9ImageView[typeinfo for ImageView]+0x10): undefined reference to `typeinfo for Fl_Gl_Window'
collect2: ld returned 1 exit status
make[1]: *** [exrdisplay] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/openexr-1.2.2-r2/work/OpenEXR-1.2.2/exrdisplay'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/openexr-1.2.2-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openexr-1.2.2-r2.ebuild, line 43:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 4 Charlie Shepherd (RETIRED) gentoo-dev 2007-01-05 17:21:16 UTC
Ok thanks, it looks like this belongs to the video herd anyway.
Comment 5 Alexis Ballier gentoo-dev 2007-01-06 13:27:19 UTC
as-needed and fltk do not play nice.

fltk doesnt die on build / link errors, but then does not install the
libs that have failed. This results in such bugs..

*** This bug has been marked as a duplicate of bug 136489 ***