Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242664 - media-gfx/blender-2.48 failes to link
Summary: media-gfx/blender-2.48 failes to link
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-18 23:28 UTC by Maciej Józiewicz
Modified: 2008-10-19 21:35 UTC (History)
0 users

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 Maciej Józiewicz 2008-10-18 23:28:27 UTC
The emerge fails with or w/o the player flag. Tried emerging a couple of older versions.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge blender-2.48

Actual Results:  
It fails.

Expected Results:  
Should succed :)

szczerb@nomad ~ $ emerge --info
Portage 2.1.4.5 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r7 x86_64)
=================================================================
System uname: 2.6.25-tuxonice-r7 x86_64 Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz
Timestamp of tree: Sat, 18 Oct 2008 15:45:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apm avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdr cli cracklib crypt css cups dbus dga djvu doc dri dts dvd dvdr dvdread eds emboss encode esd evo exif fbcon ffmpeg flac fltk fortran gd gdbm gif gimp glut gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtkhtml guile hal hddtemp iconv idn ieee1394 imagemagick imlib ipv6 java javascript jbig joystick jpeg jpeg2k kerberos lame latex lcms ldap libcaca libgda libnotify lm_sensors lzo mad matroska midi mikmod mime mmx mng mp3 mpeg mplayer mudflap multilib musepack ncurses networkmanager nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pcmcia pcre pda pdf perl png portaudio ppds python qt3 qt3support qt4 quicktime rdesktop readline reflection samba scanner sdl session slang spell sse sse2 ssl startup-notification svg symlink sysfs tcpd theora threads tiff tk truetype unicode usb vcd videos vim-syntax vorbis wavpack wifi wma wmf x264 xattr xine xinerama xml xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Maciej Józiewicz 2008-10-18 23:31:00 UTC
That's the emerge output from the first error:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lswscale
collect2: ld returned 1 exit status
scons: *** [/var/tmp/portage/media-gfx/blender-2.48/work/build/linux2/bin/blender] Error 1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lswscale
collect2: ld returned 1 exit status
scons: *** [/var/tmp/portage/media-gfx/blender-2.48/work/build/linux2/bin/blenderplayer] Error 1
scons: building terminated because of errors.
 * 
 * ERROR: media-gfx/blender-2.48 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2701:  Called die
 * The specific snippet of code:
 *       scons ${MAKEOPTS/-l[0-9]} || die "!!! Please add ${S}/scons.config when filing bugs reports to bugs.gentoo.org";
 *  The die message:
 *   !!! Please add /var/tmp/portage/media-gfx/blender-2.48/work/blender-2.48/scons.config when filing bugs reports to bugs.gentoo.org
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/blender-2.48/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.48/temp/environment'.
 * 
Comment 2 Wormo (RETIRED) gentoo-dev 2008-10-19 05:55:19 UTC
Please try blender-2.48-r1 and see if that solves your problem, because it has a patch for ffmpeg (and libswscale comes from ffmpeg)
Comment 3 Maciej Józiewicz 2008-10-19 10:22:21 UTC
(In reply to comment #2)
> Please try blender-2.48-r1 and see if that solves your problem, because it has
> a patch for ffmpeg (and libswscale comes from ffmpeg)
> 

Thanks, but this is what I get:

nomad szczerb # emerge -va =blender-2.48-r1

These are the packages that would be merged, in order:

Calculating dependencies |
!!! All ebuilds that could satisfy "=media-gfx/blender-2.48-r1" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-gfx/blender-2.48-r1 (masked by: EAPI 2)

The current version of portage supports EAPI '1'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.



What should I do about it? What version of portage should I install and is it safe? I use this machine daily so I need it to work fine.
Comment 4 Freddy Teuma 2008-10-19 13:41:47 UTC
try to emerge blender without ffmpeg useflag
USE="-ffmpeg" emerge blender

This "works" for me but i'm interrested in a better solution.

I already had this bug for the previous version of blender, I can't remember how i solved it...
Comment 5 Markus Meier gentoo-dev 2008-10-19 21:35:12 UTC
media-gfx/blender-2.48-r1 isn't masked by EAPI=2 anymore, I downgraded it to EAPI=0, so you should be able to emerge it without any additional troubles.
if this should still be a problem, please reopen this bug, thanks.