Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285673 - media-gfx/blender 2.49a does not honor disabling the openal USE flag
Summary: media-gfx/blender 2.49a does not honor disabling the openal USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-20 11:11 UTC by Andre Ryan
Modified: 2009-09-30 21:33 UTC (History)
1 user (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 Andre Ryan 2009-09-20 11:11:30 UTC
Blender 2.49a just went stable on AMD64. It does not obey the "-openal" USE flag, that is:
# USE=-openal emerge -pvt blender
[ebuild   R   ] media-gfx/blender-2.49a  USE="ffmpeg nls ogg openmp -blender-game -openal -verse" 0 kB
[ebuild  N    ]  media-libs/freealut-1.1.0-r1  452 kB
[ebuild  N    ]   media-libs/openal-1.8.466 USE="alsa -debug -oss -portaudio -pulseaudio" 87 kB


Reproducible: Always

Steps to Reproduce:



Expected Results:  
Blender should not depend on OpenAL when told not to

The problem is the build dependencies in the ebuild:
24:    nls? ( >=media-libs/freetype-2.0
25:        virtual/libintl
26:        >=media-libs/ftgl-2.1 )
27:    openal? ( >=media-libs/openal-1.6.372 )
28:    >=media-libs/freealut-1.1.0-r1
29:    media-libs/openexr
30:    media-libs/libpng

The OpenAL USE depends should be:
    openal? ( >=media-libs/openal-1.6.372
        >=media-libs/freealut-1.1.0-r1 )

Modifying the ebuild as such causes Blender to build and run correctly without installing OpenAL. The same problem also exists in blender-2.49b.ebuild but does not exist in blender-2.48a-r3.ebuild
Comment 1 Markus Meier gentoo-dev 2009-09-30 21:33:34 UTC
fixed in cvs, thanks for the report and solution.

  30 Sep 2009; Markus Meier <maekke@gentoo.org> blender-2.49a.ebuild,
  blender-2.49b.ebuild:
  fix openal dep by Andre Ryan in bug #285673