Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 446932

Summary: media-gfx/blender-2.64a USE=redcode should enable jpeg2k support - extern/libredcode/codec.c:5:22: fatal error: openjpeg.h: No such file or directory
Product: Gentoo Linux Reporter: Carlos Silva <r3pek>
Component: New packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED FIXED    
Severity: normal CC: ago, flameeyes, graphics+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Carlos Silva 2012-12-11 22:41:10 UTC
When redcode use flag is enabled, the build have dependencies on openjpeg.h which is provided by jpeg2k.
If built without jpeg2k use flag this is the error from emerge:
x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/media-gfx/blender-2.64a/work/build/linux/extern/libredcode/format.o -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=corei7-avx -O3 -pipe -funsigned-char -fopenmp -DWITH_PYTHON_SECURITY -DWITH_MOD_FLUID -DWITH_MOD_OCEANSIM -D__LITTLE_ENDIAN__ -DWITH_AUDASPACE -DWITH_AVI -I/var/tmp/portage/media-gfx/blender-2.64a/work/build/linux/extern/libredcode -Iextern/libredcode -I/usr/include extern/libredcode/format.c
extern/libredcode/codec.c:5:22: fatal error: openjpeg.h: No such file or directory
compilation terminated.


Reproducible: Always

Steps to Reproduce:
1. USE="redcode -jpeg2k" emerge blender
2. Wait for failure
Actual Results:  
Error on the compilation complaining about missing openjpeg.h

Expected Results:  
Correct compilation and instalation
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-12-12 06:25:27 UTC
Thanks for reporting, will fix today.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-12-31 16:01:34 UTC
Took me a while longer.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-12-31 16:01:41 UTC
*** Bug 448312 has been marked as a duplicate of this bug. ***