[blfs] 01/02: rust: fake a git executable for test
git Owner ([email protected] via blfs-book Mailing List) <[email protected]> Sun, 02 Aug 2026 14:26:28 +0000
| Newsgroups | gmane.linux.lfs.beyond.book |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1785680789-4089467-7340 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository blfs. commit aa050f1846c64d06a189b2353e6a8171cd36aa91 Author: Xi Ruoyao <[email protected]> AuthorDate: Sat Aug 1 15:43:45 2026 +0800 rust: fake a git executable for test As git now has rust recommended, it's just troubling to have a circular dependency with the "requirement" of git for testing rustc as we are not building from a git repo and git won't be really useful anyway. Maybe this should be raised upstream. BTW update the reason of the short-ice failure as the upstream has figured out why it fails. --- general/prog/rust.xml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/general/prog/rust.xml b/general/prog/rust.xml index 93299b849a..f9a16344b2 100644 --- a/general/prog/rust.xml +++ b/general/prog/rust.xml @@ -175,7 +175,6 @@ <bridgehead renderas="sect4">Optional</bridgehead> <para role="optional"> <xref linkend="gdb"/> (used by the test suite if it is present), - <xref linkend="git"/> (required by the test suite), <ulink url="https://github.com/bytecodealliance/wasmtime/tree/main/cranelift">cranelift</ulink>, <ulink url="https://jemalloc.net/">jemalloc</ulink>, libgccjit (read the Command Explanations in @@ -299,11 +298,21 @@ export LIBSQLITE3_SYS_USE_PKG_CONFIG=1 </para> </note> + <para> + If running the test suite, fake a Git executable to allow running + the test suite without <xref linkend='git'/> installed (we are + building from a release tarball instead of Git repository here so + Git will not be really useful even if it's installed): + </para> + +<screen remap='test'><userinput>mkdir fake-git && ln -sv /usr/bin/false fake-git</userinput></screen> + <para> To run the tests, issue: </para> -<screen remap="test"><userinput>./x.py test --verbose --no-fail-fast | tee rustc-testlog</userinput></screen> +<screen remap="test"><userinput>PATH+=:$PWD/fake-git \ +./x.py test --verbose --no-fail-fast | tee rustc-testlog</userinput></screen> <para> In the <filename class='directory'>rustdoc-ui</filename> tests, @@ -317,8 +326,9 @@ export LIBSQLITE3_SYS_USE_PKG_CONFIG=1 the test named <filename>rustdoc-target-modifiers</filename> is known to fail because we've not enabled the AArch64 target in <xref linkend='llvm'/>, and - the test named <filename>short-ice</filename> is known to fail for - unknown reason. + <!-- https://github.com/rust-lang/rust/issues/158219 --> + the test named <filename>short-ice</filename> is not written correctly + and known to fail. </para> <para> -- To stop receiving notification emails like this one, please contact the administrator of this repository. ------------=_1785680789-4089467-7340 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- http://lists.linuxfromscratch.org/sympa/info/blfs-book Unsubscribe: See the above information page ------------=_1785680789-4089467-7340--