Task #107232 - python-debugpy-1.8.20-1.20260331033636947871.pr2/scan-results.err

back to task #107232
download
Error: SHELLCHECK_WARNING (CWE-758):
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
#    1|-> set -e
#    2|   
#    3|   ARCH="$(uname -m)"

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:1:7: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|-> set -e
#    2|   
#    3|   ARCH="$(uname -m)"

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:2:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|   set -e
#    2|-> 
#    3|   ARCH="$(uname -m)"
#    4|   case $ARCH in

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:3:19: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|   set -e
#    2|   
#    3|-> ARCH="$(uname -m)"
#    4|   case $ARCH in
#    5|       i*86) SUFFIX=x86;;

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:4:14: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    2|   
#    3|   ARCH="$(uname -m)"
#    4|-> case $ARCH in
#    5|       i*86) SUFFIX=x86;;
#    6|       x86_64*) SUFFIX=amd64;;

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:5:23: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    3|   ARCH="$(uname -m)"
#    4|   case $ARCH in
#    5|->     i*86) SUFFIX=x86;;
#    6|       x86_64*) SUFFIX=amd64;;
#    7|       *) echo >&2 "unsupported: $ARCH, this script may not work";;

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:6:28: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    4|   case $ARCH in
#    5|       i*86) SUFFIX=x86;;
#    6|->     x86_64*) SUFFIX=amd64;;
#    7|       *) echo >&2 "unsupported: $ARCH, this script may not work";;
#    8|   esac

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:7:65: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    5|       i*86) SUFFIX=x86;;
#    6|       x86_64*) SUFFIX=amd64;;
#    7|->     *) echo >&2 "unsupported: $ARCH, this script may not work";;
#    8|   esac
#    9|   

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:8:5: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    6|       x86_64*) SUFFIX=amd64;;
#    7|       *) echo >&2 "unsupported: $ARCH, this script may not work";;
#    8|-> esac
#    9|   
#   10|   SRC="$(dirname "$0")/.."

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:9:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    7|       *) echo >&2 "unsupported: $ARCH, this script may not work";;
#    8|   esac
#    9|-> 
#   10|   SRC="$(dirname "$0")/.."
#   11|   g++ -std=c++11 -shared -fPIC -O2 -D_FORTIFY_SOURCE=2 -nostartfiles -fstack-protector-strong $SRC/linux_and_mac/attach.cpp -o $SRC/attach_linux_$SUFFIX.so

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:10:25: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    8|   esac
#    9|   
#   10|-> SRC="$(dirname "$0")/.."
#   11|   g++ -std=c++11 -shared -fPIC -O2 -D_FORTIFY_SOURCE=2 -nostartfiles -fstack-protector-strong $SRC/linux_and_mac/attach.cpp -o $SRC/attach_linux_$SUFFIX.so

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh:11:154: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    9|   
#   10|   SRC="$(dirname "$0")/.."
#   11|-> g++ -std=c++11 -shared -fPIC -O2 -D_FORTIFY_SOURCE=2 -nostartfiles -fstack-protector-strong $SRC/linux_and_mac/attach.cpp -o $SRC/attach_linux_$SUFFIX.so

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:1:12: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|-> #!/bin/bash
#    2|   set -e
#    3|   SRC="$(dirname "$0")/.."

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:2:7: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|   #!/bin/bash
#    2|-> set -e
#    3|   SRC="$(dirname "$0")/.."
#    4|   

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:3:25: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    1|   #!/bin/bash
#    2|   set -e
#    3|-> SRC="$(dirname "$0")/.."
#    4|   
#    5|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:4:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    2|   set -e
#    3|   SRC="$(dirname "$0")/.."
#    4|-> 
#    5|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"
#    6|   g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:5:126: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    3|   SRC="$(dirname "$0")/.."
#    4|   
#    5|-> g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"
#    6|   g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc
#    7|   rm "$SRC/attach_arm64.o"

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:6:97: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    4|   
#    5|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"
#    6|-> g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc
#    7|   rm "$SRC/attach_arm64.o"
#    8|   

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:7:25: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    5|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch arm64 -c -o "$SRC/attach_arm64.o" "$SRC/linux_and_mac/attach.cpp"
#    6|   g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc
#    7|-> rm "$SRC/attach_arm64.o"
#    8|   
#    9|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:8:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    6|   g++ -dynamiclib -nostartfiles -arch arm64 -o "$SRC/attach_arm64.dylib" "$SRC/attach_arm64.o" -lc
#    7|   rm "$SRC/attach_arm64.o"
#    8|-> 
#    9|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"
#   10|   g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:9:128: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    7|   rm "$SRC/attach_arm64.o"
#    8|   
#    9|-> g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"
#   10|   g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc
#   11|   rm "$SRC/attach_x86_64.o"

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:10:100: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    8|   
#    9|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"
#   10|-> g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc
#   11|   rm "$SRC/attach_x86_64.o"
#   12|   

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:11:26: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#    9|   g++ -fPIC -D_REENTRANT -std=c++11 -D_FORTIFY_SOURCE=2 -arch x86_64 -c -o "$SRC/attach_x86_64.o" "$SRC/linux_and_mac/attach.cpp"
#   10|   g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc
#   11|-> rm "$SRC/attach_x86_64.o"
#   12|   
#   13|   lipo -create "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib" -output "$SRC/attach.dylib"

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:12:1: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#   10|   g++ -dynamiclib -nostartfiles -arch x86_64 -o "$SRC/attach_x86_64.dylib" "$SRC/attach_x86_64.o" -lc
#   11|   rm "$SRC/attach_x86_64.o"
#   12|-> 
#   13|   lipo -create "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib" -output "$SRC/attach.dylib"
#   14|   rm "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib"

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:13:94: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#   11|   rm "$SRC/attach_x86_64.o"
#   12|   
#   13|-> lipo -create "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib" -output "$SRC/attach.dylib"
#   14|   rm "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib"

Error: SHELLCHECK_WARNING:
/usr/lib64/python3.14/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh:14:56: error[SC1017]: Literal carriage return. Run script through tr -d '\r' .
#   12|   
#   13|   lipo -create "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib" -output "$SRC/attach.dylib"
#   14|-> rm "$SRC/attach_arm64.dylib" "$SRC/attach_x86_64.dylib"

Error: COMPILER_WARNING (CWE-1164):
debugpy-1.8.20/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c:19564:18: warning[-Wunused-function]: ‘__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values’ defined but not used
#19564 | static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(CYTHON_UNUSED PyObject *__pyx_v_py_db, PyObject *__pyx_v_frame) {
#      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#19562|    */
#19563|   
#19564|-> static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(CYTHON_UNUSED PyObject *__pyx_v_py_db, PyObject *__pyx_v_frame) {
#19565|     PyObject *__pyx_v_f_locals_back = NULL;
#19566|     PyObject *__pyx_r = NULL;