Roundup Tracker - Issues

Issue 2551277

xapian testing ubuntu 22.04 python 3.12beta + broken on github
Type: compile error Severity: normal
Components: Test, Infrastructure Versions: 2.3.0
Status: fixed fixed
: rouilj : rouilj
Priority: : python3

Created on 2023-05-25 19:27 by rouilj, last changed 2023-09-27 00:26 by rouilj.

msg7772 Author: [hidden] (rouilj) Date: 2023-05-25 19:27
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

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: error: `FLAG_NO_POSITIONS' is not a member of

Disabling 3.12 python xapian testing for now.
msg7773 Author: [hidden] (rouilj) Date: 2023-05-25 20:43
fixed by

changeset:   7410:b7cd007c2bd6
msg7774 Author: [hidden] (rouilj) Date: 2023-05-25 20:45
make that not fixed but xapian disabled by...

changeset:   7410:b7cd007c2bd6
msg7834 Author: [hidden] (rouilj) Date: 2023-09-27 00:26
Final fix on:

changeset:   7631:4f5a8b402b40

With these as major fixes among a number of checkins around that time.

changeset:   7630:f4e415e56585
changeset:   7628:88c13f6dbc95
Date User Action Args
2023-09-27 00:26:45rouiljsetstatus: new -> fixed
assignee: rouilj
resolution: remind -> fixed
messages: + msg7834
2023-05-25 20:45:00rouiljsetmessages: + msg7774
2023-05-25 20:43:25rouiljsetkeywords: + python3
resolution: remind
messages: + msg7773
components: + Test
2023-05-25 19:27:48rouiljcreate