Disable python with GDB

Disable python with GDB: GDB 8.1 and lower have issues with python 3.7 and upper :
https://bugzilla.redhat.com/show_bug.cgi?id=1577396

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2021-05-26 20:06:05 +02:00
parent 8ff660facd
commit 40545c5f78
9 changed files with 13 additions and 12 deletions

View File

@ -17,6 +17,7 @@ RUN \
epel-release \
gpg \
zlib-devel \
python3-devel \
gettext \
openssh-clients \
pax \
@ -67,7 +68,7 @@ RUN \
/buildscripts/build-and-install-git.sh && \
/buildscripts/install-cmake-binary.sh $X86_FLAG && \
/buildscripts/install-liquidprompt-binary.sh && \
PYTHON=$([ -e /opt/python/cp35-cp35m/bin/python ] && echo "/opt/python/cp35-cp35m/bin/python" || echo "python") && \
PYTHON=$([ -e /opt/python/cp35-cp35m/bin/python ] && echo "/opt/python/cp35-cp35m/bin/python" || echo "python3") && \
/buildscripts/install-python-packages.sh -python ${PYTHON} && \
/buildscripts/build-and-install-ninja.sh -python ${PYTHON} && \
rm -rf /buildscripts