Bug 1825447

Summary: openchange: does not rebuild with samba-4.11.2-7.el8
Product: Red Hat Enterprise Linux 8 Reporter: Carl George 🤠 <carl>
Component: openchangeAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: mcrha, ngompa13, tpelka, vbenes
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openchange-2.3-25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:40:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carl George 🤠 2020-04-18 06:05:53 UTC
Description of problem:
Rebuilding openchange-2.3-24.el8 [0] with samba-4.11.2-7.el8 [1] fails.  I ran into this attempting to build these NVRs for CentOS Stream.  Digging into the issue, I found this error in the build log [2].

libmapiadmin.so.2.3: undefined reference to `arcfour_crypt_blob'

That function is in the upstream samba 4.11.2 source code [3].  However, it appears that samba-4.11.2-7.el8 patches out that code [4][5].


Version-Release number of selected component (if applicable):
openchange-2.3-24.el8
samba-4.11.2-7.el8


Additional info:
[0]: https://git.centos.org/rpms/openchange/c/94b7a1dca98584c704794846e366719d296b57e5?branch=c8s
[1]: https://git.centos.org/rpms/samba/c/b6b438351cef67652d9aed43112618d18092527e?branch=c8s
[2]: https://koji.mbox.centos.org/pkgs/work/tasks/2802/92802/build.log
[3]: https://gitlab.com/samba-team/samba/-/blob/samba-4.11.2/lib/crypto/arcfour.c#L72
[4]: https://git.centos.org/rpms/samba/blob/c8s/f/SOURCES/0057-lib-crypto-Remove-arcfour.h-from-crypto.h.patch
[5]: https://git.centos.org/rpms/samba/blob/c8s/f/SOURCES/0107-lib-crypto-Remove-unused-RC4-code-from-Samba.patch

Comment 1 Milan Crha 2020-04-20 07:14:18 UTC
Thanks for a bug report. This will need a backport of [1]. Samba developers keep forgetting of the OpenChange dependency, unfortunately.

[1] https://src.fedoraproject.org/rpms/openchange/c/447d5cac78a487593c4571efb487e352899e3d3a?branch=master

Comment 7 Carl George 🤠 2020-07-17 21:31:08 UTC
I was able to successfully build openchange-2.3-26.el8 [0] against samba-4.12.3-5.el8.3 [1].  Thanks!

[0]: https://git.centos.org/rpms/openchange/c/9b5a873b9b6016f7632f5828b1202cdc7d5899d6?branch=c8s
[1]: https://git.centos.org/rpms/samba/c/68ecf81dba2a6e264b634c702c53250e1e123a4f?branch=c8s

Comment 8 Tomas Pelka 2020-07-18 11:42:03 UTC
Sweet thanks, moving to verified based on c6.

Comment 11 errata-xmlrpc 2020-11-04 02:40:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: evolution security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4649