Skip to content
#

build-system

Here are 477 public repositories matching this topic...

stefanbucur
stefanbucur commented Nov 25, 2020

Description of the problem / feature request:

When overriding the copts and linkopts build configuration with None values in a transition, Bazel crashes with a NullPointerException.

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

def _my_transition_impl(settings, attr):
    return {
        "//command_line_
tanyabouman
tanyabouman commented Apr 13, 2021

Is your feature request related to a problem? Please describe.
When missing the libgmp-dev package, the error is not that clear.

ERROR: /root/.cache/bazel/_bazel_root/0d15a96fd12ed9dca003553c71536f42/external/stackage/BUILD.bazel:828:22: HaskellCabalLibrary @stackage//:th-abstraction failed: (Exit 1): process-wrapper failed: error executing command 
  (cd /root/.cache/bazel/_bazel_ro

Improve this page

Add a description, image, and links to the build-system topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the build-system topic, visit your repo's landing page and select "manage topics."

Learn more