RISC-V 64 Python 3.10.7 build failure when building git 2.41.0 @ commit eb12f3f

  • Open
  • quality assurance status badge
Details
2 participants
  • Juliana Sims
  • Simon Tournier
Owner
unassigned
Submitted by
Juliana Sims
Severity
normal
J
J
Juliana Sims wrote on 21 Jul 2023 21:06
(address . bug-guix@gnu.org)
5EU5YR.14JHYCVE39O6@incana.org
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)
(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
Attachment: file
S
S
Simon Tournier wrote on 20 Sep 2023 08:49
86zg1h2vb9.fsf@gmail.com
Hi,

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

Toggle quote (5 lines)
> 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.

[...]

Toggle quote (3 lines)
> (commit
> "eb12f3fd8bee99920118ec802ffbac8f1ab676b9")

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

Toggle snippet (7 lines)
@ 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'

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:

Toggle snippet (11 lines)
$ 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

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,

Toggle snippet (10 lines)
$ 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"

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


Cheers,
simon
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 64774@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 64774
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch