You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: xapian under 3.12 - missing version info in build components
The build with 1.4.18 fails to get the shared library file names
correct. Trying with 1.4.22 as the release against the 1.4.18 dev
libraries to see if it works better.
The sed script I have that munges the configure script to change the
method used for getting the components should work but it obviously
doesn't.
Failure under 3.12:
/usr/bin/install -c -m 644 xapian/__init__.py \
./xapian/__pycache__/__init__..pyc \
./xapian/__pycache__/__init__. \
'/opt/hostedtoolcache/Python/3.12.0-rc.2/x64/lib/python3.12/site-packages/xapian'
/usr/bin/install: cannot stat './xapian/__pycache__/__init__..pyc': No such file or directory
/usr/bin/install: cannot stat './xapian/__pycache__/__init__.': No such file or directory
Success under 3.11 which also needs the sed script:
/usr/bin/install -c -m 644 xapian/__init__.py \
xapian/__pycache__/__init__.cpython-311.pyc \
xapian/__pycache__/__init__.cpython-311.opt-1.pyc \
'/opt/hostedtoolcache/Python/3.11.5/x64/lib/python3.11/site-packages/xapian'
# Change distutils.sysconfig... to just sysconfig and SO
202
206
# to EXT_SUFFIX to get valid value.
203
-
if [[ $PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure --prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi
207
+
if [[ $PYTHON_VERSION == "3."* ]]; then sed -i -e '/PYTHON3_SO=/s/distutils\.//g' -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure; ./configure
208
+
--prefix=$VIRTUAL_ENV --with-python3 --disable-documentation; fi
204
209
case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac
205
210
206
211
- name: Install pytest and other packages needed for running tests
0 commit comments