[Pkg-rust-maintainers] Bug#955208: rustc: rustup is not available on Debian

Ralph Giles giles at thaumas.net
Wed Apr 1 03:44:30 BST 2020


I would also like to start off with a Debian-packaged rustup rather
than having to install it from upstream.

It's been discussed before, but I think no one was pursuaded to start
maintaining a package. IIRC one issue was that rustup likes to update
itself. You'd need to check how difficult it would be to have the
system rustup always just install any updates in the user's .cargo
subtree, without trying to write to the root filesytem. The user's
local version would then take precedence through the normal PATH
setting.

I think there was also some concern about support over the lifetime of
a debian release, should upstream change their API sufficiently to stop
the packaged version working.

 -r

On Sat, 2020-03-28 at 14:04 +0100, Martin Monperrus wrote:
> Package: rustc
> Version: 1.40.0+dfsg1-5
> Severity: normal
> 
> Dear Awesome Rust Debian Maintainers,
> 
> I notice that rustup is not packaged for Debian. One option is to go
> through
> snap (https://snapcraft.io/install/rustup/debian) but native packages
> are
> preferable.
> 
> Since rustup is used by many projects, it would be great to have it
> natively on
> Debian:
> 
> apt-get install rustup
> 
> What do you think?
> 
> Best regards,
> 
> --Martin
> 
> 
> 
> 
> 
> -- System Information:
> Debian Release: bullseye/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
> Kernel taint flags: TAINT_WARN, TAINT_CRAP, TAINT_OOT_MODULE,
> TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages rustc depends on:
> ii  binutils              2.34-5
> ii  gcc                   4:9.2.1-3.1
> ii  libc6                 2.30-2
> ii  libc6-dev [libc-dev]  2.30-2
> ii  libgcc-s1 [libgcc1]   10-20200324-1
> ii  libgcc1               1:10-20200324-1
> ii  libllvm9              1:9.0.1-10
> ii  libstd-rust-dev       1.40.0+dfsg1-5
> ii  libstdc++6            10-20200324-1
> 
> Versions of packages rustc recommends:
> ii  cargo     0.40.0-3
> ii  rust-gdb  1.40.0+dfsg1-5
> 
> Versions of packages rustc suggests:
> pn  lld-9     <none>
> pn  rust-doc  <none>
> pn  rust-src  <none>
> 
> -- no debconf information
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20200331/a9f41f2e/attachment-0003.sig>


More information about the Pkg-rust-maintainers mailing list