Bug#1033607: [Pkg-sogo-maintainers] Bug#1033607: sogo: /usr/bin/sogo linked against wrong version of libgnustep-base

2023-04-02 Thread Phil Gruber

Thanks Jeroen,

I've looped through all the libraries used by `sogod` and it seems like 
`libsope1` is the culprit. A lot of libraries in that package are linked 
to libgnustep-base.so.1.24, despite the package requiring 1.27:



$ objdump -p /usr/local/lib/libSaxObjC.so.4.9 |grep NEEDED
  NEEDED   libgnustep-base.so.1.24

> [...]

same result for these files:

> /usr/local/lib/libWEExtensions.so.4.9
> /usr/local/lib/libNGStreams.so
> /usr/local/lib/libNGObjWeb.so

and a few more.

I've tried rebuilding the package from source, but no difference.


On 01/04/2023 21.19, Jeroen Dekkers wrote:

Hi Phil,

On Sat, 01 Apr 2023 02:41:05 +0200,
Phil Gruber wrote:


Thanks for getting back to me.

Here's what this looks like for me:


$ /usr/sbin/sogod
/usr/sbin/sogod: error while loading shared libraries: libgnustep-base.so.1.24: 
cannot open shared object file: No such file or directory
$ ldd -r /usr/sbin/sogod | grep gnustep
 libgnustep-base.so.1.27 => /usr/lib/libgnustep-base.so.1.27 
(0x7f6c6428f000)
 libgnustep-base.so.1.24 => not found
 libgnustep-base.so.1.24 => not found
 libgnustep-base.so.1.24 => not found
 libgnustep-base.so.1.24 => not found
 libgnustep-base.so.1.24 => not found
 libgnustep-base.so.1.24 => not found
 libgnustep-base.so.1.24 => not found
 libgnustep-base.so.1.24 => not found
 libgnustep-base.so.1.24 => not found


I just removed and re-installed the sogo package, but it didn't make a
difference.


Can you use objdump to figure out which files have the dependency on
libgnustep-base.so.1.24?

objdump -p /usr/sbin/sogod | grep NEEDED

If that doesn't list libgnustep-base.so.1.24 then try libSOGo.so.5 and all the
other libraries listed by ldd.

Kind regards,

Jeroen Dekkers




Bug#1033607: sogo: /usr/bin/sogo linked against wrong version of libgnustep-base

2023-03-31 Thread Phil Gruber

Thanks for getting back to me.

Here's what this looks like for me:


$ /usr/sbin/sogod
/usr/sbin/sogod: error while loading shared libraries: libgnustep-base.so.1.24: 
cannot open shared object file: No such file or directory
$ ldd -r /usr/sbin/sogod | grep gnustep
libgnustep-base.so.1.27 => /usr/lib/libgnustep-base.so.1.27 
(0x7f6c6428f000)
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found


I just removed and re-installed the sogo package, but it didn't make a 
difference.


On 01/04/2023 03.27, Sebastian Ramacher wrote:

Control: tags -1 moreinfo

On 2023-03-28 14:45:24 +0200, Philipp Gruber wrote:

Package: sogo
Version: 5.0.1-4+deb11u1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

The binary of /usr/sbin/sogod contained in bullseye is linked to
libgnustep-base.so.1.24.


Are you sure?

$ ldd -r /usr/sbin/sogod | grep gnustep-base
 libgnustep-base.so.1.27 => /usr/lib/libgnustep-base.so.1.27 
(0x7f3b59898000)

Cheers


However, the package depends on libgnustep-base.so.1.27,
which is the current version of bullseye.

Downgrading is not possible due to dependencies. I assume re-building
the binary with correct dependencies will fix this.

Kind regards,
Phil


-- System Information:
Debian Release: 11.6
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-20-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8), LANGUAGE=en_GB.UTF-8
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sogo depends on:
ii  adduser   3.118
ii  gnustep-base-runtime  1.27.0-3
ii  init-system-helpers   1.60
ii  libc6 2.31-13+deb11u5
ii  libcrypt1 1:4.4.18-4
ii  libcurl4  7.74.0-1.3+deb11u3
ii  libgcc-s1 10.2.1-6
ii  libglib2.0-0  2.66.8-1
ii  libgnustep-base1.27   1.27.0-3
ii  liblasso3 2.6.1-3
ii  libmemcached111.0.18-4.2
ii  liboath0  2.6.6-3
ii  libobjc4  10.2.1-6
ii  libsbjson2.3  2.3.2-4+b2
ii  libsodium23   1.0.18-1
ii  libsope1  5.0.1-2
ii  libssl1.1 1.1.1n-0+deb11u3
ii  libzip4   1.7.3-1
ii  lsb-base  11.1.0
ii  memcached 1.6.9+dfsg-1
ii  sogo-common   5.0.1-4+deb11u1
ii  systemd   247.3-7+deb11u1
ii  zip   3.0-12

sogo recommends no packages.

Versions of packages sogo suggests:
ii  default-mysql-server1.0.7
ii  mariadb-server-10.5 [virtual-mysql-server]  1:10.5.18-0+deb11u1

-- Configuration Files:
/etc/sogo/sogo.conf [Errno 13] Permission denied: '/etc/sogo/sogo.conf'

-- no debconf information