[MacPorts] #60017: graphene @ meson.build:162:2: ERROR: Problem encountered: No aligned malloc function could be found.

MacPorts noreply at macports.org
Thu May 28 12:46:02 UTC 2020


#60017: graphene @ meson.build:162:2: ERROR: Problem encountered: No aligned malloc
function could be found.
------------------------------+----------------------
  Reporter:  Cor0n4V1rus      |      Owner:  dbevans
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  graphene, meson  |
------------------------------+----------------------
Changes (by ryandesign):

 * cc: git@… (added)
 * port:  graphene => graphene, meson


Old description:

> build fails, but works, if I run
>
> port install graphene configure.compiler=macports-clang-7.0
>
> after comparing the two main.log files, I noticed that, with clang-7, the
> configure process finds the function posix_memalign, while clang-9 does
> not and therefore does not proceed.

New description:

 build fails, but works, if I run

 {{{
 port install graphene configure.compiler=macports-clang-7.0
 }}}

 after comparing the two main.log files, I noticed that, with clang-7, the
 configure process finds the function posix_memalign, while clang-9 does
 not and therefore does not proceed.

--

Comment:

 I can't explain how it worked for Ken. It's a bug in meson. It will affect
 any project using meson's `has_function` and clang 8 or later. I've
 reported it here: https://github.com/mesonbuild/meson/issues/7204

-- 
Ticket URL: <https://trac.macports.org/ticket/60017#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list