Package: rustfmt
Version: 1.78.0+dfsg1-2
Severity: serious
Control: found -1 1.79.0+dfsg1-1~exp1
User: debian...@lists.debian.org
Usertags: undefined-symbol adequate

rustfmt is missing a dependency on libstd-rust-1.78 and it does not
run if that is not installed. I get a symbol error in a minimal chroot
and piuparts/adequate detect the issue too, but do not fail the test:

https://piuparts.debian.org/sid/pass/rustfmt_1.78.0+dfsg1-2.log

   $ sudo apt install rustfmt
   Installing:                     
     rustfmt
   
   Recommended packages:
     cargo
   
   Summary:
     Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
     Download size: 0 B / 2032 kB
     Space needed: 7746 kB / 32.6 GB available
   
   Selecting previously unselected package rustfmt.
   (Reading database ... 14772 files and directories currently installed.)
   Preparing to unpack .../rustfmt_1.78.0+dfsg1-2_amd64.deb ...
   Unpacking rustfmt (1.78.0+dfsg1-2) ...
   Setting up rustfmt (1.78.0+dfsg1-2) ...
   
   $ rustfmt --version
   rustfmt: error while loading shared libraries: 
librustc_driver-c7caf62295e72a17.so: cannot open shared object file: No such 
file or directory
   
   $ sudo apt install libstd-rust-1.78
   Installing:                     
     libstd-rust-1.78
   
   Installing dependencies:
     libedit2  libicu72  libllvm17t64  libxml2  libz3-4
   
   Summary:
     Upgrading: 0, Installing: 6, Removing: 0, Not Upgrading: 0
     Download size: 0 B / 60.5 MB
     Space needed: 271 MB / 32.5 GB available
   
   Continue? [Y/n] 
   Selecting previously unselected package libedit2:amd64.
   (Reading database ... 16679 files and directories currently installed.)
   Preparing to unpack .../0-libedit2_3.1-20240517-1_amd64.deb ...
   Unpacking libedit2:amd64 (3.1-20240517-1) ...
   Selecting previously unselected package libicu72:amd64.
   Preparing to unpack .../1-libicu72_72.1-4+b1_amd64.deb ...
   Unpacking libicu72:amd64 (72.1-4+b1) ...
   Selecting previously unselected package libxml2:amd64.
   Preparing to unpack .../2-libxml2_2.12.7+dfsg-3_amd64.deb ...
   Unpacking libxml2:amd64 (2.12.7+dfsg-3) ...
   Selecting previously unselected package libz3-4:amd64.
   Preparing to unpack .../3-libz3-4_4.8.12-3.1+b2_amd64.deb ...
   Unpacking libz3-4:amd64 (4.8.12-3.1+b2) ...
   Selecting previously unselected package libllvm17t64:amd64.
   Preparing to unpack .../4-libllvm17t64_1%3a17.0.6-12_amd64.deb ...
   Unpacking libllvm17t64:amd64 (1:17.0.6-12) ...
   Selecting previously unselected package libstd-rust-1.78:amd64.
   Preparing to unpack .../5-libstd-rust-1.78_1.78.0+dfsg1-2_amd64.deb ...
   Unpacking libstd-rust-1.78:amd64 (1.78.0+dfsg1-2) ...
   Setting up libicu72:amd64 (72.1-4+b1) ...
   Setting up libedit2:amd64 (3.1-20240517-1) ...
   Setting up libz3-4:amd64 (4.8.12-3.1+b2) ...
   Setting up libxml2:amd64 (2.12.7+dfsg-3) ...
   Setting up libllvm17t64:amd64 (1:17.0.6-12) ...
   Setting up libstd-rust-1.78:amd64 (1.78.0+dfsg1-2) ...
   Processing triggers for libc-bin (2.38-13) ...
   
   $ rustfmt --version
   rustfmt 1.7.0-stable ( )
   
-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.8.12-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages rustfmt depends on:
ii  libc6      2.38-13
ii  libgcc-s1  14.1.0-2

Versions of packages rustfmt recommends:
pn  cargo  <none>

rustfmt suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to