Skip to content

Conversation

@octo-sts
Copy link
Contributor

@octo-sts octo-sts bot commented Mar 27, 2025

Signed-off-by: wolfi-bot <[email protected]>
@octo-sts octo-sts bot added request-version-update request for a newer version of a package automated pr labels Mar 27, 2025
@octo-sts octo-sts bot mentioned this pull request Mar 27, 2025
@octo-sts
Copy link
Contributor Author

octo-sts bot commented Mar 27, 2025

⚠️ EXPERIMENTAL

Please use 👍 or 👎 on this comment to indicate if you agree or disagree with the recommendation.

To provide more detailed feedback please comment on the recommendation prefixed with /ai-verify:

e.g. /ai-verify partially helpful but I also added bash to the build environment

Gen AI suggestions to solve the build error:

• Detected Error: "Command not found: 'clang' that satisfies version '19.1.7'"

• Error Category: Dependency/Version

• Failure Point: CMake configuration step during bun run build:release

• Root Cause Analysis:
The build is failing because it requires LLVM/Clang version 19.1.7, but the system only has version 18.1.8 installed.

• Suggested Fix:

  1. Update the package.yaml to use the correct LLVM/Clang version:
environment:
  contents:
    packages:
      - clang-19
      - clang-19-dev
      - llvm-19-dev
      - llvm-lld-19-dev
  1. Alternative fix: Add build flag to accept current LLVM version:
pipeline:
  - runs: |
      bun run build:release -- -DLLVM_VERSION=18.1.8

• Explanation:
The package requires LLVM 19.1.7 but Wolfi currently provides 18.1.8. Either updating to the correct LLVM version or explicitly allowing the current version will resolve the version mismatch.

• Additional Notes:

  • Bun's build system is very particular about LLVM versions
  • The error message suggests three solutions, we're implementing either Add binutils-2.39 configuration #1 or Add pax-utils into the OS. #2
  • Using LLVM 18.x should work as it's a recent stable version
  • Consider checking upstream Bun documentation for minimum LLVM requirements

• References:

@octo-sts octo-sts bot added the ai/skip-comment Stop AI from commenting on PR label Mar 27, 2025
@octo-sts octo-sts bot added bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. manual/review-needed labels Mar 30, 2025
@Dentrax Dentrax self-assigned this Mar 31, 2025
@Dentrax Dentrax requested a review from a team March 31, 2025 09:57
@philroche philroche merged commit 3e0a42a into main Mar 31, 2025
21 checks passed
@philroche philroche deleted the wolfictl-32b20300-6a53-4c3e-a386-9da7e74bd972 branch March 31, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/skip-comment Stop AI from commenting on PR automated pr bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. manual/review-needed request-version-update request for a newer version of a package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants