NetBSD Problem Report #53244
From www@NetBSD.org Tue May 1 09:11:06 2018
Return-Path: <www@NetBSD.org>
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 754F67A267
for <gnats-bugs@gnats.NetBSD.org>; Tue, 1 May 2018 09:11:06 +0000 (UTC)
Message-Id: <20180501091104.932707A269@mollari.NetBSD.org>
Date: Tue, 1 May 2018 09:11:04 +0000 (UTC)
From: m.viey@wanadoo.fr
Reply-To: m.viey@wanadoo.fr
To: gnats-bugs@NetBSD.org
Subject: Rust 1.24.1 build in pksrc 2018Q1
X-Send-Pr-Version: www-1.0
>Number: 53244
>Category: pkg
>Synopsis: Rust 1.24.1 build in pksrc 2018Q1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bsiegert
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 01 09:15:01 +0000 2018
>Closed-Date: Fri May 22 23:22:50 +0000 2020
>Last-Modified: Fri May 22 23:22:50 +0000 2020
>Originator: Mik
>Release: 2018Q1
>Organization:
>Environment:
NetBSD dk-17 7.1_STABLE NetBSD 7.1_STABLE (MYKERNEL) #3: Sat Feb 17 19:47:02 CET 2018 mik@dk-17:/usr/src/sys/arch/amd64/compile/MYKERNEL amd64
>Description:
Rustc build fails on my system when being built from pkgsrc. Here the complete log :
# RUST_BACKTRACE=1 make install
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for rust-1.23.0-x86_64-unknown-netbsd.tar.gz
=> Checksum RMD160 OK for rust-1.23.0-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA512 OK for rust-1.23.0-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA1 OK for rust-std-1.23.0-x86_64-unknown-netbsd.tar.gz
=> Checksum RMD160 OK for rust-std-1.23.0-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA512 OK for rust-std-1.23.0-x86_64-unknown-netbsd.tar.gz
=> Checksum SHA1 OK for rustc-1.24.1-src.tar.gz
=> Checksum RMD160 OK for rustc-1.24.1-src.tar.gz
=> Checksum SHA512 OK for rustc-1.24.1-src.tar.gz
===> Installing dependencies for rust-1.24.1
==========================================================================
The following variables will affect the build process of this package,
rust-1.24.1. Their current value is shown below:
* KRB5_DEFAULT = heimdal
* PYTHON_VERSION_DEFAULT = 27
* SSLBASE = /usr
* SSLCERTS = /etc/openssl/certs
* SSLDIR = /etc/openssl
* SSLKEYS = /etc/openssl/private
Based on these variables, the following variables have been set:
* KRB5BASE (defined, but empty)
* KRB5_TYPE = heimdal
* PYPACKAGE = python27
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb1
=> Tool dependency bash-[0-9]*: found bash-4.4.18
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency gtar-base>=1.13.25: found gtar-base-1.30
=> Tool dependency perl>=5.0: found perl-5.26.1nb2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Build dependency cmake>=2.8.5nb1: found cmake-3.10.3
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency libgit2>=0.26.0: found libgit2-0.26.3
=> Full dependency python27>=2.7.1nb2: found python27-2.7.14
=> Full dependency libssh2>=1.7.0nb1: found libssh2-1.8.0
=> Full dependency curl>=7.57.0nb1: found curl-7.59.0
=> Full dependency http-parser>=2.7.0: found http-parser-2.8.0
===> Overriding tools for rust-1.24.1
===> Extracting for rust-1.24.1
set -e; if test -e /usr/pkgsrc/lang/rust/work/rust-1.23.0-x86_64-unknown-netbsd/install.sh -a ! -e /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/rustc; then cd /usr/pkgsrc/lang/rust/work/rust-1.23.0-x86_64-unknown-netbsd; /usr/pkg/bin/bash ./install.sh --prefix=/usr/pkgsrc/lang/rust/work/rust-bootstrap; cd /usr/pkgsrc/lang/rust/work/rust-std-1.23.0-x86_64-unknown-netbsd; /usr/pkg/bin/bash ./install.sh --prefix=/usr/pkgsrc/lang/rust/work/rust-bootstrap; fi
install: creating uninstall script at /usr/pkgsrc/lang/rust/work/rust-bootstrap/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'cargo'
install: installing component 'rls-preview'
install: installing component 'rustfmt-preview'
install: installing component 'rust-analysis-x86_64-unknown-netbsd'
install: installing component 'rust-std-x86_64-unknown-netbsd'
install: installing component 'rust-docs'
Rust is ready to roll.
install: uninstalling component 'rust-std-x86_64-unknown-netbsd'
install: creating uninstall script at /usr/pkgsrc/lang/rust/work/rust-bootstrap/lib/rustlib/uninstall.sh
install: installing component 'rust-std-x86_64-unknown-netbsd'
std is standing at the ready.
===> Patching for rust-1.24.1
=> Applying pkgsrc patches for rust-1.24.1
=> Substituting "rpath" in src/bootstrap/bin/rustc.rs
===> Creating toolchain wrappers for rust-1.24.1
===> Configuring for rust-1.24.1
configure: processing command line
configure:
configure: rust.dist-src := False
configure: build.extended := True
configure: build.vendor := True
configure: rust.channel := stable
configure: build.python := /usr/pkg/bin/python2.7
configure: rust.rpath := True
configure: install.sysconfdir := /usr/pkg/etc
configure: rust.codegen-tests := False
configure: install.prefix := /usr/pkg
configure: build.rustc := /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/ ...
configure: build.cargo := /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/ ...
configure: llvm.static-libstdcpp := False
configure: llvm.ninja := False
configure: install.mandir := /usr/pkg/man
configure: build.configure-args := ['--prefix=/usr/pkg', '--mandir=/usr/pkg/man', ...
configure:
configure: writing `config.toml` in current directory
configure:
configure: run `python /usr/pkgsrc/lang/rust/work/rustc-1.24.1-src/x.py --help`
configure:
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
===> Building for rust-1.24.1
cd /usr/pkgsrc/lang/rust/work/rustc-1.24.1-src && env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/lang/rust/work/.cwrapper/bin:/usr/pkgsrc/lang/rust/work/.buildlink/bin:/usr/pkgsrc/lang/rust/work/.gcc/bin:/usr/pkgsrc/lang/rust/work/.tools/bin:/usr/pkg/bin:/home/mik/.cargo/bin:/home/mik/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/
bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/lang/rust/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/lang/rust/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no LIBTOOL="/usr/pkgsrc/lang/rust/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_IN
STALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/usr/pkgsrc/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/pkgsrc/lang/rust/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/lang/rust/work/.cwrapper/config /usr/pkg/bin/python2.7 ./x.py -v dist
running: /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/pkgsrc/lang/rust/work/rustc-1.24.1-src/src/bootstrap/Cargo.toml --verbose --frozen
error: failed to run `rustc` to learn about target-specific information
Caused by:
process didn't exit successfully: `/usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/rustc - --crate-name ___ --print=file-names --target x86_64-unknown-netbsd --crate-type bin --crate-type proc-macro --crate-type rlib` (exit code: 101)
--- stderr
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.23.0 (766bd11c8 2018-01-01) running on x86_64-unknown-netbsd
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'failed to get current_exe: No such file or directory (os error 2)', /checkout/src/librustc/session/filesearch.rs:167:22
stack backtrace:
0: <std::sys::imp::backtrace::tracing::imp::UnwindError as core::fmt::Display>::fmt
1: __rdl_shrink_in_place
2: std::panicking::Location::column
3: std::panicking::Location::column
4: std::panicking::rust_panic_with_hook
5: <alloc::vec::Vec<(alloc::string::String, u64)> as rustc::session::config::dep_tracking::DepTrackingHash>::hash
6: rustc::session::filesearch::get_or_default_sysroot
7: rustc::session::build_session_
8: rustc::session::build_session_with_codemap
9: rustc_driver::run_compiler
10: rustc_driver::target_features::add_configuration
11: __rust_maybe_catch_panic
12: <rustc_driver::derive_registrar::Finder as rustc::hir::itemlikevisit::ItemLikeVisitor<'v>>::visit_impl_item
13: std::sys::imp::thread::Thread::new
14: __libc_thr_exit
15: __mknod50
Traceback (most recent call last):
File "./x.py", line 20, in <module>
bootstrap.main()
File "/usr/pkgsrc/lang/rust/work/rustc-1.24.1-src/src/bootstrap/bootstrap.py", line 758, in main
bootstrap()
File "/usr/pkgsrc/lang/rust/work/rustc-1.24.1-src/src/bootstrap/bootstrap.py", line 738, in bootstrap
build.build_bootstrap()
File "/usr/pkgsrc/lang/rust/work/rustc-1.24.1-src/src/bootstrap/bootstrap.py", line 625, in build_bootstrap
run(args, env=env, verbose=self.verbose)
File "/usr/pkgsrc/lang/rust/work/rustc-1.24.1-src/src/bootstrap/bootstrap.py", line 148, in run
raise RuntimeError(err)
RuntimeError: failed to run: /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/pkgsrc/lang/rust/work/rustc-1.24.1-src/src/bootstrap/Cargo.toml --verbose --frozen
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/rust
#
>How-To-Repeat:
build rust from pkgsrc 2018Q1 branch
>Fix:
>Release-Note:
>Audit-Trail:
From: Mickael Viey <m.viey@wanadoo.fr>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53244: Rust 1.24.1 build in pksrc 2018Q1
Date: Tue, 1 May 2018 11:40:26 +0200
This is a multi-part message in MIME format.
--------------24DE1590F64F53A1451A526E
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
After searching, this error would be comes that I tried to build rust
from a chroot environment where procfs is not mounted.
Indeed, this function try to determine the current processus from procfs.
Le 01/05/2018 à 11:15, gnats-admin@netbsd.org a écrit :
> Thank you very much for your problem report.
> It has the internal identification `pkg/53244'.
> The individual assigned to look at your
> report is: pkg-manager.
>
>> Category: pkg
>> Responsible: pkg-manager
>> Synopsis: Rust 1.24.1 build in pksrc 2018Q1
>> Arrival-Date: Tue May 01 09:15:01 +0000 2018
--------------24DE1590F64F53A1451A526E
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#333333" bgcolor="#CCCCCC">
<p>After searching, this error would be comes that I tried to build
rust from a chroot environment where procfs is not mounted.</p>
<p>Indeed, this function try to determine the current processus from
procfs.<br>
</p>
<br>
<div class="moz-cite-prefix">Le 01/05/2018 à 11:15,
<a class="moz-txt-link-abbreviated" href="mailto:gnats-admin@netbsd.org">gnats-admin@netbsd.org</a> a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:20180501091501.0D1017A269@mollari.NetBSD.org">
<pre wrap="">Thank you very much for your problem report.
It has the internal identification `pkg/53244'.
The individual assigned to look at your
report is: pkg-manager.
</pre>
<blockquote type="cite">
<pre wrap="">Category: pkg
Responsible: pkg-manager
Synopsis: Rust 1.24.1 build in pksrc 2018Q1
Arrival-Date: Tue May 01 09:15:01 +0000 2018
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>
--------------24DE1590F64F53A1451A526E--
From: Mickael Viey <m.viey@wanadoo.fr>
To: gnats-bugs@NetBSD.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Cc:
Subject: Re: pkg/53244: Rust 1.24.1 build in pksrc 2018Q1
Date: Tue, 1 May 2018 12:06:39 +0200
This is a multi-part message in MIME format.
--------------137DF5940CA078CB50EA0358
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
here code from rust which cause the problem in chroot:
https://github.com/rust-lang/rust/blob/c08480fce0f39f5c9c6db6dde0dccb375ca0ab14/src/libstd/sys/unix/os.rs#L224
Le 01/05/2018 à 11:45, Mickael Viey a écrit :
> The following reply was made to PR pkg/53244; it has been noted by GNATS.
>
> From: Mickael Viey <m.viey@wanadoo.fr>
> To: gnats-bugs@NetBSD.org
> Cc:
> Subject: Re: pkg/53244: Rust 1.24.1 build in pksrc 2018Q1
> Date: Tue, 1 May 2018 11:40:26 +0200
>
> This is a multi-part message in MIME format.
> --------------24DE1590F64F53A1451A526E
> Content-Type: text/plain; charset=utf-8; format=flowed
> Content-Transfer-Encoding: 8bit
>
> After searching, this error would be comes that I tried to build rust
> from a chroot environment where procfs is not mounted.
>
> Indeed, this function try to determine the current processus from procfs.
>
>
> Le 01/05/2018 à 11:15, gnats-admin@netbsd.org a écrit :
> > Thank you very much for your problem report.
> > It has the internal identification `pkg/53244'.
> > The individual assigned to look at your
> > report is: pkg-manager.
> >
> >> Category: pkg
> >> Responsible: pkg-manager
> >> Synopsis: Rust 1.24.1 build in pksrc 2018Q1
> >> Arrival-Date: Tue May 01 09:15:01 +0000 2018
>
>
> --------------24DE1590F64F53A1451A526E
> Content-Type: text/html; charset=utf-8
> Content-Transfer-Encoding: 8bit
>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
> </head>
> <body text="#333333" bgcolor="#CCCCCC">
> <p>After searching, this error would be comes that I tried to build
> rust from a chroot environment where procfs is not mounted.</p>
> <p>Indeed, this function try to determine the current processus from
> procfs.<br>
> </p>
> <br>
> <div class="moz-cite-prefix">Le 01/05/2018 Ã 11:15,
> <a class="moz-txt-link-abbreviated" href="mailto:gnats-admin@netbsd.org">gnats-admin@netbsd.org</a> a écrit :<br>
> </div>
> <blockquote type="cite"
> cite="mid:20180501091501.0D1017A269@mollari.NetBSD.org">
> <pre wrap="">Thank you very much for your problem report.
> It has the internal identification `pkg/53244'.
> The individual assigned to look at your
> report is: pkg-manager.
>
> </pre>
> <blockquote type="cite">
> <pre wrap="">Category: pkg
> Responsible: pkg-manager
> Synopsis: Rust 1.24.1 build in pksrc 2018Q1
> Arrival-Date: Tue May 01 09:15:01 +0000 2018
> </pre>
> </blockquote>
> <pre wrap="">
> </pre>
> </blockquote>
> <br>
> </body>
> </html>
>
> --------------24DE1590F64F53A1451A526E--
>
--------------137DF5940CA078CB50EA0358
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#333333" bgcolor="#CCCCCC">
<p>here code from rust which cause the problem in chroot:</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/rust-lang/rust/blob/c08480fce0f39f5c9c6db6dde0dccb375ca0ab14/src/libstd/sys/unix/os.rs#L224">https://github.com/rust-lang/rust/blob/c08480fce0f39f5c9c6db6dde0dccb375ca0ab14/src/libstd/sys/unix/os.rs#L224</a><br>
</p>
<br>
<div class="moz-cite-prefix">Le 01/05/2018 à 11:45, Mickael Viey a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:20180501094501.509F87A262@mollari.NetBSD.org">
<pre wrap="">The following reply was made to PR pkg/53244; it has been noted by GNATS.
From: Mickael Viey <a class="moz-txt-link-rfc2396E" href="mailto:m.viey@wanadoo.fr"><m.viey@wanadoo.fr></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:gnats-bugs@NetBSD.org">gnats-bugs@NetBSD.org</a>
Cc:
Subject: Re: pkg/53244: Rust 1.24.1 build in pksrc 2018Q1
Date: Tue, 1 May 2018 11:40:26 +0200
This is a multi-part message in MIME format.
--------------24DE1590F64F53A1451A526E
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
After searching, this error would be comes that I tried to build rust
from a chroot environment where procfs is not mounted.
Indeed, this function try to determine the current processus from procfs.
Le 01/05/2018 à 11:15, <a class="moz-txt-link-abbreviated" href="mailto:gnats-admin@netbsd.org">gnats-admin@netbsd.org</a> a écrit :
> Thank you very much for your problem report.
> It has the internal identification `pkg/53244'.
> The individual assigned to look at your
> report is: pkg-manager.
>
>> Category: pkg
>> Responsible: pkg-manager
>> Synopsis: Rust 1.24.1 build in pksrc 2018Q1
>> Arrival-Date: Tue May 01 09:15:01 +0000 2018
--------------24DE1590F64F53A1451A526E
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#333333" bgcolor="#CCCCCC">
<p>After searching, this error would be comes that I tried to build
rust from a chroot environment where procfs is not mounted.</p>
<p>Indeed, this function try to determine the current processus from
procfs.<br>
</p>
<br>
<div class="moz-cite-prefix">Le 01/05/2018 Ã 11:15,
<a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:gnats-admin@netbsd.org">"mailto:gnats-admin@netbsd.org"</a>><a class="moz-txt-link-abbreviated" href="mailto:gnats-admin@netbsd.org">gnats-admin@netbsd.org</a></a> a écrit :<br>
</div>
<blockquote type="cite"
cite=<a class="moz-txt-link-rfc2396E" href="mailto:mid:20180501091501.0D1017A269@mollari.NetBSD.org">"mid:20180501091501.0D1017A269@mollari.NetBSD.org"</a>>
<pre wrap="">Thank you very much for your problem report.
It has the internal identification `pkg/53244'.
The individual assigned to look at your
report is: pkg-manager.
</pre>
<blockquote type="cite">
<pre wrap="">Category: pkg
Responsible: pkg-manager
Synopsis: Rust 1.24.1 build in pksrc 2018Q1
Arrival-Date: Tue May 01 09:15:01 +0000 2018
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>
--------------24DE1590F64F53A1451A526E--
</pre>
</blockquote>
<br>
</body>
</html>
--------------137DF5940CA078CB50EA0358--
From: Benny Siegert <bsiegert@gmail.com>
To: m.viey@wanadoo.fr
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/53244: Rust 1.24.1 build in pksrc 2018Q1
Date: Wed, 02 May 2018 10:45:05 +0000
I believe it is documented that you must have procfs mounted at /proc
(ideally with -o linux) when building rust. So this is not really a bug
from in pkgsrc.
From: Mickael Viey <m.viey@wanadoo.fr>
To: Benny Siegert <bsiegert@gmail.com>
Cc: gnats-bugs@netbsd.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/53244: Rust 1.24.1 build in pksrc 2018Q1
Date: Wed, 2 May 2018 18:53:04 +0200
This is a multi-part message in MIME format.
--------------FC54E51A820DCBBCBC4A376A
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Hi,
Sorry I didn't update this report. I didn't find where it is documented.
But with reading code I find eventually that procfs must be mounted.
Indeed it's not a bug.
Thx for your reply.
Le 02/05/2018 à 12:45, Benny Siegert a écrit :
> I believe it is documented that you must have procfs mounted at /proc
> (ideally with -o linux) when building rust. So this is not really a bug
> from in pkgsrc.
--------------FC54E51A820DCBBCBC4A376A
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#333333" bgcolor="#CCCCCC">
<p>Hi,</p>
<p>Sorry I didn't update this report. I didn't find where it is
documented. But with reading code I find eventually that procfs
must be mounted. Indeed it's not a bug.</p>
<p><br>
</p>
<p>Thx for your reply.</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">Le 02/05/2018 à 12:45, Benny Siegert a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAN+FjHNCP5RR2AsuOSCL0WigsABSLywMW6ena3XU_XS4aD86Bg@mail.gmail.com">
<pre wrap="">I believe it is documented that you must have procfs mounted at /proc
(ideally with -o linux) when building rust. So this is not really a bug
from in pkgsrc.
</pre>
</blockquote>
<br>
</body>
</html>
--------------FC54E51A820DCBBCBC4A376A--
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/53244: Rust 1.24.1 build in pksrc 2018Q1
Date: Sun, 6 May 2018 09:16:56 +0000
On Wed, May 02, 2018 at 10:50:01AM +0000, Benny Siegert wrote:
> I believe it is documented that you must have procfs mounted at /proc
> (ideally with -o linux) when building rust. So this is not really a bug
> from in pkgsrc.
Where is it documented? There's nothing in lang/rust/*.
--
David A. Holland
dholland@netbsd.org
Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Tue, 08 May 2018 09:42:55 +0000
Responsible-Changed-Why:
I'll add a warning to the build.
State-Changed-From-To: open->analyzed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Tue, 08 May 2018 09:42:55 +0000
State-Changed-Why:
not really a bug, but ought to be documented better
State-Changed-From-To: analyzed->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 22 May 2020 23:22:50 +0000
State-Changed-Why:
Stale bug report. This can only happen on NetBSD-7, and lang/rust has since dropped NetBSD-7.
On newer NetBSD, a sysctl is used to find the executable name, not requiring procfs.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.