[Bug 2131901] Re: perl: FTBFS in resolute - test failure

John Chittum 2131901 at bugs.launchpad.net
Fri Jan 30 19:46:13 UTC 2026


was hoping this got fixed in 0.5.0 but the commit to fix the issue is
later.

5d4abd88e95c628310d0a79c341cae25b51e8345

https://github.com/uutils/coreutils/commit/5d4abd88e95c628310d0a79c341cae25b51e8345

this is also more than a build time error. Because of how `Perl` calls
`env` this functionality is regressed on resolute in general. Attached
is a trivial reproducer that can be run on any system.

** Attachment added: "perl_non_utf8.pl"
   https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2131901/+attachment/5941672/+files/perl_non_utf8.pl

** Summary changed:

- perl: FTBFS in resolute - test failure
+ perl: env calls fail on non-UTF8 characters. FTBFS in resolute - test failure

** Also affects: perl (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Also affects: rust-coreutils (Ubuntu Resolute)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2131901

Title:
  perl: env calls fail on non-UTF8 characters. FTBFS in resolute - test
  failure

Status in perl package in Ubuntu:
  New
Status in rust-coreutils package in Ubuntu:
  New
Status in perl source package in Resolute:
  New
Status in rust-coreutils source package in Resolute:
  New

Bug description:
  The latest autosync of perl/5.40.1-7 from Debian currently FTBFS
  everywhere except riscv64

  https://launchpad.net/ubuntu/+source/perl/5.40.1-7

  t/op/magic ....................................................... 
  thread 'main' panicked at library/std/src/env.rs:162:83:
  called `Result::unwrap()` on an `Err` value: "eh zero \xA0"
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  # Failed test 186 - ENV store downgrades utf8 in setenv at op/magic.t line 87
  #      got ""
  # expected "eh zero �"

  thread 'main' panicked at library/std/src/env.rs:162:83:
  called `Result::unwrap()` on an `Err` value: "eh zero \xA0"
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  # Failed test 187 - ENV store downgrades utf8 key in setenv at op/magic.t line 87
  #      got ""
  # expected "widekey"
  FAILED at test 186

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/2131901/+subscriptions




More information about the foundations-bugs mailing list