From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: bug#36456: Guix stumbles on duplicates? Date: Mon, 1 Jul 2019 10:38:15 +0200 Message-ID: <533efcca-c21b-750c-2209-21203f38b715@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38693) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhrq3-00026C-UX for bug-guix@gnu.org; Mon, 01 Jul 2019 04:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhrq2-00088W-Ij for bug-guix@gnu.org; Mon, 01 Jul 2019 04:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hhrq2-00088K-Ee for bug-guix@gnu.org; Mon, 01 Jul 2019 04:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hhrq2-0003g2-BL for bug-guix@gnu.org; Mon, 01 Jul 2019 04:39:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:38529) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhrpO-0001pD-2P for bug-guix@gnu.org; Mon, 01 Jul 2019 04:38:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhrpM-0007ff-Nn for bug-guix@gnu.org; Mon, 01 Jul 2019 04:38:21 -0400 Received: from mx1.riseup.net ([198.252.153.129]:57772) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hhrpM-0007eg-AT for bug-guix@gnu.org; Mon, 01 Jul 2019 04:38:20 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 272361B932C for ; Mon, 1 Jul 2019 01:38:19 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 7F3242230CB for ; Mon, 1 Jul 2019 01:38:18 -0700 (PDT) Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36456@debbugs.gnu.org Hi Yesterday Arne posted a list of 1000 crates-io packages to the devel list= . When I inserted them in my 200+ crates-io.scm I got this error when=20 trying to build rust-backtrace: $ ./pre-inst-env guix build rust-backtrace Backtrace: In guix/scripts/build.scm: 902:6 19 (_) In guix/status.scm: 768:4 18 (call-with-status-report _ _) In guix/store.scm: 623:10 17 (call-with-store _) In guix/scripts/build.scm: 909:26 16 (_ #) In ice-9/boot-9.scm: 829:9 15 (catch unbound-variable # =E2=80=A6) In guix/ui.scm: 382:6 14 (_) In guix/scripts/build.scm: 874:5 13 (_) In srfi/srfi-1.scm: 679:15 12 (append-map _ _ . _) 592:17 11 (map1 ("x86_64-linux")) 679:15 10 (append-map _ _ . _) 592:17 9 (map1 (#)) In guix/scripts/build.scm: 835:18 8 (_ _) In guix/packages.scm: 936:16 7 (cache! # # =E2=80=A6) 1254:22 6 (thunk) 936:16 5 (cache! # # =E2=80=A6) 1038:19 4 (thunk) In guix/build-system/cargo.scm: 260:27 3 (lower "rust-backtrace-0.3.32" #:source _ #:inputs _ # . #) 231:4 2 (expand-crate-sources _ _) 170:23 1 (crate-closure _) 128:4 0 (_ #:cargo-inputs _) guix/build-system/cargo.scm:128:4: Invalid keyword: ("rust-lazy-static"=20 #) I tried building rust-lazy-static and it build fine and said: successfully built=20 /gnu/store/0z3giv8ba2383zqaz6m7ayyixhm2jicf-rust-lazy-static-1.3.0.drv /gnu/store/ssw3gh2ydw1bwp01r6z9sgy2i1zsq1q0-rust-lazy-static-1.3.0 I narrowed it down by inserting smaller and smaller fragments of arnes=20 list of packages and this one package (the last in the crates-io.scm)=20 causes the error: (define-public rust-redox-termios=20 =20 (package=20 =20 (name "rust-redox-termios")=20 =20 (version "0.1.1")=20 =20 (source=20 =20 (origin=20 =20 (method url-fetch)=20 =20 (uri (crate-uri "redox_termios" version))=20 =20 (file-name=20 =20 (string-append name "-" version ".tar.gz"))=20 =20 (sha256=20 =20 (base32=20 =20 "0xhgvdh62mymgdl3jqrngl8hr4i8xwpnbsxnldq0l47993z1r2by"))))=20 =20 (build-system cargo-build-system)=20 =20 (arguments=20 =20 `(#:cargo-inputs=20 =20 (("rust-redox-syscall" ,rust-redox-syscall))))=20 =20 (home-page "https://github.com/redox-os/termios")=20 =20 (synopsis=20 =20 "A Rust library to access Redox termios functions")=20 =20 (description=20 =20 "This package provides a Rust library to access Redox termios=20 functions")=20 (license #f))) When it is commented out guix says: $ ./pre-inst-env guix build rust-backtrace ice-9/eval.scm:223:20: In procedure proc: error: rust-redox-termios: unbound variable hint: Did you forget `(use-modules (gnu packages rust))'? this happens on a guix git pulled && maked yesterday @ Git checkout: repository: /home/egil/src/guix branch: master commit: a3d1a3487a34820d2a0b3d5e6206e4df1c77c15c My rust is this (from tobias' CI-server @ guix.tobias.gr): /gnu/store/s89kb99c07wvyxjcq3rc6aap8rkcfwqx-rust-1.35.0-cargo /gnu/store/2dc71v5jlbd6rpz7qx04iyzwl7kcqrjm-rust-1.35.0 --=20 Cheers Swedebugia