Skip to content

[fix](build) Fix build and test scripts failing due to missing executable permission#63330

Open
heguanhui wants to merge 1 commit into
apache:masterfrom
heguanhui:fix/fix-build-doris-error
Open

[fix](build) Fix build and test scripts failing due to missing executable permission#63330
heguanhui wants to merge 1 commit into
apache:masterfrom
heguanhui:fix/fix-build-doris-error

Conversation

@heguanhui
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: close #63225

Problem Summary: Several shell scripts are invoked directly (e.g., ./build.sh) without executable permission, causing "Permission denied" errors during build, FE UT, BE UT, and broker build processes. This PR changes all such invocations to use bash prefix to ensure they execute correctly regardless of file permission settings.

Release note

Fix build and test scripts failing due to missing executable permission by using bash prefix for shell script invocations.

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
      • Successfully built Doris with bash build.sh --be --fe
      • Successfully ran FE unit tests with bash run-fe-ut.sh
      • Successfully built broker module
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

…able permission

### What problem does this PR solve?

Issue Number: close apache#63225

Problem Summary: Several shell scripts are invoked directly (e.g., ./build.sh) without executable permission, causing "Permission denied" errors during build, FE UT, BE UT, and broker build processes. This PR changes all such invocations to use `bash` prefix to ensure they execute correctly regardless of file permission settings.

### Release note

Fix build and test scripts failing due to missing executable permission by using `bash` prefix for shell script invocations.

### Check List (For Author)

- Test: Manual test
    - Successfully built Doris with `bash build.sh --be --fe`
    - Successfully ran FE unit tests with `bash run-fe-ut.sh`
    - Successfully built broker module
- Behavior changed: No
- Does this need documentation: No
@hello-stephen
Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@heguanhui
Copy link
Copy Markdown
Contributor Author

heguanhui commented May 17, 2026

Manual Test Report

Test type: Manual test

Test report attachment: 问题及修复.docx

The test report documents the build errors encountered and the fixes applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants