Mercurial > p > roundup > code
diff scripts/Docker/Dockerfile @ 7040:60ea33643a01
Anchore Container Scan docker bulld is failing.
The docker build is failing to build xapian. Fails with:
-Wl,_xapianNone -o .libs/_xapianNone
where None is should be shared object extension and some other
changes. See
changeset: 6725:f973fa5163ed in repo on
date: Thu Jun 23 01:58:53 2022 -0400
for python 3.11 and newer. It looks like Anchore uses 3.11:
checking /usr/local/bin/python3 version... 3.11
from earlier in the log.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 06 Nov 2022 22:41:04 -0500 |
| parents | 4336e655b2be |
| children | 0fc6e5d551b3 |
line wrap: on
line diff
--- a/scripts/Docker/Dockerfile Thu Oct 20 18:09:27 2022 -0400 +++ b/scripts/Docker/Dockerfile Sun Nov 06 22:41:04 2022 -0500 @@ -60,6 +60,8 @@ tar -Jxvf xapian-bindings-$VER.tar.xz && \ cd xapian-bindings-$VER/ && \ pip --no-cache-dir install sphinx && \ + sed -i -e '/PYTHON3_SO=/s/distutils\.//g' \ + -e '/PYTHON3_SO=/s/"SO"/"EXT_SUFFIX"/g' configure && \ ./configure --prefix=/usr/local --with-python3 --disable-documentation && \ make && make install && \ pip uninstall --no-cache-dir -y sphinx && \
