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 309281 - gucharmap build breaks on Solaris with pkg-config >= 0.17.1
gucharmap build breaks on Solaris with pkg-config >= 0.17.1
Status: RESOLVED FIXED
Product: gucharmap
Classification: Core
Component: general
1.4.x
Other All
: Normal normal
: ---
Assigned To: Noah Levitt
Noah Levitt
Depends on:
Blocks:
 
 
Reported: 2005-07-01 14:59 UTC by Matt Keenan (IRC:MattMan)
Modified: 2006-01-21 18:57 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Patch to add needed libraries (3.42 KB, patch)
2005-07-01 15:00 UTC, Matt Keenan (IRC:MattMan)
committed Details | Review

Description Matt Keenan (IRC:MattMan) 2005-07-01 14:59:54 UTC
Please describe the problem:
Recent version of pkg-config no longer include all dependent libraries
when printing --libs.  (See
http://www.advogato.org/person/jamesh/diary.html?start=192
for details.)  On Solaris, binaries that directly use APIs from library L
now need to link to L explicitely, even if they link to another library M
that links to L.

Fails to build with unresolved references

Steps to reproduce:
1. On Solaris, install pkgbuild-0.17.2
2. Try building libgnomeui-2.10.0


Actual results:
The build breaks with unresolved symbols

Expected results:
Built to succeed :)

Does this happen every time?
Yes

Other information:
Comment 1 Matt Keenan (IRC:MattMan) 2005-07-01 15:00:32 UTC
Created attachment 48504 [details] [review]
Patch to add needed libraries
Comment 2 Matt Keenan (IRC:MattMan) 2005-07-01 15:07:34 UTC
Steps to reproduce should say :

1. On Solaris, install pkgbuild-0.17.2
2. Try building *gucharmap-1.4.3*


Comment 3 Behdad Esfahbod 2006-01-21 18:57:03 UTC
The patch is not correct.  The Pango part is correct and I'm applied after some tweaking, but adding gdk-x11-2.0 is wrong.  That is included as part of the gtk+-2.0 dependency.

2006-01-21  Behdad Esfahbod  <behdad@gnome.org>

        * configure.ac, gucharmap/Makefile.am: Add PANGO_CFLAGS and PANGO_LIBS
        explicitly. (bug #309281)