Blender + clang problem

Nilton Jose Rizzo rizzo at i805.com.br
Fri May 2 03:08:49 UTC 2014



  Hi all,

        When I try to install blender from ports, I get an error [1]
that I don't know if is in the code or in then Clang (LLVM system)
     Not is exactly in Blender code but in openshadinglanguage port,
I tried to fix it but I'm not having  success
look:

[1]
[ 19%] Building CXX object src/liboslcomp/CMakeFiles/oslcomp.dir/__/liboslexec/o
slexec.cpp.o
In file included from /usr/ports/graphics/openshadinglanguage/work/imageworks-Op
enShadingLanguage-fb85664/src/liboslexec/shadingsys.cpp:39:
In file included from /usr/ports/graphics/openshadinglanguage/work/imageworks-Op

enShadingLanguage-fb85664/src/liboslexec/shadingsys.cpp:39:
In file included from /usr/ports/graphics/openshadinglanguage/work/imageworks-Op
enShadingLanguage-fb85664/src/liboslexec/llvm_headers.h:51:
/usr/local/llvm34/include/llvm/PassManager.h:34:15: error: target of using decla
ration conflicts with declaration already in scope
using legacy::PassManager;
              ^
/usr/local/llvm34/include/llvm/IR/LegacyPassManager.h:48:7: note: target of usin
g declaration
class PassManager : public PassManagerBase {
      ^
/usr/ports/graphics/openshadinglanguage/work/imageworks-OpenShadingLanguage-fb85
664/src/liboslexec/oslexec_pvt.h:64:9: note: conflicting declaration
  class PassManager;
        ^
In file included from /usr/ports/graphics/openshadinglanguage/work/imageworks-Op
enShadingLanguage-fb85664/src/liboslexec/shadingsys.cpp:39:
In file included from /usr/ports/graphics/openshadinglanguage/work/imageworks-Op
enShadingLanguage-fb85664/src/liboslexec/llvm_headers.h:51:
/usr/local/llvm34/include/llvm/PassManager.h:35:15: error: target of using decla
ration conflicts with declaration already in scope
using legacy::FunctionPassManager;
              ^
/usr/local/llvm34/include/llvm/IR/LegacyPassManager.h:71:7: note: target of usin
g declaration
class FunctionPassManager : public PassManagerBase {
      ^
/usr/ports/graphics/openshadinglanguage/work/imageworks-OpenShadingLanguage-fb85
664/src/liboslexec/oslexec_pvt.h:60:9: note: conflicting declaration
  class FunctionPassManager;
        ^
2 errors generated.
--- src/liboslexec/CMakeFiles/oslexec.dir/shadingsys.cpp.o ---
*** [src/liboslexec/CMakeFiles/oslexec.dir/shadingsys.cpp.o] Error code 1

make[5]: stopped in /usr/ports/graphics/openshadinglanguage/work/.build
1 error

make[5]: stopped in /usr/ports/graphics/openshadinglanguage/work/.build
make[5]: stopped in /usr/ports/graphics/openshadinglanguage/work/.build
--- src/liboslexec/CMakeFiles/oslexec.dir/all ---
*** [src/liboslexec/CMakeFiles/oslexec.dir/all] Error code 2

make[4]: stopped in /usr/ports/graphics/openshadinglanguage/work/.build
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/ports/graphics/openshadinglanguage/work/.build
--- src/liboslcomp/CMakeFiles/oslcomp.dir/all ---
*** [src/liboslcomp/CMakeFiles/oslcomp.dir/all] Error code 2

make[4]: stopped in /usr/ports/graphics/openshadinglanguage/work/.build
2 errors

make[4]: stopped in /usr/ports/graphics/openshadinglanguage/work/.build
--- all ---
*** [all] Error code 2

make[3]: stopped in /usr/ports/graphics/openshadinglanguage/work/.build
1 error

make[3]: stopped in /usr/ports/graphics/openshadinglanguage/work/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/graphics/openshadinglanguage
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/blender
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/blender
root at valfenda:/usr/ports/graphics/blender # 


TIA,

---
/*************************************************
**Nilton José Rizzo            UFRRJ
**http://www.rizzo.eng.br      http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**************************************************/



More information about the freebsd-ports mailing list