NetBSD Problem Report #52809
From hf@spg.tu-darmstadt.de Tue Dec 12 09:33:09 2017
Return-Path: <hf@spg.tu-darmstadt.de>
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 B19697A177
for <gnats-bugs@gnats.NetBSD.org>; Tue, 12 Dec 2017 09:33:09 +0000 (UTC)
Message-Id: <201712120927.vBC9R0NX002493@Gstoder.nt.e-technik.tu-darmstadt.de>
Date: Tue, 12 Dec 2017 10:27:00 +0100 (CET)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: lang/rust build fails, breaking firefox build
X-Send-Pr-Version: 3.95
>Number: 52809
>Category: pkg
>Synopsis: lang/rust build fails, breaking firefox build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: ryoon
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 12 09:35:00 +0000 2017
>Closed-Date: Mon May 07 12:44:49 +0000 2018
>Last-Modified: Mon May 07 12:44:49 +0000 2018
>Originator: Hauke Fath
>Release: NetBSD 8.0_BETA
>Organization:
Technische Universitaet Darmstadt
>Environment:
System: NetBSD Gstoder 8.0_BETA NetBSD 8.0_BETA (GA-MA770-UD3-$Revision$) #0: Mon Dec 11 13:05:06 CET 2017 hf@Hochstuhl:/var/obj/netbsd-builds/8/i386/sys/arch/i386/compile/GA-MA770-UD3 i386
Architecture: i386
Machine: i386
>Description:
For more than a fortnight now, the lang/rust build has been
breaking for me with
[...]
===> Building for rust-1.22.1nb2
cd /var/obj/pkgsrc/lang/rust/work/rustc-1.22.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\ -march=i586\ -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\ -march=i586\ -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=/var/obj/pkgsrc/lang/rust/work/.cwrapper/bin:/var/obj/pkgsrc/lang/rust/work/.buildlink/bin:/var/obj/pkgsrc/lang/rust/work/.gcc/bin:/var/obj/pkgsrc/lang/rust/work/.tools/bin:/usr/pkg/bin:/home/hf/bin:/usr/pkg/bin:/bin:/usr/!
bin:/usr/local/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/pkg/java/openjdk8/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/pkg HOME=/var/obj/pkgsrc/lang/rust/work/.home CWRAPPERS_CONFIG_DIR=/var/obj/pkgsrc/lang/rust/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no LIBTOOL="/var/obj/pkgsrc/lang/rust/work/.cwrapper/bin/libtool " BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ hf\ -g\ spgmit\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ hf\ -g\ spgmit\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ hf\ -g\ spgmit\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ hf\ -g\ spgmit\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ hf\ -g\ spgmit\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ hf\ -g\ spgmit\ -m\ 755 BSD_INSTALL_SCRIPT!
_DIR=/usr/bin/install\ -d\ -o\ hf\ -g\ spgmit\ -m\ 755 BSD_INS!
TALL_LIB_DIR=/usr/bin/install\ -d\ -o\ hf\ -g\ spgmit\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ hf\ -g\ spgmit\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ hf\ -g\ spgmit\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ hf\ -g\ spgmit\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ hf\ -g\ spgmit\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ hf\ -g\ spgmit\ -m\ 775 INSTALL_INFO= MAKEINFO=/var/obj/pkgsrc/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG=/var/obj/pkgsrc/lang/rust/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/var/obj/pkgsrc/lang/rust/work/.buildlink/lib/pkgconfig:/var/obj/pkgsrc/lang/rust/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/var/obj/pkgsrc/lang/rust/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/var/obj/pkgsrc/lang/rust/work/.cwrapper/config /usr/pkg/bin/python2.7 ./x.py -v dist
running: /var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /var/obj/pkgsrc/lang/rust/work/rustc-1.22.1-src/src/bootstrap/Cargo.toml --verbose --frozen
/var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo: text relocations
/var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo: Cannot write-enable text segment: Permission denied
Traceback (most recent call last):
File "./x.py", line 20, in <module>
bootstrap.main()
File "/var/obj/pkgsrc/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py", line 756, in main
bootstrap()
File "/var/obj/pkgsrc/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py", line 736, in bootstrap
build.build_bootstrap()
File "/var/obj/pkgsrc/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 "/var/obj/pkgsrc/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py", line 148, in run
raise RuntimeError(err)
RuntimeError: failed to run: /var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /var/obj/pkgsrc/lang/rust/work/rustc-1.22.1-src/src/bootstrap/Cargo.toml --verbose --frozen
*** Error code 1
[...]
This is netbsd8, both i386 and amd64. Looks to me like another
victim on the path to a "fortified pkgsrc", but I probably don't
know what I'm talking about(tm).
>How-To-Repeat:
Build lang/rust, or run pkg_rolling-replace on a netbsd-8
machine with www/firefoyx installed.
>Fix:
I haven't the slightest...
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: hauke@NetBSD.org
State-Changed-When: Tue, 12 Dec 2017 09:43:39 +0000
State-Changed-Why:
Duplicate of PR 52584, it turns out...
From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52809: lang/rust build fails, breaking firefox build
Date: Tue, 12 Dec 2017 12:19:46 +0000
I am not sure this is a duplicate of 52584.
BTW, the bootstrap kit for netbsd/i386 was made by ryoon, not upstream.
From: Ryo ONODERA <ryo@tetera.org>
To: hf@spg.tu-darmstadt.de, gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52809 (lang/rust build fails, breaking firefox build)
Date: Wed, 13 Dec 2017 05:37:24 +0900 (JST)
Hi,
From: hauke@NetBSD.org, Date: Tue, 12 Dec 2017 09:43:40 +0000 (UTC)
> Synopsis: lang/rust build fails, breaking firefox build
>
> State-Changed-From-To: open->closed
> State-Changed-By: hauke@NetBSD.org
> State-Changed-When: Tue, 12 Dec 2017 09:43:39 +0000
> State-Changed-Why:
> Duplicate of PR 52584, it turns out...
I think that this is not a duplicate of 52584.
Under older NetBSD/amd64 8 (2017-09-09), I had same
"there is no guard page" message from rust bootstrap binary.
At least netbsd-8 of 2017-12-12, I have no this message.
Could you try to update your NetBSD 8.0_BETA?
Thank you.
--
Ryo ONODERA // ryo@tetera.org
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
State-Changed-From-To: closed->open
State-Changed-By: hauke@NetBSD.org
State-Changed-When: Wed, 13 Dec 2017 13:38:08 +0000
State-Changed-Why:
Not a duplicate, I am told.
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, ryo@tetera.org
Subject: Re: pkg/52809 (lang/rust build fails, breaking firefox build)
Date: Wed, 13 Dec 2017 17:36:03 +0100
On 12/12/17 21:50, Ryo ONODERA wrote:
> > Duplicate of PR 52584, it turns out...
>
> I think that this is not a duplicate of 52584.
Re-activated.
> Under older NetBSD/amd64 8 (2017-09-09), I had same
> "there is no guard page" message from rust bootstrap binary.
> At least netbsd-8 of 2017-12-12, I have no this message.
> Could you try to update your NetBSD 8.0_BETA?
AFAICS, there have been no commits to netbsd-8 since Dec 11
% uname -a
NetBSD Gstoder 8.0_BETA NetBSD 8.0_BETA (GA-MA770-UD3-$Revision$) #0:
Mon Dec 11 13:05:06 CET 2017
hf@Hochstuhl:/var/obj/netbsd-builds/8/i386/sys/arch/i386/compile/GA-MA770-UD3
i386
%
Cheerio,
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: ryoon@NetBSD.org
Responsible-Changed-When: Sat, 16 Dec 2017 11:22:15 +0000
Responsible-Changed-Why:
My bootstrap kit is broken and needs paxctl hack.
I will investigate this.
From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/52809 CVS commit: pkgsrc/lang/rust
Date: Sun, 17 Dec 2017 01:00:02 +0000
Module Name: pkgsrc
Committed By: ryoon
Date: Sun Dec 17 01:00:02 UTC 2017
Modified Files:
pkgsrc/lang/rust: Makefile distinfo
Log Message:
Fix NetBSD/i386 8 build. Fix PR pkg/52809
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/rust/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/rust/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org, ryoon@NetBSD.org, gnats-admin@NetBSD.org
Cc:
Subject: Re: PR/52809 CVS commit: pkgsrc/lang/rust
Date: Tue, 19 Dec 2017 16:11:39 +0100
On 12/17/17 02:05, Ryo ONODERA wrote:
> The following reply was made to PR pkg/52809; it has been noted by GNATS.
>
> From: "Ryo ONODERA" <ryoon@netbsd.org>
> To: gnats-bugs@gnats.NetBSD.org
> Cc:
> Subject: PR/52809 CVS commit: pkgsrc/lang/rust
> Date: Sun, 17 Dec 2017 01:00:02 +0000
>
> Module Name: pkgsrc
> Committed By: ryoon
> Date: Sun Dec 17 01:00:02 UTC 2017
>
> Modified Files:
> pkgsrc/lang/rust: Makefile distinfo
Thanks, but this results in
[...]
=> Bootstrap dependency digest>=20010302: found digest-20160304
checksum: No checksum recorded for
rust-1.22.1nb2/rust-1.21.0-i686-unknown-netbsd.tar.gz
checksum: No checksum recorded for
rust-1.22.1nb2/rust-std-1.21.0-i686-unknown-netbsd.tar.gz
checksum: No checksum recorded for rust-1.22.1nb2/rustc-1.22.1-src.tar.gz
ERROR: Make sure the Makefile and checksum file
(/amd/hochstuhl/public/pkgsrc/lang/rust/distinfo)
ERROR: are up to date. If you want to override this check, type
ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1
Cheerio,
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/52809 CVS commit: pkgsrc/lang/rust
Date: Wed, 20 Dec 2017 05:38:21 +0000
Module Name: pkgsrc
Committed By: maya
Date: Wed Dec 20 05:38:21 UTC 2017
Modified Files:
pkgsrc/lang/rust: distinfo
Log Message:
rust: revert distinfo:r1.13
This is likely an accidental change and the distinfo uploaded was different.
PR pkg/52809
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/rust/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org, ryoon@NetBSD.org, gnats-admin@NetBSD.org
Cc:
Subject: Re: PR/52809 CVS commit: pkgsrc/lang/rust
Date: Wed, 20 Dec 2017 12:11:03 +0100
On 12/20/17 06:40, Maya Rashish wrote:
> Log Message:
> rust: revert distinfo:r1.13
>
> This is likely an accidental change and the distinfo uploaded was different.
> PR pkg/52809
... same problem:
[...]
=> Bootstrap dependency digest>=20010302: found digest-20160304
checksum: No checksum recorded for
rust-1.22.1nb2/rust-1.21.0-i686-unknown-netbsd.tar.gz
checksum: No checksum recorded for
rust-1.22.1nb2/rust-std-1.21.0-i686-unknown-netbsd.tar.gz
checksum: No checksum recorded for rust-1.22.1nb2/rustc-1.22.1-src.tar.gz
I note that the build expects distfiles under ./rust-1.22.1nb2/ -- which
strikes me as unusually specific, and is probably an error.
Does everybody else install pre-compiled binaries for Firefox?
Cheerio,
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: hf@spg.tu-darmstadt.de
Subject: Re: PR/52809 CVS commit: pkgsrc/lang/rust
Date: Wed, 20 Dec 2017 22:50:38 +0000
Sorry, it was a bit blind. my connection is too slow to fetch multiple
rusts. I don't have the same issue building from source because I built
for amd64.
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: PR/52809 CVS commit: pkgsrc/lang/rust
Date: Sat, 28 Apr 2018 09:02:41 +0000
On Wed, Dec 20, 2017 at 11:15:01AM +0000, Hauke Fath wrote:
> ... same problem:
>
> [...]
> => Bootstrap dependency digest>=20010302: found digest-20160304
> checksum: No checksum recorded for
> rust-1.22.1nb2/rust-1.21.0-i686-unknown-netbsd.tar.gz
> checksum: No checksum recorded for
> rust-1.22.1nb2/rust-std-1.21.0-i686-unknown-netbsd.tar.gz
> checksum: No checksum recorded for rust-1.22.1nb2/rustc-1.22.1-src.tar.gz
>
> I note that the build expects distfiles under ./rust-1.22.1nb2/ -- which
> strikes me as unusually specific, and is probably an error.
Is this issue fixed yet?
--
David A. Holland
dholland@netbsd.org
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org, ryoon@NetBSD.org, gnats-admin@NetBSD.org
Cc:
Subject: Re: PR/52809 CVS commit: pkgsrc/lang/rust
Date: Mon, 7 May 2018 12:24:41 +0200
On 04/28/18 11:05, David Holland wrote:
> Is this issue fixed yet?
The current lang/rust builds and installs on i386 netbsd-8, and it
builds and installs www/firefox.
So, yes, I consider the issue fixed.
Cheerio,
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Mon, 07 May 2018 12:44:49 +0000
State-Changed-Why:
Submitter says this can be closed.
>Unformatted:
(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.