Bug#959792: libmozjs-68-0 is confused about the soname

Helmut Grohne helmut at subdivi.de
Tue May 5 10:54:39 BST 2020


Package: libmozjs-68-0
Version: 68.7.0-1
User: debian-cross at lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:libproxy

I noticed that libproxy fails to cross build from source. Ultimately the
failure is:

dpkg-shlibdeps: error: cannot find library libmozjs-68.so.0 needed by debian/libproxy1-plugin-mozjs/usr/lib/powerpc64le-linux-gnu/libproxy/0.4.15/modules/pacrunner_mozjs.so (ELF format: 'elf64-powerpcle' abi: '0201001500000002'; RPATH: '')

So libproxy links -lmozjs-68. While building libmozjs-68-0, the soname
is selected as -Wl,-soname,libmozjs-68.so.0. However the binary package
contains libmozjs-68.so.68.7.0 and a symlink libmozjs-68.so.68. So the
file layout does not match the soname. However the soname matches the
package name.

This is messed up. What is the correct soname here?

Helmut



More information about the pkg-gnome-maintainers mailing list