[Bug 241411] lang/rust 1.38 fails with libressl 3.0.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 22 10:15:55 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241411

            Bug ID: 241411
           Summary: lang/rust 1.38 fails with libressl 3.0.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust at FreeBSD.org
          Reporter: jakub_lach at mailplus.pl
          Assignee: rust at FreeBSD.org
             Flags: maintainer-feedback?(rust at FreeBSD.org)

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

Caused by:                                                                      
  process didn't exit successfully:
`/usr/obj/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_                 
                                                              
64-unknown-freebsd/stage2-tools/release/build/openssl-sys-52f1d537c2290713/build-script-main`
(exi                                                                           
     t code: 101)                                                               
--- stdout                                                                      
cargo:rustc-cfg=const_fn                                                        
cargo:rerun-if-env-changed=X86_64_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR               
X86_64_UNKNOWN_FREEBSD_OPENSSL_LIB_DIR unset                                    
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR                                      
OPENSSL_LIB_DIR unset                                                           
cargo:rerun-if-env-changed=X86_64_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR           
X86_64_UNKNOWN_FREEBSD_OPENSSL_INCLUDE_DIR unset                                
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR                                  
OPENSSL_INCLUDE_DIR unset                                                       
cargo:rerun-if-env-changed=X86_64_UNKNOWN_FREEBSD_OPENSSL_DIR                   
X86_64_UNKNOWN_FREEBSD_OPENSSL_DIR unset                                        
cargo:rerun-if-env-changed=OPENSSL_DIR                                          
OPENSSL_DIR = /usr/local                                                        
cargo:rustc-link-search=native=/usr/local/lib                                   
cargo:include=/usr/local/include                                                
OPT_LEVEL = Some("2")                                                           
TARGET = Some("x86_64-unknown-freebsd")                                         
HOST = Some("x86_64-unknown-freebsd")                                           
CC_x86_64-unknown-freebsd = Some("cc")                                          
CFLAGS_x86_64-unknown-freebsd = Some("-ffunction-sections -fdata-sections -fPIC
-m64")                                                                          
CRATE_CC_NO_DEFAULTS = None                                                     
DEBUG = Some("false")                                                           
CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")                            
running: "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64"
"-ffunction-sections" "                                                        
                        -fdata-sections" "-fPIC" "-m64" "-I"
"/usr/local/include" "-E" "build/expando.c"                                     
exit code: 0                                                                    
cargo:rustc-cfg=osslconf="OPENSSL_NO_BUF_FREELISTS"                             
cargo:rustc-cfg=osslconf="OPENSSL_NO_COMP"                                      
cargo:rustc-cfg=osslconf="OPENSSL_NO_KRB5"                                      
cargo:rustc-cfg=osslconf="OPENSSL_NO_PSK"                                       
cargo:rustc-cfg=osslconf="OPENSSL_NO_RFC3779"                                   
cargo:rustc-cfg=osslconf="OPENSSL_NO_SRP"                                       
cargo:rustc-cfg=osslconf="OPENSSL_NO_SSL3_METHOD"                               
cargo:conf=OPENSSL_NO_BUF_FREELISTS,OPENSSL_NO_COMP,OPENSSL_NO_KRB5,OPENSSL_NO_PSK,OPENSSL_NO_RFC3
                                                                               
779,OPENSSL_NO_SRP,OPENSSL_NO_SSL3_METHOD                                       
cargo:rustc-cfg=libressl                                                        
cargo:rustc-cfg=libressl251                                                     
cargo:rustc-cfg=libressl261                                                     
cargo:rustc-cfg=libressl270                                                     
cargo:rustc-cfg=libressl271                                                     
cargo:rustc-cfg=libressl273                                                     
cargo:rustc-cfg=libressl280                                                     
cargo:rustc-cfg=libressl281                                                     
cargo:rustc-cfg=libressl291                                                     
cargo:libressl_version_number=3000200f                                          

--- 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.9.x, but a different version of OpenSSL was found. The build is now
aborting                                                                        
due to this version mismatch.                                                   

',
/usr/obj/usr/ports/lang/rust/work/rustc-1.38.0-src/vendor/openssl-sys/build/main.rs:239:5 
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.  

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list