Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147765 - media-gfx/yafray-0.0.9 fails to build
Summary: media-gfx/yafray-0.0.9 fails to build
Status: RESOLVED DUPLICATE of bug 166480
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-15 21:48 UTC by Erik Zeek
Modified: 2007-12-30 08:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2006-09-15 21:48:10 UTC
I get the following when building yafray with gcc-4.1.1.  I've tried both yafray-0.0.9 and yafray-0.0.8 with the same results.  yafray does compile with gcc-3.4.6-r1

ld -shared -no_archive -o src/yafraycore/libyafraycore.so src/yafraycore/bound.os src/yafraycore/buffer.os src/yafraycore/yafsystem.os src/yafraycore/tools.os src/yafraycore/camera.os src/yafraycore/color.os src/yafraycore/filter.os src/yafraycore/matrix4.os src/yafraycore/object3d.os src/yafraycore/triangletools.os src/yafraycore/mesh.os src/yafraycore/kdtree.os src/yafraycore/triclip.os src/yafraycore/reference.os src/yafraycore/renderblock.os src/yafraycore/scene.os src/yafraycore/forkedscene.os src/yafraycore/threadedscene.os src/yafraycore/ipc.os src/yafraycore/ccthreads.os src/yafraycore/noise.os src/yafraycore/background.os src/yafraycore/sphere.os src/yafraycore/texture.os src/yafraycore/metashader.os src/yafraycore/targaIO.os src/yafraycore/triangle.os src/yafraycore/vector3d.os src/yafraycore/photon.os src/yafraycore/params.os src/yafraycore/HDR_io.os src/yafraycore/spectrum.os src/yafraycore/EXR_io.os -L/usr/lib -lpthread -lIlmImf -lImath -lIex -lHalf
g++ -Wall -DHAVE_CONFIG_H -D_PTHREADS -O2 -mtune=prescott -march=prescott -pipe -fsigned-char -ffast-math -fomit-frame-pointer -fPIC -Isrc/backgrounds -I. -Isrc/yafraycore -c -o src/backgrounds/sunsky.os src/backgrounds/sunsky.cc
ld: warning: creating a DT_TEXTREL in object.
ld -shared -no_archive -o src/backgrounds/libhdri.so src/backgrounds/hdri.os -Lsrc/yafraycore -lyafraycore
ld: cannot find -lyafraycore
scons: *** [src/backgrounds/libhdri.so] Error 1
scons: building terminated because of errors.
Comment 1 Erik Zeek 2006-09-15 21:48:29 UTC
emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 16 Sep 2006 01:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc1-r6
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=prescott -march=prescott -pipe"
DISTDIR="/home/gentoo/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LC_ALL="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/home/gentoo/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=30"
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="/home/gentoo/portage"
PORTDIR_OVERLAY="/home/gentoo/local/portage /home/gentoo/local/layman/science /home/gentoo/local/layman/vmware"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 7zip R X X509 Xaw3d a52 aac aalib acct acl acpi activefilter ada aim aio akode alsa amarok amazon amd amr aotuv apache apache2 apm arts artswrappersuid artworkextra asf asm asterisk async atlas atm auctex audiofile authdaemond authfile automount background bash-completion bcmath bcp bdf berkdb bigpatch binary-drivers bindist binfilter bitmap-fonts bjam bl blas blender-game bonobo boo boost branding bzip2 c++ cairo calendar cap caps cblas ccache cdda cddb cdf cdio cdparanoia cdr cdrom cgi checkpath chm cli clisp cmucl commercial config_wizard corba cracklib crosscompile crypt cscope css ctype cups curl curlwrappers cvs cvsgraph cxx daap dbm dbus dbx dcc dga dhcp dio directfb discard-path divx djvu dlloader dmi dnd dnotify dri dts dv dvd dvdr dvdread dvi dynagraph ecc editor edl effects elibc_glibc emf emoticon enca encode enscript epson erandom esd examples excel exif expat exscalibar extrafilters extraicons extramodules f90 fame fast fastbuild fastcgi fat fbcon fbdev fbsplash festival ffmpeg fftw finger firefox fits flac flash flatfile fltk fmod font-server fontconfig foomaticdb force-cgi-redirect fortran fortran95 fpx freetts ft ftp fuse gatos gb gcc-libffi gcl gd gdal gdbm geoip geometry geos ggi gif gimp ginac gitsendemail gkrellm glade glep glgd glib glitz glut gmail gmailtimestamps gmedia gml gmp gmtfull gmthigh gmtsuppl gmttria gnome gnome-print gnomedb gnuplot gnutls gpg2-experimental gpgme gphoto2 gpm gps grammar graphviz grass gs gsl gssapi gstreamer gstreamer010 gtk gtk2 gtkhtml guile gzip hal haskell hddtemp hdf hdf5 hfs high-ints hlapi hou hpn html httpd i8x0 ical iconv icq id3 ide idea idn image imagemagick imap imlib imlib2 immqt-bc inifile inkjar input_devices_jamstudio input_devices_keyboard input_devices_linuxinput input_devices_mouse input_devices_ps2mouse input_devices_serialmouse insecure-drivers insecure-savers ipv6 isdnlog itcl jack jai java javacomm javascript jbig jce jikes jimi jit john jpeg jpeg2k junit jython kcal kde kdeenablefinal kdehiddenvisibility kdepim kdexdeltas kernel_linux kqemu lame lapack largeterminal lash latex lcms libcaca libclamav libdsk libg++ libgda libsamplerate linguas_en live lm_sensors logitech-mouse logrotate logwatch lzo lzw mad mail maildir mailwrapper maps math matroska mbrola mcal md5sum mhash mikmod mime ming mixer mjpeg mmap mmx mmxext mng mod mod_python modplug module mopac7 motif moznocompose moznoirc moznomail mozsha1 mozsvg mp3 mp4 mp4live mpeg mpeg2 mplayer mpqc multiprocess multitarget musepack music musicbrainz mysql nas ncurses net netcdf nethack network new-login nfs ngui nls no-old-linux no-seamonkey nocd nolvm1 nosrc nowin nptl nptlonly nsplugin ntfs ntlm numarray numeric oav ocaml octave odk offensive ofx ogdi ogg on-the-fly-crypt openal openbabel openexr opengl openssl opensslcrypt osc oss pager pam pam_chroot pam_console pam_timestamp parse-clocks pascal patch patented pch pcntl pcre pdf perl php physfs pic player plib plotutils plugin png pop portaudio postfix povray ppds pppd print pyste python pyzor qemu-fast qhull qt3 qt4 quicktime quotas quotes rar razor rc5 rdesktop readline real reflection remix rle rogue rpc rrdtool rss rtc rtsp ruby samba sasl sbcl scanner scp screen script sdk sdl sdl-sound sender session sftp shared sharedext sharedmem shorten shout skins slp smime smp sndfile soap sockets softmmu sou sounds speech speedo speex spell spl sql sqlite sqlite3 sse sse-filters sse2 ssl startup-notification stencil-buffer stlport stream subject-rewrite subp subtitles subversion suid svg svga svgz svn-mirror swat symlink sysfs syslog sysvipc szip t1lib taglib tagwriting tcl tcltk tcpd test tetex text texteffect textures tga theora thesaurus threads tidy tiff timidity tk tokenizer tomsfastmath toolbar tools transcode truetype truetype-fonts type1 type1-fonts ucs2 ucs4 udev unicode unzip urandom usb userland_GNU userlocales uudeview v4l v4l2 vcd vdr vfat video_cards_i810 video_cards_i830 videos vidix vim vim-pager vim-with-x virus-scan visualization vlm vnc vncviewer voice vorbis vorbis-psy webdav win32codecs wmf wmp wordperfect wv wxwindows x264 xanim xcomposite xface xforms xine xinetd xml xmldoclet xmlreader xmlrpc xmlwriter xmms xorg xosd xpm xprint xscreensaver xsl xslt xtended xterm xv xvid xvmc xvnc yaepg yv12 zeo zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS
Comment 2 genbug 2006-12-18 07:18:59 UTC
yes essentially the same error here. 

all gcc upto 20061216 alpha.

needs attention.
Comment 3 Steve Yin 2007-02-08 15:41:47 UTC
seems no problem to me , both amd64 and x86, gcc 4.1.1 glibc 2.4/2.5
Comment 4 Erik Zeek 2007-02-08 20:44:25 UTC
Still fails here:

ld -o src/yafraycore/libyafraycore.so -shared -no_archive src/yafraycore/bound.os src/yafraycore/buffer.os src/yafraycore/yafsystem.os src/yafraycore/tools.os src/yafraycore/camera.os src/yafraycore/color.os src/yafraycore/filter.os src/yafraycore/matrix4.os src/yafraycore/object3d.os src/yafraycore/triangletools.os src/yafraycore/mesh.os src/yafraycore/kdtree.os src/yafraycore/triclip.os src/yafraycore/reference.os src/yafraycore/renderblock.os src/yafraycore/scene.os src/yafraycore/forkedscene.os src/yafraycore/threadedscene.os src/yafraycore/ipc.os src/yafraycore/ccthreads.os src/yafraycore/noise.os src/yafraycore/background.os src/yafraycore/sphere.os src/yafraycore/texture.os src/yafraycore/metashader.os src/yafraycore/targaIO.os src/yafraycore/triangle.os src/yafraycore/vector3d.os src/yafraycore/photon.os src/yafraycore/params.os src/yafraycore/HDR_io.os src/yafraycore/spectrum.os src/yafraycore/EXR_io.os -L/usr/lib -lpthread -lIlmImf -lImath -lIex -lHalf
ld: warning: creating a DT_TEXTREL in object.
Install file: "src/yafraycore/libyafraycore.so" as "/tmp/portage/media-gfx/yafray-0.0.9/image/usr/lib/libyafraycore.so"
scons: *** [/tmp/portage/media-gfx/yafray-0.0.9/image/usr/lib/libyafraycore.so] src/yafraycore/libyafraycore.so: No such file or directory
scons: building terminated because of errors.

