Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368127 - media-gfx/blender-2.57-r1 fails to compile with +collada use flag
Summary: media-gfx/blender-2.57-r1 fails to compile with +collada use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on: 390431
Blocks:
  Show dependency tree
 
Reported: 2011-05-20 02:50 UTC by Nickolay Kolchin-Semyonov
Modified: 2012-01-16 18:30 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =media-gfx/blender-2.57-r1 (emerge-info2,5.57 KB, application/octet-stream)
2011-05-24 12:24 UTC, Nickolay Kolchin-Semyonov
Details
build.log gzipped (build.log.gz,9.61 KB, application/x-gzip)
2011-05-24 12:30 UTC, Nickolay Kolchin-Semyonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nickolay Kolchin-Semyonov 2011-05-20 02:50:06 UTC
Compiling ==> 'collada.cpp'
source/blender/collada/AnimationImporter.cpp:32:31: fatal error: COLLADABUPlatform.h: No such file or directory
compilation terminated.
Compiling ==> 'CameraExporter.cpp'
scons: *** [/tmp/portage/media-gfx/blender-2.57-r1/work/build/linux2/source/blender/collada/AnimationImporter.o] Error 1
source/blender/collada/collada.cpp:31:31: fatal error: COLLADABUPlatform.h: No such file or directory
compilation terminated.
scons: *** [/tmp/portage/media-gfx/blender-2.57-r1/work/build/linux2/source/blender/collada/collada.o] Error 1
source/blender/collada/CameraExporter.cpp:33:29: fatal error: COLLADASWCamera.h: No such file or directory
compilation terminated.
scons: *** [/tmp/portage/media-gfx/blender-2.57-r1/work/build/linux2/source/blender/collada/CameraExporter.o] Error 1
scons: building terminated because of errors.


Reproducible: Always

Steps to Reproduce:
$ USE=collada emerge =media-gfx/blender-2.57-r1
Actual Results:  
build faulure.

Expected Results:  
successfull compilation

It seems, that blender uses opencollada library. opencollada doesn't exist in portage.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2011-05-23 08:39:49 UTC
Hi,

can you please attach the complete build.log and post the output of `emerge --info`.

Thanks
Comment 2 Nickolay Kolchin-Semyonov 2011-05-24 12:24:16 UTC
Created attachment 274469 [details]
emerge --info =media-gfx/blender-2.57-r1
Comment 3 Nickolay Kolchin-Semyonov 2011-05-24 12:30:17 UTC
Created attachment 274471 [details]
build.log gzipped

I don't know how to enable "verbose" output for SCons build. So, imho, it is not very useful.
Comment 4 goeland86 2011-05-26 09:02:30 UTC
I have the same error under the same conditions. The issue is as mentioned that Blender uses opencollada. 

See this link for Collada under linux on blender:
http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/Troubleshooting#Enable_COLLADA_support_in_Blender

I have tried manually building opencollada and installing it, however blender still failed to build.

There is an overlay ebuild for trunk opencollada, however it fails to complete the installation. See: http://code.google.com/p/mistafunk-gentoo-overlay/source/browse/trunk/media-libs/opencollada?spec=svn2&r=2

When manually installing opencollada revision 836 from svn, emerging blender fails when linking because it cannot find -lbuffer.
Comment 5 Simon Haegler 2011-10-18 09:09:32 UTC
hi, thanks for trying my ebuilds. two remarks:

- with the recent opencollada upstream fixes my ebuild got almost trivial and is now installing correctly: http://code.google.com/p/mistafunk-gentoo-overlay/source/browse/media-libs/opencollada/opencollada-9999.ebuild

- i took the blender 2.59 ebuild from the alice overlay and patched the collada support (i.e. added "collada" use flag):
http://code.google.com/p/mistafunk-gentoo-overlay/source/browse/media-gfx/blender/blender-2.59-r1.ebuild
Comment 6 Sebastian Pipping gentoo-dev 2011-11-13 18:06:03 UTC
FYI I have added a new bug #390431 to request packaging of opencolloda.
Comment 7 Sebastian Pipping gentoo-dev 2012-01-16 18:30:52 UTC
Please re-try with blender 2.60a, collada support has returned.
It may take 30 to 60 minutes to sync, though.