GNU bug report logs - #56633
[core-updates] Some cross-derivations cannot be computed

Previous Next

Package: guix;

Reported by: Marius Bakke <marius <at> gnu.org>

Date: Mon, 18 Jul 2022 18:48:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <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 56633 in the body.
You can then email your comments to 56633 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#56633; Package guix. (Mon, 18 Jul 2022 18:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marius Bakke <marius <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 18 Jul 2022 18:48:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <marius <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: [core-updates] Some cross-derivations cannot be computed
Date: Mon, 18 Jul 2022 20:47:50 +0200
Hello Guix!

On the 'core-updates' branch, running 'guix build -d' fails on some
cross-derivations (notably anything that depends on NSPR, but there may
be others).

Somehow both TARGET and SYSTEM ends up #false. Any ideas to what is
going on?

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build --target=aarch64-linux-gnu nspr -d

Backtrace:
In guix/monads.scm:
    471:9 19 (_ _)
In guix/packages.scm:
   1553:7 18 (_ _)
In guix/store.scm:
  1996:13 17 (_ #<store-connection 256.99 7f5816372e60>)
In guix/packages.scm:
  1878:37 16 (_)
  1798:39 15 (bag->derivation #<<bag> name: "ld-wrapper-aarch64-linux-gnu-0" system: #f target: #f build-inputs: () host-inputs: (("binutils" #<package binutils-cross-aarch64-linux-gnu <at> 2.38 gnu/packages/cross-base.scm:69 7f58054e12c0>) ("guile" #<package guile <at> 3.0.8 guix/build-system/gnu.scm:145 7f5804e65420>) ("bash" #<package bash <at> 5.1.16 gnu/packages/bash.scm:131 7f5804bae210>) ("wrapper" "…> …)
   1291:4 14 (bag-transitive-inputs _)
  1074:23 13 (transitive-inputs _)
  1415:36 12 (propagated-inputs _)
In srfi/srfi-1.scm:
   586:29 11 (map1 (("libunistring" #<package libunistring <at> 1.0 gnu/packages/bootstrap.scm:297 7f58054e1000>) ("bdw-gc" #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20>)))
   586:17 10 (map1 (("bdw-gc" #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20>)))
In guix/packages.scm:
  1370:20  9 (rewrite ("bdw-gc" #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20>))
In guix/memoization.scm:
    101:0  8 (_ #<hash-table 7f5804e64be0 2/31> #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20> _)
In guix/packages.scm:
  1384:13  7 (_)
In guix/build-system/gnu.scm:
   157:33  6 (cut? _)
In gnu/packages/bdw-gc.scm:
    61:15  5 (arguments #<package libgc <at> 8.0.6 gnu/packages/bootstrap.scm:297 7f58054e5f20>)
In guix/utils.scm:
    672:7  4 (target-hurd? _)
In unknown file:
           3 (string-suffix? "-gnu" #f #<undefined> #<undefined> #<undefined> #<undefined>)
In ice-9/boot-9.scm:
  1685:16  2 (raise-exception _ #:continuable? _)
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure string-suffix?: Wrong type argument in position 2 (expecting string): #f
--8<---------------cut here---------------end--------------->8---




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 19 Jul 2022 21:32:02 GMT) Full text and rfc822 format available.

Notification sent to Marius Bakke <marius <at> gnu.org>:
bug acknowledged by developer. (Tue, 19 Jul 2022 21:32:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Marius Bakke <marius <at> gnu.org>
Cc: 56633-done <at> debbugs.gnu.org
Subject: Re: bug#56633: [core-updates] Some cross-derivations cannot be
 computed
Date: Tue, 19 Jul 2022 23:31:14 +0200
Hi,

Marius Bakke <marius <at> gnu.org> skribis:

> On the 'core-updates' branch, running 'guix build -d' fails on some
> cross-derivations (notably anything that depends on NSPR, but there may
> be others).

That was a typo in (guix build-system mozilla), where we’d accidentally
create a bag with #:system as its ‘name’ field.

Fixed in 5dfc6ab1ab292b87ceea144aa661d0e64c834031!

Ludo’.




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

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

Previous Next


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