Package Details: mitsuba-git 0.6.0.r2171.26355676-2

Git Clone URL: (read-only, click to copy)
Package Base: mitsuba-git
Description: Mitsuba physically based renderer.
Upstream URL:
Keywords: 3d metropolis-light-transport pathrace renderer
Licenses: GPL3
Conflicts: mitsuba, mitsuba-hg
Provides: mitsuba
Submitter: bartus
Maintainer: bartus (maz-1)
Last Packager: bartus
Votes: 3
Popularity: 0.000000
First Submitted: 2016-11-28 20:18
Last Updated: 2019-11-18 23:23

Pinned Comments

bartus commented on 2019-04-10 11:42

Please report issues and patches to

Latest Comments

1 2 Next › Last »

frankspace commented on 2019-11-19 03:21

Not stupid at all. Besides, without your initial patch in the first place, I'd have had no clue where to begin looking. Thanks for the fix!

bartus commented on 2019-11-18 23:22

@frankspace: Thanks for the help, it's now working back again.

I've just realized, it was in my original python3.5.patch three years back me so stupid ;)

frankspace commented on 2019-11-17 19:57

I solved it! There's a second place where the python version needs to be detected. Here's my updated patch that allows compilaton to succeed:

diff --git a/data/scons/ b/data/scons/
index 39ac04c..e24f28c 100644
--- a/data/scons/
+++ b/data/scons/
@@ -57,7 +57,7 @@ def find_boost_python(version):
     return None

 def detect_python():
-    pyver = ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '3.5', '3.6']
+    pyver = ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '3.5', '3.6', '3.7', '3.8']
     pyenv = {}

     for version in pyver:

diff --git a/build/SConscript.configure b//build/SConscript.configure
--- a/build/SConscript.configure
+++ b/build/SConscript.configure
@@ -32,3 +32,3 @@

-python_versions = ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7"]
+python_versions = ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8"]

I hope that helps! Thank you!

bartus commented on 2019-11-17 09:37

@frankspace: I'm working on it...

frankspace commented on 2019-11-15 13:12

Compilation appears to succeed, but installation fails:

Install file: "build/release/integrators/" as "dist/plugins/"
Install file: "build/release/integrators/" as "dist/plugins/"
Install file: "build/release/integrators/" as "dist/plugins/"
Install file: "build/release/bsdfs/" as "dist/plugins/"
Install file: "build/release/textures/" as "dist/plugins/"
Install file: "build/release/libpython/" as "dist/python/2.7/"
scons: done building targets.
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'dist/python/3.8/': No such file or directory
==> ERROR: A failure occurred in package().

I tried updating the python patch to include version 3.8, but that didn't help.

bartus commented on 2019-04-10 11:42

Please report issues and patches to

bartus commented on 2018-02-22 10:56

Now, it looks pretty obvious, thanks @dTal!

dTal commented on 2018-02-22 01:10

It seems that the file in question compiles fine without the C++11 flag. Adding this second sed line to the PKGBUILD to remove the flag only for that file fixes the problem for me:

sed -i "/irawanEnv =/airawanEnv.RemoveFlags(['-std=gnu\+\+11'])" src/bsdfs/SConscript

(Note I modified the flag to -std=gnu++11 to match your updated PKGBUILD)

EDIT: The comment box garbles the backslashes. There should be three before each '+' character.

bartus commented on 2018-02-20 11:56

@dTal Notice the issue a while ago now. Sadly my boost-foo is quite lacking, and sourly not in any way suitable for reworking Jakob's code. Check this comment in SConsScript ;)

# The Irawan-Marschner plugin uses a Boost::Spirit parser, which makes it
# pretty heavy stuff to compile. Go easy on the compiler flags:

Will try to suppress irawan bsdf all together, let's see if that works.

Update: Done, check if that's working for you?

dTal commented on 2018-02-20 00:56

The build erroneously complains that xercesc is not installed - in fact, checking config.log shows that it does, but that it throws an error very like this one:


sed -i -e 's:gnu2:gnu2\x27, \x27-std=c++11:g'

to the PKGBUILD, allows the build to continue.

Unfortunately, build still fails, much later, with:

In file included from src/bsdfs/irawan.cpp:33:0:src/bsdfs/irawan.h: In constructor ‘mitsuba::YarnGrammar<iterator>::YarnGrammar(const mitsuba::Properties&)’:src/bsdfs/irawan.h:314:84: error: no matching function for call to ‘bind(<unresolved function="" overloaded="" type="">, const type, const _1_type&)’</unresolved></iterator>