[Bug 234080] devel/rust-cbindgen 0.6.7_1 segfaults during configure with *** Signal 11 on FreeBSD 12.0-RELEASE
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 18 01:16:39 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234080
--- Comment #6 from Kevin Reinholz <kreinholz at gmail.com> ---
Thanks for responding. That is quite odd, as I rebuilt rust-1.31.0 yesterday,
16 December 2018, without issue on FreeBSD 12.0-RELEASE with GENERIC kernel on
amd64, from the Ports tree. I also built, using sudo portmaster -o
lang/rust-nightly lang/rust, rust-nightly-0.33.0.2018-12-16 both yesterday, and
again today, as I attempted rebuilding both rust and rust-nightly from source
and then building rust-cbindgen from source with the usual 'sudo make install
clean' from within the Ports tree.
Since these were source builds, I don't have a poudriere log, unfortunately. I
use portmaster to keep my third party applications installed from the Ports
tree up-to-date.
This is what uname -a provides about my system:
FreeBSD Lahan.xeno 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64
Ports tree is up-to-date via portsnap, and upgrades managed using portmaster.
I considered installing rust-cbindgen from the pkg system given the configure
error it throws, yet oddly neither rust nor rust-nightly does, but pkg install
aimed at the official pkg repository wants to delete some large applications
such as apache-openoffice and downgrade a number of seemingly unrelated others
which frankly is not very nice behavior in my book. I may look at setting up a
poudriere repository although this seems like a lot of work for just my single
workstation (I don't manage any FreeBSD clients to serve pkg binaries to).
I'll probably end up attempting pkg install after creating a backup package of
apache-openoffice and just giving up on building rust-cbindgen from source,
since unlike rust and rust-nightly, for whatever reason, it segfaults during
configure.
This is the very unhelpful log created using script from a recent attempt to
build rust-cbindgen from the Ports tree (this is with rust-nightly installed
and hackily specified as a dependency in Mk/Uses/cargo.mk and Mk/bsd.gecko.mk,
but the error is exactly the same (except with the addition of a successful
dependency check for rust >= 1.31 listed) when attempting to build against
rust:
Script started on Mon Dec 17 17:08:36 2018
[1m[7m%[27m[1m[m
[m[27m[24m[JLahan% [K[?2004hssudo make install clean[?2004l
Password:
===> License MPL20 accepted by the user
===> rust-cbindgen-0.6.7_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rust-cbindgen-0.6.7_1 for building
===> Extracting for rust-cbindgen-0.6.7_1
=> SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/atty-0.2.10.tar.gz.
=> SHA256 Checksum OK for rust/crates/bitflags-1.0.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/cfg-if-0.1.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/clap-2.31.2.tar.gz.
=> SHA256 Checksum OK for rust/crates/cloudabi-0.0.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/dtoa-0.4.2.tar.gz.
=> SHA256 Checksum OK for rust/crates/fuchsia-zircon-0.3.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/fuchsia-zircon-sys-0.3.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/itoa-0.4.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/libc-0.2.41.tar.gz.
=> SHA256 Checksum OK for rust/crates/log-0.4.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/proc-macro2-0.3.8.tar.gz.
=> SHA256 Checksum OK for rust/crates/proc-macro2-0.4.4.tar.gz.
=> SHA256 Checksum OK for rust/crates/quote-0.5.2.tar.gz.
=> SHA256 Checksum OK for rust/crates/quote-0.6.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/rand-0.5.5.tar.gz.
=> SHA256 Checksum OK for rust/crates/rand_core-0.2.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/redox_syscall-0.1.40.tar.gz.
=> SHA256 Checksum OK for rust/crates/redox_termios-0.1.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/remove_dir_all-0.5.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/serde-1.0.64.tar.gz.
=> SHA256 Checksum OK for rust/crates/serde_derive-1.0.58.tar.gz.
=> SHA256 Checksum OK for rust/crates/serde_json-1.0.19.tar.gz.
=> SHA256 Checksum OK for rust/crates/strsim-0.7.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/syn-0.13.11.tar.gz.
=> SHA256 Checksum OK for rust/crates/syn-0.14.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/tempfile-3.0.3.tar.gz.
=> SHA256 Checksum OK for rust/crates/termion-1.5.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/textwrap-0.9.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/toml-0.4.6.tar.gz.
=> SHA256 Checksum OK for rust/crates/unicode-width-0.1.5.tar.gz.
=> SHA256 Checksum OK for rust/crates/unicode-xid-0.1.0.tar.gz.
=> SHA256 Checksum OK for rust/crates/vec_map-0.8.1.tar.gz.
=> SHA256 Checksum OK for rust/crates/winapi-0.3.4.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.
=> SHA256 Checksum OK for eqrion-cbindgen-v0.6.7_GH0.tar.gz.
===> Moving crates to
/usr/ports/devel/rust-cbindgen/work/cbindgen-0.6.7/cargo-crates
===> Patching for rust-cbindgen-0.6.7_1
===> Configuring for rust-cbindgen-0.6.7_1
*** Signal 11
Stop.
make: stopped in /usr/ports/devel/rust-cbindgen
[1m[7m%[27m[1m[m
[m[27m[24m[JLahan% [K[?2004heexit[?2004l
Script done on Mon Dec 17 17:08:49 2018
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gecko
mailing list