!!! ERROR: media-gfx/yafray-0.0.9 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_install
  ebuild.sh, line 1060:   Called qa_call 'src_install'
  environment, line 3181:   Called src_install
  yafray-0.0.9.ebuild, line 44:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/media-gfx:yafray-0.0.9:20070208-203424.log'.
Comment 5 Erlend Davidson 2007-12-27 12:12:08 UTC
I get the same problem.


Portage 2.1.3.19 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8-1 i686)
=================================================================
System uname: 2.6.22-gentoo-r8-1 i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Timestamp of tree: Thu, 27 Dec 2007 11:16:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/"
LANG="C"
LINGUAS="en_GB"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7z 7zip X aac ace acpi aiglx alsa amazon apache2 asf avi berkdb binary-drivers bitmap-fonts branding bzip2 cairo cddb cdinstall cdparanoia cdr cli cracklib crypt cups daap dbus dlloader dri dvd dvdnav dvdr dvdread dvi effects encode enscript exif exo fam fastbuild ffmpeg firefox flash foomaticdb fortran ftp gd gdbm gif gimpprint glitz gs gstreamer gtk gtk2 hal icc iconv ifc imap java javascript jpeg libg++ logrotate mad midi ming mmx mmxext mng mozbranding mp3 mpeg mplayer mudflap ncurses nls nosrc nptl nptlonly nsplugin ogg openal opengl openmp pam pango pcre pdf pdflib perl php png ppds pppd ps python qt3 qt4 quicktime rar readline real reflection reiserfs rpm samba scanner sdl session smp spell spl sse sse2 ssl ssse3 subversion svg swat tcpd tetex thumbnail thunar-vfs tiff toolkit-scroll-bars truetype truetype-fonts type1-fonts udev unicode vorbis widescreen win32codecs wma wmf x86 xcomposite xfce xft xine xml xorg xprint xscreensaver xv xvid zip zlib" ALSA_CARDS="emu10k1" 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" 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 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" ELIBC="glibc" INPUT_DEVICES="kdb keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-12-28 22:14:35 UTC
Can't reproduce at all. You have dev-lang/ifc installed?
Comment 7 Trevor Forbes 2007-12-30 04:50:29 UTC
This really belongs to bug #166480, I have run into this problem with other software also.

As some are aware, Scons breaks when ifc is installed. Scons is the package that needs fixing or the icc/ifc packages could be installed in a more sane manner. Scones is so clever (I am not a Scons fan) that if you have ifc installed then Scons uses ld (incorrectly using "-no_archive") instead of g++ to do the linking. 

FWIW I modify /etc/env.d/05icc /etc/env.d/05ifc to avoid such problems, and just initialise the intel env correctly as required.
 
Just my 2c worth
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-12-30 08:17:47 UTC
(In reply to comment #7)
> This really belongs to bug #166480, I have run into this problem with other
> software also.
> 
> As some are aware, Scons breaks when ifc is installed. 

+1, marking as dupe. Thanks.

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