Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2020 18:47:35 +0100
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Cc:        gecko@freebsd.org
Subject:   Re: devel/rust-cbindgen fails to build
Message-ID:  <CAJ_iqtaJnBRao7v36uKscEU8BnVvEHK3xqjrpA9eOdvRMGcsig@mail.gmail.com>
In-Reply-To: <CAJ_iqtaKdc6SXxwSzk%2Ba=a-RuAEtjWPF5i%2Bwsi6Jsbo8b0VBGA@mail.gmail.com>
References:  <CAJ_iqtbZ6_2OP-Hs9XdyR07N5fhcgGk6MEZv5mSFERwk46OA7g@mail.gmail.com> <CAJ_iqtaKdc6SXxwSzk%2Ba=a-RuAEtjWPF5i%2Bwsi6Jsbo8b0VBGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
building rust-cbindgen-0.16.0 also fails on this machine, in the same
way. But - I installed rust-cbindgen from ports on another  FreeBSD
11.4-release machine, starting from "clean" (nothing installed except
for pkg, which then was upgraded from ports), madea package from that
and used 'pkg add' to install said package on this machine. That
worked for now.
It is likely that the build environment for (some) ports is broken
somehow on this machine.

On Sun, Dec 20, 2020 at 11:05 PM Torfinn Ingolfsen <tingox@gmail.com> wrote:
>
> rust-cbindgen-0.15.0_2 also fails:
>
> root@kg-core1# make clean
> ===>  Cleaning for rust-cbindgen-0.15.0_2
> root@kg-core1# make
> ===>  License MPL20 accepted by the user
> ===>   rust-cbindgen-0.15.0_2 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by rust-cbindgen-0.15.0_2 for building
> ===>  Extracting for rust-cbindgen-0.15.0_2
> => SHA256 Checksum OK for rust/crates/cbindgen-0.15.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/atty-0.2.14.tar.gz.
> => SHA256 Checksum OK for rust/crates/autocfg-1.0.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/bitflags-1.2.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/cfg-if-0.1.10.tar.gz.
> => SHA256 Checksum OK for rust/crates/clap-2.33.3.tar.gz.
> => SHA256 Checksum OK for rust/crates/getrandom-0.1.15.tar.gz.
> => SHA256 Checksum OK for rust/crates/hashbrown-0.9.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/heck-0.3.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/hermit-abi-0.1.16.tar.gz.
> => SHA256 Checksum OK for rust/crates/indexmap-1.6.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/itoa-0.4.6.tar.gz.
> => SHA256 Checksum OK for rust/crates/libc-0.2.77.tar.gz.
> => SHA256 Checksum OK for rust/crates/log-0.4.11.tar.gz.
> => SHA256 Checksum OK for rust/crates/ppv-lite86-0.2.9.tar.gz.
> => SHA256 Checksum OK for rust/crates/proc-macro2-1.0.21.tar.gz.
> => SHA256 Checksum OK for rust/crates/quote-1.0.7.tar.gz.
> => SHA256 Checksum OK for rust/crates/rand-0.7.3.tar.gz.
> => SHA256 Checksum OK for rust/crates/rand_chacha-0.2.2.tar.gz.
> => SHA256 Checksum OK for rust/crates/rand_core-0.5.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/rand_hc-0.2.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/redox_syscall-0.1.57.tar.gz.
> => SHA256 Checksum OK for rust/crates/remove_dir_all-0.5.3.tar.gz.
> => SHA256 Checksum OK for rust/crates/ryu-1.0.5.tar.gz.
> => SHA256 Checksum OK for rust/crates/serde-1.0.116.tar.gz.
> => SHA256 Checksum OK for rust/crates/serde_derive-1.0.116.tar.gz.
> => SHA256 Checksum OK for rust/crates/serde_json-1.0.57.tar.gz.
> => SHA256 Checksum OK for rust/crates/strsim-0.8.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/syn-1.0.41.tar.gz.
> => SHA256 Checksum OK for rust/crates/tempfile-3.1.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/textwrap-0.11.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/toml-0.5.6.tar.gz.
> => SHA256 Checksum OK for rust/crates/unicode-segmentation-1.6.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/unicode-width-0.1.8.tar.gz.
> => SHA256 Checksum OK for rust/crates/unicode-xid-0.2.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/vec_map-0.8.2.tar.gz.
> => SHA256 Checksum OK for rust/crates/wasi-0.9.0+wasi-snapshot-preview1.tar.gz.
> => SHA256 Checksum OK for rust/crates/winapi-0.3.9.tar.gz.
> => SHA256 Checksum OK for rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz.
> ===>  Moving crates to
> /usr/ports/devel/rust-cbindgen/work/cbindgen-0.15.0/cargo-crates
> ===>  Patching for rust-cbindgen-0.15.0_2
> ===>   rust-cbindgen-0.15.0_2 depends on package: rust>=1.48.0 - found
> ===>  Configuring for rust-cbindgen-0.15.0_2
> thread 'main' panicked at 'couldn't initialize the libgit2 library:
> -1, error: could not initialize openssl: error:1410D0B9:SSL
> routines:SSL_CTX_set_cipher_list:no cipher match',
> /usr/ports/lang/rust/work/rustc-1.48.0-src/vendor/libgit2-sys/lib.rs:3807:9
> stack backtrace:
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a
> verbose backtrace.
> *** Error code 101
>
> Stop.
> make: stopped in /usr/ports/devel/rust-cbindgen
> RUST_BACKTRACE=full doesn't give much
> root@kg-core1# RUST_BACKTRACE=full make clean
> ===>  Cleaning for rust-cbindgen-0.15.0_2
> root@kg-core1# RUST_BACKTRACE=full make
> ===>  License MPL20 accepted by the user
> ===>   rust-cbindgen-0.15.0_2 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by rust-cbindgen-0.15.0_2 for building
> ===>  Extracting for rust-cbindgen-0.15.0_2
> => SHA256 Checksum OK for rust/crates/cbindgen-0.15.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/atty-0.2.14.tar.gz.
> => SHA256 Checksum OK for rust/crates/autocfg-1.0.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/bitflags-1.2.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/cfg-if-0.1.10.tar.gz.
> => SHA256 Checksum OK for rust/crates/clap-2.33.3.tar.gz.
> => SHA256 Checksum OK for rust/crates/getrandom-0.1.15.tar.gz.
> => SHA256 Checksum OK for rust/crates/hashbrown-0.9.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/heck-0.3.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/hermit-abi-0.1.16.tar.gz.
> => SHA256 Checksum OK for rust/crates/indexmap-1.6.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/itoa-0.4.6.tar.gz.
> => SHA256 Checksum OK for rust/crates/libc-0.2.77.tar.gz.
> => SHA256 Checksum OK for rust/crates/log-0.4.11.tar.gz.
> => SHA256 Checksum OK for rust/crates/ppv-lite86-0.2.9.tar.gz.
> => SHA256 Checksum OK for rust/crates/proc-macro2-1.0.21.tar.gz.
> => SHA256 Checksum OK for rust/crates/quote-1.0.7.tar.gz.
> => SHA256 Checksum OK for rust/crates/rand-0.7.3.tar.gz.
> => SHA256 Checksum OK for rust/crates/rand_chacha-0.2.2.tar.gz.
> => SHA256 Checksum OK for rust/crates/rand_core-0.5.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/rand_hc-0.2.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/redox_syscall-0.1.57.tar.gz.
> => SHA256 Checksum OK for rust/crates/remove_dir_all-0.5.3.tar.gz.
> => SHA256 Checksum OK for rust/crates/ryu-1.0.5.tar.gz.
> => SHA256 Checksum OK for rust/crates/serde-1.0.116.tar.gz.
> => SHA256 Checksum OK for rust/crates/serde_derive-1.0.116.tar.gz.
> => SHA256 Checksum OK for rust/crates/serde_json-1.0.57.tar.gz.
> => SHA256 Checksum OK for rust/crates/strsim-0.8.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/syn-1.0.41.tar.gz.
> => SHA256 Checksum OK for rust/crates/tempfile-3.1.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/textwrap-0.11.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/toml-0.5.6.tar.gz.
> => SHA256 Checksum OK for rust/crates/unicode-segmentation-1.6.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/unicode-width-0.1.8.tar.gz.
> => SHA256 Checksum OK for rust/crates/unicode-xid-0.2.1.tar.gz.
> => SHA256 Checksum OK for rust/crates/vec_map-0.8.2.tar.gz.
> => SHA256 Checksum OK for rust/crates/wasi-0.9.0+wasi-snapshot-preview1.tar.gz.
> => SHA256 Checksum OK for rust/crates/winapi-0.3.9.tar.gz.
> => SHA256 Checksum OK for rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz.
> => SHA256 Checksum OK for rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz.
> ===>  Moving crates to
> /usr/ports/devel/rust-cbindgen/work/cbindgen-0.15.0/cargo-crates
> ===>  Patching for rust-cbindgen-0.15.0_2
> ===>   rust-cbindgen-0.15.0_2 depends on package: rust>=1.48.0 - found
> ===>  Configuring for rust-cbindgen-0.15.0_2
> thread 'main' panicked at 'couldn't initialize the libgit2 library:
> -1, error: could not initialize openssl: error:1410D0B9:SSL
> routines:SSL_CTX_set_cipher_list:no cipher match',
> /usr/ports/lang/rust/work/rustc-1.48.0-src/vendor/libgit2-sys/lib.rs:3807:9
> stack backtrace:
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a
> verbose backtrace.
> *** Error code 101
>
> Stop.
> make: stopped in /usr/ports/devel/rust-cbindgen
>
> still on
> root@kg-core1# uname -a
> FreeBSD kg-core1.kg4.no 11.4-STABLE FreeBSD 11.4-STABLE #3 r362432:
> Sat Jun 20 12:51:06 CEST 2020
> root@kg-core1.kg4.no:/zs/usr/obj/usr/src/sys/GENERIC  amd64
>
> no poudriere here - can't test with that, sorry.
>
> On Fri, Nov 13, 2020 at 11:01 AM Torfinn Ingolfsen <tingox@gmail.com> wrote:
> >
> > Is anyone else seeing that rust-cbindgen fails to build?
> > root@kg-core1# cd /usr/ports/devel/rust-cbindgen
> > root@kg-core1# make clean
> > ===>  Cleaning for rust-cbindgen-0.15.0_1
> > root@kg-core1# make
> > [..]
> > ===>  Moving crates to
> > /usr/ports/devel/rust-cbindgen/work/cbindgen-0.15.0/cargo-crates
> > ===>  Patching for rust-cbindgen-0.15.0_1
> > ===>   rust-cbindgen-0.15.0_1 depends on package: rust>=1.47.0 - found
> > ===>  Configuring for rust-cbindgen-0.15.0_1
> > thread 'main' panicked at 'couldn't initialize the libgit2 library:
> > -1, error: could not initialize openssl: error:1410D0B9:SSL
> > routines:SSL_CTX_set_cipher_list:no cipher match',
> > /usr/ports/lang/rust/work/rustc-1.47.0-src/vendor/libgit2-sys/lib.rs:3747:9
> > stack backtrace:
> > note: Some details are omitted, run with `RUST_BACKTRACE=full` for a
> > verbose backtrace.
> > *** Error code 101
> >
> > Stop.
> > make: stopped in /usr/ports/devel/rust-cbindgen
> >
> > This is on
> > root@kg-core1# uname -a
> > FreeBSD kg-core1.kg4.no 11.4-STABLE FreeBSD 11.4-STABLE #3 r362432:
> > Sat Jun 20 12:51:06 CEST 2020
> > root@kg-core1.kg4.no:/zs/usr/obj/usr/src/sys/GENERIC  amd64
> >
> > freshly updated ports tree today.
> > --
> > Regards,
> > Torfinn Ingolfsen
>
>
>
> --
> mvh
> Torfinn



-- 
mvh
Torfinn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtaJnBRao7v36uKscEU8BnVvEHK3xqjrpA9eOdvRMGcsig>