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:
Bensuperpc 2021-05-26 20:06:05 +02:00
parent 8ff660facd
commit 40545c5f78
9 changed files with 13 additions and 12 deletions

View File

@ -431,7 +431,7 @@ CT_DEBUG_gdb=y
CT_GDB_CROSS=y CT_GDB_CROSS=y
# CT_GDB_CROSS_STATIC is not set # CT_GDB_CROSS_STATIC is not set
# CT_GDB_CROSS_SIM is not set # CT_GDB_CROSS_SIM is not set
CT_GDB_CROSS_PYTHON=y CT_GDB_CROSS_PYTHON=n
CT_GDB_CROSS_PYTHON_BINARY="" CT_GDB_CROSS_PYTHON_BINARY=""
CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" CT_GDB_CROSS_EXTRA_CONFIG_ARRAY=""
# CT_GDB_NATIVE is not set # CT_GDB_NATIVE is not set
@ -449,7 +449,7 @@ CT_GDB_7_12_or_later=y
CT_GDB_7_2_or_later=y CT_GDB_7_2_or_later=y
CT_GDB_7_0_or_later=y CT_GDB_7_0_or_later=y
CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PKGVERSION_BUGURL=y
CT_GDB_HAS_PYTHON=y CT_GDB_HAS_PYTHON=n
CT_GDB_INSTALL_GDBINIT=y CT_GDB_INSTALL_GDBINIT=y
# CT_DEBUG_ltrace is not set # CT_DEBUG_ltrace is not set
# CT_DEBUG_strace is not set # CT_DEBUG_strace is not set

View File

@ -428,7 +428,7 @@ CT_DEBUG_gdb=y
CT_GDB_CROSS=y CT_GDB_CROSS=y
# CT_GDB_CROSS_STATIC is not set # CT_GDB_CROSS_STATIC is not set
# CT_GDB_CROSS_SIM is not set # CT_GDB_CROSS_SIM is not set
CT_GDB_CROSS_PYTHON=y CT_GDB_CROSS_PYTHON=n
CT_GDB_CROSS_PYTHON_BINARY="" CT_GDB_CROSS_PYTHON_BINARY=""
CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" CT_GDB_CROSS_EXTRA_CONFIG_ARRAY=""
# CT_GDB_NATIVE is not set # CT_GDB_NATIVE is not set
@ -446,7 +446,7 @@ CT_GDB_7_12_or_later=y
CT_GDB_7_2_or_later=y CT_GDB_7_2_or_later=y
CT_GDB_7_0_or_later=y CT_GDB_7_0_or_later=y
CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PKGVERSION_BUGURL=y
CT_GDB_HAS_PYTHON=y CT_GDB_HAS_PYTHON=n
CT_GDB_INSTALL_GDBINIT=y CT_GDB_INSTALL_GDBINIT=y
# CT_DEBUG_ltrace is not set # CT_DEBUG_ltrace is not set
# CT_DEBUG_strace is not set # CT_DEBUG_strace is not set

View File

@ -428,7 +428,7 @@ CT_DEBUG_gdb=y
CT_GDB_CROSS=y CT_GDB_CROSS=y
# CT_GDB_CROSS_STATIC is not set # CT_GDB_CROSS_STATIC is not set
CT_GDB_CROSS_SIM=y CT_GDB_CROSS_SIM=y
CT_GDB_CROSS_PYTHON=y CT_GDB_CROSS_PYTHON=n
CT_GDB_CROSS_PYTHON_BINARY="" CT_GDB_CROSS_PYTHON_BINARY=""
CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" CT_GDB_CROSS_EXTRA_CONFIG_ARRAY=""
# CT_GDB_NATIVE is not set # CT_GDB_NATIVE is not set
@ -446,7 +446,7 @@ CT_GDB_7_12_or_later=y
CT_GDB_7_2_or_later=y CT_GDB_7_2_or_later=y
CT_GDB_7_0_or_later=y CT_GDB_7_0_or_later=y
CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PKGVERSION_BUGURL=y
CT_GDB_HAS_PYTHON=y CT_GDB_HAS_PYTHON=n
CT_GDB_INSTALL_GDBINIT=y CT_GDB_INSTALL_GDBINIT=y
# CT_DEBUG_ltrace is not set # CT_DEBUG_ltrace is not set
# CT_DEBUG_strace is not set # CT_DEBUG_strace is not set

