Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2018 01:16:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 234080] devel/rust-cbindgen 0.6.7_1 segfaults during configure with *** Signal 11 on FreeBSD 12.0-RELEASE
Message-ID:  <bug-234080-21738-js3npYJHBx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234080-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234080-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234080

--- Comment #6 from Kevin Reinholz <kreinholz@gmail.com> ---
Thanks for responding. That is quite odd, as I rebuilt rust-1.31.0 yesterda=
y,
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 sour=
ce
and then building rust-cbindgen from source with the usual 'sudo make insta=
ll
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 portmaste=
r.

I considered installing rust-cbindgen from the pkg system given the configu=
re
error it throws, yet oddly neither rust nor rust-nightly does, but pkg inst=
all
aimed at the official pkg repository wants to delete some large applications
such as apache-openoffice and downgrade a number of seemingly unrelated oth=
ers
which frankly is not very nice behavior in my book. I may look at setting u=
p a
poudriere repository although this seems like a lot of work for just my sin=
gle
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 >=3D 1.31 listed) when attempting to build against
rust:

Script started on Mon Dec 17 17:08:36 2018
[1m[7m%[27m[1m[m=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20


[m[27m[24m[JLahan% [K[?2004hssudo make install clean[?2004l

Password:
=3D=3D=3D>  License MPL20 accepted by the user
=3D=3D=3D>   rust-cbindgen-0.6.7_1 depends on file: /usr/local/sbin/pkg - f=
ound
=3D=3D=3D> Fetching all distfiles required by rust-cbindgen-0.6.7_1 for bui=
lding
=3D=3D=3D>  Extracting for rust-cbindgen-0.6.7_1
=3D> SHA256 Checksum OK for rust/crates/ansi_term-0.11.0.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/atty-0.2.10.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/bitflags-1.0.3.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/cfg-if-0.1.3.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/clap-2.31.2.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/cloudabi-0.0.3.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/dtoa-0.4.2.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/fuchsia-zircon-0.3.3.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/fuchsia-zircon-sys-0.3.3.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/itoa-0.4.1.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/libc-0.2.41.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/log-0.4.1.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/proc-macro2-0.3.8.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/proc-macro2-0.4.4.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/quote-0.5.2.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/quote-0.6.3.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/rand-0.5.5.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/rand_core-0.2.1.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/redox_syscall-0.1.40.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/redox_termios-0.1.1.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/remove_dir_all-0.5.1.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/serde-1.0.64.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/serde_derive-1.0.58.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/serde_json-1.0.19.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/strsim-0.7.0.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/syn-0.13.11.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/syn-0.14.1.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/tempfile-3.0.3.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/termion-1.5.1.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/textwrap-0.9.0.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/toml-0.4.6.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/unicode-width-0.1.5.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/unicode-xid-0.1.0.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/vec_map-0.8.1.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/winapi-0.3.4.tar.gz.
=3D> SHA256 Checksum OK for rust/crates/winapi-i686-pc-windows-gnu-0.4.0.ta=
r.gz.
=3D> SHA256 Checksum OK for
rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz.
=3D> SHA256 Checksum OK for eqrion-cbindgen-v0.6.7_GH0.tar.gz.
=3D=3D=3D>  Moving crates to
/usr/ports/devel/rust-cbindgen/work/cbindgen-0.6.7/cargo-crates
=3D=3D=3D>  Patching for rust-cbindgen-0.6.7_1
=3D=3D=3D>  Configuring for rust-cbindgen-0.6.7_1
*** Signal 11

Stop.
make: stopped in /usr/ports/devel/rust-cbindgen
[1m[7m%[27m[1m[m=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20


[m[27m[24m[JLahan% [K[?2004heexit[?2004l


Script done on Mon Dec 17 17:08:49 2018

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



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