[MacPorts] #67500: blender @2.93.17: fatal error: 'half.h' file not found (was: blender doesn't compile, errors out at alembic)
MacPorts
noreply at macports.org
Fri May 26 03:36:28 UTC 2023
#67500: blender @2.93.17: fatal error: 'half.h' file not found
----------------------+------------------------
Reporter: elteck | Owner: jasonliu--
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: blender |
----------------------+------------------------
Old description:
> See attached log file, blender does not compile, errors out on intel
> platform. The log file doesn't give a lot of details, it shows errors on
> alembic and openxr:
>
> :info:build make[2]: ***
> [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_customdata.cc.o]
> Error 1
>
> :info:build make[2]: ***
> [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_archive.cc.o]
> Error 1
>
> :info:build make[2]: ***
> [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_camera.cc.o]
> Error 1
>
> :info:build make[2]: ***
> [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_curves.cc.o]
> Error 1
>
> :info:build make[2]: ***
> [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_mesh.cc.o]
> Error 1
>
> :info:build make[2]: ***
> [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_nurbs.cc.o]
> Error 1
>
> :info:build make[1]: ***
> [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/all] Error 2
>
> :info:build make[2]: ***
> [source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/openexr_api.cpp.o]
> Error 1
New description:
See attached log file, blender does not compile, errors out on intel
platform. The log file doesn't give a lot of details, it shows errors on
alembic and openxr:
{{{
:info:build make[2]: ***
[source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_customdata.cc.o]
Error 1
:info:build make[2]: ***
[source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_archive.cc.o]
Error 1
:info:build make[2]: ***
[source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_camera.cc.o]
Error 1
:info:build make[2]: ***
[source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_curves.cc.o]
Error 1
:info:build make[2]: ***
[source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_mesh.cc.o]
Error 1
:info:build make[2]: ***
[source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_nurbs.cc.o]
Error 1
:info:build make[1]: ***
[source/blender/io/alembic/CMakeFiles/bf_alembic.dir/all] Error 2
:info:build make[2]: ***
[source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/openexr_api.cpp.o]
Error 1
}}}
--
Comment (by ryandesign):
The first error in the log is:
{{{
:info:build /opt/local/include/Alembic/Util/Foundation.h:66:10: fatal
error: 'half.h' file not found
:info:build #include <half.h>
:info:build ^~~~~~~~
}}}
half.h is part of openexr 2. The openexr port was recently updated to
openexr 3 which is probably what broke this (and some other ports). If
blender can be updated or fixed to work with openexr 3, great; if not, a
new openexr2 port was created and blender could be changed to use that
instead.
--
Ticket URL: <https://trac.macports.org/ticket/67500#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list