GNU bug report logs - #64774
RISC-V 64 Python 3.10.7 build failure when building git 2.41.0 @ commit eb12f3f

Previous Next

Package: guix;

Reported by: Juliana Sims <juli <at> incana.org>

Date: Fri, 21 Jul 2023 19:07:01 UTC

Severity: normal

To reply to this bug, email your comments to 64774 AT debbugs.gnu.org.

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#64774; Package guix. (Fri, 21 Jul 2023 19:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juliana Sims <juli <at> incana.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 21 Jul 2023 19:07:01 GMT) Full text and rfc822 format available.

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

From: Juliana Sims <juli <at> incana.org>
To: bug-guix <at> gnu.org
Subject: RISC-V 64 Python 3.10.7 build failure when building git 2.41.0 @
 commit eb12f3f
Date: Fri, 21 Jul 2023 15:06:05 -0400
[Message part 1 (text/plain, inline)]
Hello,

The command `guix shell -s riscv64-linux -Kc $(($(nproc)/2)) git` fails 
due to test failures while building Python 3.10.7. Notably, creating a 
shell with just Python (so, swapping "python" for "git" in the command) 
works fine.

Here is my channel information:
```
(channel
       (name 'guix)
       (url "<https://git.savannah.gnu.org/git/guix.git>")
       (branch "master")
       (commit
         "eb12f3fd8bee99920118ec802ffbac8f1ab676b9")
       (introduction
         (make-channel-introduction
           "9edb3f66fd807b096b48283debdcddccfea34bad"
           (openpgp-fingerprint
             "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA"))))
```

I have attached the build log as well.

Thanks,
Juli

[Message part 2 (text/html, inline)]
[ihv7x816k38gkknnkaj9pdrxivrqcz-python-3.10.7.drv.gz (application/gzip, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#64774; Package guix. (Wed, 20 Sep 2023 07:29:02 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Juliana Sims <juli <at> incana.org>, 64774 <at> debbugs.gnu.org
Subject: Re: bug#64774: RISC-V 64 Python 3.10.7 build failure when building
 git 2.41.0 @ commit eb12f3f
Date: Wed, 20 Sep 2023 08:49:30 +0200
Hi,

On Fri, 21 Jul 2023 at 15:06, Juliana Sims <juli <at> incana.org> wrote:

> The command `guix shell -s riscv64-linux -Kc $(($(nproc)/2)) git` fails 
> due to test failures while building Python 3.10.7. Notably, creating a 
> shell with just Python (so, swapping "python" for "git" in the command) 
> works fine.

[...]

>         (commit
>           "eb12f3fd8bee99920118ec802ffbac8f1ab676b9")

On my machine running x86_64, it fails about
/gnu/store/…-python-toolchain-3.10.7.drv with,

--8<---------------cut here---------------start------------->8---
@ unsupported-platform
/gnu/store/5sxjc5i6cnk9fgxv9vxh7736vvg46z1x-python-toolchain-3.10.7.drv
riscv64-linux
while setting up the build environment: a `riscv64-linux' is required to
build `/gnu/store/5sxjc5i6cnk9fgxv9vxh7736vvg46z1x-python-toolchain-3.10.7.drv',but I am a `x86_64-linux'
--8<---------------cut here---------------end--------------->8---

If I run,

    $ guix time-machine -q --commit=eb12f3fd8bee99920118ec802ffbac8f1ab676b9 \
         -- build -s riscv64-linux git --no-grafts -d
    /gnu/store/416hn85wavavmbhrfgrshq5fvvjgxnb2-git-2.41.0.drv

Then I open the derivation, I read:

   ,("/gnu/store/bwkklzsf4hrrmwqsy50837zyrl86bhm0-python-3.10.7.drv",["out"])

And this is substituted for me.  This python-toolchain is dragged by
this chain:

--8<---------------cut here---------------start------------->8---
$ guix time-machine -q --commit=eb12f3fd8bee99920118ec802ffbac8f1ab676b9 \
       -- graph --path -s riscv64-linux -t derivation                    \
       /gnu/store/416hn85wavavmbhrfgrshq5fvvjgxnb2-git-2.41.0.drv        \
       /gnu/store/5sxjc5i6cnk9fgxv9vxh7736vvg46z1x-python-toolchain-3.10.7.drv
/gnu/store/416hn85wavavmbhrfgrshq5fvvjgxnb2-git-2.41.0.drv
/gnu/store/bpn15j7zp90pxmjfhjb8byjnp95ymd7z-libsecret-0.20.5.drv
/gnu/store/h8ndn2j5vczzj6rph42ph3j5k87cy9xm-python-pygobject-3.42.2.drv
/gnu/store/6ghdpirfri9avcvm9617zgqv169hkphl-python-tomli-2.0.1.drv
/gnu/store/5sxjc5i6cnk9fgxv9vxh7736vvg46z1x-python-toolchain-3.10.7.drv
--8<---------------cut here---------------end--------------->8---

Well, this python-toolchain depends on
/gnu/store/7rihv7x816k38gkknnkaj9pdrxivrqcz-python-3.10.7.drv which is
substituted for me.

If I read correctly, you reported
/gnu/store/ihv7x816k38gkknnkaj9pdrxivrqcz-python-3.10.7.drv.gz for the
name of the derivations which failed for you.  But I do not see it,

--8<---------------cut here---------------start------------->8---
$ guix time-machine -q --commit=eb12f3fd8bee99920118ec802ffbac8f1ab676b9\
       -- graph -s riscv64-linux -t derivation git \
       | grep label | grep python-3.10             \
       | cut -f1 -d'['
 "/gnu/store/bwkklzsf4hrrmwqsy50837zyrl86bhm0-python-3.10.7.drv"
 "/gnu/store/mb4l6l8q8s4b1lknxsr3zsd8i6scgf61-python-3.10.7-builder"
 "/gnu/store/7rihv7x816k38gkknnkaj9pdrxivrqcz-python-3.10.7.drv"
 "/gnu/store/5i55gbh89dfmk6n1qcz3fn2h14hg38pv-python-3.10.7-builder"
--8<---------------cut here---------------end--------------->8---

Hum, I do not know where does come from the Python which fails for you?


Cheers,
simon




This bug report was last modified 1 year and 273 days ago.

Previous Next


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