GNU bug report logs - #49263
Guix weather backtrace

Previous Next

Package: guix;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Mon, 28 Jun 2021 20:16:02 UTC

Severity: normal

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49263 in the body.
You can then email your comments to 49263 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#49263; Package guix. (Mon, 28 Jun 2021 20:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jack Hill <jackhill <at> jackhill.us>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 28 Jun 2021 20:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jack Hill <jackhill <at> jackhill.us>
To: bug-guix <at> gnu.org
Subject: Guix weather backtrace
Date: Mon, 28 Jun 2021 16:15:18 -0400 (EDT)
[Message part 1 (text/plain, inline)]
I get the following output when running `guix weather icecat` on 
aarch64-linux with Guix:

$ guix describe
Generation 1	Jun 28 2021 01:11:59	(current)
  guix 364b561
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 364b56124b88398c199aacbfd4fdfc9a1583e634

$ guix weather icecat
computing 0 package derivations for aarch64-linux...
looking for 0 store items on https://ci.guix.gnu.org...
https://ci.guix.gnu.org
Backtrace:
           7 (primitive-load "/home/jackhill/.config/guix/current/bi…")
In guix/ui.scm:
  2147:12  6 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10  5 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/weather.scm:
    577:9  4 (_)
In guix/build/utils.scm:
   569:23  3 (every* #<procedure d88f240 at guix/scripts/weather.sc…> …)
In guix/scripts/weather.scm:
   579:21  2 (_ "https://ci.guix.gnu.org")
   212:22  1 (_ _ () 0)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `numerical-overflow' with args `("/" "Numerical overflow" #f 
#f)'.

Best,
Jack

Information forwarded to bug-guix <at> gnu.org:
bug#49263; Package guix. (Mon, 28 Jun 2021 22:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 49263 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Jack Hill <jackhill <at> jackhill.us>, 49263 <at> debbugs.gnu.org
Subject: Re: bug#49263: Guix weather backtrace
Date: Tue, 29 Jun 2021 00:12:27 +0200
[Message part 1 (text/plain, inline)]
Jack Hill schreef op ma 28-06-2021 om 16:15 [-0400]:
> computing 0 package derivations for aarch64-linux...
> [...]
> Throw to key `numerical-overflow' with args `("/" "Numerical overflow" #f #f)'.

A division by zero problem?
Also, this seems architecture-dependent:

$ guix weather icecat --system=x86_64-linux icecat

2 pakketdistillaties aan het berekenen voor x86_64-linux...
op zoek naar 2 depotobjecten op https://ci.guix.gnu.org...
https://ci.guix.gnu.org
  100.0% substituten beschikbaar (2 van de 2)
  ten minste 355,2 MiB aan narbestanden (gecomprimeerd)
  377,9 MiB op schijf (ongecomprimeerd)
  0,379 seconden per verzoek (0,8 seconden in totaal)
  2,6 verzoeken per seconde

$ guix weather icecat --system=aarch64-linux icecat

0 pakketdistillaties aan het berekenen voor aarch64-linux...
op zoek naar 0 depotobjecten op https://ci.guix.gnu.org...
https://ci.guix.gnu.org
Backtrace: [...]
Throw to key `numerical-overflow' with args `("/" "Numerical overflow" #f #f)'.

Seems like the definition of icecat or some dependency of icecat does
not support aarch64. Anyway, here is a patch. Could you confirm it works?

Greetings,
Maxime.
[0001-weather-Handle-zero-requested-store-items-gracefully.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#49263; Package guix. (Tue, 29 Jun 2021 03:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 49263 <at> debbugs.gnu.org (full text, mbox):

From: Jack Hill <jackhill <at> jackhill.us>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 49263 <at> debbugs.gnu.org
Subject: Re: bug#49263: Guix weather backtrace
Date: Mon, 28 Jun 2021 23:29:01 -0400 (EDT)
[Message part 1 (text/plain, inline)]
On Tue, 29 Jun 2021, Maxime Devos wrote:

> Jack Hill schreef op ma 28-06-2021 om 16:15 [-0400]:
>> computing 0 package derivations for aarch64-linux...
>> [...]
>> Throw to key `numerical-overflow' with args `("/" "Numerical overflow" #f #f)'.
>
> A division by zero problem?
> Also, this seems architecture-dependent:

[…]

> Seems like the definition of icecat or some dependency of icecat does
> not support aarch64. Anyway, here is a patch. Could you confirm it works?

Thanks for taking a look. Yeah, I guess it's not a aarch64 problem 
per-say, but that it's easier to run into unsupported packages over here.

Yes, with the path applied, I can find out what the weather is:

$ ./pre-inst-env  guix weather icecat
computing 0 package derivations for aarch64-linux...
looking for 0 store items on https://ci.guix.gnu.org...
https://ci.guix.gnu.org
  unknown substitute sizes
  0.0 MiB on disk (uncompressed)

  14 queued builds
      x86_64-linux: 2 (14.3%)
      i686-linux: 10 (71.4%)
      aarch64-linux: 2 (14.3%)
  build rate: .00 builds per hour
      aarch64-linux: 0.00 builds per hour
      i686-linux: 0.00 builds per hour
      x86_64-linux: 0.00 builds per hour
looking for 0 store items on https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org
  unknown substitute sizes
  0.0 MiB on disk (uncompressed)
  (continuous integration information unavailable)

Some of the output doesn't quite make sense anymore in the context where 
we don't expect to find anything, but this is still much improved.

Thank you!
Jack

Information forwarded to bug-guix <at> gnu.org:
bug#49263; Package guix. (Tue, 29 Jun 2021 08:13:01 GMT) Full text and rfc822 format available.

Message #14 received at 49263 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Jack Hill <jackhill <at> jackhill.us>
Cc: 49263 <at> debbugs.gnu.org
Subject: Re: bug#49263: Guix weather backtrace
Date: Tue, 29 Jun 2021 10:12:16 +0200
[Message part 1 (text/plain, inline)]
Jack Hill schreef op ma 28-06-2021 om 23:29 [-0400]:
> On Tue, 29 Jun 2021, Maxime Devos wrote:
> > Seems like the definition of icecat or some dependency of icecat does
> > not support aarch64. Anyway, here is a patch. Could you confirm it works?
> 
> Thanks for taking a look. Yeah, I guess it's not a aarch64 problem 
> per-say, but that it's easier to run into unsupported packages over here.
> 
> Yes, with the path applied, I can find out what the weather is:
> 
> [...]
> 
> Some of the output doesn't quite make sense anymore in the context where 
> we don't expect to find anything, but this is still much improved.

Just to be clear, I don't have commit access, so you'll have to wait
for a committer to verify the patch works well and commit it.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Tue, 29 Jun 2021 18:23:01 GMT) Full text and rfc822 format available.

Notification sent to Jack Hill <jackhill <at> jackhill.us>:
bug acknowledged by developer. (Tue, 29 Jun 2021 18:23:01 GMT) Full text and rfc822 format available.

Message #19 received at 49263-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 49263-done <at> debbugs.gnu.org, Jack Hill <jackhill <at> jackhill.us>
Subject: Re: bug#49263: Guix weather backtrace
Date: Tue, 29 Jun 2021 20:22:37 +0200
Hello,

> Seems like the definition of icecat or some dependency of icecat does
> not support aarch64. Anyway, here is a patch. Could you confirm it works?

Applied as 5ef96ecaaeeabd5500e406f0103ca52ec079fdb9.

Thanks,

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 28 Jul 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.