guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package inputs in manifests


From: Bengt Richter
Subject: Re: Package inputs in manifests
Date: Sat, 23 Nov 2019 21:49:06 -0800
User-agent: Mutt/1.12.2 (2019-09-21)

Hi Ludo,

On +2019-11-23 15:05:49 +0100, Ludovic Courtès wrote:
> Hi,
> 
> Bengt Richter <address@hidden> skribis:
> 
> > Can "collisions" be collisions even if the targets are bit-identical?
> 
> Collisions are when the same package appears several times with
> different version strings, or when the same package/version appears
> several times with a different store item.
> 
> Ludo’.

In this case, the "Inode: 1966255" entries below say the gzips are not 
different store items,
so what am I missing about "version strings?" :)

Why would there be different prefixes? Are transient-state link counts somehow
entering into prefix hash calculations? But that's directory state, isn't it? 
...

┌─────────────────────────────────────────────────────────────────────────────────────┐
│ So again, what exactly goes into computing those /gnu/store/.../file 
prefixes?? ;-) │
└─────────────────────────────────────────────────────────────────────────────────────┘

find /gnu -name '*gzip'|grep gzip-1.10
--8<---------------cut here---------------start------------->8---
/gnu/store/i2cdl0hvrml8hjdqplqln8didnvxkgp5-gzip-1.10/bin/gzip
/gnu/store/py3k9zla9fj3z7430v4crqj5pyrsd3qj-gzip-1.10/bin/gzip
--8<---------------cut here---------------end--------------->8---


find /gnu -name '*gzip'|grep gzip-1.10|xargs file  # (manually wrapped after 
gzip: and before /gnu)
--8<---------------cut here---------------start------------->8---
/gnu/store/i2cdl0hvrml8hjdqplqln8didnvxkgp5-gzip-1.10/bin/gzip:
    ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, 
interpreter
    
/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2,
 for GNU/Linux 2.6.32, not stripped
/gnu/store/py3k9zla9fj3z7430v4crqj5pyrsd3qj-gzip-1.10/bin/gzip:
    ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, 
interpreter
    
/gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/lib/ld-linux-x86-64.so.2,
 for GNU/Linux 2.6.32, not stripped
--8<---------------cut here---------------end--------------->8---

find /gnu -name '*gzip'|grep gzip-1.10|xargs stat
--8<---------------cut here---------------start------------->8---
  File: /gnu/store/i2cdl0hvrml8hjdqplqln8didnvxkgp5-gzip-1.10/bin/gzip
  Size: 95928           Blocks: 192        IO Block: 4096   regular file
Device: 10304h/66308d   Inode: 1966255     Links: 3
Access: (0555/-r-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-11-23 19:48:56.570075367 -0800
Modify: 1969-12-31 16:00:01.000000000 -0800
Change: 2019-10-08 18:17:58.417674370 -0700
 Birth: -
  File: /gnu/store/py3k9zla9fj3z7430v4crqj5pyrsd3qj-gzip-1.10/bin/gzip
  Size: 95928           Blocks: 192        IO Block: 4096   regular file
Device: 10304h/66308d   Inode: 1966255     Links: 3
Access: (0555/-r-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-11-23 19:48:56.570075367 -0800
Modify: 1969-12-31 16:00:01.000000000 -0800
Change: 2019-10-08 18:17:58.417674370 -0700
 Birth: -
--8<---------------cut here---------------end--------------->8---

-- 
Regards,
Bengt Richter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]