After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732122 - pango 1.36.4 does not build: undefined reference to `hb_ot_layout_language_get_required_feature'
pango 1.36.4 does not build: undefined reference to `hb_ot_layout_language_ge...
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.36.x
Other OpenBSD
: Normal major
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2014-06-23 18:36 UTC by Antoine Jacoutot
Modified: 2014-06-24 20:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Antoine Jacoutot 2014-06-23 18:36:07 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.
Comment 1 gabriele balducci 2014-06-24 06:54:44 UTC
Exactly the same here (me too using harfbuzz-0.9.29)
Comment 2 Emmanuele Bassi (:ebassi) 2014-06-24 11:34:11 UTC
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
Comment 3 Behdad Esfahbod 2014-06-24 16:28:49 UTC
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.
Comment 4 Behdad Esfahbod 2014-06-24 20:40:04 UTC
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