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 528483 - jhbuild link failure
jhbuild link failure
Status: RESOLVED NOTGNOME
Product: gnome-session
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-16 21:16 UTC by Colin Walters
Modified: 2008-05-25 20:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix link line ordering for jhbuild (834 bytes, patch)
2008-04-16 21:16 UTC, Colin Walters
none Details | Review

Description Colin Walters 2008-04-16 21:16:19 UTC
Hi, this patch fixes jhbuild for me.  Basically jhbuild isn't building the X libraries, so the pkg-config files for them have -L/usr/lib.  Now the jhbuilt gnome stack follows later on the link line with -L/src/build/jhbuild/lib.

This change makes the GNOME_SESSION_LIBS override the X_LIBS.  Should not change non-jhbuild targets.
Comment 1 Colin Walters 2008-04-16 21:16:42 UTC
Created attachment 109389 [details] [review]
fix link line ordering for jhbuild
Comment 2 Dan Winship 2008-05-20 14:43:00 UTC
(In reply to comment #0)
> Hi, this patch fixes jhbuild for me.  Basically jhbuild isn't building the X
> libraries, so the pkg-config files for them have -L/usr/lib.

1) pkg-config automatically strips "-L/usr/lib" from its output, because it's cool like that.

2) X_LIBS isn't generated from pkg-config anyway, it's generated from AC_PATH_XTRA, which also goes out of its way to avoid outputting "-L/usr/lib".

So I'm not sure how you're getting "-L/usr/lib" in $X_LIBS...
Comment 3 Lucas Rocha 2008-05-25 19:37:33 UTC
Colin, ping?
Comment 4 Colin Walters 2008-05-25 20:19:24 UTC
This may be a multilib-only issue.  Looking at the pkg-config source, it detects whether the system is lib64, if it is then it strips out /usr/lib64 ONLY, whereas it should really strip out /usr/lib AND /usr/lib64.

I'll refile this against pkg-config.