Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138769 - emerge blender 2.41 fails - cannot find -lalut (openal-0.0.8 available on x86?)
Summary: emerge blender 2.41 fails - cannot find -lalut (openal-0.0.8 available on x86?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on: 133501
Blocks: 132826
  Show dependency tree
 
Reported: 2006-07-01 13:56 UTC by Josef Reidinger
Modified: 2006-08-09 09:49 UTC (History)
3 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 Josef Reidinger 2006-07-01 13:56:49 UTC
new blender become stable so I emerge it. and it fails on this:
gcc -Xlinker -export-dynamic -pthread -o blender /tmp/portage/blender-2.41/work/build/linux2/source/creator/dynamic_buildinfo.o -L/tmp/portage/blender-2.41/work/build/linux2/lib -Llib -L/usr/lib/python2.4/config -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/lib -L/usr/X11R6/lib -lblender_creator -lblender_blendersrc -lblender_render -lblender_yafray -lblender_renderconverter -lblender_radiosity -lblender_BSP -lblender_blenkernel -lblender_LOD -lblender_IK -lblender_ONL -lblender_elbeem -lblender_readblenfile -lblender_img -lblender_bop -lblender_blenkernel -lblender_blenloader -lblender_blenpluginapi -lblender_imbuf -lblender_avi -lblender_blenlib -lblender_makesdna -lblender_kernel -lblender_GHOST -lblender_STR -lblender_guardedalloc -lblender_CTR -lblender_MEM -lblender_MT -lblender_BMF -lsoundsystem -lfreetype -lz -lblender_FTF -lextern_ftgl -lfreetype -lz -lKX_blenderhook -lKX_converter -lPHY_Dummy -lPHY_Bullet -lPHY_Physics -lKX_ketsji -lSCA_GameLogic -lRAS_rasterizer -lRAS_OpenGLRasterizer -lblender_expressions -lSG_SceneGraph -lblender_MT -lKX_blenderhook -lKX_network -lblender_kernel -lNG_network -lextern_bullet -lNG_loopbacknetwork -lPHY_Sumo -lPHY_Physics -lblender_MT -lextern_solid -lextern_qhull -lblender_python -lpython2.4 -lSDL -lpthread -lpng -ljpeg -lz -lopenal -lalut -lm -lutil -lstdc++ -lGL -lGLU
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lalut
collect2: ld returned 1 exit status
scons: *** [blender] Error 1
scons: building terminated because of errors.


I have the newest version of OpenAL and haven`t freealut. Blender 2.41-r1.ebuild have dependency on freealut, but version 'r0' haven`t, but marked as stable.
If you need more info (I think emerge --info isn`t interesting,because bug is quite clear), ask ;)
this is "answer" to #136784
Comment 1 Luca Barbato gentoo-dev 2006-07-01 20:18:23 UTC
-r1 will be _the_ stable.
Comment 2 Josef Reidinger 2006-07-02 02:39:16 UTC
(In reply to comment #1)
> -r1 will be _the_ stable.
> 

so, then problem is version number openAL, when portage think that 20051024 is newer than 0.0.8.
For me it isn`t problem, I hard-masked old version 2005* in my package.mask but it isn`t "clear" resolution. 

Comment 3 Charles C. Van Tilburg 2006-07-02 07:06:16 UTC
ref bug #136368, this is an error in the deps, and the only change
between this ebuild and -r1 is the deps.  Since the build correctly
attempts to use -lalut, I believe the correct course of action is
to mark -r1 stable... which via ref bug above has been on hold since
6/13.. for a simple dep change???
Comment 4 Luca Barbato gentoo-dev 2006-07-02 07:10:10 UTC
r1 was stable and now it is the only ebuild available.
Comment 5 Charles C. Van Tilburg 2006-07-03 06:22:17 UTC
What do you mean?

$ emerge -p =media-gfx/blender-2.41-r1

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

Calculating dependencies   
!!! All ebuilds that could satisfy "=media-gfx/blender-2.41-r1" have been masked
Comment 6 Luca Barbato gentoo-dev 2006-07-03 06:31:53 UTC
which arch?
Comment 7 Charles C. Van Tilburg 2006-07-03 06:33:23 UTC
x86

Comment 8 Luca Barbato gentoo-dev 2006-07-03 06:35:29 UTC
the r1 has the following keywords

KEYWORDS="amd64 ppc ppc64 ~sparc x86"

please sync

(you made me afraid of a lost commit =P )
Comment 9 Charles C. Van Tilburg 2006-07-03 06:36:59 UTC
I have run a sync today.  Looks like it is masked somewhere else... ?!

Also, if I add ~x86 to the /etc/portage/package.keywords to try to fix,
I get 'invalid atom' or such.

Comment 10 Luca Barbato gentoo-dev 2006-07-03 06:40:52 UTC
=_= Looks like I assumed the new openal was out when it isn't at all.
I'll restore the r0 and I'd suggest you to not use p.masked libraries ...
Comment 11 Charles C. Van Tilburg 2006-07-03 06:43:09 UTC
?? That is the only way to get blender to compile, and is the whole point
of this thread... ?!

Comment 12 Charles C. Van Tilburg 2006-07-03 06:44:53 UTC
Further, openal 0.0.8 is marked stable x86... 
Comment 13 Luca Barbato gentoo-dev 2006-07-03 06:49:18 UTC
it should be p.masked
Comment 14 Charles C. Van Tilburg 2006-07-03 06:50:04 UTC
what does that mean?
Comment 15 Luca Barbato gentoo-dev 2006-07-03 06:55:56 UTC
openal release has alaut split, blender doesn't expect it and -r1 fixes that issue.

Looks like the openal-0.0.8 is somewhat available from the stable profile even if it should stay p.masked till the transition is done.

I'll restore the r0 and put a constraint to avoid openal-0.0.8

Hopefully that will fix the problems.
Comment 16 Charles C. Van Tilburg 2006-07-03 06:58:02 UTC
Um, read the initial problem report in this thread again!

The blender build DOES expect the split -lalut; because it is 
missing, the build fails... SHEESH!
Comment 17 Luca Barbato gentoo-dev 2006-07-03 07:01:47 UTC
sigh, no
 -r0 didn't and now doesn't

check what version of openal you have and please downgrade/upgrade to the snapshot version.

OR

unmask r1 and emerge it.
Comment 18 Charles C. Van Tilburg 2006-07-03 07:15:02 UTC
It must be very late in your timezone, or you have a very itchy trigger 
finger to respond to bugzilla.  

I would suggest some more time spent thinking here.  

I'll try to help with a problem and solution summary:

i)   blender (r0) build was failing because the scons build expected 
     split -lalut

ii)  this split is only available in the most recent openal (0.0.8) and 
     freealut

iii) the blender -r1 build claims to fix this, and only differs in its 
     deps.  Further, both openal 0.0.8 and freealut are marked stable

...as to your suggestions:

a) I cannot 'unmask' blender -r1 because it seems to be 'masked' somewhere
   else, possibly incorrectly.  This is mysterious, as both freealut and 
   openal 0.0.8 are marked stable, and as far as I know, and for me, only
   blender depends on openal.

b) I will not downgrade to a non-working (for the blender build), and
   obsolete (in time) openal, when the newest one is marked stable.

c) There seems to be some confusion as to the -lalut problem initially 
   reported: it is not an ebuild problem, it is an scons REQUIREMENT
   I suppose you could make a patch to fix the scons problem, or you
   could correct whatever the problem is with the -r1 build being masked.
Comment 19 Luca Barbato gentoo-dev 2006-07-03 09:10:32 UTC
To recap, openal is already stable on all arches blender supports but amd64, -r1 is currently masked and -r0 got wiped by error.
Comment 20 Charles C. Van Tilburg 2006-07-04 08:16:21 UTC
and -r1 cannot be unmasked.  

-r0 will not build unless openal is upgraded, freealut is installed, and a 
no-deps build is done.
Comment 21 Luca Barbato gentoo-dev 2006-07-04 12:55:31 UTC
r0 builds with pre split openal. I built it before.
You can unmask locally r1 just add it to package.unmask as explained in man portage.
Comment 22 PL Hayes 2006-08-05 14:00:38 UTC
I require openal-0.0.8 and freealut-1.1.0 and this has caused me a little inconvenience and head-scratching too. Why do the openal-20050504-r* ebuilds present themselves as upgrades to openal-0.0.8?

openal-20050504-r1 is not masked on my x86 system, only the 20051024 ebuild is and -r1 and 0.0.8 are both marked stable. I have had to use /etc/portage/package.mask to stop the openal-2005*s. 
Comment 23 Chris Gianelloni (RETIRED) gentoo-dev 2006-08-09 09:49:15 UTC
2.41-r1 isn't masked anymore... this should be fixed