Skip to content

Dependencies with build script fail on FreeBSD + 1.39 nightly #64006

Closed
@johalun

Description

@johalun

Tested on various crates like bindgen, backtrace, async-std, etc, that has one or more -sys dependencies that include a build.rs file. All such deps fail with errors like:

error: failed to run custom build command for `openssl-sys v0.9.49`

Caused by:
  process didn't exit successfully: `/usr/home/johannes/dev/curl-test/target/debug/build/openssl-sys-7d3ff8c9464a6e09/build-script-main` (signal: 11, SIGSEGV: invalid memory reference)
error: failed to run custom build command for `backtrace-sys v0.1.31`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installOYpgIo/release/build/backtrace-sys-8309d2ffb8202182/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
--- stdout
cargo:rustc-cfg=rbt

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

stable and beta works fine, this only happens for nightly 1.39

johannes@jm:~/dev/curl-test % rustc -V
rustc 1.39.0-nightly (17e73e801 2019-08-28)
johannes@jm:~/dev/curl-test % cargo -V
cargo 1.39.0-nightly (22f7dd049 2019-08-27)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-freebsdOperating system: FreeBSDP-mediumMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions