Date: Tue, 2 Jan 2018 19:06:20 -0500 From: Anthony Jenkins <Scoobi_doo@yahoo.com> To: FreeBSD Ports <freebsd-ports@freebsd.org> Cc: openjdk8 Port Maintainer <java@freebsd.org>, rust Port Maintainer <rust@freebsd.org> Subject: Ports with binary bootstrap packages and CURRENT+ino64 Message-ID: <4b19d0a5-3910-607f-b7e8-b649bd0d591e@yahoo.com>
next in thread | raw e-mail | index | archive | help
I'm having trouble building ports with a new Poudriere rig on a 12.0-CURRENT (git commit 423586ee). The ports that fail are ones that require a binary bootstrap package (e.g. lang/rust and java/openjdk8). The executables in these bootstrap packages fail with a segfault as do all executables build with a non-ino64 FreeBSD box. * How do I get these to build on a 12.0-CURRENT box with the ino64 update? * How do I build my own binary bootstrap packages - contact the individual port maintainers? * Is there a way to configure Poudriere to _not_ build a certain package, but instead use a pre-built binary package? lang/rust build log: ... extracting cargo-0.22.0-x86_64-unknown-freebsd/cargo/manifest.in extracting cargo-0.22.0-x86_64-unknown-freebsd/cargo/etc/bash_completion.d/cargo extracting cargo-0.22.0-x86_64-unknown-freebsd/cargo/bin/cargo extracting cargo-0.22.0-x86_64-unknown-freebsd/cargo/share/zsh/site-functions/_cargo running: /wrkdirs/usr/ports/lang/rust/work/rustc-1.22.1-src/build/x86_64-unknown-freebsd/stage0/bin/cargo build --manifest-path /wrkdirs/usr/ports/lang/rust/work/rustc-1.22.1-src/src/bootstrap/Cargo.toml --verbose --frozen Traceback (most recent call last): File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.22.1-src/x.py", line 20, in <module> bootstrap.main() File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py", line 756, in main bootstrap() File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py", line 736, in bootstrap build.build_bootstrap() File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py", line 624, in build_bootstrap run(args, env=env, verbose=self.verbose) File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py", line 148, in run raise RuntimeError(err) RuntimeError: failed to run: /wrkdirs/usr/ports/lang/rust/work/rustc-1.22.1-src/build/x86_64-unknown-freebsd/stage0/bin/cargo build --manifest-path /wrkdirs/usr/ports/lang/rust/work/rustc-1.22.1-src/src/bootstrap/Cargo.toml --verbose --frozen *** Error code 1 Running bootstrap cargo executable: [ajenkins@vickie /usr/ports/lang/rust]$ /usr/ports/lang/rust/work/rustc-1.22.1-src/build/x86_64-unknown-freebsd/stage0/bin/cargo Bad system call (core dumped) [ajenkins@vickie /usr/ports/lang/rust]$ gdb /usr/ports/lang/rust/work/rustc-1.22.1-src/build/x86_64-unknown-freebsd/stage0/bin/cargo ./cargo.core GNU gdb (GDB) 8.0.1 [GDB v8.0.1 for FreeBSD] Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd12.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/ports/lang/rust/work/rustc-1.22.1-src/build/x86_64-unknown-freebsd/stage0/bin/cargo...done. [New LWP 100674] Core was generated by `/usr/ports/lang/rust/work/rustc-1.22.1-src/build/x86_64-unknown-freebsd/stage0/b'. Program terminated with signal SIGSYS, Bad system call. #0 stat () at freebsd11_stat.S:3 3 RSYSCALL(freebsd11_stat) (gdb) where #0 stat () at freebsd11_stat.S:3 #1 0x00000000016a94a0 in std::sys::imp::fs::stat () at /checkout/src/libstd/sys/unix/fs.rs:732 #2 0x00000000016a1a76 in std::fs::metadata<&std::path::Path> () at /checkout/src/libstd/fs.rs:1271 #3 std::path::Path::exists () at /checkout/src/libstd/path.rs:2247 #4 0x00000000014e4f19 in home::cargo_home_with_cwd () #5 0x000000000130a7f4 in cargo::util::config::homedir () #6 0x00000000012fa71b in cargo::util::config::Config::default () #7 0x00000000010c396e in cargo::main () #8 0x00000000016b5bbd in panic_unwind::__rust_maybe_catch_panic () at /checkout/src/libpanic_unwind/lib.rs:99 #9 0x00000000016af58c in std::panicking::try<(),closure> () at /checkout/src/libstd/panicking.rs:459 #10 std::panic::catch_unwind<closure,()> () at /checkout/src/libstd/panic.rs:361 #11 std::rt::lang_start () at /checkout/src/libstd/rt.rs:61 #12 0x0000000001080db1 in _start () (gdb) java/openjdk8 build log: ... checking for wget... no checking for lftp... no checking for ftp... ftp checking headful support... include support for both headful and headless configure: Found potential Boot JDK using configure arguments configure: Potential Boot JDK found at /usr/local/bootstrap-openjdk8 is incorrect JDK version (); ignoring configure: (Your Boot JDK must be version 7 or 8) configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK configure exiting with result code 1 ===> Script "../../configure" failed unexpectedly. Please report the problem to java@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/java/openjdk8/work/openjdk/common/autoconf/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4b19d0a5-3910-607f-b7e8-b649bd0d591e>