[issue2551277] xapian testing ubuntu 22.04 python 3.12beta + broken on github

John Rouillard <[email protected]> Thu, 25 May 2023 19:27:48 +0000
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from John Rouillard:

It looks like xapian testing on ubuntu 22.04 with python 3.12beta on github is broken.

Any xapian release before 1.4.20 is using distutils. Distutils has been removed between 3.12a2 
and 3.12b1. xapian 1.4.20 is the newest version that doesn't need distutils.

So building with an earlier xapian version (1.4.18) results in:

  configure: error: Couldn't import Python module distutils.sysconfig - you probably need to 
  install a python3-dev or python3-devel package

https://github.com/roundup-tracker/roundup/actions/runs/5081222441/jobs/9133604565

However 1.4.19 added a new option FLAG_NO_POSITIONS which is not supported in the 1.4.14
library installed on unbuntu 22.04. I can upgrade to 1.4.18 on ubuntu 22.04, but
that doesn't help. So building with anything newer than 1.4.19 results in:

  xapian_wrap.cc:65031:116: error: `FLAG_NO_POSITIONS' is not a member of
  `Xapian::QueryParser'

https://github.com/roundup-tracker/roundup/actions/runs/5083521793/jobs/9134631841

Disabling 3.12 python xapian testing for now.

----------
components: Infrastructure
messages: 7772
nosy: rouilj
severity: normal
status: new
title: xapian testing ubuntu 22.04 python 3.12beta + broken on github
type: compile error
versions: 2.3.0

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551277>
_________________________________________________