Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678786 - dev-lang/rust-1.31.1 with dev-libs/libressl-2.8.3 - error: failed to run custom build command for `openssl-sys v0.9.38`
Summary: dev-lang/rust-1.31.1 with dev-libs/libressl-2.8.3 - error: failed to run cust...
Status: RESOLVED DUPLICATE of bug 677302
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-25 18:58 UTC by ernsteiswuerfel
Modified: 2019-03-04 09:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (1.31.1) (rust-1.31.1:20190225-181408.log,55.61 KB, text/plain)
2019-02-25 18:58 UTC, ernsteiswuerfel
Details
emerge --info (file_678786.txt,6.57 KB, text/plain)
2019-02-25 18:59 UTC, ernsteiswuerfel
Details
build.log (1.32.0, ppc64) (rust-1.32.0:20190225-174840.log,3.63 KB, text/plain)
2019-02-25 19:03 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2019-02-25 18:58:01 UTC
Created attachment 566490 [details]
build.log (1.31.1)

[...]
--- stderr
thread 'main' panicked at '

This crate is only compatible with OpenSSL 1.0.1 through 1.1.1, or LibreSSL 2.5
through 2.8.1, but a different version of OpenSSL was found. The build is now aborting
due to this version mismatch.

', /var/tmp/portage/dev-lang/rust-1.31.1/work/rustc-1.31.1-src/src/vendor/openssl-sys/build/main.rs:539:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
Comment 1 ernsteiswuerfel archtester 2019-02-25 18:59:57 UTC
Created attachment 566492 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2019-02-25 19:03:10 UTC
Created attachment 566494 [details]
build.log (1.32.0, ppc64)

Unfortunately I can't try any newer version as rust-1.32.0 does not build at all on this machine (ppc64).
Comment 3 pagorman 2019-03-04 08:10:50 UTC
Is there a reason you can't use rust-1.32.0? Or maybe 1.33? That's what everyone with sense should really recommend.

https://bugs.gentoo.org/677302

If not, there is a patchfile in that thread that'll rig it to work anyway.
Comment 4 ernsteiswuerfel archtester 2019-03-04 09:42:24 UTC

*** This bug has been marked as a duplicate of bug 677302 ***
Comment 5 ernsteiswuerfel archtester 2019-03-04 09:43:29 UTC
(In reply to pagorman from comment #3)
> Is there a reason you can't use rust-1.32.0? Or maybe 1.33? That's what
> everyone with sense should really recommend.

Thanks for the hint! rust-1.32.0 had other build problems on my ppc64 machine. I have yet to try rust-1.33.