[Pkg-rust-maintainers] Bug#1093125: rustc: FTBFS on hurd-any

Samuel Thibault sthibault at debian.org
Wed Jan 15 11:52:03 GMT 2025


Package: rustc
Version: 1.84.0+dfsg1-1~exp1
Severity: important
Tags: ftbfs patch upstream fixed-upstream
Forwarded: https://github.com/rust-lang/rust/pull/133515

Hello,

With the upgrade of libc to 0.2.164, rustc gets a build failure, which
was fixed upstream by the attached patch, could you apply it?

Thanks,
Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.12.5-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rustc depends on:
ii  binutils              2.43.50.20241215-1
ii  gcc                   4:14.2.0-1
ii  libc6                 2.40-4
ii  libc6-dev [libc-dev]  2.40-4
ii  libgcc-s1             15-20241220-1
ii  libstd-rust-dev       1.83.0+dfsg1-1

Versions of packages rustc recommends:
ii  cargo      1.83.0+dfsg1-1
ii  rust-llvm  1.83.0+dfsg1-1

rustc suggests no packages.

-- no debconf information

-- 
Samuel
 Cliquez sur le lien qui suit dans ce mail...vous n'avez plus qu'a vous
 inscrire pour gagner de l'argent en restant connecte....et puis faites
 passer le message et vous gagnerez encore plus d'argent ...
 -+- AC in NPC : Neuneu a rencontré le Pere Noël -+-
-------------- next part --------------
commit 43ae473520078e2f006a563b8dbba70c79539f6f
Author: Steve Lau <stevelauc at outlook.com>
Date:   Sat Nov 30 19:04:58 2024 +0800

    fix: hurd build, stat64.st_fsid was renamed to st_dev

diff --git a/library/std/src/os/hurd/fs.rs b/library/std/src/os/hurd/fs.rs
index 00ff1560f31..e3087fa8af1 100644
--- a/library/std/src/os/hurd/fs.rs
+++ b/library/std/src/os/hurd/fs.rs
@@ -298,7 +298,7 @@ pub trait MetadataExt {
 #[stable(feature = "metadata_ext", since = "1.1.0")]
 impl MetadataExt for Metadata {
     fn st_dev(&self) -> u64 {
-        self.as_inner().as_inner().st_fsid as u64
+        self.as_inner().as_inner().st_dev as u64
     }
     fn st_ino(&self) -> u64 {
         self.as_inner().as_inner().st_ino as u64


More information about the Pkg-rust-maintainers mailing list