Package Details: openmoonray 3.6.0.1-2

Git Clone URL: https://aur.archlinux.org/openmoonray.git (read-only, click to copy)
Package Base: openmoonray
Description: DreamWorks Animation's open-source Monte Carlo ray tracer
Upstream URL: https://github.com/dreamworksanimation/openmoonray
Licenses: Apache
Submitter: gonsolo
Maintainer: gonsolo
Last Packager: gonsolo
Votes: 2
Popularity: 0.50
First Submitted: 2025-08-18 09:43 (UTC)
Last Updated: 2026-06-13 10:35 (UTC)

Latest Comments

gonsolo commented on 2026-06-13 11:33 (UTC)

I tried to do a minimal build first and even that was much work. From now on things can be added incrementally, this should be much easier.

finesco commented on 2026-06-13 11:11 (UTC)

Moonray works, but why hd_render(hdMoonRay) is not packed?

gonsolo commented on 2026-06-13 10:55 (UTC)

Should be fixed now.

finesco commented on 2026-06-12 16:31 (UTC)

Can't build

make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:233: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/Geometry.cc.o] Error 1 [ 14%] Linking CXX executable arras4test make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:107: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/Attribute.cc.o] Error 1 make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:205: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/DsoFinder.cc.o] Error 1 make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:177: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/DisplayFilter.cc.o] Error 1 make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:191: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/Dso.cc.o] Error 1 make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:149: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/Camera.cc.o] Error 1 [ 14%] Built target arras4test make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:163: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/Displacement.cc.o] Error 1 make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:275: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/Layer.cc.o] Error 1 make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:121: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/BinaryReader.cc.o] Error 1 make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:135: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/BinaryWriter.cc.o] Error 1 make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:93: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/AsciiWriter.cc.o] Error 1 make[2]: *** [moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/build.make:79: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/AsciiReader.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:47759: moonray/scene_rdl2/lib/scene/rdl2/CMakeFiles/scene_rdl2_tmp.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: openmoonray-exit status 4 -> Failed to install the following packages. Manual intervention is required: openmoonray - exit status 4

gonsolo commented on 2025-08-22 15:51 (UTC)

ISPC v1.28.1 resolves all issues. Patching is not necessary anymore.

gonsolo commented on 2025-08-19 09:50 (UTC)

It seems to me that a few dependencies are missing: libmicrohttpd cppunit qt5-base qt5-script openimagedenoise usd and AUR one: random123

I updated the PKGBUILD, thanks.

Nurmukhametov commented on 2025-08-18 15:05 (UTC) (edited on 2025-08-18 15:16 (UTC) by Nurmukhametov)

It seems to me that a few dependencies are missing: libmicrohttpd cppunit qt5-base qt5-script openimagedenoise usd

and AUR one: random123

gonsolo commented on 2025-08-18 09:56 (UTC) (edited on 2025-08-18 10:00 (UTC) by gonsolo)

moonray has to be started like this:

moonray -threads 24 -out bla.exr -size 128 72 -dso_path /usr/rdl2dso/ -in scene.rdla -in scene.rdl

gonsolo commented on 2025-08-18 09:45 (UTC) (edited on 2025-08-18 09:46 (UTC) by gonsolo)

ISPC v1.28.0 has to be patched for moonray to work: https://github.com/ispc/ispc/issues/3545

From 34076d71e740812c4e71d338211ae7287b04f645 Mon Sep 17 00:00:00 2001
From: Gon Solo <gonsolo@gmail.com>
Date: Sat, 16 Aug 2025 21:19:39 +0200
Subject: [PATCH] Fix Openmoonray.

---
 src/ast.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ast.cpp b/src/ast.cpp
index f4c66b6e..bdc19c7e 100644
--- a/src/ast.cpp
+++ b/src/ast.cpp
@@ -364,7 +364,7 @@ static ASTNode *lOptimizeNode(ASTNode *node, void *) {
         return node;
     }

-    Assert(node->IsTypeChecked() && "Node must be type-checked before optimization");
+    //Assert(node->IsTypeChecked() && "Node must be type-checked before optimization");

     // Mark that we're starting the optimization process for this node
     node->StartOptimize();
-- 
2.50.1
From 87913aab2ddc356d38fe13934befda84b43cf247 Mon Sep 17 00:00:00 2001
From: Gon Solo <gonsolo@gmail.com>
Date: Sat, 16 Aug 2025 22:20:48 +0200
Subject: [PATCH 2/2] Fix Openmoonray II.

---
 src/expr.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/expr.cpp b/src/expr.cpp
index 43e453c9..b19a1f7e 100644
--- a/src/expr.cpp
+++ b/src/expr.cpp
@@ -4341,7 +4341,7 @@ const Type *FunctionCallExpr::GetLValueType() const {
         return nullptr;
     }
     const FunctionType *ftype = CastType<FunctionType>(type);
-    if (ftype && ftype->GetReturnType()->IsReferenceType()) {
+    if (ftype && (ftype->GetReturnType()->IsPointerType() || ftype->GetReturnType()->IsReferenceType())) {
         return ftype->GetReturnType();
     } else {
         // Only be a valid LValue type if the function returns a reference
-- 
2.50.1