Skip to content

cargo check for wasm32-wasip1 fails #20

@oech3

Description

@oech3
    Checking intl-memoizer v0.5.3
warning: onig_sys@69.9.3: In file included from oniguruma/src/regexec.c:36:
warning: onig_sys@69.9.3: In file included from oniguruma/src/regint.h:122:
warning: onig_sys@69.9.3: In file included from /usr/lib/llvm-18/lib/clang/18/include/limits.h:21:
warning: onig_sys@69.9.3: /usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found
warning: onig_sys@69.9.3:    26 | #include <bits/libc-header-start.h>
warning: onig_sys@69.9.3:       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: onig_sys@69.9.3: 1 error generated.
error: failed to run custom build command for `onig_sys v69.9.3`

Caused by:
  process didn't exit successfully: `/home/runner/work/uu-grep/uu-grep/target/debug/build/onig_sys-9daff2bde4d5197f/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=RUSTONIG_DYNAMIC_LIBONIG
  cargo:rerun-if-env-changed=RUSTONIG_STATIC_LIBONIG
  cargo:rerun-if-env-changed=RUSTONIG_SYSTEM_LIBONIG
  cargo:rerun-if-env-changed=CC_FORCE_DISABLE
  CC_FORCE_DISABLE = None
  cargo:rerun-if-env-changed=CC_wasm32-wasip1
  CC_wasm32-wasip1 = None
  cargo:rerun-if-env-changed=CC_wasm32_wasip1
  CC_wasm32_wasip1 = None
  cargo:rerun-if-env-changed=TARGET_CC
  TARGET_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  cargo:rerun-if-env-changed=WASI_SDK_PATH
  WASI_SDK_PATH = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  cargo:rerun-if-env-changed=WASI_SYSROOT
  WASI_SYSROOT = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:rerun-if-env-changed=TARGET_CFLAGS
  TARGET_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32_wasip1
  CFLAGS_wasm32_wasip1 = None
  cargo:rerun-if-env-changed=CFLAGS_wasm32-wasip1
  CFLAGS_wasm32-wasip1 = None
  cargo:warning=In file included from oniguruma/src/regexec.c:36:
  cargo:warning=In file included from oniguruma/src/regint.h:122:
  cargo:warning=In file included from /usr/lib/llvm-18/lib/clang/18/include/limits.h:21:
  cargo:warning=/usr/include/limits.h:26:10: fatal error: 'bits/libc-header-start.h' file not found
  cargo:warning=   26 | #include <bits/libc-header-start.h>
  cargo:warning=      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=1 error generated.

  --- stderr


  error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "clang" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "--target=wasm32-wasip1" "-I" "/home/runner/work/uu-grep/uu-grep/target/wasm32-wasip1/debug/build/onig_sys-a70b99634d38a846/out" "-I" "oniguruma/src" "-w" "-DONIG_DISABLE_DIRECT_THREADING=1" "-o" "/home/runner/work/uu-grep/uu-grep/target/wasm32-wasip1/debug/build/onig_sys-a70b99634d38a846/out/a445302c6d3dcb51-regexec.o" "-c" "oniguruma/src/regexec.c"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions