Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253138 - Overlay net-libs/xulrunner-1.9.1_beta2 Wrong path in mozilla-js.pc
Summary: Overlay net-libs/xulrunner-1.9.1_beta2 Wrong path in mozilla-js.pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 253063
  Show dependency tree
 
Reported: 2008-12-30 14:48 UTC by Maxim Britov
Modified: 2009-06-28 16:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Britov 2008-12-30 14:48:32 UTC
mozilla-js.pc
$ equery b /usr/lib64/pkgconfig/mozilla-js.pc 
net-libs/xulrunner-1.9.1_beta2 (/usr/lib64/pkgconfig/mozilla-js.pc)

It provides:
sdkdir=/usr/lib64/xulrunner-1.9
Libs: -L${sdkdir}/lib -lmozjs

But libmozjs.so installed in "/usr/lib64/xulrunner-1.9" without "/lib"
And: lib -> /usr/lib64/xulrunner-1.9/sdk/lib

$ equery l xulrunner
[I--] [ ~] net-libs/xulrunner-1.8.1.19 (1.8)
[I--] [ ~] net-libs/xulrunner-1.9.1_beta2 (1.9)

I can't compile icedtes6 with USE='nsplugin'
https://bugs.gentoo.org/show_bug.cgi?id=253063

Reproducible: Always
Comment 1 Maxim Britov 2009-02-05 07:39:49 UTC
I found it is ebuild issue, not xulrunner. Thanks to Legion
I don't know is it right but I have workaround. It work for me.
Just rebuild xulrunner and emerged icedtea6 with nsplugin.

Patch for 102-dont_install_so_in_dev.patch
- ln -s $(addprefix $(installdir)/,$(notdir $(wildcard $(DIST)/sdk/lib/*.so))) $(DESTDIR)$(sdkdir)/sdk/lib
+ ln -s $(addprefix $(installdir)/,$(notdir $(wildcard $(DIST)/sdk/lib/*.so))) $(sdkdir)/libmozjs.so $(DESTDIR)$(sdkdir)/sdk/lib
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-03-25 13:26:50 UTC
Seems fine again in beta3, as it provides /usr/lib64/xulrunner-1.9/lib/libmozjs.so (although just a symlink) so the path is fine. Vuze also works now again without LD_PRELOAD hacks thanks to that.
Comment 3 Jory A. Pratt gentoo-dev 2009-05-31 13:27:26 UTC
if this is a still an issue in beta4 let me know so I can chase it down and get it fixed.
Comment 4 Jory A. Pratt gentoo-dev 2009-06-28 15:58:34 UTC
This should be fixed compltelely in the latest rc code.
Comment 5 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-06-28 16:09:20 UTC
Bug was fixed thanks to gentoobugsie, thanks everyone.