NetBSD Problem Report #53348

From john@tim.nextvr.com  Wed Jun  6 21:22:54 2018
Return-Path: <john@tim.nextvr.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B25A17A177
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  6 Jun 2018 21:22:54 +0000 (UTC)
Message-Id: <201806062122.w56LMpGN002068@tim.nextvr.com>
Date: Wed, 6 Jun 2018 21:22:51 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: lang/rust fails to build on netbsd-7 with high -j value
X-Send-Pr-Version: 3.95

>Number:         53348
>Category:       pkg
>Synopsis:       lang/rust fails to build on netbsd-7 with high -j value
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 06 21:25:00 +0000 2018
>Originator:     john@ziaspace.com
>Release:        NetBSD 7.1_STABLE
>Organization:

>Environment:


System: NetBSD tim.nextvr.com 7.1_STABLE NetBSD 7.1_STABLE (TIM) #0: Fri Oct 20 05:19:22 UTC 2017 john@tim.nextvr.com:/usr/obj-amd64/sys/arch/amd64/compile/TIM amd64
Architecture: x86_64
Machine: amd64
>Description:


lang/rust fails to build on netbsd-7 with MAKE_JOBS=8. Rerunning make with MAKE_JOBS=1 succeeds.


Generating unstable book md files (x86_64-unknown-netbsd)
      c Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-netbsd" } }
      > UnstableBookGen { compiler: Compiler { stage: 0, host: "x86_64-unknown-netbsd" }, target: "x86_64-unknown-netbsd" }
        > ToolBuild { compiler: Compiler { stage: 0, host: "x86_64-unknown-netbsd" }, target: "x86_64-unknown-netbsd", tool: "unstable-book-gen", path: "src/tools/unstable-book-gen", mode: Libstd, is_ext_tool: false, extra_features: [] }
          c Std { target: "x86_64-unknown-netbsd", compiler: Compiler { stage: 0, host: "x86_64-unknown-netbsd" } }
          c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-netbsd" } }
Building stage0 tool unstable-book-gen (x86_64-unknown-netbsd)
running: "/usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo" "build" "--target" "x86_64-unknown-netbsd" "--release" "--frozen" "--manifest-path" "/usr/pkgsrc/lang/rust/work/rustc-1.26.1-src/src/tools/unstable-book-gen/Cargo.toml" "--features" "" "--message-format" "json"
   Compiling unicode-xid v0.1.0
   Compiling itoa v0.4.1
   Compiling dtoa v0.4.2
   Compiling serde v1.0.35
   Compiling num-traits v0.2.2
thread 'rustc' panicked at 'failed to get current_exe: /proc/curproc/exe doesn't point to regular file.', librustc/session/filesearch.rs:167:23
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.25.0 (84203cac6 2018-03-25) running on x86_64-unknown-netbsd

error: Could not compile `itoa`.

Caused by:
  process didn't exit successfully: `/usr/pkgsrc/lang/rust/work/rustc-1.26.1-src/build/bootstrap/debug/rustc --crate-name itoa vendor/itoa/src/lib.rs --error-format json --crate-type lib --emit=dep-info,link -C opt-level=2 --cfg feature="default" --cfg feature="std" -C metadata=7e6653c0d6dd62f5 -C extra-filename=-7e6653c0d6dd62f5 --out-dir /usr/pkgsrc/lang/rust/work/rustc-1.26.1-src/build/x86_64-unknown-netbsd/stage0-tools/x86_64-unknown-netbsd/release/deps --target x86_64-unknown-netbsd -L dependency=/usr/pkgsrc/lang/rust/work/rustc-1.26.1-src/build/x86_64-unknown-netbsd/stage0-tools/x86_64-unknown-netbsd/release/deps -L dependency=/usr/pkgsrc/lang/rust/work/rustc-1.26.1-src/build/x86_64-unknown-netbsd/stage0-tools/release/deps --cap-lints allow` (exit code: 101)


>How-To-Repeat:

>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.