os icon indicating copy to clipboard operation
os copied to clipboard

wasi-sdk/24 package update

Open octo-sts[bot] opened this issue 1 year ago • 3 comments

octo-sts[bot] avatar Aug 02 '24 17:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: "WARN make: *** No rule to make target 'build'.  Stop.
ERRO ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-1885122338
INFO   guest dir: /temp/melange-guest-1426495651
ERRO failed to build package: unable to run package wasi-sdk pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:111: packages/aarch64/wasi-sdk-24-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/wasi-sdk] Error 2"

1. Verify the 'build' target exists in the Makefile.
2. Ensure the Makefile is in the correct directory.
3. Check for typos in the Makefile target names.
4. Confirm all dependencies for the 'build' target are available.
5. Run `make clean` to clear any previous build artifacts.
6. Re-run the build command.

octo-sts[bot] avatar Aug 02 '24 18:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: "ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-2726437112
INFO   guest dir: /temp/melange-guest-4049898938
ERRO failed to build package: unable to run package wasi-sdk pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:111: packages/aarch64/wasi-sdk-24-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/wasi-sdk] Error 2"

1. Verify dependencies are installed.
2. Check for missing or incorrect paths in the Makefile.
3. Ensure the build environment is correctly set up.
4. Review the logs in `/temp/melange-workspace-2726437112` and `/temp/melange-guest-4049898938` for more details.
5. Run `make clean` and retry the build.
6. Update or reinstall the wasi-sdk if necessary.

octo-sts[bot] avatar Aug 14 '24 15:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message indicates that the C compiler is unable to compile a simple test program due to unsupported options for the target 'wasm32-wasi'. Specifically, the `-march=armv8-a+crc+crypto` and `-mtune=neoverse-n1` flags are not supported for this target. 

To resolve this issue, you need to modify the CMakeLists.txt file in your project to remove or conditionally exclude these flags for the `wasm32-wasi` target. After making these changes, re-run the CMake configuration and build process.

octo-sts[bot] avatar Aug 20 '24 15:08 octo-sts[bot]