[Pkg-rust-maintainers] Bug#1074373: cargo: .global_cache does not belong in /

Ingo Saitz ingo at hannover.ccc.de
Thu Jun 27 13:05:39 BST 2024


Package: cargo
Version: 1.79.0+dfsg1-1
Severity: normal

Dear Maintainer,

$ ls -l /.global_cache
-rw-r--r--   1 root root 57344 Jun 26 08:36 .global-cache
$ dpkg -S /.global-cache
cargo: /.global-cache

a) nothing in debian should create files or non-standard directories in /

b) the file name is ambigious and myght belong to any package, and could
   even lead to name clashes.

Judging by the name of the file, this should probably belong in
/var/cache/cargo/, and maybe not shipped in the package but created on
installation.

Thynk you for your time,
    Ingo

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 6 (excalibur/ceres)
Release:	6
Codename:	excalibur ceres
Architecture: x86_64

Kernel: Linux 6.10.0-rc5 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages cargo depends on:
ii  binutils               2.42.50.20240625-1
ii  clang                  1:18.0-59~exp2
ii  clang-14 [c-compiler]  1:14.0.6-20
ii  clang-15 [c-compiler]  1:15.0.7-15
ii  clang-16 [c-compiler]  1:16.0.6-27+b1
ii  clang-17 [c-compiler]  1:17.0.6-12
ii  clang-18 [c-compiler]  1:18.1.8-1
ii  clang-19 [c-compiler]  1:19~++20240529093513+2cfea14a57ad-1~exp1
ii  gcc [c-compiler]       4:13.2.0-7
ii  gcc-10 [c-compiler]    10.5.0-4
ii  gcc-11 [c-compiler]    11.4.0-9
ii  gcc-12 [c-compiler]    12.4.0-1
ii  gcc-13 [c-compiler]    13.3.0-1
ii  gcc-14 [c-compiler]    14.1.0-2
ii  gcc-9 [c-compiler]     9.5.0-6+b1
ii  libc6                  2.38-13
ii  libcurl4t64            8.8.0-1
ii  libgcc-s1              14.1.0-2
ii  libgit2-1.7            1.7.2+ds-1+b2
ii  libsqlite3-0           3.46.0-1
ii  libssh2-1t64           1.11.0-5
ii  libssl3t64             3.2.2-1
ii  rustc                  1.79.0+dfsg1-1
ii  zlib1g                 1:1.3.dfsg+really1.3.1-1

cargo recommends no packages.

Versions of packages cargo suggests:
pn  cargo-doc  <none>
ii  python3    3.11.8-1

-- no debconf information



More information about the Pkg-rust-maintainers mailing list