[Bf-committers] Build failure with python 3.5 and latest blender 2.76 on Mageia Build System

Campbell Barton ideasman42 at gmail.com
Wed Oct 14 01:41:28 CEST 2015


Right, it turns Archlinux patched their Python too, which is why I
wasn't running into the bug.
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/issue25150.patch?h=packages/python

On Wed, Oct 14, 2015 at 7:05 AM, David GEIGER
<geiger.david68210 at gmail.com> wrote:
> Yes this issue come from python 3.5.0 and not from blender:
>
> http://bugs.python.org/issue25150
>
>
> We have patched our python3 package with this upstream patch and now
> blender 2.76 built again:
>
> https://hg.python.org/cpython/rev/d4fcb362f7c6
>
> Thanks!
>
>
>
> 2015-10-13 17:59 GMT+02:00 Campbell Barton <ideasman42 at gmail.com>:
>
>> This is resolved for 2.76 release (and master),
>> Check "./source/blender/python/generic/py_capi_utils.c" doesn't define
>> Py_BUILD_CORE anywhere.
>>
>> Tested OpenMP and Python3.5, it builds without any errors.
>>
>> On Tue, Oct 13, 2015 at 6:52 PM, David GEIGER
>> <geiger.david68210 at gmail.com> wrote:
>> > Hi Blender team,
>> >
>> > I'm Geiger David alias daviddavid and I'm the maintainer of blender
>> package
>> > from the Mageia 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.
>> >
>> >
>> > PS: issue already reported here https://developer.blender.org/T46464
>> > _______________________________________________
>> > Bf-committers mailing list
>> > Bf-committers at blender.org
>> > http://lists.blender.org/mailman/listinfo/bf-committers
>>
>>
>>
>> --
>> - Campbell
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



-- 
- Campbell


More information about the Bf-committers mailing list