Bug 2090206

Summary: missing xapian-bindings from EPEL9
Product: [Fedora] Fedora EPEL Reporter: giunta
Component: xapian-bindingsAssignee: Denis Arnaud <denis.arnaud_fedora>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel9CC: adel.gadllah, bstinson, denis.arnaud_fedora, fhrdina, ibiam, jwboyer, pbrobinson, sebastian
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 giunta 2022-05-25 11:34:43 UTC
Description of problem:
On EPEL9, xapian-bindings package and relative python3, tcl and ruby libraries are missing

Version-Release number of selected component (if applicable):

xapian-bindings 1.4.18-5.el9

How reproducible:
Trying to install python3-xapian result in a missing package


Steps to Reproduce:
1. dnf install python3-xapian

Actual results:

Missing package

Expected results:

Finding xapian-bindings and relative python3, tcl and ruby libraries in EPEL9 repository like in EPEL8

Comment 1 Josh Boyer 2022-05-25 11:42:08 UTC
Moving to the Fedora EPEL product.

Comment 2 Denis Arnaud 2022-07-14 12:47:35 UTC
* EPEL9 branch request for Xapian bindings: https://pagure.io/releng/fedora-scm-requests/issue/45760

Comment 3 Denis Arnaud 2022-07-14 16:29:58 UTC
* Failing build: https://koji.fedoraproject.org/koji/taskinfo?taskID=89503780

I haven't has time to investigate. An error I can see:
 xapian_wrap.cc: In function 'PyObject* PyInit__xapian()':
 xapian_wrap.cc:57886:116: error: 'FLAG_NO_POSITIONS' is not a member of 'Xapian::QueryParser'
 57886 |   SWIG_Python_SetConstant(d, "QueryParser_FLAG_NO_POSITIONS",SWIG_From_int(static_cast< int >(Xapian::QueryParser::FLAG_NO_POSITIONS)));
       |                                                                                                                    ^~~~~~~~~~~~~~~~~
 make[3]: *** [Makefile:787: xapian_wrap.lo] Error 1
 make[2]: *** [Makefile:682: all] Error 2
 make[1]: *** [Makefile:521: all-recursive] Error 1
 make: *** [Makefile:443: all] Error 2
 error: Bad exit status from /var/tmp/rpm-tmp.pnzyzA (%build)

Do not hesitate to make a pull request (on https://src.fedoraproject.org/rpms/xapian-bindings)

Comment 4 Denis Arnaud 2022-07-14 17:58:05 UTC
Ok, it was an issue related to a mismatch of versions. It has been fixed by now.

The EPEL9 package is: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-b37508ab13

Send some karma if you want it to land quicker onto EPEL9.

Comment 5 giunta 2022-07-15 08:39:23 UTC
Hi,
last version of xapian-core on RHEL9 is 1.4.18-5.el9

2021-08-10 Mohan Boddu <mboddu> - 1.4.18-5

    - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
    Related: rhbz#1991688
2021-07-27 Pavel Zhukov <pzhukov> - 1.4.18-4

    - Bump NVR for el8->el9 upgrade path
2021-04-16 Mohan Boddu <mboddu> - 1.4.18-2

    - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
2021-03-07 Peter Robinson <pbrobinson> - 1.4.18-1

    - Update to 1.4.18
    - Spec file cleanups
...

xapian-bindings version is 1.4.18-1.el9 (1.4.18-1 vs 1.4.18-5). Could it be a problem ?

Thanks.

Comment 6 Denis Arnaud 2022-07-15 09:04:50 UTC
> xapian-bindings version is 1.4.18-1.el9 (1.4.18-1 vs 1.4.18-5). Could it be
> a problem ?

No, that last number is the Fedora/EPEL-related packaging release tag, it does not come from upstream (Xapian project). The Xapian version is actually 1.4.18, the same in both Xapian Core and Xapian bindings. It is all good.