From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#36925: guix pack -R or -RR will not produce outputs other than 'out' Date: Sun, 04 Aug 2019 18:09:19 -0600 Message-ID: <8205825891377e6d01ba60bf8561536ab18c0ff6.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38731) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huQZf-0007G1-4p for bug-guix@gnu.org; Sun, 04 Aug 2019 20:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huQZe-0005Hw-2l for bug-guix@gnu.org; Sun, 04 Aug 2019 20:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huQZd-0005Hp-W9 for bug-guix@gnu.org; Sun, 04 Aug 2019 20:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1huQZd-00067X-PA for bug-guix@gnu.org; Sun, 04 Aug 2019 20:10:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:38652) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huQZ3-0007Dp-I6 for bug-guix@gnu.org; Sun, 04 Aug 2019 20:09:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huQZ2-00057p-J6 for bug-guix@gnu.org; Sun, 04 Aug 2019 20:09:25 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:39791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huQZ2-00057W-Bl for bug-guix@gnu.org; Sun, 04 Aug 2019 20:09:24 -0400 Received: by mail-pf1-x42b.google.com with SMTP id f17so34666704pfn.6 for ; Sun, 04 Aug 2019 17:09:24 -0700 (PDT) Received: from piranhaplant.local ([199.68.53.171]) by smtp.googlemail.com with ESMTPSA id s7sm13403516pjn.28.2019.08.04.17.09.21 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 04 Aug 2019 17:09:21 -0700 (PDT) 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: 36925@debbugs.gnu.org This happens with all the packages I have tried. For example, `guix pack --dry-run -R ghc:doc` fails with the message: $ guix pack --dry-run -R ghc:doc guix pack: error: reference to invalid output 'doc' of derivation '/gnu/store/a0blj0d79mzgvb4fk8fkai51xjf68s7z-ghc-8.4.3R.drv' I get similar results if I change -R to -RR: $ guix pack --dry-run -RR ghc:doc guix pack: error: reference to invalid output 'doc' of derivation '/gnu/store/905g4g323i8ngdfnmqdgdm89z66ikj07-ghc-8.4.3R.drv' However, if I leave out the -R or -RR flag, it succeeds: $ guix pack --dry-run ghc:doc substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivations would be built: /gnu/store/4qnslab7r748r44ydc3zcni0zgfsicak-tarball-pack.tar.gz.drv /gnu/store/p3k0xh40ypv7vnvd70jarswn0yykvi8m-profile.drv 0.0 MB would be downloaded: /gnu/store/sw8vw31fnmfrjhb32sxvvy0yxrx9s1hc-mkfontscale-1.2.1 /gnu/store/3rgvdjy72vqsv45f85b0phpirnzxb4w2-mkfontdir-1.0.7 The following profile hooks would be built: /gnu/store/1rlk94msgnanr5yyhmx5hck5b3xvsmxa-info-dir.drv /gnu/store/56qn66jcnwg8rkz7w0mfw0qkx1fx997n-ghc-package-cache.drv /gnu/store/8bpnr5pkzjnlj1zzrcjgr26x1yyyw82l-manual-database.drv /gnu/store/d7l70fw7zyg7mpkxnm87v69cphfi4s9z-fonts-dir.drv /gnu/store/f4xcbmbzzq32g8ywy8z96pyr89qni1g6-ca-certificate- bundle.drv The --dry-run flag is not necessary to replicate this bug. I included it to keep success output short and (hopefully) help narrow down when the bug happens. -- -Jesse