New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8.1.1 fails to build on arm64 Mac OS #4377
Comments
That's really weird. What version of gobject-introspection do you have installed? Can you attach the HarfBuzz-0.0.gir file? |
I have gobject-introspection-1.76.1. |
@khaledhosny do we ship the gir file in the tarball? All I can assume is that the gir was generated with a different version of gobject-introspection.. |
I just built on Mac brew with the same version and it built fine. |
Which build system are you using? meson, cmake, or autotools? |
I am using jhbuild to build everything. It is trying to use meson. |
@ebassi did something like this change in gobject-introspection? |
Does not look like we ship it. |
@behdad Nothing has changed in the attribute checks at least since 2010. The warning seems to be coming from: <constant name="CODEPOINT_INVALID"
value="-1"
c:type="HB_CODEPOINT_INVALID">
<source-position filename="../../Source/harfbuzz-8.1.1/src/hb-common.h"
line="115"/>
<type c:type="hb_codepoint_t"/>
</constant> i.e. /**
* HB_CODEPOINT_INVALID:
*
* Unused #hb_codepoint_t value.
*
* Since: 8.0.0
*/
#define HB_CODEPOINT_INVALID ((hb_codepoint_t) -1) Building with gobject-introspection 1.76.1 yields: <constant name="CODEPOINT_INVALID"
value="4294967295"
c:type="HB_CODEPOINT_INVALID"
version="8.0.0">
<doc xml:space="preserve"
filename="src/hb-common.h"
line="108">Unused #hb_codepoint_t value.</doc>
<source-position filename="src/hb-common.h" line="115"/>
<type name="codepoint_t" c:type="hb_codepoint_t"/>
</constant> |
The fact that the XML is so different is puzzling; @line72 are you trying to regenerate the GIR from the typelib and then compiling it back? |
I am just using jhbuild, so I am running |
This looks suspicious: |
That's a normal part of our build. |
I am trying to build version 8.1.1 on a Macbook M1 using the gtk-osx and jhbuild scripts.
I get the following error when trying to generate the gir file:
The text was updated successfully, but these errors were encountered: