Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cachy-browser: cannot build #460

Closed
akku1139 opened this issue Dec 16, 2024 · 1 comment
Closed

cachy-browser: cannot build #460

akku1139 opened this issue Dec 16, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@akku1139
Copy link

Digest

...
 0:08.62 checking the wasm C compiler can find wasi headers...
 0:08.62 DEBUG: Creating `/tmp/conftest_swa46jg.c` with content:
 0:08.62 DEBUG: | #include <string.h>
 0:08.62 DEBUG: | int
 0:08.62 DEBUG: | main(void)
 0:08.62 DEBUG: | ***
 0:08.62 DEBUG: |
 0:08.62 DEBUG: |   ;
 0:08.62 DEBUG: |   return 0;
 0:08.62 DEBUG: | ***
 0:08.62 DEBUG: Executing: `/usr/sbin/clang -std=gnu99 --target=wasm32-wasi /tmp/conftest_swa46jg.c --sysroot=/usr/share/wasi-sysroot -nodefaultlibs -lc -lwasi-emulated-process-clocks -lc++ -lc++abi %%PORTAGE_WORKDIR%%/wasi-sdk-%%WASI_SDK_VER%%-%%WASI_ARCH%%-linux/lib/clang/%%WASI_SDK_LLVM_VER%%/lib/wasi/libclang_rt.builtins-wasm32.a -c`
 0:08.62 DEBUG: The command returned non-zero exit status 1.
 0:08.62 DEBUG: Its error output was:
 0:08.62 DEBUG: | clang: error: no such file or directory: '%%PORTAGE_WORKDIR%%/wasi-sdk-%%WASI_SDK_VER%%-%%WASI_ARCH%%-linux/lib/clang/%%WASI_SDK_LLVM_VER%%/lib/wasi/libclang_rt.builtins-wasm32.a'
 0:08.62 DEBUG: | clang: warning: -lc: 'linker' input unused [-Wunused-command-line-argument]
 0:08.62 DEBUG: | clang: warning: -lwasi-emulated-process-clocks: 'linker' input unused [-Wunused-command-line-argument]
 0:08.62 DEBUG: | clang: warning: -lc++: 'linker' input unused [-Wunused-command-line-argument]
 0:08.62 DEBUG: | clang: warning: -lc++abi: 'linker' input unused [-Wunused-command-line-argument]
 0:08.62 ERROR: Cannot find wasi headers or problem with the wasm compiler. Please fix the problem. Or build with --without-wasm-sandboxed-libraries.
 0:08.68 W Exception when writing resource usage file: [Errno 2] No such file or directory: '/ext/builder/cachy-browser/src/firefox-133.0/obj/.mozbuild/profile_build_resources.json'
 Config object not found by mach.
*** Fix above errors and then restart with "./mach build"
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'cachy-browser-133.0-1': 
error: packages failed to build: cachy-browser-133.0-1

Full build Log

Note

@1Naim
Copy link
Member

1Naim commented Dec 16, 2024

Both logs show it's building for 133.0-1, it's outdated. Duplicate of #449

@1Naim 1Naim closed this as not planned Won't fix, can't repro, duplicate, stale Dec 16, 2024
@1Naim 1Naim added the duplicate This issue or pull request already exists label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants