unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Saku Laesvuori via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Zacchaeus Scheffer <zaccysc@gmail.com>
Cc: 68811@debbugs.gnu.org
Subject: bug#68811: build hash inconsistency
Date: Tue, 30 Jan 2024 09:06:14 +0200	[thread overview]
Message-ID: <iubdi4grl2vsaoahdpdyiyiufeisrhrdgr46rhaswjnkc7pktt@pohwj3tphrm5> (raw)
In-Reply-To: <877cjr8xkv.fsf_-_@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1630 bytes --]

> Some more context might be useful:
> 
> Device A (which successfully built qutebrowser over a couple days)
> ~ $ guix time-machine --commit=deeb7d1f53d7ddfa977b3eadd760312bbd0a2509 -- build qutebrowser --dry-run
> /gnu/store/i9ir7a26gv1ii98b4bzgvxp1sx0akind-qutebrowser-2.5.4
> 
> Device B (trying to avoid building qutebrowser)
> ~ $ guix time-machine --commit=deeb7d1f53d7ddfa977b3eadd760312bbd0a2509 -- build qutebrowser --dry-run
> The following derivations would be built:
>   /gnu/store/6n9aq7l5x26xfgrbvws7gvscbzvq5gqn-qutebrowser-2.5.4.drv
>   /gnu/store/05wj7wf7bdlkm1ar58kpakvp52drrz7p-qtwebengine-5.15.10.drv
>   /gnu/store/7nmv55qqw62jwzrd650vm434s3wpi7i3-python-pyqtwebengine-5.15.9.drv

Those hashes are not comparable: i9ir..nd (A) is the hash of the built
store item and 6n9aq..qn (B) is the hash of the derivation that builds
the store item.

> I have noticed in the past that sometimes a package gets built twice
> with two hashes, so I went back and checked if device A had built the
> 6n9..5gqn qutebrowser store item reported by B in addition to the
> i9i..ind one A was reporting.  There was no 6n9..5gqn qutebrowser build
> on device A.  I don't believe I have never run guix gc on either device.

But I do think it is weird if the derivation is not present on the
machine that build qutebrowser. Would you mind sending the output of
`guix time-machine ... -- build --derivations ...` from both machines?
If they return a different hash you could maybe also check the returned
`/gnu/store/...-qutebrowser-2.5.4.drv` files to see what is the
difference between them.

- Saku

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-01-30  7:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-30  0:06 bug#68811: build hash inconsistency Zacchaeus Scheffer
     [not found] ` <handler.68811.B.170657319418843.ack@debbugs.gnu.org>
2024-01-30  0:38   ` Zacchaeus Scheffer
2024-01-30  7:06     ` Saku Laesvuori via Bug reports for GNU Guix [this message]
2024-01-30 18:37       ` Zacchaeus Scheffer
2024-01-30 21:59         ` Josselin Poiret via Bug reports for GNU Guix
2024-01-30 23:25         ` Zacchaeus Scheffer
2024-01-31 18:34           ` Zacchaeus Scheffer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iubdi4grl2vsaoahdpdyiyiufeisrhrdgr46rhaswjnkc7pktt@pohwj3tphrm5 \
    --to=bug-guix@gnu.org \
    --cc=68811@debbugs.gnu.org \
    --cc=saku@laesvuori.fi \
    --cc=zaccysc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).