all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaelyn <kaelyn.alexi@protonmail.com>
To: guix-devel <guix-devel@gnu.org>
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: Update to source-highlight seems to have broken rust
Date: Mon, 29 Jan 2024 17:26:27 +0000	[thread overview]
Message-ID: <H5CgTZ1aYlY8yqGC6ig38Hmq5KGDG4RvTqnPft5-BWJ4LEM0fjp_tetZDsSTePP-yxjtS_xhnjihgc2pQ2ANb9MYVKrF5ij9ZXeXXCcqBtI=@protonmail.com> (raw)

Hi Efraim and guix-devel,

Based on my local cuirass instance and some spot testing this morning, it appears the change to source-highlight in commit 367bc2d198 has broken the build of rust 1.73.
* `guix refresh -l source-highlight` reports modifying the package would require a large number of rebuilds ("Building the following 6129 packages would ensure 9069 dependent packages are rebuilt").
* I am seeing a consistent test failure for rust starting with that commit.
* `guix weather rust@1.73` reports 100% availability for both ci.guix.gnu.org and bordeaux.guix.gnu.org at commit fbeae77ae6 but 0% availability at commit 367bc2d198.

The consistently-reported failure is:

---- metadata::cargo_metadata_non_utf8 stdout ----
thread 'metadata::cargo_metadata_non_utf8' panicked at crates/cargo-test-support/src/paths.rs:155:33:
failed to mkdir_p /tmp/guix-build-rust-1.73.0.drv-0/rustc-1.73.0-src/build/x86_64-unknown-linux-gnu/stage1-tools/x86_64-unknown-linux-gnu/tmp/cit/t1684/foo/�/./src: Invalid or incomplete multibyte or wide character (os error 84)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    metadata::cargo_metadata_non_utf8

test result: FAILED. 2801 passed; 1 failed; 198 ignored; 0 measured; 0 filtered out; finished in 92.81s

error: test failed, to rerun pass `--test testsuite`


I don't exactly understand how wrapping scripts in source-highlight ended up breaking the above rust test, nor do I use rust, so I wanted to bring it to folks' attention since the failure appears to affect a great many packages (I noticed it in an ffmpeg build failure on my local cuirass instance).

Cheers,
Kaelyn


             reply	other threads:[~2024-01-29 17:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-29 17:26 Kaelyn [this message]
2024-01-29 17:49 ` Update to source-highlight seems to have broken rust John Kehayias
2024-01-29 23:39   ` Kaelyn

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='H5CgTZ1aYlY8yqGC6ig38Hmq5KGDG4RvTqnPft5-BWJ4LEM0fjp_tetZDsSTePP-yxjtS_xhnjihgc2pQ2ANb9MYVKrF5ij9ZXeXXCcqBtI=@protonmail.com' \
    --to=kaelyn.alexi@protonmail.com \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.