Bug 1221211

Summary: /usr/lib64/libserf-1.so.1: undefined reference to `ERR_GET_FUNC'
Product: [openSUSE] openSUSE Distribution Reporter: Manfred Hollstein <manfred.h>
Component: BasesystemAssignee: Danilo Spinella <danilo.spinella>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: Andreas.Stieger, danilo.spinella, mlin, pgajdos
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: https://bugzilla.opensuse.org/show_bug.cgi?id=1222854
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1222938    

Description Manfred Hollstein 2024-03-10 14:15:22 UTC
Package libserf BuildRequires libopenssl-devel, but libopenssl-devel-3.* in Leap 15.6 no longer provides the symbol `ERR_GET_FUNC'.

We either need an updated version of libserf, or libopenssl-devel < 3!
Comment 1 Andreas Stieger 2024-03-10 16:45:14 UTC
SLE package, assigning to SLE maintainer.

Already in Tumbleweed via https://build.opensuse.org/request/show/1079418

>  remove superfluous build dependencies
> [...]
>  %package -n libserf-devel
> [...]
> -Requires:       libopenssl-devel
Comment 2 Danilo Spinella 2024-03-25 16:17:50 UTC
Hello Andreas, I have read through the revision that you sent, but I can't understand/find the fix for this bug. Can you please help me out?
Comment 3 Andreas Stieger 2024-03-25 16:52:19 UTC
Remove that line, and let pkgconfig auto-generate the dependencies.

This is how it should look:

rpm -q --requires -p [...]
pkgconfig(libcrypto)
pkgconfig(libssl)
Comment 5 Danilo Spinella 2024-03-29 09:54:31 UTC
The submission to SLE has been fixed, closing.
Comment 6 Manfred Hollstein 2024-03-29 11:13:30 UTC
(In reply to Danilo Spinella from comment #5)
> The submission to SLE has been fixed, closing.

Can you please share a link to that fix? At the moment I cannot find a fixed version for Leap 15.6 anywhere!
Comment 7 Manfred Hollstein 2024-04-03 15:48:03 UTC
(In reply to Manfred Hollstein from comment #6)
> (In reply to Danilo Spinella from comment #5)
> > The submission to SLE has been fixed, closing.
> 
> Can you please share a link to that fix? At the moment I cannot find a fixed
> version for Leap 15.6 anywhere!

Ping! Can you please share where the package ends up? My package still does not build:

  https://build.opensuse.org/package/show/home:manfred-h:X11:xfce/thunar-plugin-vcs
Comment 8 Danilo Spinella 2024-04-05 08:30:45 UTC
(In reply to Manfred Hollstein from comment #7)
> Ping! Can you please share where the package ends up? My package still does
> not build:
> 
>  
> https://build.opensuse.org/package/show/home:manfred-h:X11:xfce/thunar-
> plugin-vcs

Hello Manfred, sorry for the delay.

The submission removing the usage of ERR_GET_FUNC has been accepted in SLE and it is currently being handled by maintenance. It will get one or two weeks from now to get it shipped to Leap, unfortunately.
Comment 9 Max Lin 2024-04-17 08:49:04 UTC
Hello Danilo, libserf has fork in SUSE:SLE-15-SP6:GA, a maint update would not replace it, the same change Andreas pointed out needs submit to SUSE:SLE-15-SP6:GA as well.
Comment 10 Manfred Hollstein 2024-04-20 14:07:15 UTC
(In reply to Max Lin from comment #9)
> Hello Danilo, libserf has fork in SUSE:SLE-15-SP6:GA, a maint update would
> not replace it, the same change Andreas pointed out needs submit to
> SUSE:SLE-15-SP6:GA as well.

Danilo, Max, what's the status of this issue? If the fixed libserf must go into GA media, I guess, it's time to move...
Comment 11 Manfred Hollstein 2024-04-20 14:08:27 UTC
FWIW, my package still fails to build for Leap 15.6!
Comment 12 Maintenance Automation 2024-04-23 12:30:24 UTC
SUSE-RU-2024:1393-1: An update that has one fix can now be installed.

Category: recommended (moderate)
Bug References: 1221211
Maintenance Incident: [SUSE:Maintenance:33160](https://smelt.suse.de/incident/33160/)
Sources used:
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Manager Proxy 4.3 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Manager Retail Branch Server 4.3 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Manager Server 4.3 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Enterprise Storage 7.1 (src):
 libserf-1.3.9-150000.4.3.2
openSUSE Leap 15.5 (src):
 libserf-1.3.9-150000.4.3.2
Basesystem Module 15-SP5 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src):
 libserf-1.3.9-150000.4.3.2
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src):
 libserf-1.3.9-150000.4.3.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Danilo Spinella 2024-04-30 14:08:15 UTC
(In reply to Manfred Hollstein from comment #10)
> (In reply to Max Lin from comment #9)
> > Hello Danilo, libserf has fork in SUSE:SLE-15-SP6:GA, a maint update would
> > not replace it, the same change Andreas pointed out needs submit to
> > SUSE:SLE-15-SP6:GA as well.
> 
> Danilo, Max, what's the status of this issue? If the fixed libserf must go
> into GA media, I guess, it's time to move...

Hello Manfred, I'll take a look at this as soon as possible, I need to check if we are in time to submit to 15-SP6:GA.
Comment 14 Petr Gajdos 2024-06-04 18:52:47 UTC
Submitted for 15sp6
https://build.suse.de/request/show/333070
Comment 15 Petr Gajdos 2024-06-04 18:55:38 UTC
(the build of home:manfred-h:X11:xfce/thunar-plugin-vcs with this was successful for 15.6)
Comment 16 Manfred Hollstein 2024-06-04 19:20:56 UTC
(In reply to Petr Gajdos from comment #15)
> (the build of home:manfred-h:X11:xfce/thunar-plugin-vcs with this was
> successful for 15.6)

Nope, it wasn't:

  https://build.opensuse.org/package/live_build_log/home:manfred-h:X11:xfce/thunar-plugin-vcs/15.6/x86_64
Comment 17 Petr Gajdos 2024-06-06 07:20:24 UTC
(In reply to Manfred Hollstein from comment #16)
> (In reply to Petr Gajdos from comment #15)
> > (the build of home:manfred-h:X11:xfce/thunar-plugin-vcs with this was
> > successful for 15.6)
> 
> Nope, it wasn't:
> 
>  
> https://build.opensuse.org/package/live_build_log/home:manfred-h:X11:xfce/
> thunar-plugin-vcs/15.6/x86_64

Sorry. I meant local build of course with --prefer-pkgs. The maintenance update has to be released first to see that in SLE-15-SP6/15.6 repo. Given it is a SLE package, it will go trough usual SLE MU process.

If you want to see the results immediately, you can eventually link SUSE:SLE-15:Update/libserf into your project, it has same sources.

$ osc cat SUSE:SLE-15:Update libserf libserf.changes | head
-------------------------------------------------------------------
Thu Mar 28 14:27:03 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>

- Fix build with openSSL 3 by removing usage of ERR_GET_FUNC, bsc#1221211
  * fix-openssl3.patch

-------------------------------------------------------------------
Wed Nov  8 17:52:52 UTC 2017 - astieger@suse.com

- Add libserf-python3.patch and libserf-python3-2.patch to fix
$

As soon as the update is prepared for 15.6, you will see SUSE:SLE-15-SP6:Update/libserf (currently does not exist) with this change in there.

Hope this helps
Comment 18 Maintenance Automation 2024-06-10 08:30:01 UTC
SUSE-RU-2024:1959-1: An update that has one fix can now be installed.

Category: recommended (moderate)
Bug References: 1221211
Maintenance Incident: [SUSE:Maintenance:34148](https://smelt.suse.de/incident/34148/)
Sources used:
openSUSE Leap 15.6 (src):
 libserf-1.3.9-150600.18.3.2
Basesystem Module 15-SP6 (src):
 libserf-1.3.9-150600.18.3.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 19 Petr Gajdos 2024-06-10 09:24:25 UTC
(In reply to Maintenance Automation from comment #18)
> openSUSE Leap 15.6 (src):
>  libserf-1.3.9-150600.18.3.2
> Basesystem Module 15-SP6 (src):
>  libserf-1.3.9-150600.18.3.2

The build with this libserf build version number or higher should succeed, however mine doesn't, still pick it:

$ osc rbl home:pgajdos/thunar-plugin-vcs 15.6 x86_64 | grep libserf
[    9s] [349/415] cumulate libserf-1-1-1.3.9-150600.16.2
[    9s] [378/415] cumulate libserf-devel-1.3.9-150600.16.2
[   15s] libserf-1-1-1.3.9-150600.16.2         ########################################
[   19s] libserf-devel-1.3.9-150600.16.2       ########################################
[   39s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/libserf-1.so.1: undefined reference to `ERR_GET_FUNC'
$

So let's wait a bit
Comment 20 Andreas Stieger 2024-06-10 12:40:42 UTC
This fixed devel:tools:scm:svn/subversion 15.6 which builds against openSUSE:Leap:15.6:Update and libserf-devel-1.3.9-150600.18.3.2
Comment 21 Maintenance Automation 2024-06-21 16:30:40 UTC
SUSE-RU-2024:2155-1: An update that has three fixes can now be installed.

Category: recommended (moderate)
Bug References: 1221211, 1222854, 1224089
Maintenance Incident: [SUSE:Maintenance:34282](https://smelt.suse.de/incident/34282/)
Sources used:
openSUSE Leap 15.6 (src):
 libserf-1.3.10-150600.18.8.2
Basesystem Module 15-SP6 (src):
 libserf-1.3.10-150600.18.8.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.