From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ILpfAoEQr2LD9gAAbAwnHQ (envelope-from ) for ; Sun, 19 Jun 2022 14:03:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GM5OAoEQr2IQqQAA9RJhRA (envelope-from ) for ; Sun, 19 Jun 2022 14:03:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9A469382D7 for ; Sun, 19 Jun 2022 14:03:12 +0200 (CEST) Received: from localhost ([::1]:54590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2te3-0005AX-6b for larch@yhetil.org; Sun, 19 Jun 2022 08:03:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2tdu-0005AH-8M for bug-guix@gnu.org; Sun, 19 Jun 2022 08:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2tdt-0006bW-WF for bug-guix@gnu.org; Sun, 19 Jun 2022 08:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2tdt-0005RD-SG for bug-guix@gnu.org; Sun, 19 Jun 2022 08:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56086: "guix build --sources=transitive hello" does not emit transitive sources >=2 layers down Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 19 Jun 2022 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56086 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 56086@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165564012520837 (code B ref -1); Sun, 19 Jun 2022 12:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jun 2022 12:02:05 +0000 Received: from localhost ([127.0.0.1]:50747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2tcz-0005Q1-0L for submit@debbugs.gnu.org; Sun, 19 Jun 2022 08:02:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:33514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2tcu-0005Pa-JU for submit@debbugs.gnu.org; Sun, 19 Jun 2022 08:02:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2tcu-0004ti-Bn for bug-guix@gnu.org; Sun, 19 Jun 2022 08:02:00 -0400 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]:45232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2tcr-0006Lb-V2 for bug-guix@gnu.org; Sun, 19 Jun 2022 08:02:00 -0400 Received: from [172.20.10.9] ([188.189.158.25]) by albert.telenet-ops.be with bizsmtp id l01s270060Z9yEL0601sJo; Sun, 19 Jun 2022 14:01:53 +0200 Message-ID: <9d3c7d96481f8fe5eeeb1acb061655b134ebb219.camel@telenet.be> From: Maxime Devos Date: Sun, 19 Jun 2022 14:01:47 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-9mSUGEF1K4htokI1p49P" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1655640113; bh=6QYywNC8SjKxxC12hNtscxBDGjqi+efameCWhEg/PDg=; h=Subject:From:To:Date; b=LqI9519DiHE+8uFYpDHWFS7xnm5MpReptLuY+KcXUUSAUQpNImIg3L0s7uWvY0Ocg fvIk6+dOjXfcNewFbCkXmywVT5zyoYoG2pfTnc0c8yPlNJV6aX4DoF+3EPpWiXg4MQ lt2/jkaUOyJuQbu2nbigpaBLG4iLNIeNakUHLBcCJZZ1xNocbbMbHAUtorAGXEPpDq QI42P+enFF4zqDNTzEP/4NHuyXfINYu8747RTobUQXmWJEHv8+WsH6jNv7hx20HhOX 3WDYynKaVQauNe7hHEAYtAUMWIm31xBkjK6Xp0hefoCMV5PYZhMIAlWUO+BV6lWKr8 0Wbj4uUliA4iA== Received-SPF: pass client-ip=2a02:1800:110:4::f00:1a; envelope-from=maximedevos@telenet.be; helo=albert.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655640192; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=6QYywNC8SjKxxC12hNtscxBDGjqi+efameCWhEg/PDg=; b=Z7ktyCBewNVB/Ps1KNwyxuCqoqcv3RjQxZWbHPkKp7qTij46A5PM8dqdx5dWcTOBW4bUrG 65hZ5lgrhyrgQsAg4pkPIbTd+QK8D6YBTDv5XqGcTnCYq6E+tPlc665Jcn5ltf6dtudbfh wrG7stWKRg+jDzWlkXk+jmjdpd2Uk2+X7uV5cdbj+4NPktzPzC+ulu3BAYGZa7GpHL72V1 1XSXiS21A/R/bepzZtG2Tr8xtyGwAhjKbpM66FnZTdHkKWfxgM3oMjQ9mhQNbz/SyeU+Pc qkBnYBbtr/sXnDvJuJEwZlzd3dfiUFE0o24wkLtDoKzpy4sTj4OkknM2D4LWKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655640192; a=rsa-sha256; cv=none; b=WSwP9m+cTp5aRjPQjuduvpEAaBuwPyWfHjNXg9wJ0xLlEi86RVZqV8556mKyo7TJykMsEI 8sZp3t99Qw2yrGkaUbiHXV8GHPxSNo/MtCb3ACsjXyeRp01CS0WJzzjLM3qYWc9dP/NFdl 4ttX8HPEqZPO71ShoQM3r1E0VvOKi0Kd7f5lCzrx096ZJYDhlmMFjd7rquSCWg2ZmHTdbY 3bgG7DMgEi1u9ylkwy3nvfTU3U1iTdg28lFa0H7gf33nUldQHAnmNCF8ZTqPZe8z6MU5Ww rEfN08XAVaDYmoXCaWzQ9smvwvZ1QTIZIzJX0AF3AExesKNMvbr+ViIu+yTVBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=LqI9519D; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=LqI9519D; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9A469382D7 X-Spam-Score: 3.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: v27cI2flLgpz --=-9mSUGEF1K4htokI1p49P Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Try: $ guix build --sources=3Dtransitive hello I get: /gnu/store/3dq55rw99wdc4g4wblz7xikc8a2jy7a3-hello-2.12.1.tar.gz /gnu/store/qz3pck1i4bply2fvxc7a5f7h3swdwpcr-tar-1.34.tar.xz /gnu/store/5dh059d365953arhixlx4xqkngwv2jmr-gzip-1.10.tar.xz /gnu/store/q5sqgng4wdzxr6yrvvp706kbxa3fcfjf-bzip2-1.0.8.tar.gz /gnu/store/snk01kyfyv0xh527j2id1jbyx9snvr1h-xz-5.2.5.tar.gz /gnu/store/b7pj6376jv658scl9159n60jq1gsggr5-file-5.39.tar.gz /gnu/store/87aihcxj48yslw7zrc62lrbfi5llh5rh-diffutils-3.8.tar.xz /gnu/store/l6fbym731zg72l0rwb7zgrn011ki7dcs-patch-2.7.6.tar.xz /gnu/store/d9ylc625pszdbdzasxx3q2147dd0knia-findutils-4.8.0.tar.xz /gnu/store/l6wssbbngsb3nr71rdlk5m834rdzz3rq-gawk-5.1.0.tar.xz /gnu/store/52sz6j8l5xahiqq8j20vvix4gbwc1m4w-sed-4.8.tar.xz /gnu/store/g05jqa0d8k45p3nzqggkrksgr4vr0qag-grep-3.6.tar.xz /gnu/store/sp86vrxg16gvii6h51himf1ivhr1h46r-coreutils-8.32.tar.xz /gnu/store/wicnb0c4b5726d8rvvhdj8kvyylhldqa-make-4.3.tar.xz /gnu/store/cn3ian044yv1jnnwb4ai02f2hg6kgkik-bash-5.1.tar.xz /gnu/store/nv43fwmg2c6x69sf9wh1fxbp3ca0fsdc-binutils-2.37.tar.xz /gnu/store/d2p5gd5fxzrm6ip3lxw6q5jyxk1lbxqc-gcc-10.3.0.tar.xz /gnu/store/70jq7j76s5wwx6v7m8fjdkihsa8k0sxb-gmp-6.0.0a.tar.xz /gnu/store/b3xs724vl7idch20wvxll03rix9zizqb-mpfr-4.1.0.tar.xz /gnu/store/0bhb5fidh0vz2b5p94bqyrpqw0bpgvjg-mpc-1.2.1.tar.gz /gnu/store/ss3ciy8z30j8qcqk8zpkpdlggmwlmmv6-glibc-2.33.tar.xz /gnu/store/a1sqrdsy1xrk6cs84kzgg93rw28zcaa4-linux-libre-5.10.35-gnu.tar.xz However, the soure of gzip@1.2.4 appears to be missing here, even though it is a transitive dependency (via (gnu packages commencement). For a simpler example, consider the following package definition: (package (inherit (specification->package "hello")) (inputs (list (package (inherit (specification->package "hello")) (inputs (list (specification->package "gnunet-scheme")))))))) and run "guix build --sources=3Dtransitive -f [source file]". Notice that the gnunet-scheme package is not included. After some experimentation, I found that: * if the package is at the top, its source code is listed * if it's in the inputs of the package at the top, its source code is lis= ted * if it's another layer down, it isn't listed anymore (see above example) Greetings, Maxime. --=-9mSUGEF1K4htokI1p49P Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYq8QLBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kNOAP4/XpNfB8ZJXH7LUJ6wWbAJ/lt3 NxQah/hQyPHZdoPlIgD9HhXnVR9CVdXUqJowUv6grgQnTMC4ujCNcQOYJg4jNAI= =J+BF -----END PGP SIGNATURE----- --=-9mSUGEF1K4htokI1p49P--