From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:41248) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdTOB-0004BO-Tv for guix-patches@gnu.org; Wed, 19 Jun 2019 01:44:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdTO9-0008ID-Qp for guix-patches@gnu.org; Wed, 19 Jun 2019 01:44:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdTO6-0008GE-KF for guix-patches@gnu.org; Wed, 19 Jun 2019 01:44:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdTO6-000663-GD for guix-patches@gnu.org; Wed, 19 Jun 2019 01:44:02 -0400 Subject: [bug#36272] [PATCH] gnu: rust: fix building bootstrap chain Resent-Message-ID: Content-Type: multipart/mixed; boundary="Apple-Mail=_8621FAB5-CF1A-4C88-AD8C-0B84B1DF00F4" Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) From: Ivan Petkov In-Reply-To: <20190618085139.430895ee@scratchpost.org> Date: Tue, 18 Jun 2019 22:43:11 -0700 Message-Id: <6AEB6075-BD94-4235-A8E0-469934BA7A3C@gmail.com> References: <63B38722-EBE9-4025-92EB-D7FEC694A946@gmail.com> <8A0D1483-6566-43B5-929A-5FC30F75BB96@gmail.com> <20190618085139.430895ee@scratchpost.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 36272@debbugs.gnu.org, Chris Marusich --Apple-Mail=_8621FAB5-CF1A-4C88-AD8C-0B84B1DF00F4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Danny, > On Jun 17, 2019, at 11:51 PM, Danny Milosavljevic = wrote: >=20 > So try running "make" in guix. I always run make before any ./pre-inst-env invocation, and that=E2=80=99s= what raises the error. > Otherwise "grep -r gdb-llvm ." to find left-overs, if any. No results (besides those in .git). Maybe it=E2=80=99s because there are = items in the store which have references to it and guix is getting confused somewhere? = Unfortunately, I don=E2=80=99t know enough to stipulate further... > If nothing else helps, rm -rf ~/.cache/guile Unfortunately this didn=E2=80=99t help either :( I=E2=80=99m willing to get this merged in as is for now, get rust to = build again, and clean up my store with `guix gc` before trying to delete the patch file again. Maybe = things will work then. Also attaching one more patch update, this time for bumping to llvm@8 = for the latest rust version! =E2=80=94Ivan --Apple-Mail=_8621FAB5-CF1A-4C88-AD8C-0B84B1DF00F4 Content-Disposition: attachment; filename=0003-gnu-rust-use-llvm-8.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0003-gnu-rust-use-llvm-8.patch" Content-Transfer-Encoding: quoted-printable =46rom=20f25bff63091da94595aa0b2d096b9f3b9f64544f=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Ivan=20Petkov=20=0A= Date:=20Mon,=2017=20Jun=202019=2022:10:52=20-0700=0ASubject:=20[PATCH=20= 3/3]=20gnu:=20rust:=20use=20llvm@8=0A=0A*=20gnu/packages/llvm.scm=20= (llvm):=20Rename=20to...=0A(llvm-8):=20...this.=0A(llvm):=20New=20= variable.=0A*=20gnu/packages/rust.scm=20(rust)[inputs]:=20Use=20llvm-8=0A= ---=0A=20gnu/packages/llvm.scm=20|=204=20+++-=0A=20gnu/packages/rust.scm=20= |=203=20+++=0A=202=20files=20changed,=206=20insertions(+),=201=20= deletion(-)=0A=0Adiff=20--git=20a/gnu/packages/llvm.scm=20= b/gnu/packages/llvm.scm=0Aindex=208cb05a6cad..0ae4373c05=20100644=0A---=20= a/gnu/packages/llvm.scm=0A+++=20b/gnu/packages/llvm.scm=0A@@=20-47,7=20= +47,7=20@@=0A=20=20=20#:use-module=20(gnu=20packages=20python)=0A=20=20=20= #:use-module=20(gnu=20packages=20xml))=0A=20=0A-(define-public=20llvm=0A= +(define-public=20llvm-8=0A=20=20=20(package=0A=20=20=20=20=20(name=20= "llvm")=0A=20=20=20=20=20(version=20"8.0.0")=0A@@=20-98,6=20+98,8=20@@=20= languages=20is=20in=20development.=20=20The=20compiler=20infrastructure=20= includes=20mirror=20sets=0A=20of=20programming=20tools=20as=20well=20as=20= libraries=20with=20equivalent=20functionality.")=0A=20=20=20=20=20= (license=20license:ncsa)))=0A=20=0A+(define-public=20llvm=20llvm-8)=0A+=0A= =20(define*=20(clang-runtime-from-llvm=20llvm=20hash=0A=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20#:optional=20(patches=20'()))=0A=20=20=20(package=0Adiff=20= --git=20a/gnu/packages/rust.scm=20b/gnu/packages/rust.scm=0Aindex=20= c83c8a6784..9444d8be73=20100644=0A---=20a/gnu/packages/rust.scm=0A+++=20= b/gnu/packages/rust.scm=0A@@=20-1056,6=20+1056,9=20@@=20jemalloc=20=3D=20= \""=20jemalloc=20"/lib/libjemalloc_pic.a"=20"\"=0A=20=20=20=20=20=20=20=20= =20=20=20=20"0bbizy6b7002v1rdhrxrf5gijclbyizdhkglhp81ib3bf5x66kas")))=0A=20= =20=20=20=20(package=0A=20=20=20=20=20=20=20(inherit=20base-rust)=0A+=20=20= =20=20=20=20(inputs=0A+=20=20=20=20=20=20=20(alist-replace=20"llvm"=20= (list=20llvm-8)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(package-inputs=20base-rust)))=0A=20=20=20=20=20=20=20= (arguments=0A=20=20=20=20=20=20=20=20(substitute-keyword-arguments=20= (package-arguments=20base-rust)=0A=20=20=20=20=20=20=20=20=20=20= ((#:phases=20phases)=0A--=20=0A2.22.0=0A=0A= --Apple-Mail=_8621FAB5-CF1A-4C88-AD8C-0B84B1DF00F4 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_8621FAB5-CF1A-4C88-AD8C-0B84B1DF00F4--