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 794570 - pango.pc missing fribidi dependency
pango.pc missing fribidi dependency
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
1.42.x
Other Mac OS
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2018-03-21 16:33 UTC by Jeroen Ooms
Modified: 2018-05-22 13:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeroen Ooms 2018-03-21 16:33:03 UTC
Pango does not include the new fribidi dependency in the pango.pc

  pkg-config --libs-only-l --static pango
    -lpango-1.0 -lm -lgobject-2.0 -lffi -lglib-2.0 -lintl -lpcre -lintl -liconv -lpcre

Therefore static linking fails:

  dlopen(/Users/travis/build/r-hub/homebrew-cran/_AUTOBREW_BUILD/rsvg/libs/rsvg.so, 6): 
    Symbol not found: _fribidi_get_bidi_type

I think the pango.pc file should contain -lfribidi in the Libs.private or Requires.private field if pango was configured with fribidi.
Comment 1 Khaled Hosny 2018-03-26 10:02:32 UTC
Fixed in master, thanks!
Comment 2 kloczek 2018-04-10 23:38:40 UTC
This issue has been incorrectly fixed.
bug 795115

As it is static linking fribidi should be listed not in Requires but in Requires.private, and on building the project.
Comment 3 Jeremy Bicha 2018-04-25 16:41:09 UTC
Khaled, please consider whether Requires.private is a better place for fribidi.
Comment 4 Khaled Hosny 2018-04-25 19:59:33 UTC
I reverted my commit, someone who knows pkg-config better should fix the original issue.
Comment 5 kloczek 2018-04-26 08:59:05 UTC
IMO problem generally is a bit deeper.
If by source code configuration options some package does not provides static libraries in .pc files lines with Requires.private should be not present/commented.
Comment 6 GNOME Infrastructure Team 2018-05-22 13:30:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/301.