From: Richard Henderson <rth7680@gmail.com>
To: "Paolo Bonzini" <pbonzini@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: alpine docker configuration fails rust tests
Date: Fri, 3 Oct 2025 11:05:30 -0700 [thread overview]
Message-ID: <202c4604-61f0-4d6b-8518-cb72726f2236@gmail.com> (raw)
In-Reply-To: <dc2a1732-5e85-4616-8304-28d00e83df35@gmail.com>
On 10/3/25 11:00, Richard Henderson wrote:
> Hiya,
>
> Our Alpine docker image isn't quite right, and fails testing for rust:
>
>> Detecting compiler via: `rustc --target x86_64-unknown-linux-musl --version` -> 0
>> stdout:
>> rustc 1.83.0 (90b35a623 2024-11-26) (Alpine Linux 1.83.0-r0)
>> -----------
>> -----------
>> Called: `rustc --target x86_64-unknown-linux-musl -C linker=cc -C link-arg=-m64 -o /tmp/
>> qemu-test/build/meson-private/rusttest.exe /tmp/qemu-test/build/meson-private/sanity.rs`
>> -> 1
>> stderr:
>> error[E0463]: can't find crate for `std`
>> |
>> = note: the `x86_64-unknown-linux-musl` target may not be installed
>> = help: consider downloading the target with `rustup target add x86_64-unknown-linux-
>> musl`
>>
>> error: aborting due to 1 previous error
>
> But what's even more annoying is that --disable-rust doesn't suppress this check.
Bah. I was too quick to point the finger.
It's a different part of the tooling that's in error:
$ make J=8 V=1 docker-test-full@alpine EXTRA_CONFIGURE_OPTS=--disable-rust
...
podman run --rm --userns keep-id --security-opt seccomp=unconfined --net=none -e
TARGET_LIST= -e EXTRA_CONFIGURE_OPTS="--disable-rust" -e TEST_COMMAND="" -e V=1 -e J=8 -e
DEBUG= -e SHOW_ENV= -v $HOME/.cache/qemu:$HOME/.cache/qemu -e
CCACHE_DIR=DOCKER_QEMU_CACHE_DIR/docker-ccache -v $(readlink -e
/home/rth/qemu/bld-pub/docker-src.2025-10-03-10.56.14.1004950):/var/tmp/qemu:z,ro
qemu/alpine /var/tmp/qemu/run test-full
...
Configure options:
--enable-werror --prefix=/tmp/qemu-test/install --disable-rust --enable-rust
Clearly EXTRA_CONFIGURE_OPTS should be added at the end.
r~
prev parent reply other threads:[~2025-10-03 18:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-03 18:00 alpine docker configuration fails rust tests Richard Henderson
2025-10-03 18:05 ` Richard Henderson [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202c4604-61f0-4d6b-8518-cb72726f2236@gmail.com \
--to=rth7680@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/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.
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 NNTP newsgroup(s).