Skip to content

Build error while on Fedora #512

@ConcurrencyPractitioner

Description

While running the python setup.py develop command under weld-python on Fedora. We found the following error:

Fresh uuid v0.7.4
       Fresh llvm-sys v60.4.1
   Compiling weld v0.4.0 (/home/zyu/weld/weld)
     Running `/home/zyu/weld/weld-python/target/debug/build/weld-6c83ee8deea2cb14/build-script-build`
error: failed to run custom build command for `weld v0.4.0 (/home/zyu/weld/weld)`

Caused by:
  process didn't exit successfully: `/home/zyu/weld/weld-python/target/debug/build/weld-6c83ee8deea2cb14/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-env=BUILD_ID=dcbba9a

cargo:rustc-link-lib=dylib=stdc++
make: Entering directory '/home/zyu/weld/weld/llvmext'
clang++-9.0 -O3 -fno-use-cxa-atexit -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/include -std=c++11   -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c llvmext.cpp -o /home/zyu/weld/weld-python/target/debug/build/weld-0807948382241f60/out/llvmext.o
make: Leaving directory '/home/zyu/weld/weld/llvmext'

--- stderr
make: clang++-9.0: Command not found
make: *** [Makefile:26: llvmext.o] Error 127
thread 'main' panicked at 'assertion failed: status.success()', /home/zyu/weld/weld/build.rs:41:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

warning: build failed, waiting for other jobs to finish...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions