Blender installation failed

Anything that pertains to Portage

Moderator: Moderators

Blender installation failed

Postby jmak » Fri Jul 13, 2007 0:08

Hi,

I've tried to installed Blender and the installation failed. At the end of the compilation, I got the following error message.

scons: *** [/var/tmp/portage/media-gfx/blender-2.44/work/build/linux2/bin/blender] Error 1
*
* ERROR: media-gfx/blender-2.44 failed.
* Call stack:
* ebuild.sh, line 1642: Called dyn_compile
* ebuild.sh, line 988: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* blender-2.44.ebuild, line 94: Called die
*
* !!! Please add /var/tmp/portage/media-gfx/blender-2.44/work/blender-2.44/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.44/temp/build.log'.
*

* Messages for package media-video/ffmpeg-0.4.9_p20070616-r1:

* ffmpeg may had ABI changes, if ffmpeg based programs
* like xine-lib or vlc stop working as expected please
* rebuild them.

Any idea what could be the problem?

Thanks,
jmak
jmak
Simple Hen
 
Posts: 77
Joined: Sun Jun 10, 2007 14:31

Postby totedati » Fri Jul 13, 2007 9:36

same error here ...

Code: Select all
sudo emerge -av media-gfx/digikam media-gfx/f-spot media-gfx/sane-backends media-gfx/blender media-gfx/eog media-libs/tunepimp media-libs/libkexif
Password:

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

Calculating dependencies... done!
[ebuild  N    ] media-libs/libkdcraw-0.1.1  USE="arts xinerama -debug" 536 kB
[ebuild  N    ] media-libs/libkexiv2-0.1.5  USE="arts xinerama -debug" 422 kB
[ebuild     U ] media-gfx/f-spot-0.3.5-r1 [0.3.2] USE="-debug" 1,730 kB
[ebuild   R   ] media-gfx/sane-backends-1.0.18-r2  USE="gphoto2 ipv6 usb v4l" 0 kB
[ebuild     U ] media-gfx/blender-2.44 [2.42a-r1] USE="ffmpeg jpeg nls openal openexr png sdl%* -blender-game (-iconv%*)" 16,168 kB
[ebuild     U ] media-gfx/eog-2.18.2 [2.16.2] USE="jpeg -debug -lcms" 1,216 kB
[ebuild     U ] media-libs/tunepimp-0.5.3 [0.5.2] USE="python" 1,072 kB
[ebuild   R   ] media-libs/libkexif-0.2.5  USE="arts xinerama -debug" LINGUAS="-ar* -bg* -br* -ca* -cs* -cy* -da* -de* -el* -en_GB* -es* -et* -fr* -ga* -gl* -is* -it* -ja* -lt* -mt -nb* -nl* -nn* -pa* -pl* -pt* -pt_BR* -ru* -rw* -sk* -sr* -sr@Latn* -sv* -ta* -tr* -uk* -zh_CN*" 450 kB
[ebuild     U ] media-gfx/digikam-0.9.2 [0.9.0] USE="arts kdeenablefinal kdehiddenvisibility xinerama -debug -doc -nfs" LINGUAS="-ar* -bg* -br* -ca* -cs* -cy* -da* -de* -el* -en_GB* -es* -et* -fa% -fi* -fr* -gl* -he* -hu* -is* -it* -ja* -ka -lt* -mk* -ms* -mt -nb* -nds% -nl* -nn* -pa* -pl* -pt* -pt_BR* -ro* -ru* -rw* -sk* -sl* -sr* -sr@Latn* -sv* -ta*
-th% -tr* -uk* -vi* -zh_CN* -zh_TW* (-ga%*)" 10,268 kB

Total: 9 packages (5 upgrades, 2 new, 2 reinstalls), Size of downloads: 31,858 kB

Would you like to merge these packages? [Yes/No]
.
.
after some time of compiling fun ...
.
.
source/blender/imbuf/intern/openexr/openexr_api.cpp:851: warning: unused variable ?channel?
source/blender/imbuf/intern/openexr/openexr_api.cpp: At global scope:
source/blender/imbuf/intern/openexr/openexr_api.cpp:834: warning: ?void exr_print_filecontents(Imf::InputFile*)? defined but not used
/var/tmp/portage/media-gfx/blender-2.44/work/build/linux2/lib/libbf_blenkernel.a(writeffmpeg.o): In function img_convert'
/var/tmp/portage/media-gfx/blender-2.44/work/build/linux2/lib/libbf_imbuf.a(anim.o): In function img_convert'
collect2: ld returned 1 exit status
scons: *** [/var/tmp/portage/media-gfx/blender-2.44/work/build/linux2/bin/blender] Error 1
 *
 * ERROR: media-gfx/blender-2.44 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   blender-2.44.ebuild, line 94:   Called die
 *
 * !!! Please add /var/tmp/portage/media-gfx/blender-2.44/work/blender-2.44/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.44/temp/build.log'.


but for me is not a critical piece of software ... i step in it after a kde-meta upgrade journey from v3.5.6 to 3.5.7 ... so, for me solution was a simple:

Code: Select all
sudo emerge --unmerge -av media-gfx/blender


or, if you really need it try with USE="-openexr" use flag, and see if you get it ... no ideea what is openexr ... well let's see ...

Code: Select all
esearch openexr
[ Results for search key : openexr ]
[ Applications found : 1 ]

*  media-libs/openexr
      Latest version available: 1.4.0a
      Latest version installed: 1.4.0a
      Size of downloaded files: [no/bad digest]
      Homepage:    http://www.openexr.com
      Description: ILM's HDR image file format libraries
      License:     as-is


if you don't need ILM HDR support, then try a:
Code: Select all
USE="-openexr" sudo emerge -av media-gfx/blender


and report back your results ... me not have enough time right now to try this 'solution' ....
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
User avatar
totedati
Technological Hen
 
Posts: 400
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Postby eduardhc » Fri Jul 13, 2007 12:31

Hi,
You are probably fuc... off by some recent changes in the ffmpeg API. They have broken a lot of packages relying on this :evil: . I myself had to manually edit the ebuilds for xine-lib and mlt to fix compiling issues with the libraries. Hopefully those were easy to fix, but I don't know yours.

PS: do a seach on Gentoo forums, you'll probably find some tips there.

Cheers,
Eduard
eduardhc
Technological Hen
 
Posts: 372
Joined: Tue Sep 19, 2006 16:31
Location: Barcelona (Cat)

Postby totedati » Fri Jul 13, 2007 13:22

well, maybe should make the effort to fill a bug in gentoo. But as i remember my experience, will not be solved because ... err ... sabayon is not gentoo !!!

as you can see here:
http://www.sabayonlinux.org/forum/viewtopic.php?t=4664&highlight=

and here my first attempt to fill abug in gentoo ;-p
http://bugs.gentoo.org/show_bug.cgi?id=177220

in gentoo bugzilla i see only tree bugs related to blender v2.44 none of it about this particular 'compile error':

http://bugs.gentoo.org/buglist.cgi?quicksearch=blender

Code: Select all
Bug List
Fri Jul 13 2007 08:38:10 +0000
13 bugs found.
ID    Sev    Pri    OS    Assignee    Status    Resolution    Summary
73260    maj    P2    Linu    graphics@gentoo.org    NEW       Blender compiles without support for extra fonts.
121316    enh    P2    Linu    lu_zero@gentoo.org    NEW       New Blender Ebuild propose
131139    nor    P2    Linu    lu_zero@gentoo.org    NEW       Not workings scriptpath for blender
135574    enh    P2    Linu    lu_zero@gentoo.org    NEW       media-gfx/blender ebuild hides usefull info, needs notice...
140984    nor    P2    Linu    lu_zero@gentoo.org    NEW       blender-2.42: fix overly long misanimation
152700    nor    P2    Linu    lu_zero@gentoo.org    NEW       unable to compile blender 2.42a with python 2.5
173124    enh    P2    Linu    lu_zero@gentoo.org    NEW       media-gfx/blender new verse useflag
178425    nor    P2    Linu    lu_zero@gentoo.org    NEW       media-gfx/blender hangs display when trying to rotate wit...
181892    nor    P2    Linu    lu_zero@gentoo.org    NEW       media-gfx/blender-2.44 - blenderplayer not present in ble...
184132    nor    P2    Linu    lu_zero@gentoo.org    NEW       media-gfx/blender-2.44 fails to compile without sdl flag
133566    enh    P2    Linu    maintainer-wanted@gentoo.org    NEW       Blender-cvs and thoughts on plugins
180154    nor    P2    Linu    x11-drivers@gentoo.org    NEW       media-gfx/blender-2.44 - crash when rotating a subsurfed ...
174345    cri    P2    Linu    x11@gentoo.org    NEW       media-gfx/blender-2.43 aborts with error: blender: xcb_xl...
13 bugs found.


i suspect blender v2.44 is too new ... but for now i not have time to do more investigation, when i need again blender i will see what is going on ....
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
User avatar
totedati
Technological Hen
 
Posts: 400
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Postby totedati » Fri Jul 13, 2007 13:35

and for ffmpeg 'to new and alien' API, your solution was an upgrade or downgrade? my failed try to upgrade blender to the latest version, was against the newest ffmpeg api:

Code: Select all
esearch -I ffmpeg
[ Results for search key : ffmpeg ]
[ Applications found : 2 ]

*  media-plugins/gst-plugins-ffmpeg
      Latest version available: 0.10.2
      Latest version installed: 0.10.2
      Size of downloaded files: [no/bad digest]
      Homepage:    http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html
      Description: FFmpeg based gstreamer plugin
      License:     GPL-2

*  media-video/ffmpeg
      Latest version available: 0.4.9_p20070616-r1
      Latest version installed: 0.4.9_p20070616-r1
      Size of downloaded files: [no/bad digest]
      Homepage:    http://ffmpeg.org/
      Description: Complete solution to record, convert and stream audio and video. Includes libavcodec. SVN revision 9330
      License:     GPL-2


is good to know when i feel the urge to upgrade my xine installed packages:

Code: Select all
esearch -I xine
[ Results for search key : xine ]
[ Applications found : 5 ]

*  kde-base/artsplugin-xine
      Latest version available: 3.5.7
      Latest version installed: 3.5.7
      Size of downloaded files: [no/bad digest]
      Homepage:    http://www.kde.org/
      Description: arts xine plugin
      License:     GPL-2

*  media-libs/xine-lib
      Latest version available: 1.1.7
      Latest version installed: 1.1.3
      Size of downloaded files: [no/bad digest]
      Homepage:    http://xine.sourceforge.net
      Description: Core libraries for Xine movie player
      License:     GPL-2

*  media-video/xine-ui
      Latest version available: 0.99.5
      Latest version installed: 0.99.5_pre20060716
      Size of downloaded files: [no/bad digest]
      Homepage:    http://xine.sourceforge.net/
      Description: Xine movie player
      License:     GPL-2


now, after a succesful openoffice and kde-meta ( from v3.5.6 to v.3.5.7 ) upgrade, i feel like a graduated gentoo addict .... so ... maybe is time to more compile pain medicine .... :shock: :shock:
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479
User avatar
totedati
Technological Hen
 
Posts: 400
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Postby eduardhc » Fri Jul 13, 2007 18:19

My solution for xine-lib was to copy the original ebuild file onto my own local overlay and then removing the --use-ffmpeg (or similar...) flag, so then it uses an own version of the ffmpeg library instead of the one currently installed.

For the others I'm afraid I can't help :(...

Cheers
eduardhc
Technological Hen
 
Posts: 372
Joined: Tue Sep 19, 2006 16:31
Location: Barcelona (Cat)

Postby jmak » Fri Jul 13, 2007 22:52

Hi totedati,

Thanks for your suggestions, but after compiling blender with the options you indicated I still got the same error massage.
In the meantime, I searched the gentoo forum and found a post with similar error message like mine, except that it was blender 2.43. Accordingly, the problem was solved and the following message was posted as a solution.

"I, too, was having (different) problems compiling Blender but adding the "sdl" flag fixed it."

Perhaps this flag would work in my case as well, but I dont know how to apply this option. Could anyone instruct me how to compile blender with the "sdl" flag?

Thanks,
jmak
jmak
Simple Hen
 
Posts: 77
Joined: Sun Jun 10, 2007 14:31

Postby eduardhc » Sat Jul 14, 2007 10:58

jmak wrote:Hi totedati,

Thanks for your suggestions, but after compiling blender with the options you indicated I still got the same error massage.
In the meantime, I searched the gentoo forum and found a post with similar error message like mine, except that it was blender 2.43. Accordingly, the problem was solved and the following message was posted as a solution.

"I, too, was having (different) problems compiling Blender but adding the "sdl" flag fixed it."

Perhaps this flag would work in my case as well, but I dont know how to apply this option. Could anyone instruct me how to compile blender with the "sdl" flag?

Thanks,
jmak


Code: Select all
USE="sdl" emerge blender


Also, if it works for you then add it to /etc/portage/package.use for future compilations of Blender.
Cheers
Eduard
eduardhc
Technological Hen
 
Posts: 372
Joined: Tue Sep 19, 2006 16:31
Location: Barcelona (Cat)

Postby Eden » Sat Jul 14, 2007 17:46

emerge to an older version of ffmpeg, I have version 0.4.9_p20070330-r1 installed and blender works fine, it doesn't work with newer/latest versions yet.
Eden
Growing Hen
 
Posts: 176
Joined: Fri May 18, 2007 16:44
Location: Scotland, UK

Postby jmak » Sun Jul 15, 2007 5:20

Hi Eden,

Could you instruct me how to do that?

Thanks alot,
jmak
jmak
Simple Hen
 
Posts: 77
Joined: Sun Jun 10, 2007 14:31

Next

Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest