[Solved] Error compiling 2.81 branch on Manjaro Linux

Hi,

I’ve been compiling via the AUR repository, blender-2.81-git, and it was working fine until yesterday.

I’m getting warnings as errors while trying to compile the blender-v2.81-release

[ 48%] Building C object source/blender/blenkernel/CMakeFiles/bf_blenkernel.dir/intern/sequencer.c.o
/home/cansecogpc/tmp/pamac-build/blender-2.81-git/src/blender/source/blender/blenkernel/intern/sequencer.c: En la función ‘BKE_sequencer_proxy_rebuild_context’:
/home/cansecogpc/tmp/pamac-build/blender-2.81-git/src/blender/source/blender/blenkernel/intern/sequencer.c:2110:5: error: ‘return’ sin valores, en una función que no devuelve void [-Werror=return-type]
2110 | return;
| ^~~~~~
/home/cansecogpc/tmp/pamac-build/blender-2.81-git/src/blender/source/blender/blenkernel/intern/sequencer.c:2096:6: nota: se declara aquí
2096 | bool BKE_sequencer_proxy_rebuild_context(Main *bmain,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/cansecogpc/tmp/pamac-build/blender-2.81-git/src/blender/source/blender/blenkernel/intern/sequencer.c:2114:5: error: ‘return’ sin valores, en una función que no devuelve void [-Werror=return-type]
2114 | return;
| ^~~~~~
/home/cansecogpc/tmp/pamac-build/blender-2.81-git/src/blender/source/blender/blenkernel/intern/sequencer.c:2096:6: nota: se declara aquí
2096 | bool BKE_sequencer_proxy_rebuild_context(Main *bmain,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: algunos avisos se tratan como errores
make[2]: *** [source/blender/blenkernel/CMakeFiles/bf_blenkernel.dir/build.make:1779: source/blender/blenkernel/CMakeFiles/bf_blenkernel.dir/intern/sequencer.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5382: source/blender/blenkernel/CMakeFiles/bf_blenkernel.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: Se produjo un fallo en build().
Cancelando…

Anyone else having the same problem?

Summary

This text will be hidden

Hi! This is a known issue that was fixed in master, but by accident not in the 2.81 branch. The fix will hopefully also land there soon.
In the meantime you can use the build from builder.blender.org, it seems like the buildbot ignored those warnings.

1 Like

Tried to auto-compile today and it worked fine.
Thx for the quick fix.