View Issue Details

IDProjectCategoryView StatusLast Update
0005790SOGoPackaging (RedHat)public2023-06-20 09:45
Reportermirceax Assigned Tosebastien  
PriorityhighSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSCentosOS Version8
Product Version5.8.3 
Fixed in Version5.8.4 
Summary0005790: Unable to start SOGo - sope49-sbjson cannot be loaded
Description

Sogo server can't start after 20230613 update.

sope49-sbjson cannot be loaded because it requires libgnustep-base.so.1.28, while everything else relies on the libgnustep-base.so.1.24.9, which is provided in the repository.

TagsNo tags attached.

Activities

swallowtail

swallowtail

2023-06-15 10:25

reporter   ~0017032

Yep, same issue - but caught before upgrade with dnf issue, see email sent to users mailing list

qhivert

qhivert

2023-06-15 12:24

administrator   ~0017033

Hello,
Thanks to warn us we'll look into that.

qhivert

qhivert

2023-06-15 12:34

administrator   ~0017034

Can you share your installation process please ?

mirceax

mirceax

2023-06-15 13:15

reporter   ~0017035

Originally, installed on Centos as per
https://docs.iredmail.org/sogo-centos-6-mysql.html

At some point in time, upgraded as per
https://docs.iredmail.org/upgrade.sogo.4.to.5.html

Since then, regular updates with 'yum update'

mirceax

mirceax

2023-06-15 13:28

reporter   ~0017036

Ok, I think I more details will help on the update process:
yum couldn't update the sope49-sbjson package, because the dependency on libgnustep-base.so.1.28 couldn't be met. So SOGo would crash beacuse sope49-sbjson has an old version.
I tried also to install the package manually (rpm -i sope49-sbjson --nodeps) which worked. Now it crashes when it tries to start

-- Unit sogod.service has begun starting up.
Jun 15 16:25:10 sogod[95920]: /usr/sbin/sogod: error while loading shared libraries: libgnustep-base.so.1.28: cannot open shared object file: No such file or directory
Jun 15 16:25:10 systemd[1]: sogod.service: Control process exited, code=exited status=127
Jun 15 16:25:10 systemd[1]: sogod.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support

mirceax

mirceax

2023-06-15 13:39

reporter   ~0017037

If I run

rpmrebuild -enp sope49-sbjson-2.3.1-20230613_1664.el9.2.1.x86_64.rpm

it shows indeed a reference to libgnustep-base.so.1.28:

rpmrebuild autogenerated specfile

BuildRoot: /root/.tmp/rpmrebuild.97542/work/root
AutoProv: no
%undefine __find_provides
AutoReq: no
%undefine __find_requires

Do not try autogenerate prereq/conflicts/obsoletes and check files

%undefine check_files
%undefine __find_prereq
%undefine
find_conflicts
%undefine __find_obsoletes

Be sure buildpolicy set to do nothing

%define __spec_install_post %{nil}

Something that need for rpm-4.1

%define _missing_doc_files_terminate_build 0
#dummy
#dummy
#BUILDHOST: e24846c1b3e5
#BUILDTIME: Tue Jun 13 21:52:53 2023
#SOURCERPM: sope49-4.9-20230613_1664.el9.2.1.src.rpm

#RPMVERSION: 4.16.1.3
#COOKIE: e24846c1b3e5 1686682373

#OS: linux
#SIZE: 64090
#ARCHIVESIZE: 64940
#ARCH: x86_64
BuildArch: x86_64
Name: sope49-sbjson
Version: 2.3.1
Release: 20230613_1664.el9.2.1
License: GPL
Group: Development/Libraries/Objective C
Summary: JSON framework

URL: https://github.com/inverse-inc/sope
Vendor: http://www.opengroupware.org
Packager: Inverse inc. <info@inverse.ca>

Prefix: /usr
Provides: libSBJson.so.2()(64bit)
Provides: sope49-sbjson = 2.3.1-20230613_1664.el9.2.1
Provides: sope49-sbjson(x86-64) = 2.3.1-20230613_1664.el9.2.1
Requires: libc.so.6()(64bit)
Requires: libc.so.6(GLIBC_2.2.5)(64bit)
Requires: libc.so.6(GLIBC_2.3)(64bit)
Requires: libc.so.6(GLIBC_2.4)(64bit)
Requires: libgnustep-base.so.1.28()(64bit)
Requires: libobjc.so.4()(64bit)
#Requires: rpmlib(CompressedFileNames) <= 3.0.4-1
#Requires: rpmlib(FileDigests) <= 4.6.0-1
#Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
#Requires: rpmlib(PayloadIsZstd) <= 5.4.18-1
Requires: rtld(GNU_HASH)

%description
The SBJson library is a high performance JSON library in Objective-C.

Project homepage is: http://code.google.com/p/json-framework/
%files
%dir %attr(0755, root, root) "/usr/lib/.build-id"
%dir %attr(0755, root, root) "/usr/lib/.build-id/3c"
%attr(0777, root, root) "/usr/lib/.build-id/3c/97c82abcdbc70ca81ca6ffa405c5a44ce69b5a"
%attr(0777, root, root) "/usr/lib64/libSBJson.so.2"
%attr(0755, root, root) "/usr/lib64/libSBJson.so.2.3.1"

%changelog

  • Thu Aug 02 2012 Jean Raby <jraby@inverse.ca>

  • Deduce the oracle lib path from the build arch

  • Mon Dec 05 2011 Jean Raby <jraby@inverse.ca>

  • updated for oracle-instantclient11.2

  • Fri Oct 14 2011 Wolfgang Sourdeau <wsourdeau@inverse.ca>

  • adapted to gnustep 1.23 packages, which now uses FHS nomenclature

qhivert

qhivert

2023-06-15 13:44

administrator   ~0017038

Ok I may have a lead, we recently try to build sogo for centos 9 and it seems that some packages build for it are found in the repo for centos-8, typically sope49-sbjson. So what you are downloading have dependency not available for centos 8. I'll continue to investigate...

sebastien

sebastien

2023-06-19 07:21

administrator   ~0017052

Hi all, this should be fixed. Sorry for the inconvenience.

Sebastien

mirceax

mirceax

2023-06-19 07:37

reporter   ~0017053

It works now :-)

Merci, Sebastien!

Issue History

Date Modified Username Field Change
2023-06-15 08:41 mirceax New Issue
2023-06-15 10:25 swallowtail Note Added: 0017032
2023-06-15 12:24 qhivert Assigned To => qhivert
2023-06-15 12:24 qhivert Status new => acknowledged
2023-06-15 12:24 qhivert Note Added: 0017033
2023-06-15 12:34 qhivert Note Added: 0017034
2023-06-15 13:15 mirceax Note Added: 0017035
2023-06-15 13:28 mirceax Note Added: 0017036
2023-06-15 13:39 mirceax Note Added: 0017037
2023-06-15 13:44 qhivert Note Added: 0017038
2023-06-19 07:21 sebastien Note Added: 0017052
2023-06-19 07:21 sebastien Status acknowledged => feedback
2023-06-19 07:37 mirceax Note Added: 0017053
2023-06-19 07:37 mirceax Status feedback => assigned
2023-06-19 09:44 sebastien Assigned To qhivert => sebastien
2023-06-19 09:44 sebastien Status assigned => resolved
2023-06-19 09:44 sebastien Resolution open => fixed
2023-06-20 09:45 sebastien Fixed in Version => 5.8.4