GNU bug report logs -
#51055
[cuirass] Missing dependencies.
Previous Next
To reply to this bug, email your comments to 51055 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#51055
; Package
guix
.
(Wed, 06 Oct 2021 08:54:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 06 Oct 2021 08:54:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I noticed that some builds were missing dependencies in the Cuirass web
interface. For instance, compare those two builds of python-git-review:
https://ci.guix.gnu.org/build/89691/details
https://ci.guix.gnu.org/build/1000035/details
When looking closer to one dependency, python-pysocks for the build
100035, this command reports the corresponding derivation:
--8<---------------cut here---------------start------------->8---
guix time-machine --commit=79fbbe5e4a7cd79613d49c0dda51872f2492cc76 -C ~/.config/guix/channels-default.scm -- build --no-grafts python-pysocks -d
/gnu/store/49bprfjvzlfm893622fkmi4jb6msyg2j-python-pysocks-1.7.1.drv
--8<---------------cut here---------------end--------------->8---
On the other hand, in the Cuirass database, we have:
--8<---------------cut here---------------start------------->8---
cuirass=# select derivation from jobs left join builds on jobs.build = builds.id where jobs.evaluation = 27768 and name = 'python-pysocks.x86_64-linux';
/gnu/store/pm576s0gi7b8n9bpllmj3kdin0r6dj22-python-pysocks-1.7.1.drv
--8<---------------cut here---------------end--------------->8---
There are two different derivations which explains why python-pysocks is
not listed as dependency of the build 100035.
While those derivations are different, they have the same output:
--8<---------------cut here---------------start------------->8---
guix time-machine --commit=79fbbe5e4a7cd79613d49c0dda51872f2492cc76 -C ~/.config/guix/channels-default.scm -- build --no-grafts python-pysocks
/gnu/store/x76mk7rx4hyqk6hngflpx1rrrr82rvmb-python-pysocks-1.7.1
--8<---------------cut here---------------end--------------->8---
and
--8<---------------cut here---------------start------------->8---
cuirass=# select path from jobs left join builds on jobs.build = builds.id left join outputs on builds.derivation = outputs.derivation where jobs.evaluation = 27768 and jobs.name = 'python-pysocks.x86_64-linux';
/gnu/store/x76mk7rx4hyqk6hngflpx1rrrr82rvmb-python-pysocks-1.7.1
--8<---------------cut here---------------end--------------->8---
So, when Cuirass tried to register the
/gnu/store/49bprfjvzlfm893622fkmi4jb6msyg2j-python-pysocks-1.7.1.drv, it
skipped it because another build with the same output already
existed.
Cuirass uses the derivation file names to determine the dependencies and
is thus tricked by this mismatch.
There are two things that are a bit unclear to me:
1. What causes those derivation differences while the output is identical?
2. How we could work-around this issue to have Cuirass list all
dependencies?
Thanks,
Mathieu
Information forwarded
to
bug-guix <at> gnu.org
:
bug#51055
; Package
guix
.
(Wed, 06 Oct 2021 09:37:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 51055 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Mathieu Othacehe schreef op wo 06-10-2021 om 08:53 [+0000]:
> [...]
> Cuirass uses the derivation file names to determine the dependencies and
> is thus tricked by this mismatch.
>
> There are two things that are a bit unclear to me:
>
> 1. What causes those derivation differences while the output is identical?
I'd presume changing the source URL of some package (while keeping the hash intact).
That changes fixed-output derivations but keeps the output intact, IIUC.
This hypothesis can be tested by replacing %mirrors by '() in (guix download)
and comparing the derivation and output path of a package using a mirror:// url
before and after.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Merged 51055 65505.
Request was from
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Wed, 06 Sep 2023 15:18:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 282 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.