Repository navigation
wasi-sdk/25 package update - #36444
Conversation
octo-sts
Bot
commented
Dec 12, 2024
|
Gen AI suggestions to solve the build error: • Detected Error: "cp: can't stat '/home/build/melange-out/wasi-sdk/usr/lib/clang/18/lib/wasi/libclang_rt.builtins-wasm32.a': No such file or directory" • Error Category: Path/Version Mismatch • Failure Point: Subpackage pipeline for wasi-sdk-libclang-rt-builtins during file copy operation • Root Cause Analysis: The error occurs because the script is trying to copy a file from a path that uses LLVM version 18, but the build is actually using LLVM version 19 (as seen in the build artifacts) • Suggested Fix: Update the path in the subpackage pipeline to use version 19 instead of 18: subpackages:
- name: wasi-sdk-libclang-rt-builtins
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib/clang/lib/wasi
# Update path from 18 to 19
cp ${{targets.destdir}}/usr/lib/clang/19/lib/wasi/libclang_rt.builtins-wasm32.a ${{targets.subpkgdir}}/usr/lib/clang/lib/wasi/• Explanation: The build artifacts clearly show that LLVM version 19 is being used (visible in the file listing), but the subpackage pipeline is trying to access version 18. Updating the path to match the actual version will allow the file copy to succeed. • Additional Notes:
• References:
|
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
41cbbe5 to
182a735
Compare
|
Gen AI suggestions to solve the build error: • Detected Error: "cp: can't stat '/home/build/melange-out/wasi-sdk/usr/lib/clang/18/lib/wasi/libclang_rt.builtins-wasm32.a': No such file or directory" • Error Category: Configuration • Failure Point: Subpackage pipeline for wasi-sdk-libclang-rt-builtins during file copy operation • Root Cause Analysis: The error occurs because the path to libclang_rt.builtins-wasm32.a references LLVM 18, but the build is actually using LLVM 19 as specified in the vars.llvm-vers variable. • Suggested Fix: Update the path in the subpackage pipeline to use the correct LLVM version: - name: wasi-sdk-libclang-rt-builtins
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib/clang/lib/wasi
# Update path to use LLVM 19 instead of 18
cp ${{targets.destdir}}/usr/lib/clang/19/lib/wasi/libclang_rt.builtins-wasm32.a ${{targets.subpkgdir}}/usr/lib/clang/lib/wasi/• Explanation: The build error occurs because the subpackage is looking for the runtime library in the LLVM 18 directory, but the package is built using LLVM 19 as specified in the vars section. Updating the path to reference version 19 will align with the actual build configuration. • Additional Notes:
• References:
|
Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>
Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>
Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>
|
This should get fixed and pass the test now. |
Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>
Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>
|
All the downstream package of wasi-sdk epoch has been bumped |