Created
June 30, 2022 14:19
-
-
Save josephrocca/e142217d82f76a4bf5218886c845c5a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@josephrocca β /workspaces/tokenizers/bindings/python (master) $ RUSTUP_TOOLCHAIN=nightly maturin build --release -o dist --target wasm32-unknown-emscripten -i python3.10 | |
β οΈ Warning: `build-backend` in pyproject.toml is not set to `maturin`, packaging tools such as pip will not use maturin to build this project. | |
π Found pyo3 bindings | |
π Found cross compiling target CPython 3.10 | |
Compiling libc v0.2.121 | |
Compiling cfg-if v1.0.0 | |
Compiling autocfg v1.1.0 | |
Compiling proc-macro2 v1.0.36 | |
Compiling unicode-xid v0.2.2 | |
Compiling syn v1.0.89 | |
Compiling cc v1.0.73 | |
Compiling log v0.4.15 | |
Compiling version_check v0.9.4 | |
Compiling pkg-config v0.3.24 | |
Compiling wasm-bindgen-shared v0.2.79 | |
Compiling memchr v2.3.4 | |
Compiling lazy_static v1.4.0 | |
Compiling pyo3-build-config v0.16.2 | |
Compiling once_cell v1.10.0 | |
Compiling scopeguard v1.1.0 | |
Compiling bumpalo v3.9.1 | |
Compiling crossbeam-utils v0.8.8 | |
Compiling typenum v1.15.0 | |
Compiling serde_derive v1.0.136 | |
Compiling serde v1.0.136 | |
Compiling ryu v1.0.9 | |
Compiling wasm-bindgen v0.2.79 | |
Compiling unicode-width v0.1.9 | |
Compiling regex-syntax v0.6.25 | |
Compiling crc32fast v1.3.2 | |
Compiling tinyvec_macros v0.1.0 | |
Compiling matches v0.1.9 | |
Compiling rayon-core v1.9.1 | |
Compiling bitflags v1.3.2 | |
Compiling ident_case v1.0.1 | |
Compiling radium v0.5.3 | |
Compiling strsim v0.9.3 | |
Compiling adler v1.0.2 | |
Compiling percent-encoding v2.1.0 | |
Compiling itoa v1.0.1 | |
Compiling fnv v1.0.7 | |
Compiling smallvec v1.8.0 | |
Compiling parking_lot_core v0.8.5 | |
Compiling either v1.6.1 | |
Compiling lexical-core v0.7.6 | |
Compiling serde_json v1.0.79 | |
Compiling unicode-bidi v0.3.7 | |
Compiling rawpointer v0.2.1 | |
Compiling wyz v0.2.0 | |
Compiling tap v1.0.1 | |
Compiling arrayvec v0.5.2 | |
Compiling funty v1.1.0 | |
Compiling bytes v1.1.0 | |
Compiling byteorder v1.4.3 | |
Compiling ppv-lite86 v0.2.16 | |
Compiling static_assertions v1.1.0 | |
Compiling number_prefix v0.4.0 | |
Compiling derive_builder v0.9.0 | |
Compiling unindent v0.1.8 | |
Compiling remove_dir_all v0.5.3 | |
Compiling macro_rules_attribute-proc_macro v0.0.2 | |
Compiling ansi_term v0.12.1 | |
Compiling ndarray v0.13.1 | |
Compiling glob v0.3.0 | |
Compiling vec_map v0.8.2 | |
Compiling number_prefix v0.3.0 | |
Compiling strsim v0.8.0 | |
Compiling unicode-segmentation v1.9.0 | |
Compiling base64 v0.12.3 | |
Compiling quick-error v1.2.3 | |
Compiling unicode_categories v0.1.1 | |
Compiling paste v1.0.6 | |
Compiling termcolor v1.1.3 | |
Compiling instant v0.1.12 | |
Compiling memoffset v0.6.5 | |
Compiling num-traits v0.2.14 | |
Compiling crossbeam-epoch v0.9.8 | |
Compiling miniz_oxide v0.4.4 | |
Compiling num-integer v0.1.44 | |
Compiling rayon v1.5.1 | |
Compiling num-complex v0.2.4 | |
Compiling generic-array v0.14.5 | |
Compiling nom v6.2.1 | |
Compiling lock_api v0.4.6 | |
Compiling bzip2-sys v0.1.11+1.0.8 | |
Compiling onig_sys v69.7.1 | |
Compiling esaxx-rs v0.1.8 | |
Compiling textwrap v0.11.0 | |
Compiling tinyvec v1.5.1 | |
Compiling form_urlencoded v1.0.1 | |
Compiling unicode-normalization-alignments v0.1.12 | |
Compiling itertools v0.8.2 | |
Compiling itertools v0.9.0 | |
Compiling matrixmultiply v0.3.2 | |
Compiling matrixmultiply v0.2.4 | |
Compiling http v0.2.6 | |
Compiling indoc v1.0.4 | |
Compiling macro_rules_attribute v0.0.2 | |
Compiling humantime v1.3.0 | |
Compiling fastrand v1.7.0 | |
error: failed to run custom build command for `bzip2-sys v0.1.11+1.0.8` | |
Caused by: | |
process didn't exit successfully: `/workspaces/tokenizers/bindings/python/target/release/build/bzip2-sys-ddba4eb39a09aaec/build-script-build` (exit status: 1) | |
--- stdout | |
cargo:rerun-if-env-changed=BZIP2_NO_PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_wasm32-unknown-emscripten | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_wasm32_unknown_emscripten | |
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS | |
cargo:rerun-if-env-changed=PKG_CONFIG_wasm32-unknown-emscripten | |
cargo:rerun-if-env-changed=PKG_CONFIG_wasm32_unknown_emscripten | |
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_wasm32-unknown-emscripten | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_wasm32_unknown_emscripten | |
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR | |
TARGET = Some("wasm32-unknown-emscripten") | |
OPT_LEVEL = Some("3") | |
HOST = Some("x86_64-unknown-linux-gnu") | |
CC_wasm32-unknown-emscripten = None | |
CC_wasm32_unknown_emscripten = None | |
TARGET_CC = None | |
CC = None | |
CFLAGS_wasm32-unknown-emscripten = None | |
CFLAGS_wasm32_unknown_emscripten = None | |
TARGET_CFLAGS = None | |
CFLAGS = None | |
CRATE_CC_NO_DEFAULTS = None | |
DEBUG = Some("false") | |
CARGO_CFG_TARGET_FEATURE = Some("llvm14-builtins-abi") | |
running: "emcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "bzip2-1.0.8" "-D_FILE_OFFSET_BITS=64" "-DBZ_NO_STDIO" "-o" "/workspaces/tokenizers/bindings/python/target/wasm32-unknown-emscripten/release/build/bzip2-sys-a1f0813b74d2c06b/out/lib/bzip2-1.0.8/blocksort.o" "-c" "bzip2-1.0.8/blocksort.c" | |
--- stderr | |
error occurred: Failed to find tool. Is `emcc` installed? | |
warning: build failed, waiting for other jobs to finish... | |
π₯ maturin failed | |
Caused by: Failed to build a native library through cargo | |
Caused by: Cargo build finished with "exit status: 101": `"cargo" "rustc" "--release" "--target" "wasm32-unknown-emscripten" "--message-format" "json" "--lib" "--" "-C" "link-arg=-sSIDE_MODULE=2" "-C" "link-arg=-sWASM_BIGINT"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment