#17 Re-build needs also python3-ldb
Closed 2 years ago by asn. Opened 3 years ago by rebus.
rpms/ rebus/samba rawhide  into  rawhide

file modified
+5 -1
@@ -108,7 +108,7 @@ 

  

  %define samba_requires_eq()  %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")

  

- %global main_release 2

+ %global main_release 3

  

  %global samba_version 4.14.2

  %global talloc_version 2.3.2
@@ -311,6 +311,7 @@ 

  BuildRequires: python3-tdb >= %{tdb_version}

  

  BuildRequires: libldb-devel >= %{ldb_version}

+ BuildRequires: python3-ldb >= %{ldb_version}

  BuildRequires: python3-ldb-devel >= %{ldb_version}

  %else

  BuildRequires: lmdb-devel
@@ -3840,6 +3841,9 @@ 

  %endif

  

  %changelog

+ * Sun Apr 18 2021 Michal Ambroz <rebus _AT seznam.cz> - 4.14.2-3

+ - adding python3-ldb to BR

+ 

  * Wed Apr 14 2021 Richard W.M. Jones <rjones@redhat.com> - 2:4.14.2-2

  - Rebuild for updated liburing.

  

Hello,
trying to rebuild the samba package I have found that also the python3-ldb is needed, not only python3-ldb-devel.

Here the attempt from COPR:
https://download.copr.fedorainfracloud.org/results/rebus/infosec-rebus/epel-8-x86_64/02138572-samba/build.log.gz

Error:
Checking for python version >= 3.6.0 : 3.6.8
python headers : using cache
Checking for system pyldb-util.cpython-36m-x86_64-linux-gnu (>=2.2.1 <=2.2.999) : not found
ERROR: Use of system library ldb depends on missing system library/libraries ['pyldb-util.cpython-36m-x86_64-linux-gnu']
error: Bad exit status from /var/tmp/rpm-tmp.1yDMDa (%build)
Bad exit status from /var/tmp/rpm-tmp.1yDMDa (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error()]

I'm sorry but I missed this PR as I didn't get mails about it. Could you please rebase on the latest main branch?

Looks like this has already been addressed.

Pull-Request has been closed by asn

2 years ago
Metadata