View File

@ -514,7 +514,7 @@ CT_GDB_7_12_or_later=y
CT_GDB_7_2_or_later=y CT_GDB_7_2_or_later=y
CT_GDB_7_0_or_later=y CT_GDB_7_0_or_later=y
CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PKGVERSION_BUGURL=y
CT_GDB_HAS_PYTHON=y CT_GDB_HAS_PYTHON=n
CT_GDB_INSTALL_GDBINIT=y CT_GDB_INSTALL_GDBINIT=y
# CT_DEBUG_ltrace is not set # CT_DEBUG_ltrace is not set
# CT_DEBUG_strace is not set # CT_DEBUG_strace is not set

View File

@ -442,7 +442,7 @@ CT_GDB_7_12_or_later=y
CT_GDB_7_2_or_later=y CT_GDB_7_2_or_later=y
CT_GDB_7_0_or_later=y CT_GDB_7_0_or_later=y
CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PKGVERSION_BUGURL=y
CT_GDB_HAS_PYTHON=y CT_GDB_HAS_PYTHON=n
CT_GDB_INSTALL_GDBINIT=y CT_GDB_INSTALL_GDBINIT=y
# CT_DEBUG_ltrace is not set # CT_DEBUG_ltrace is not set
# CT_DEBUG_strace is not set # CT_DEBUG_strace is not set

View File

@ -441,7 +441,7 @@ CT_GDB_7_12_or_later=y
CT_GDB_7_2_or_later=y CT_GDB_7_2_or_later=y
CT_GDB_7_0_or_later=y CT_GDB_7_0_or_later=y
CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PKGVERSION_BUGURL=y
CT_GDB_HAS_PYTHON=y CT_GDB_HAS_PYTHON=n
CT_GDB_INSTALL_GDBINIT=y CT_GDB_INSTALL_GDBINIT=y
# CT_DEBUG_ltrace is not set # CT_DEBUG_ltrace is not set
# CT_DEBUG_strace is not set # CT_DEBUG_strace is not set

View File

@ -443,7 +443,7 @@ CT_GDB_7_12_or_later=y
CT_GDB_7_2_or_later=y CT_GDB_7_2_or_later=y
CT_GDB_7_0_or_later=y CT_GDB_7_0_or_later=y
CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PKGVERSION_BUGURL=y
CT_GDB_HAS_PYTHON=y CT_GDB_HAS_PYTHON=n
CT_GDB_INSTALL_GDBINIT=y CT_GDB_INSTALL_GDBINIT=y
# CT_DEBUG_ltrace is not set # CT_DEBUG_ltrace is not set
# CT_DEBUG_strace is not set # CT_DEBUG_strace is not set

View File

@ -17,6 +17,7 @@ RUN \
epel-release \ epel-release \
gpg \ gpg \
zlib-devel \ zlib-devel \
python3-devel \
gettext \ gettext \
openssh-clients \ openssh-clients \
pax \ pax \
@ -67,7 +68,7 @@ RUN \
/buildscripts/build-and-install-git.sh && \ /buildscripts/build-and-install-git.sh && \
/buildscripts/install-cmake-binary.sh $X86_FLAG && \ /buildscripts/install-cmake-binary.sh $X86_FLAG && \
/buildscripts/install-liquidprompt-binary.sh && \ /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/install-python-packages.sh -python ${PYTHON} && \
/buildscripts/build-and-install-ninja.sh -python ${PYTHON} && \ /buildscripts/build-and-install-ninja.sh -python ${PYTHON} && \
rm -rf /buildscripts rm -rf /buildscripts

View File

@ -449,7 +449,7 @@ CT_GDB_7_12_or_later=y
CT_GDB_7_2_or_later=y CT_GDB_7_2_or_later=y
CT_GDB_7_0_or_later=y CT_GDB_7_0_or_later=y
CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PKGVERSION_BUGURL=y
CT_GDB_HAS_PYTHON=y CT_GDB_HAS_PYTHON=n
CT_GDB_INSTALL_GDBINIT=y CT_GDB_INSTALL_GDBINIT=y
# CT_DEBUG_ltrace is not set # CT_DEBUG_ltrace is not set
# CT_DEBUG_strace is not set # CT_DEBUG_strace is not set