From owner-freebsd-java@freebsd.org Wed Jan 3 00:36:48 2018 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15CACE8584F for ; Wed, 3 Jan 2018 00:36:48 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E8A767B187 for ; Wed, 3 Jan 2018 00:36:47 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: by mailman.ysv.freebsd.org (Postfix) id E453AE8584E; Wed, 3 Jan 2018 00:36:47 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3EDDE8584D for ; Wed, 3 Jan 2018 00:36:47 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from sonic312-23.consmr.mail.gq1.yahoo.com (sonic312-23.consmr.mail.gq1.yahoo.com [98.137.69.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE9B57B186 for ; Wed, 3 Jan 2018 00:36:47 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) X-YMail-OSG: Ugb8MfQVM1kWhSjaiM67Byq7efvLSGWMHZ.KgALfSm2zZR8VPECu5oyDHHi9Ad4 F7jbHM__R6dI3yTZhfHS2f2u5y7dur_PDVHdHV5dI8nH56moJAjSaWbtkcBqo8uSKxr4FD_zgjMy vFwzFnilg5EYP1rP9xyxTiagqBT_kbNK1jcRr_Pej_iRr2Nh_z.6EYgdYHLWZp_VGo7u3i.AlaxD .3ElS_dV3QaQIDpZvTT19z3yo.OX2KzL2_naWYo5iTKCbvGZu3EXSNMcKqttHbW7BrYmmyhKdT48 oxGyM1DFOC2GpKWGdzAQMeM8pbo.IZSzfLcBIu_9HTX2unGalT98nRjiUa.aWt4eWoYIMSt86R9d bplWZMKXiWnxnj_zPBxAkZNGuzB15pDb9prO63YVoLyUcbuO1ACe7abF2Df32_AREF2pCgcKpOq8 71qBBcJ1NttFj3tgAcq2wBD7EYa2FE_9n8EUoKyXhxER_hxbtJCje9JcbX_rF.n1O4WfsSUA84Ix PWsL8iRjW Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Wed, 3 Jan 2018 00:36:46 +0000 Received: from smtp105.rhel.mail.gq1.yahoo.com (EHLO ajenkins-hplaptop.mydomain.local) ([68.180.227.8]) by smtp401.mail.gq1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID f333853aaf2d6c2ead749ba691dd53f8; Wed, 03 Jan 2018 00:06:23 +0000 (UTC) To: FreeBSD Ports From: Anthony Jenkins Subject: Ports with binary bootstrap packages and CURRENT+ino64 Cc: openjdk8 Port Maintainer , rust Port Maintainer Message-ID: <4b19d0a5-3910-607f-b7e8-b649bd0d591e@yahoo.com> Date: Tue, 2 Jan 2018 19:06:20 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2018 00:36:48 -0000 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 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 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: . Find the GDB manual and other documentation resources online at: . 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 () 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