Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2019 17:57:30 +0200
From:      Luciano Mannucci <luciano@vespaperitivo.it>
To:        gnome@FreeBSD.org
Subject:   harfbuzz doesn't compile on my ppc64
Message-ID:  <46K6gt5KCsz1ftWY@baobab.bilink.it>

next in thread | raw e-mail | index | archive | help

I know I'm not on a tier-1 machine, so I expect some glitches..
I'm trying to upgrade harfbuz installed via the ports (no pkg available
for my platform) and portupgrade ends with an error.

I tried with "make clean && make MAKE_JOBS_UNSAFE=yes build"
and got the same error.

uname -a says:

FreeBSD Saguaro 11.3-RELEASE-p3 FreeBSD 11.3-RELEASE-p3 #4 r351544: Wed Aug 28
12:16:50 CEST 2019     root@Saguaro:/usr/obj/usr/src/sys/GENERIC64  powerpc

The error seems to be:

/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:36: syntax error, unexpected identifier in 'HB_BEGIN_DECLS' at 'HB_BEGIN_DECLS'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:431: syntax error, unexpected '*', expecting ')' or ',' in 'hb_aat_layout_get_feature_types (hb_face_t *face,' at '*'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:433: syntax error, unexpected UNSIGNED, expecting identifier or '(' or '*' in '     unsigned int *feature_count, /* IN/OUT.  May be NULL. */' at 'unsigned'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:434: syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in '     hb_aat_layout_feature_type_t *features /* OUT.     May be NULL. */);' at 'hb_aat_layout_feature_type_t'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:434: syntax error, unexpected ')', expecting ',' or ';' in '     hb_aat_layout_feature_type_t *features /* OUT.     May be NULL. */);' at ')'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:442: syntax error, unexpected identifier in '  hb_ot_name_id_t name_id;' at 'hb_ot_name_id_t'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:447: syntax error, unexpected '}' in '} hb_aat_layout_feature_selector_info_t;' at '}'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:452: syntax error, unexpected '*', expecting ')' or ',' in 'hb_aat_layout_feature_type_get_selector_infos (hb_face_t *face,' at '*'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:454: syntax error, unexpected UNSIGNED, expecting identifier or '(' or '*' in '            unsigned int start_offset,' at 'unsigned'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:455: syntax error, unexpected UNSIGNED, expecting identifier or '(' or '*' in '            unsigned int *selector_count, /* IN/OUT.  May be NULL. */' at 'unsigned'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:456: syntax error, unexpected '*', expecting ',' or ';' in '            hb_aat_layout_feature_selector_info_t *selectors, /* OUT.     May be NULL. */' at '*'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-aat-layout.h:457: syntax error, unexpected ')', expecting ',' or ';' in '            unsigned int *default_index /* OUT.     May be NULL. */);' at ')'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-ot-shape.h:47: syntax error, unexpected '*', expecting ')' or ',' in 'hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan,' at '*'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-ot-shape.h:49: syntax error, unexpected typedef-name, expecting identifier or '(' or '*' in '      hb_set_t *lookup_indexes /* OUT */);' at 'hb_set_t'
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/hb-ot-shape.h:49: syntax error, unexpected ')', expecting ',' or ';' in '      hb_set_t *lookup_indexes /* OUT */);' at ')'
hb-buffer.cc:698: Warning: HarfBuzz: unknown annotation: xconstructor
hb-face.cc:184: Warning: HarfBuzz: unknown annotation: xconstructor
hb-font.cc:519: Warning: HarfBuzz: unknown annotation: xconstructor
hb-font.cc:1341: Warning: HarfBuzz: unknown annotation: xconstructor
hb-map.cc:43: Warning: HarfBuzz: unknown annotation: xconstructor
hb-ot-meta.cc:60: Warning: HarfBuzz: multiple comment blocks documenting 'hb_ot_meta_reference_entry:' identifier (already seen at hb-ot-meta.cc:40).
hb-ot-name.cc:55: Warning: HarfBuzz: unexpected annotation: out
hb-set.cc:43: Warning: HarfBuzz: unknown annotation: xconstructor
hb-shape-plan.cc:166: Warning: HarfBuzz: unknown annotation: xconstructor
hb-unicode.cc:157: Warning: HarfBuzz: unknown annotation: xconstructor
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC gcc9 -o /usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/tmp-introspectg2csqbh5/HarfBuzz-0.0 -export-dynamic -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -fno-strict-aliasing /usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/tmp-introspectg2csqbh5/HarfBuzz-0.0.o -L. libharfbuzz.la libharfbuzz-gobject.la -L/usr/local/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9 -Bsymbolic-functions
libtool: link: gcc9 -o /usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/tmp-introspectg2csqbh5/.libs/HarfBuzz-0.0 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -fno-strict-aliasing /usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/tmp-introspectg2csqbh5/HarfBuzz-0.0.o -Wl,--export-dynamic -pthread -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -Bsymbolic-functions -Wl,--export-dynamic  -L. ./.libs/libharfbuzz.so -L/usr/local/lib/gcc9 -L/usr/local/lib ./.libs/libharfbuzz-gobject.so /usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/.libs/libharfbuzz.so -lgio-2.0 -lgmodule-2.0 -lgobject-2.0 -lm -lglib-2.0 -lintl -lfreetype -lgraphite2 -pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/tmp-introspectg2csqbh5/.libs/HarfBuzz-0.0: Undefined symbol "hb_gobject_ot_layout_baseline_tag_get_type"
Command '['/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/tmp-introspectg2csqbh5/HarfBuzz-0.0', '--introspect-dump=/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/tmp-introspectg2csqbh5/functions.txt,/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src/tmp-introspectg2csqbh5/dump.xml']' returned non-zero exit status 1.
gmake[5]: *** [/usr/local/share/gobject-introspection-1.0/Makefile.introspection:160: HarfBuzz-0.0.gir] Error 1
gmake[5]: Leaving directory '/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src'
gmake[4]: *** [Makefile:2939: all-recursive] Error 1
gmake[4]: Leaving directory '/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src'
gmake[3]: *** [Makefile:1609: all] Error 2
gmake[3]: Leaving directory '/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1/src'
gmake[2]: *** [Makefile:525: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1'
gmake[1]: *** [Makefile:457: all] Error 2
gmake[1]: Leaving directory '/usr/ports/print/harfbuzz/work/harfbuzz-2.6.1'
*** Error code 1

Stop.
make: stopped in /usr/ports/print/harfbuzz


What should I do?

Thanks in advance for any help,

Luciano.
-- 
 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthamster@sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46K6gt5KCsz1ftWY>