pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/60174: wasi-compiler-rt fails to build: "Cannot compile for wasm32"



>Number:         60174
>Category:       pkg
>Synopsis:       wasi-compiler-rt fails to build: "Cannot compile for wasm32"
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 03 15:15:00 +0000 2026
>Originator:     Daniel
>Release:        NetBSD 11.0_RC2 / pkgsrc 2026Q1
>Organization:
>Environment:
NetBSD netbook.powerhub 11.0_RC2 NetBSD 11.0_RC2 (GENERIC) #0: Wed Mar  4 21:02:00 UTC 2026  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When attempting to build wasi-compiler-rt via pkgsrc, I receive the following error during configuration:

```
CMake Error at /usr/pkgsrc/lang/wasi-compiler-rt/work/compiler-rt-19.1.7.src/cma
ke/Modules/CompilerRTUtils.cmake:144 (message):
  Cannot compile for wasm32:

Call Stack (most recent call first):
  /usr/pkgsrc/lang/wasi-compiler-rt/work/compiler-rt-19.1.7.src/cmake/base-config-ix.cmake:286 (test_target_arch)
  /usr/pkgsrc/lang/wasi-compiler-rt/work/compiler-rt-19.1.7.src/cmake/builtin-config-ix.cmake:247 (test_targets)
  CMakeLists.txt:60 (include)


-- Configuring incomplete, errors occurred!
*** Error code 1
```

It's not clear to me what exactly is failing here. The error still occurs after a `make clean`.
>How-To-Repeat:
Attempt to build wasi-compiler-rt with pkgsrc 2026Q1 (commit b85e6e60cdb1d2acd5c62d9b5647db624c092c93) on NetBSD 11.0_RC2 (unknown if the NetBSD version has anything to do with this)
>Fix:




Home | Main Index | Thread Index | Old Index