Bug 6643 - Searches libXrender.la in the wrong place
Summary: Searches libXrender.la in the wrong place
Status: RESOLVED WORKSFORME
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-18 22:24 UTC by Jerome Warnier
Modified: 2006-05-19 15:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jerome Warnier 2006-04-18 22:24:36 UTC
Debian removed the .la files of the Xorg packages lately in Unstable.
I could then notice the following problem:
http://jhbuild.bxlug.be/builds/2006-04-18-0007/logs/poppler/#build

Relevant part:
/bin/sed: can't read /usr/lib/libXrender.la: No such file or directory
libtool: link: `/usr/lib/libXrender.la' is not a valid libtool archive
make[4]: *** [libpoppler-glib.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I'm using jhbuild to build it as a part (aka module) of gnome 2.16.
There are two installed versions of libXrender.la at that time: one system, in
/usr/lib, and one in the buildroot/lib. The latter should be used preferably.

Thanks for your help.
Comment 1 Jerome Warnier 2006-04-18 22:29:13 UTC
Oops, forgive me, there is no "system" libXrender.la, I was looking in the wrong
chroot. But still, it does not find it in the buildroot of jhbuild.

I read that .la files are evil (and that's why Debian decided to remove them
completely), so this may still be a bug in poppler, while it can maybe also be
interpreted as a bug in jhbuild or the moduleset.
Comment 2 Albert Astals Cid 2006-04-19 04:40:37 UTC
I'm not a buildsystem expert but i completely fail to see how that's a poppler 
problem.
Comment 3 Jerome Warnier 2006-04-20 02:12:26 UTC
It is a problem of the poppler build system (probably somewhere in configure)
when most other programs and libraries needing the same libraries no longer
require the .la files to build but poppler does.

I failed to find a clear explanation from «real» developers.
Comment 4 Albert Astals Cid 2006-04-20 04:18:23 UTC
WTF! I'm not now a real poppler developer? Nice i can stop coding! :-)
Comment 5 Albert Astals Cid 2006-04-20 04:23:30 UTC
Reassing to the glib bindings as it seems it's them who are pulling xrender.
Comment 6 ismail ( cartman ) donmez 2006-04-20 04:32:15 UTC
I had this bug in Ubuntu long ago, but its now fixed. FWIW I had the problem when 
building kdelibs hence the bug is in X.org packages and not poppler.
Comment 7 Jerome Warnier 2006-04-20 06:28:41 UTC
(In reply to comment #4)
> WTF! I'm not now a real poppler developer? Nice i can stop coding! :-)

Keep cool, relax. I was just being sarcastic with «real developers», which
sometimes break build systems of others to be more «real».
I had no reason to want to offend you.

Keep up the good work with Poppler, I'm a big Evince fan!
Comment 8 Kristian Høgsberg 2006-05-20 08:33:22 UTC
This is most likely a libtool problem - make sure you have deleted all .la files
and do a clean checkout and try autogen.sh from there.  Deleting .la is known to
screw up a checkout that's been ./configure'd while they were present. 
Tentatively closing bug, please reopen with more info if problem persist.  Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.