github-actions[bot] commented on PR #27784:
URL: https://github.com/apache/doris/pull/27784#issuecomment-2026942907

   #### `sh-checker report`
   
   To get the full details, please check in the 
[job]("https://github.com/apache/doris/actions/runs/8479467881";) output.
   
   <details>
   <summary>shellcheck errors</summary>
   
   ```
   
   'shellcheck ' returned error 1 finding the following syntactical issues:
   
   ----------
   
   In build-support/shell-check.sh line 30:
       source "${DORIS_HOME}/env.sh" &>/dev/null
              ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In build.sh line 34:
   . "${DORIS_HOME}/env.sh"
     ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In build.sh line 108:
       "${MVN_CMD}" clean
        ^--------^ SC2154 (warning): MVN_CMD is referenced but not assigned.
   
   
   In build.sh line 280:
   if [[ ! -f "${DORIS_THIRDPARTY}/installed/lib/libbacktrace.a" ]]; then
               ^-----------------^ SC2154 (warning): DORIS_THIRDPARTY is 
referenced but not assigned.
   
   
   In build.sh line 474:
       ENABLE_PCH                  -- ${ENABLE_PCH}
                                      ^-----------^ SC2154 (warning): 
ENABLE_PCH is referenced but not assigned.
   
   
   In build.sh line 538:
       MAKE_PROGRAM="$(command -v "${BUILD_SYSTEM}")"
                                   ^-------------^ SC2154 (warning): 
BUILD_SYSTEM is referenced but not assigned.
   
   
   In build.sh line 545:
       echo "-- Use ccache: ${CMAKE_USE_CCACHE}"
                            ^-----------------^ SC2154 (warning): 
CMAKE_USE_CCACHE is referenced but not assigned.
   
   
   In build.sh line 551:
       "${CMAKE_CMD}" -G "${GENERATOR}" \
        ^----------^ SC2154 (warning): CMAKE_CMD is referenced but not assigned.
                          ^----------^ SC2154 (warning): GENERATOR is 
referenced but not assigned.
   
   
   In build_plugin.sh line 25:
   . "${DORIS_HOME}/env.sh"
     ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In build_plugin.sh line 105:
           "${MVN_CMD}" clean
            ^--------^ SC2154 (warning): MVN_CMD is referenced but not assigned.
   
   
   In contrib/udf/build_udf.sh line 39:
   . "${DORIS_HOME}/env.sh"
     ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In contrib/udf/build_udf.sh line 123:
       "${CMAKE_CMD}" -G "${GENERATOR}" 
-DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}" ../
        ^----------^ SC2154 (warning): CMAKE_CMD is referenced but not assigned.
                          ^----------^ SC2154 (warning): GENERATOR is 
referenced but not assigned.
   
   
   In contrib/udf/build_udf.sh line 124:
       "${BUILD_SYSTEM}" -j "${PARALLEL}"
        ^-------------^ SC2154 (warning): BUILD_SYSTEM is referenced but not 
assigned.
   
   
   In fe_plugins/auditloader/build.sh line 25:
   . "${DORIS_HOME}/env.sh"
     ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In fe_plugins/auditloader/build.sh line 29:
   "${MVN_CMD}" clean package -DskipTests
    ^--------^ SC2154 (warning): MVN_CMD is referenced but not assigned.
   
   
   In fs_brokers/apache_hdfs_broker/build.sh line 25:
   . "${DORIS_HOME}/env.sh"
     ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In fs_brokers/apache_hdfs_broker/build.sh line 35:
   "${MVN_CMD}" package -DskipTests
    ^--------^ SC2154 (warning): MVN_CMD is referenced but not assigned.
   
   
   In generated-source.sh line 29:
   . "${DORIS_HOME}/env.sh"
     ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In run-be-ut.sh line 42:
   . "${DORIS_HOME}/env.sh"
     ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In run-be-ut.sh line 132:
       ENABLE_PCH          -- ${ENABLE_PCH}
                              ^-----------^ SC2154 (warning): ENABLE_PCH is 
referenced but not assigned.
   
   
   In run-be-ut.sh line 218:
   MAKE_PROGRAM="$(command -v "${BUILD_SYSTEM}")"
                               ^-------------^ SC2154 (warning): BUILD_SYSTEM 
is referenced but not assigned.
   
   
   In run-be-ut.sh line 220:
   echo "-- Use ccache: ${CMAKE_USE_CCACHE}"
                        ^-----------------^ SC2154 (warning): CMAKE_USE_CCACHE 
is referenced but not assigned.
   
   
   In run-be-ut.sh line 224:
   "${CMAKE_CMD}" -G "${GENERATOR}" \
    ^----------^ SC2154 (warning): CMAKE_CMD is referenced but not assigned.
                      ^----------^ SC2154 (warning): GENERATOR is referenced 
but not assigned.
   
   
   In run-be-ut.sh line 241:
       -DDORIS_JAVA_HOME="${JAVA_HOME}" \
                          ^----------^ SC2154 (warning): JAVA_HOME is 
referenced but not assigned.
   
   
   In run-be-ut.sh line 303:
   if [[ -d "${DORIS_THIRDPARTY}/installed/lib/hadoop_hdfs/" ]]; then
             ^-----------------^ SC2154 (warning): DORIS_THIRDPARTY is 
referenced but not assigned.
   
   
   In run-be-ut.sh line 424:
           cmd1="${LLVM_PROFDATA} merge -o ${profdata} ${profraw}"
                 ^--------------^ SC2154 (warning): LLVM_PROFDATA is referenced 
but not assigned.
   
   
   In run-be-ut.sh line 427:
           cmd2="${LLVM_COV} show -output-dir=${DORIS_TEST_BINARY_DIR}/report 
-format=html \
                 ^---------^ SC2154 (warning): LLVM_COV is referenced but not 
assigned.
   
   
   In run-cloud-ut.sh line 140:
   . "${DORIS_HOME}/env.sh"
     ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In run-cloud-ut.sh line 160:
   MAKE_PROGRAM="$(command -v "${BUILD_SYSTEM}")"
                               ^-------------^ SC2154 (warning): BUILD_SYSTEM 
is referenced but not assigned.
   
   
   In run-cloud-ut.sh line 166:
   "${CMAKE_CMD}" -G "${GENERATOR}" \
    ^----------^ SC2154 (warning): CMAKE_CMD is referenced but not assigned.
                      ^----------^ SC2154 (warning): GENERATOR is referenced 
but not assigned.
   
   
   In run-cloud-ut.sh line 177:
       "${CMAKE_USE_CCACHE}" \
        ^-----------------^ SC2154 (warning): CMAKE_USE_CCACHE is referenced 
but not assigned.
   
   
   In run-fe-ut.sh line 25:
   . "${DORIS_HOME}/env.sh"
     ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In run-fe-ut.sh line 117:
           "${MVN_CMD}" test jacoco:report -DfailIfNoTests=false -Dtest="$1"
            ^--------^ SC2154 (warning): MVN_CMD is referenced but not assigned.
   
   
   In thirdparty/build-thirdparty.sh line 42:
       . "${DORIS_HOME}/env.sh"
         ^--------------------^ SC1091 (info): Not following: ./env.sh: 
openBinaryFile: does not exist (No such file or directory)
   
   
   In thirdparty/build-thirdparty.sh line 155:
   if [[ "${CC}" == *gcc ]]; then
          ^---^ SC2154 (warning): CC is referenced but not assigned.
   
   
   In thirdparty/build-thirdparty.sh line 208:
   check_prerequest "${CMAKE_CMD} --version" "cmake"
                     ^----------^ SC2154 (warning): CMAKE_CMD is referenced but 
not assigned.
   
   
   In thirdparty/build-thirdparty.sh line 340:
           "${CMAKE_CMD}" -G "${GENERATOR}" 
-DCMAKE_INSTALL_PREFIX="${TP_INSTALL_DIR}" -DEVENT__DISABLE_TESTS=ON \
                              ^----------^ SC2154 (warning): GENERATOR is 
referenced but not assigned.
   
   
   In thirdparty/build-thirdparty.sh line 343:
       "${BUILD_SYSTEM}" -j "${PARALLEL}"
        ^-------------^ SC2154 (warning): BUILD_SYSTEM is referenced but not 
assigned.
   
   
   In thirdparty/build-thirdparty.sh line 1123:
       local ld="${DORIS_BIN_UTILS}/ld"
                 ^----------------^ SC2154 (warning): DORIS_BIN_UTILS is 
referenced but not assigned.
   
   For more information:
     https://www.shellcheck.net/wiki/SC2154 -- BUILD_SYSTEM is referenced but 
no...
     https://www.shellcheck.net/wiki/SC1091 -- Not following: ./env.sh: 
openBina...
   ----------
   
   You can address the above issues in one of three ways:
   1. Manually correct the issue in the offending shell script;
   2. Disable specific issues by adding the comment:
     # shellcheck disable=NNNN
   above the line that contains the issue, where NNNN is the error code;
   3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file.
   
   
   
   ```
   </details>
   
   <details>
   <summary>shfmt errors</summary>
   
   ```
   'shfmt ' found no issues.
   
   ```
   </details>
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to