Page MenuHome

Build failure with python 3.5 and latest blender 2.76 on Mageia Build System
Closed, InvalidPublic

Description

Hi Blender team,

I can no more compile blender 2.76 since new python 3.5 :( (same for blender 2.75a)

Here is the full log of blender compile from Build System Mageia:

http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20151013055640.daviddavid.valstar.1392/log/blender-2.76-1.mga6/build.0.20151013055703.log


In file included from /usr/include/python3.5m/Python.h:53:0,

from /home/iurt/rpmbuild/BUILD/blender-2.76/source/blender/python/intern/gpu.c:40:

/usr/include/python3.5m/pyatomic.h:35:5: sorry, unimplemented: '_Atomic' with OpenMP

_Atomic void *_value;
^

source/blender/python/intern/CMakeFiles/bf_python.dir/build.make:62: recipe for target 'source/blender/python/intern/CMakeFiles/bf_python.dir/gpu.c.o' failed
make[2]: * [source/blender/python/intern/CMakeFiles/bf_python.dir/gpu.c.o] Error 1
CMakeFiles/Makefile2:6615: recipe for target 'source/blender/python/intern/CMakeFiles/bf_python.dir/all' failed
make[1]:
* [source/blender/python/intern/CMakeFiles/bf_python.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

And here is the spec file for full build options:

http://svnweb.mageia.org/packages/cauldron/blender/current/SPECS/blender.spec?view=markup&pathrev=890238

from what could the build issue come?

Thanks in advance.

Details

Type
Bug

Event Timeline

Geiger David (daviddavid) set Type to Bug.
Geiger David (daviddavid) created this task.
Geiger David (daviddavid) raised the priority of this task from to Needs Triage by Developer.
Bastien Montagne (mont29) closed this task as Invalid.
Bastien Montagne (mont29) claimed this task.

Thanks for the report, but please do not report here build issues, even less if it happens with currently not officially supported configuration.

We intend to switch to py3.5 soonish though, @Campbell Barton (campbellbarton) uses it already since weeks or more, so suggest you rather send a mail to our ML (bf-committers) or directly drop into IRC (#blendercoders on freenode.net).

Note that a quick search on the web suggests that issue is more due to update to gcc5.0 than to py3.5, though?

I do not know about gcc5 but what I know is that with blender 2.75a and python 3.4 and gcc 5.2.1 it has built successfully.

But with python 3.5 and same configuration it doesn't built anymore.

Ok, but in any case, that kind of issue is for our ML/IRC, not the bug tracker.

This is a bug in Python which will be fixed as part of Python 3.5.1:
https://bugs.python.org/issue25150

Ok thanks for your answers :)

I'll see with our python maintainer.

https://bugs.mageia.org/show_bug.cgi?id=16951

Not sure if anyone knows, but this bug is now influencing master, at least on my system, ubuntu 15.04.

me too, I have to download and compile python 3.5.1 rc to make sure the build tunning