GNOME Bugzilla – Bug 732122
pango 1.36.4 does not build: undefined reference to `hb_ot_layout_language_get_required_feature'
Last modified: 2014-06-24 20:40:04 UTC
Hi. Trying to build the latest pango release (1.36.4) on OpenBSD errors out with: /usr/bin/libtool --tag=CC --mode=link cc -O2 -pipe -Wall -L/usr/local/lib -o pango-querymodules querymodules.o libpangoxft-1.0.la libpangoft2-1.0.la libpango-1.0.la -L/usr/local/lib -pthread -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl libtool: link: cc -o .libs/pango-querymodules -pthread -O2 -pipe -Wall querymodules.o -L.libs -lpangoxft-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -liconv -lpcre -lintl -lffi -lgmodule-2.0 -lgthread-2.0 -lm -lharfbuzz -lfreetype -lz -lgraphite2 -lfontconfig -lexpat -lpthread-stubs -lXft -lXrender -lX11 -lxcb -Wl,-rpath-link,/usr/local/lib,-rpath-link,/usr/X11R6/lib .libs/libglib-2.0.so.4000.0: warning: vsprintf() is often misused, please use vsnprintf() .libs/libglib-2.0.so.4000.0: warning: stpcpy() is dangerous GNU crap; don't use it .libs/libglib-2.0.so.4000.0: warning: strcpy() is almost always misused, please use strlcpy() .libs/libgobject-2.0.so.4000.0: warning: strcat() is almost always misused, please use strlcat() .libs/libglib-2.0.so.4000.0: warning: sprintf() is often misused, please use snprintf() .libs/libpangoft2-1.0.so.3600.0: undefined reference to `hb_ot_layout_language_get_required_feature' collect2: ld returned 1 exit status Error while executing cc -o .libs/pango-querymodules -pthread -O2 -pipe -Wall querymodules.o -L.libs -lpangoxft-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -liconv -lpcre -lintl -lffi -lgmodule-2.0 -lgthread-2.0 -lm -lharfbuzz -lfreetype -lz -lgraphite2 -lfontconfig -lexpat -lpthread-stubs -lXft -lXrender -lX11 -lxcb -Wl,-rpath-link,/usr/local/lib,-rpath-link,/usr/X11R6/lib Makefile:1284: recipe for target 'pango-querymodules' failed harfbuzz-0.9.29 is installed.
Exactly the same here (me too using harfbuzz-0.9.29)
known issue; harfbuzz master is required to build Pango 1.36.4 because of an API break, but the current version of harfbuzz in Git is 0.9.29. there will be a new release of harfbuzz soon, possibly with the old API added back. see, for reference: https://mail.gnome.org/archives/release-team/2014-June/msg00014.html
I've now: 1. Added back the old API to HarfBuzz, 2. Reverted Pango in git to continue using the old API, We need a new pango release, and no new harfbuzz release is needed. Reopening.
Fixed in 1.36.5. commit 41b2e15167bf3a6ef2d682ccaf8530a4ba44f061 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jun 24 13:29:00 2014 -0400 1.36.5 NEWS | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) --- diff --git a/NEWS b/NEWS index ab3eac9..d590ec3 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +Overview of changes between 1.36.4 and 1.36.5 +============================================= +- Lower the harfbuzz requirement