Skip to content

Instantly share code, notes, and snippets.

@taegyunkim
Created August 2, 2020 01:01
Show Gist options
  • Save taegyunkim/f8e8b8142a7ff4fb36fa0332d5729ffd to your computer and use it in GitHub Desktop.
Save taegyunkim/f8e8b8142a7ff4fb36fa0332d5729ffd to your computer and use it in GitHub Desktop.
emscripten bazel build boost error
...
Fixing bazel-out/wasm-fastbuild-ST-629647e12a78/bin/external/boost/_objs/container/global_resource.d
ERROR: /private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/boost/BUILD.bazel:518:14: undeclared inclusion(s) in rule '@boost//:container':
this rule is missing dependency declarations for the following files included by 'external/boost/libs/container/src/dlmalloc_ext_2_8_6.c':
'/private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/boost/libs/container/src/dlmalloc_ext_2_8_6.c'
'/private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/boost/libs/container/src/dlmalloc_2_8_6.c'
Adding directories to PATH:
PATH += /private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/emscripten_toolchain
PATH += /private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/emscripten_toolchain/upstream/emscripten
PATH += /private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/emscripten_toolchain/node/12.9.1_64bit/bin
Setting environment variables:
EMSDK = /private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/emscripten_toolchain
EM_CONFIG = /private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/emscripten_toolchain/.emscripten
EM_CACHE = /private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/emscripten_toolchain/.emscripten_cache
EMSDK_NODE = /private/var/tmp/_bazel_taegyunkim/f4d9c414e12983e771160994f3d3fd11/external/emscripten_toolchain/node/12.9.1_64bit/bin/node
Fixing bazel-out/wasm-fastbuild-ST-629647e12a78/bin/external/boost/_objs/container/dlmalloc_ext_2_8_6.d
Target //:filter.wasm failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 160.655s, Critical Path: 53.73s
INFO: 68 processes: 68 darwin-sandbox.
FAILED: Build did NOT complete successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment