[Bug 2125163] Re: libstd-rust-1.* ships unversioned /usr/lib/x86_64-linux-gnu/libEnzyme-19.so

Max Gilmour 2125163 at bugs.launchpad.net
Thu Dec 4 17:02:08 UTC 2025


This package does in fact fix the bug for me.

======================================
Starting with 1.83, trying to add 1.84
======================================
root at plucky:~# dpkg -l rustc-1.83 | grep rustc
ii  rustc-1.83     1.83.0+dfsg0ubuntu2-0ubuntu1 amd64        Rust systems programming language
root at plucky:~# apt install -y rustc-1.84
Installing:                     
  rustc-1.84

Installing dependencies:
  libstd-rust-1.84  libstd-rust-1.84-dev

Suggested packages:
  cargo-1.84  llvm-19  lld-19  clang-19

Summary:
  Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 4
  Download size: 76.1 MB
  Space needed: 304 MB / 760 GB available

Get:1 http://archive.ubuntu.com/ubuntu plucky/main amd64 libstd-rust-1.84 amd64 1.84.1+dfsg0ubuntu1-0ubuntu1 [23.4 MB]
Get:2 http://archive.ubuntu.com/ubuntu plucky/main amd64 libstd-rust-1.84-dev amd64 1.84.1+dfsg0ubuntu1-0ubuntu1 [47.1 MB]
Get:3 http://archive.ubuntu.com/ubuntu plucky/main amd64 rustc-1.84 amd64 1.84.1+dfsg0ubuntu1-0ubuntu1 [5531 kB]
Fetched 76.1 MB in 4s (18.1 MB/s)  
Selecting previously unselected package libstd-rust-1.84:amd64.
(Reading database ... 43902 files and directories currently installed.)
Preparing to unpack .../libstd-rust-1.84_1.84.1+dfsg0ubuntu1-0ubuntu1_amd64.deb ...
Unpacking libstd-rust-1.84:amd64 (1.84.1+dfsg0ubuntu1-0ubuntu1) ...
Selecting previously unselected package libstd-rust-1.84-dev:amd64.
Preparing to unpack .../libstd-rust-1.84-dev_1.84.1+dfsg0ubuntu1-0ubuntu1_amd64.deb ...
Unpacking libstd-rust-1.84-dev:amd64 (1.84.1+dfsg0ubuntu1-0ubuntu1) ...
Selecting previously unselected package rustc-1.84.
Preparing to unpack .../rustc-1.84_1.84.1+dfsg0ubuntu1-0ubuntu1_amd64.deb ...
Unpacking rustc-1.84 (1.84.1+dfsg0ubuntu1-0ubuntu1) ...
Setting up libstd-rust-1.84:amd64 (1.84.1+dfsg0ubuntu1-0ubuntu1) ...
Setting up libstd-rust-1.84-dev:amd64 (1.84.1+dfsg0ubuntu1-0ubuntu1) ...
Setting up rustc-1.84 (1.84.1+dfsg0ubuntu1-0ubuntu1) ...
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for libc-bin (2.41-6ubuntu1.2) ...
Scanning processes...                                                                            
Scanning candidates...                                                                           

Restarting services...

Service restarts being deferred:
 systemctl restart unattended-upgrades.service

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this
host.

======================================
Starting with 1.84, trying to add 1.83
======================================
root at plucky:~# dpkg -l rustc-1.84 | grep rustc
ii  rustc-1.84     1.84.1+dfsg0ubuntu1-0ubuntu1 amd64        Rust systems programming language
root at plucky:~# apt install -y rustc-1.83/plucky-proposed
Selected version '1.83.0+dfsg0ubuntu2-0ubuntu1' (Ubuntu:25.04/plucky-proposed [amd64]) for 'rustc-1.83'
Selected version '1.83.0+dfsg0ubuntu2-0ubuntu1' (Ubuntu:25.04/plucky-proposed [amd64]) for 'libstd-rust-1.83-dev' because of 'rustc-1.83'
Selected version '1.83.0+dfsg0ubuntu2-0ubuntu1' (Ubuntu:25.04/plucky-proposed [amd64]) for 'libstd-rust-1.83' because of 'libstd-rust-1.83-dev'
Selected version '1.83.0+dfsg0ubuntu2-0ubuntu1' (Ubuntu:25.04/plucky-proposed [amd64]) for 'rustc-1.83'
Selected version '1.83.0+dfsg0ubuntu2-0ubuntu1' (Ubuntu:25.04/plucky-proposed [amd64]) for 'libstd-rust-1.83-dev' because of 'rustc-1.83'
Selected version '1.83.0+dfsg0ubuntu2-0ubuntu1' (Ubuntu:25.04/plucky-proposed [amd64]) for 'libstd-rust-1.83' because of 'libstd-rust-1.83-dev'
Installing:                 
  rustc-1.83

Installing dependencies:
  libstd-rust-1.83  libstd-rust-1.83-dev

Suggested packages:
  cargo-1.83  llvm-19  lld-19  clang-19

Summary:
  Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 12
  Download size: 72.1 MB
  Space needed: 289 MB / 760 GB available

Get:1 http://archive.ubuntu.com/ubuntu plucky-proposed/universe amd64 libstd-rust-1.83 amd64 1.83.0+dfsg0ubuntu2-0ubuntu1 [20.5 MB]
Get:2 http://archive.ubuntu.com/ubuntu plucky-proposed/universe amd64 libstd-rust-1.83-dev amd64 1.83.0+dfsg0ubuntu2-0ubuntu1 [46.2 MB]
Get:3 http://archive.ubuntu.com/ubuntu plucky-proposed/universe amd64 rustc-1.83 amd64 1.83.0+dfsg0ubuntu2-0ubuntu1 [5369 kB]
Fetched 72.1 MB in 4s (17.8 MB/s)    
Selecting previously unselected package libstd-rust-1.83:amd64.
(Reading database ... 43902 files and directories currently installed.)
Preparing to unpack .../libstd-rust-1.83_1.83.0+dfsg0ubuntu2-0ubuntu1_amd64.deb ...
Unpacking libstd-rust-1.83:amd64 (1.83.0+dfsg0ubuntu2-0ubuntu1) ...
Selecting previously unselected package libstd-rust-1.83-dev:amd64.
Preparing to unpack .../libstd-rust-1.83-dev_1.83.0+dfsg0ubuntu2-0ubuntu1_amd64.deb ...
Unpacking libstd-rust-1.83-dev:amd64 (1.83.0+dfsg0ubuntu2-0ubuntu1) ...
Selecting previously unselected package rustc-1.83.
Preparing to unpack .../rustc-1.83_1.83.0+dfsg0ubuntu2-0ubuntu1_amd64.deb ...
Unpacking rustc-1.83 (1.83.0+dfsg0ubuntu2-0ubuntu1) ...
Setting up libstd-rust-1.83:amd64 (1.83.0+dfsg0ubuntu2-0ubuntu1) ...
Setting up libstd-rust-1.83-dev:amd64 (1.83.0+dfsg0ubuntu2-0ubuntu1) ...
Setting up rustc-1.83 (1.83.0+dfsg0ubuntu2-0ubuntu1) ...
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for libc-bin (2.41-6ubuntu1.2) ...
Scanning processes...                                                                            

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
root at plucky:~# dpkg -l rustc-1.83 | grep rustc
ii  rustc-1.83     1.83.0+dfsg0ubuntu2-0ubuntu1 amd64        Rust systems programming language

** Tags removed: verification-needed-plucky
** Tags added: verification-done-plucky

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2125163

Title:
  libstd-rust-1.* ships unversioned /usr/lib/x86_64-linux-
  gnu/libEnzyme-19.so

Status in rustc-1.83 package in Ubuntu:
  In Progress
Status in rustc-1.84 package in Ubuntu:
  Invalid
Status in rustc-1.83 source package in Jammy:
  Invalid
Status in rustc-1.84 source package in Jammy:
  Invalid
Status in rustc-1.83 source package in Noble:
  Invalid
Status in rustc-1.84 source package in Noble:
  Invalid
Status in rustc-1.83 source package in Plucky:
  Fix Committed
Status in rustc-1.84 source package in Plucky:
  Invalid

Bug description:
  [ Impact ]

   * This bug prevents the installation of rustc-1.83 and rustc-1.84
  simultaneously, despite the fact that versioning the rust packages the
  way we do is explicitly intended to allow installations in parallel.

   * The fix removes the enzyme code entirely from the rustc-1.83 for
  Plucky, which re-enables the parallel installation. Enzyme is used for
  automatic differentiation of code, but since we have no packages
  depending on rustc-1.83, removing it does not impact the archive.
  Moreover, any users who wish to use rustc-1.83 with enzyme support for
  their own projects have alternative options, such as the officially
  recommended `rustup`.

  * This only affects Plucky because enzyme is already removed in newer
  backports and rustc versions.

  [ Test Plan ]

   * To reproduce, on Plucky, simply issue `apt install rustc-1.83
  rustc-1.84`.

   * The same command succeeds with my PPA enabled, or this package
  otherwise available.

   * See the test results in a previous comment.

  [ Where problems could occur ]

   * If some users exist that are relying on enzyme support in
  rustc-1.83, they will no longer be able to use this package the way
  they have been. Instead, we would need those users to switch to the
  Ubuntu-recommended tooling for Rust development, namely `rustup`.

  [ Other Info ]

   * Plucky is the latest release where the package is present.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc-1.83/+bug/2125163/+subscriptions




More information about the Ubuntu-sponsors mailing list