X-Loop: help-debbugs@HIDDEN Subject: bug#40412: cargo-build-system hides the package dependency graph Resent-From: Leo Famulari <leo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 03 Apr 2020 17:45:02 +0000 Resent-Message-ID: <handler.40412.B.158593586017787 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 40412 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 40412 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.158593586017787 (code B ref -1); Fri, 03 Apr 2020 17:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Apr 2020 17:44:20 +0000 Received: from localhost ([127.0.0.1]:43160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1jKQMe-0004co-Bs for submit <at> debbugs.gnu.org; Fri, 03 Apr 2020 13:44:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:59858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <leo@HIDDEN>) id 1jKQMc-0004cb-Uo for submit <at> debbugs.gnu.org; Fri, 03 Apr 2020 13:44:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41653) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1jKQMb-0007Pe-IN for bug-guix@HIDDEN; Fri, 03 Apr 2020 13:44:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <leo@HIDDEN>) id 1jKQMa-0007vS-C2 for bug-guix@HIDDEN; Fri, 03 Apr 2020 13:44:17 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42717) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <leo@HIDDEN>) id 1jKQMa-0007sj-4V for bug-guix@HIDDEN; Fri, 03 Apr 2020 13:44:16 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BE50C5C0170; Fri, 3 Apr 2020 13:44:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 03 Apr 2020 13:44:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=mesmtp; bh=VshSlnlzyRK9Y8sAu88JPdF j4CtWJO5uwAn20f7A1Pw=; b=J6CuVcWZsSy8yvRhQ8Sae2c/JrnpHgxgbM78ArN YoO0dXgWevSvpX/8v1PSZmsQKq0CBG+49tsHUCj1cP+t0AC2kBpZ6wix78qr/Y+D fFynOcO9eqnrL98ZUYhCGy3clc0ldAHip1wInSc10ZWhvlEHF6Loduagtxx/YWS7 N4Gg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=VshSln lzyRK9Y8sAu88JPdFj4CtWJO5uwAn20f7A1Pw=; b=Mn0VUCHirfM16VKDfNzErF gjgBCIzCzJuIUccwcOW6Ujr0Zc4PFb/iYwsD1W1Kp1ePDHxzUIKc2GqUak8lJGK4 M4tCksqkznCDD3ubUVk9x3g9qTldXlMhKdCQcx2zElJAasTVjZgs4knEOv6gql28 lQ88BAg3rr0DOqYv5AzmcqISCfn86M54Nm4rPPzNhNCn3h01RBYSVspXJPSreRD0 LBjm0e0HdoqQn5EPTP7FtlnjtkK2k8mnW6DHXQUCye8BhG/vwHHDLNEGyL5eySYf v/HK5/Au5N6y430gfBeQCcjmaRNV7g9UXJOKw6iWBwb7/77AYn5mMwEjogB1wnYg == X-ME-Sender: <xms:7nWHXmAvhz2HTAnVz6bPx8c4ZvDoydh1Fegdxzccj8FL2sFM9V11_g> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtdeigdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugfgsehtkeertd dttdejnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr ihdrnhgrmhgvqeenucffohhmrghinhepghhnuhdrohhrghenucfkphepjeeirdduvdegrd dufeekrdeifeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: <xmx:7nWHXr6K3rGKqsR6jqy3XCTZ77wTBC5owzokhF0m6AXFvy34aw7sEQ> <xmx:7nWHXi_NQITVJVFPAQe63zJmSLrULUKn00KTY2leOJSYPi9RrREJRQ> <xmx:7nWHXsjeruSJTll1zyiBd0_yd21o4kUKQPbHOOcMY4yGLf16g4Xxdw> <xmx:7nWHXgd-_YzCZ0xWC5ZZ5UbtKzbnUhr3920fu4Y-tvKh3zzwKI0u1w> Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id 776FC3280067 for <bug-guix@HIDDEN>; Fri, 3 Apr 2020 13:44:14 -0400 (EDT) Date: Fri, 3 Apr 2020 13:44:12 -0400 From: Leo Famulari <leo@HIDDEN> Message-ID: <20200403174412.GA7784@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.28 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) Some Guix commands like `guix graph` and `guix show` don't work as expected for packages using the cargo-build-system. The cargo-build-system uses only the source code of a package's dependencies when building. To achieve this, the build system does not refer to dependencies with the usual 'inputs', 'native-inputs', and 'propagated-inputs', but instead with the Scheme keywords #:cargo-inputs and #:cargo-development-inputs. [0] This means that it's not possible to work with the package dependency graph like with other packages. As a result, some Guix commands don't work as expected, such as `guix graph` and `guix show`. I wonder if `guix refresh --update` works? I'm not sure if this can be improved — there is a comment in ((guix build-system cargo) expand-crate-sources) that explains why we did it this way and acknowledges the problems. [0] For example: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/crates-io.scm?id=e7a353ed468a805af6ad6b06b0dc0909393ff8fa#n89
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Leo Famulari <leo@HIDDEN> Subject: bug#40412: Acknowledgement (cargo-build-system hides the package dependency graph) Message-ID: <handler.40412.B.158593586017787.ack <at> debbugs.gnu.org> References: <20200403174412.GA7784@HIDDEN> X-Gnu-PR-Message: ack 40412 X-Gnu-PR-Package: guix Reply-To: 40412 <at> debbugs.gnu.org Date: Fri, 03 Apr 2020 17:45:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 40412 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 40412: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40412 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.