Bug#927731: epiphany-browser/i386: private libdazzle not loaded

Carlos Alberto Lopez Perez clopez at igalia.com
Wed Aug 28 11:49:24 BST 2019


On 28/08/2019 11:44, Simon McVittie wrote:
> On Wed, 28 Aug 2019 at 08:29:20 +0100, Simon McVittie wrote:
>> I'm not sure why the RPATH/RUNPATH isn't being set, because ephymain
>> and ephywebprocessextension both have "install_rpath: pkglibdir" in
>> their respective meson.build files, but for some reason only the one
>> for ephymain seems to "stick"?
> 
> ephywebprocessextension does seem to get a correct RUNPATH, so it
> isn't that.
> 
> The only binary that links to libdazzle but doesn't have a RUNPATH seems
> to be libephymisc.so (libephysync.so also doesn't have a RUNPATH, but
> it doesn't link directly to libdazzle either). I wonder whether one of
> those could be the problem? If you can reproduce this but you can't tell
> me how I can, please try an epiphany-browser built with this patch:
> 

To reproduce it, first remove the Debian package libdazzle-1.0-0 if
you have it installed

And then you can use any of this two options
1) Checking that the ugly warning about missing libdazzle doesn't appear when
starting epiphany from a shell 
2) Try to use Epiphany password manager to log into a previous site with saved
credentials (like bugzilla). If epiphany is able to automatically fill the saved
password then its working.


I tested the first patch (the one quoted below) and it fixed the issue for me.

> =====
> diff --git a/lib/meson.build b/lib/meson.build
> index be5af33ef..0eb47570e 100644
> --- a/lib/meson.build
> +++ b/lib/meson.build
> @@ -87,7 +87,8 @@ libephymisc = shared_library('ephymisc',
>    dependencies: libephymisc_deps,
>    include_directories: libephymisc_includes,
>    install: true,
> -  install_dir: pkglibdir
> +  install_dir: pkglibdir,
> +  install_rpath: pkglibdir
>  )
>  
>  ephymisc_dep = declare_dependency(
> =====
> 


After the above patch it seems to be working as expected (without having to install
Debian package libdazzle-1.0-0) and I can see how now it links with the right
library.

$ ldd /usr/lib/x86_64-linux-gnu/epiphany-browser/web-extensions/libephywebextension.so|grep -i dazz
	libdazzle-1.0.so.0 => /usr/lib/x86_64-linux-gnu/epiphany-browser/libdazzle-1.0.so.0 (0x00007fd0f99d4000)



Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20190828/cc2d85e4/attachment.sig>


More information about the pkg-gnome-maintainers mailing list