Package Details: upbge-git 143395.bb472f87d6c-1

Git Clone URL: https://aur.archlinux.org/upbge-git.git (read-only, click to copy)
Package Base: upbge-git
Description: Uchronia Project Blender Game Engine fork of Blender Game Engine
Upstream URL: https://upbge.org/
Licenses: GPL
Conflicts: blender, blender-4.2-bin, blender-git
Provides: blender
Submitter: None
Maintainer: mysticfall
Last Packager: mysticfall
Votes: 3
Popularity: 0.000161
First Submitted: 2018-11-02 13:46 (UTC)
Last Updated: 2024-06-06 17:15 (UTC)

Required by (61)

Sources (8)

Latest Comments

1 2 Next › Last »

mysticfall commented on 2024-01-19 17:17 (UTC)

@conf // Hi. I'm not very experienced with packaging, but it's my understanding that it's a bad practice to make a package to modify another package's content.

Besides, there's little reason to install both UPBGE and Blender since the former is just the master branch of Blender with additional bits related to making games.

Thanks!

conf commented on 2024-01-19 16:56 (UTC)

Hi all! I just successfully built upbge-git just to encounter the obvious thing i missed:

:: upbge-git and blender are in conflict

Since i would like to keep my up to date blender, and play with upbge at the same time, i am wondering if the conflict only boils down to:

usr/bin/blender usr/bin/blenderplayer

Can it be resolved by simply making this package rename those binaries before installing? I think it would be generally not bad if those 2 packages would not need to conflict since the blenders they offer are two different things for two different purposes. If you object this idea, i would still be grateful for any advice how i could successfully resolve that conflict locally just for myself.

Thanks and best regards!

mysticfall commented on 2023-12-22 04:24 (UTC)

@Lacan// Sorry, I have no idea then. I'll comment if I encounter a similar problem in future. Hopefully, someone more knowledgeable about Blender might chime in.

Lacan commented on 2023-12-22 04:13 (UTC) (edited on 2023-12-22 04:14 (UTC) by Lacan)

@mystical, Hi.. I've rebuild openimagedenoise version 2.1 and reinstall it but still got this error: [100%] Linking CXX executable ../../bin/blender ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode, char const): error: undefined reference to 'OSL_v1_11::ShadingSystem::Parameter(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const, bool)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode, char const): error: undefined reference to 'OSL_v1_11::ShadingSystem::Parameter(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const, bool)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode, char const): error: undefined reference to 'OSL_v1_11::ShadingSystem::Parameter(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const, bool)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode, char const): error: undefined reference to 'OSL_v1_11::ShadingSystem::Parameter(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const, bool)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_query(OSL_v1_11::OSLQuery&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::OSLQuery::open(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::compile_type(ccl::Shader, ccl::ShaderGraph, ccl::ShaderType): error: undefined reference to 'OSL_v1_11::ShadingSystem::ShaderGroupBegin(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::OSLCompiler::OSLCompiler(OpenImageIO_v2_4::ErrorHandler)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::OSLCompiler::compile(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, std::vector<std::__cxx11::basic_string\<char, std::char_traits\<char>, std::allocator\<char> >, std::allocator\<std::__cxx11::basic_string\<char, std::char_traits\<char>, std::allocator\<char> > > > const&, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::ShadingSystem(OSL_v1_11::RendererServices, OpenImageIO_v2_4::TextureSystem, OpenImageIO_v2_4::ErrorHandler)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::attribute(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::attribute(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::attribute(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::attribute(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::ShadingSystem::LoadMemoryCompiledShader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::OSLQuery::open_bytecode(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::ConnectShaders(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::Shader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::Shader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::Shader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::Shader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_kernel_osl.a(closures.cpp.o):closures.cpp:function ccl::OSLRenderServices::register_closures(OSL_v1_11::ShadingSystem): error: undefined reference to 'OSL_v1_11::ShadingSystem::register_closure(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, int, OSL_v1_11::ClosureParam const, void ()(OSL_v1_11::RendererServices, int, void), void ()(OSL_v1_11::RendererServices, int, void))' ../../lib/libcycles_kernel_osl.a(closures.cpp.o):closures.cpp:function ccl::OSLRenderServices::register_closures(OSL_v1_11::ShadingSystem): error: undefined reference to 'OSL_v1_11::ShadingSystem::register_closure(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, int, OSL_v1_11::ClosureParam const, void ()(OSL_v1_11::RendererServices, int, void), void ()(OSL_v1_11::RendererServices, int, void))' ../../lib/libcycles_kernel_osl.a(closures.cpp.o):closures.cpp:function ccl::OSLRenderServices::register_closures(OSL_v1_11::ShadingSystem): error: undefined reference to 'OSL_v1_11::ShadingSystem::register_closure(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, int, OSL_v1_11::ClosureParam const, void ()(OSL_v1_11::RendererServices, int, void), void ()(OSL_v1_11::RendererServices, int, void))' ../../lib/libcycles_kernel_osl.a(closures.cpp.o):closures.cpp:function ccl::OSLRenderServices::register_closures(OSL_v1_11::ShadingSystem): error: undefined reference to 'OSL_v1_11::ShadingSystem::register_closure(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, int, OSL_v1_11::ClosureParam const, void ()(OSL_v1_11::RendererServices, int, void), void ()(OSL_v1_11::RendererServices, int, void))' ../../lib/libcycles_kernel_osl.a(globals.cpp.o):globals.cpp:function ccl::OSLGlobals::thread_init(ccl::KernelGlobalsCPU, ccl::OSLGlobals, int): error: undefined reference to 'OSL_v1_11::ShadingSystem::get_context(OSL_v1_11::PerThreadInfo, OpenImageIO_v2_4::TextureSystem::Perthread)' ../../lib/libcycles_kernel_osl.a(services.cpp.o):services.cpp:function ccl::OSLRenderServices::OSLRenderServices(OpenImageIO_v2_4::TextureSystem, int): error: undefined reference to 'OSL_v1_11::RendererServices::RendererServices(OpenImageIO_v2_4::TextureSystem)' collect2: error: ld returned 1 exit status make[3]: *** [source/creator/CMakeFiles/blender.dir/build.make:509: bin/blender] Error 1 make[2]: *** [CMakeFiles/Makefile2:9484: source/creator/CMakeFiles/blender.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:9491: source/creator/CMakeFiles/blender.dir/rule] Error 2 make: *** [Makefile:2656: blender] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

mysticfall commented on 2023-12-22 03:33 (UTC)

@Lacan // Hi, I tried building the package today, and it went without a problem for me. From the log you posted, I can only guess it might be something related to the openimagedenoise package. Maybe reinstalling the latest version could make a difference?

Lacan commented on 2023-12-22 01:34 (UTC)

I've got this error when building AUR upbge-git, how to fix this if there's a way to patch: [100%] Linking CXX executable ../../bin/blender ../../lib/libbf_compositor.a(unity_22_cxx.cxx.o):unity_22_cxx.cxx:function blender::compositor::DenoiseOperation::generate_denoise(blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, NodeDenoise const): error: undefined reference to 'oidnSetDevice1b' ../../lib/libbf_compositor.a(unity_22_cxx.cxx.o):unity_22_cxx.cxx:function blender::compositor::DenoiseOperation::generate_denoise(blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, NodeDenoise const): error: undefined reference to 'oidnSetFilter1i' ../../lib/libbf_compositor.a(unity_22_cxx.cxx.o):unity_22_cxx.cxx:function blender::compositor::DenoiseOperation::generate_denoise(blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, NodeDenoise const): error: undefined reference to 'oidnSetFilter1b' ../../lib/libbf_compositor.a(unity_22_cxx.cxx.o):unity_22_cxx.cxx:function blender::compositor::DenoiseOperation::generate_denoise(blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer, NodeDenoise const): error: undefined reference to 'oidnSetFilter1b' ../../lib/libbf_compositor.a(unity_22_cxx.cxx.o):unity_22_cxx.cxx:function blender::compositor::DenoisePrefilterOperation::generate_denoise(blender::compositor::MemoryBuffer, blender::compositor::MemoryBuffer): error: undefined reference to 'oidnSetDevice1b' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode, char const): error: undefined reference to 'OSL_v1_11::ShadingSystem::Parameter(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const, bool)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode, char const): error: undefined reference to 'OSL_v1_11::ShadingSystem::Parameter(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const, bool)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode, char const): error: undefined reference to 'OSL_v1_11::ShadingSystem::Parameter(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const, bool)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::parameter(ccl::ShaderNode, char const): error: undefined reference to 'OSL_v1_11::ShadingSystem::Parameter(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const, bool)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_query(OSL_v1_11::OSLQuery&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::OSLQuery::open(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::compile_type(ccl::Shader, ccl::ShaderGraph, ccl::ShaderType): error: undefined reference to 'OSL_v1_11::ShadingSystem::ShaderGroupBegin(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::OSLCompiler::OSLCompiler(OpenImageIO_v2_4::ErrorHandler)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::osl_compile(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::OSLCompiler::compile(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, std::vector<std::__cxx11::basic_string\<char, std::char_traits\<char>, std::allocator\<char> >, std::allocator\<std::__cxx11::basic_string\<char, std::char_traits\<char>, std::allocator\<char> > > > const&, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::ShadingSystem(OSL_v1_11::RendererServices, OpenImageIO_v2_4::TextureSystem, OpenImageIO_v2_4::ErrorHandler)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::attribute(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::attribute(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::attribute(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shading_system_init()::{lambda(ccl::Device)#1}::operator()(ccl::Device) const [clone .constprop.0] [clone .isra.0]: error: undefined reference to 'OSL_v1_11::ShadingSystem::attribute(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::TypeDesc, void const)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::ShadingSystem::LoadMemoryCompiledShader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLShaderManager::shader_load_bytecode(std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&, std::__cxx11::basic_string<char, std::char_traits\<char>, std::allocator\<char> > const&): error: undefined reference to 'OSL_v1_11::OSLQuery::open_bytecode(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::ConnectShaders(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::Shader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::Shader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::Shader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_scene.a(osl.cpp.o):osl.cpp:function ccl::OSLCompiler::add(ccl::ShaderNode, char const, bool): error: undefined reference to 'OSL_v1_11::ShadingSystem::Shader(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >)' ../../lib/libcycles_kernel_osl.a(closures.cpp.o):closures.cpp:function ccl::OSLRenderServices::register_closures(OSL_v1_11::ShadingSystem): error: undefined reference to 'OSL_v1_11::ShadingSystem::register_closure(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, int, OSL_v1_11::ClosureParam const, void ()(OSL_v1_11::RendererServices, int, void), void ()(OSL_v1_11::RendererServices, int, void))' ../../lib/libcycles_kernel_osl.a(closures.cpp.o):closures.cpp:function ccl::OSLRenderServices::register_closures(OSL_v1_11::ShadingSystem): error: undefined reference to 'OSL_v1_11::ShadingSystem::register_closure(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, int, OSL_v1_11::ClosureParam const, void ()(OSL_v1_11::RendererServices, int, void), void ()(OSL_v1_11::RendererServices, int, void))' ../../lib/libcycles_kernel_osl.a(closures.cpp.o):closures.cpp:function ccl::OSLRenderServices::register_closures(OSL_v1_11::ShadingSystem): error: undefined reference to 'OSL_v1_11::ShadingSystem::register_closure(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, int, OSL_v1_11::ClosureParam const, void ()(OSL_v1_11::RendererServices, int, void), void ()(OSL_v1_11::RendererServices, int, void))' ../../lib/libcycles_kernel_osl.a(closures.cpp.o):closures.cpp:function ccl::OSLRenderServices::register_closures(OSL_v1_11::ShadingSystem): error: undefined reference to 'OSL_v1_11::ShadingSystem::register_closure(OpenImageIO_v2_4::basic_string_view<char, std::char_traits\<char> >, int, OSL_v1_11::ClosureParam const, void ()(OSL_v1_11::RendererServices, int, void), void ()(OSL_v1_11::RendererServices, int, void))' ../../lib/libcycles_kernel_osl.a(globals.cpp.o):globals.cpp:function ccl::OSLGlobals::thread_init(ccl::KernelGlobalsCPU, ccl::OSLGlobals, int): error: undefined reference to 'OSL_v1_11::ShadingSystem::get_context(OSL_v1_11::PerThreadInfo, OpenImageIO_v2_4::TextureSystem::Perthread)' ../../lib/libcycles_kernel_osl.a(services.cpp.o):services.cpp:function ccl::OSLRenderServices::OSLRenderServices(OpenImageIO_v2_4::TextureSystem, int): error: undefined reference to 'OSL_v1_11::RendererServices::RendererServices(OpenImageIO_v2_4::TextureSystem)' ../../lib/libcycles_integrator.a(denoiser_oidn.cpp.o):denoiser_oidn.cpp:function ccl::OIDNDenoiseContext::denoise_pass(ccl::PassType): error: undefined reference to 'oidnSetDevice1b' ../../lib/libcycles_integrator.a(denoiser_oidn.cpp.o):denoiser_oidn.cpp:function ccl::OIDNDenoiseContext::denoise_pass(ccl::PassType): error: undefined reference to 'oidnSetFilter1b' ../../lib/libcycles_integrator.a(denoiser_oidn.cpp.o):denoiser_oidn.cpp:function ccl::OIDNDenoiseContext::denoise_pass(ccl::PassType): error: undefined reference to 'oidnSetFilter1b' collect2: error: ld returned 1 exit status make[3]: *** [source/creator/CMakeFiles/blender.dir/build.make:509: bin/blender] Error 1 make[2]: *** [CMakeFiles/Makefile2:9484: source/creator/CMakeFiles/blender.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:9491: source/creator/CMakeFiles/blender.dir/rule] Error 2 make: *** [Makefile:2656: blender] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

LordJason commented on 2023-08-19 18:12 (UTC)

It may still be broken, or I'm doing something wrong.

Applied patch source/blender/io/usd/CMakeLists.txt cleanly.
warning: 1 line adds whitespace errors.
Checking patch build_files/cmake/Modules/FindEmbree.cmake...
error: while searching for:
#  EMBREE_ROOT_DIR, The base directory to search for Embree.
#                        This can also be an environment variable.
#  EMBREEFOUND, If false, do not try to use Embree.

# If EMBREE_ROOT_DIR was defined in the environment, use it.
IF(NOT EMBREE_ROOT_DIR AND NOT $ENV{EMBREE_ROOT_DIR} STREQUAL "")

error: patch failed: build_files/cmake/Modules/FindEmbree.cmake:10
error: build_files/cmake/Modules/FindEmbree.cmake: patch does not apply
Checking patch intern/cycles/blender/CMakeLists.txt...
Hunk #1 succeeded at 83 (offset 3 lines).
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: upbge-git

mysticfall commented on 2023-03-17 01:12 (UTC)

@gandalf3 // I just updated the package with a fix. It should be ok now and sorry that it took so long.

gandalf3 commented on 2023-02-26 02:53 (UTC)

embree.patch fails to apply for me on latest git:

==> Starting prepare()...
Checking patch intern/cycles/cmake/external_libs.cmake...
Hunk #1 succeeded at 29 (offset -578 lines).
Applied patch intern/cycles/cmake/external_libs.cmake cleanly.
Checking patch source/blender/io/usd/CMakeLists.txt...
error: while searching for:
  )
endif()

blender_add_lib(bf_usd "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")

if(WIN32)

error: patch failed: source/blender/io/usd/CMakeLists.txt:137
error: source/blender/io/usd/CMakeLists.txt: patch does not apply

mysticfall commented on 2022-10-31 15:18 (UTC)

@juancarlospaco // I just added ninja to the makedepends list. Hopefully, this may fix the problem.

Additionally, the latest commit fixes several build issues due to recent changes in the upstream source.