Contradictory package count

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Ludovic Courtès
Owner
unassigned
Submitted by
Andreas Enge
Severity
normal

Debbugs page

Andreas Enge wrote 11 years ago
(address . bug-guix@gnu.org)
20140118120030.GA7524@debian
Hello,

installing a few packages, I get the following output:

...
building profile '/nix/store/ylq6xn1599wfph4n6caw7kdd5wds4x9n-profile' with 65 packages......
51 packages in profile

The difference is, I think, that I consciously installed 51 packages, while
the remaining 14 ones are pulled in as propagated-inputs. Could the output be
made uniform, in either sense?

Andreas
Ludovic Courtès wrote 11 years ago
(name . Andreas Enge)(address . andreas@enge.fr)(address . 16484@debbugs.gnu.org)
871u05s3j9.fsf@gnu.org
Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (9 lines)
> installing a few packages, I get the following output:
>
> ...
> building profile '/nix/store/ylq6xn1599wfph4n6caw7kdd5wds4x9n-profile' with 65 packages......
> 51 packages in profile
>
> The difference is, I think, that I consciously installed 51 packages, while
> the remaining 14 ones are pulled in as propagated-inputs.

Exactly.

Toggle quote (2 lines)
> Could the output be made uniform, in either sense?

The issue is that the ‘65 packages’ lines comes from the build side log
(which doesn’t know the distinction between propagated inputs and the
rest), while the ‘51 packages’ line comes from ‘guix package’.

Perhaps the log should say ‘65 items’, to make it clear it’s not
counting the same thing.

Alternately, we could also remove that line altogether.

WDYT?

Ludo’.
Andreas Enge wrote 11 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 16484@debbugs.gnu.org)
20140123193952.GA13401@debian
On Sat, Jan 18, 2014 at 04:39:06PM +0100, Ludovic Courtès wrote:
Toggle quote (9 lines)
> The issue is that the ‘65 packages’ lines comes from the build side log
> (which doesn’t know the distinction between propagated inputs and the
> rest), while the ‘51 packages’ line comes from ‘guix package’.
>
> Perhaps the log should say ‘65 items’, to make it clear it’s not
> counting the same thing.
>
> Alternately, we could also remove that line altogether.

Maybe we could remove both lines even? But I am happy with removing only
one, then preferably the "65 packages" one, which is not coherent with
guix package -I|wc

Andreas
Ludovic Courtès wrote 11 years ago
(name . Andreas Enge)(address . andreas@enge.fr)(address . 16484-done@debbugs.gnu.org)
87a9el13we.fsf@gnu.org
Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (14 lines)
> On Sat, Jan 18, 2014 at 04:39:06PM +0100, Ludovic Courtès wrote:
>> The issue is that the ‘65 packages’ lines comes from the build side log
>> (which doesn’t know the distinction between propagated inputs and the
>> rest), while the ‘51 packages’ line comes from ‘guix package’.
>>
>> Perhaps the log should say ‘65 items’, to make it clear it’s not
>> counting the same thing.
>>
>> Alternately, we could also remove that line altogether.
>
> Maybe we could remove both lines even? But I am happy with removing only
> one, then preferably the "65 packages" one, which is not coherent with
> guix package -I|wc

I removed the “wrong” one, and kept the other.

Thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 16484@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 16484
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help