[Bug 2090791] Re: rustc-1.80-src: missing `lib/rustlib/src` in sysroot

2025-01-04 Thread Miguel Ojeda
By the way, is it expected that the following works: apt -y install rust-src apt -y install rustc ls $(rustc --print sysroot)/lib/rustlib/src/rust/library/core/src/lib.rs but this does not: apt -y install rustc apt -y install rust-src ls $(rustc --print sysroot)/lib/rustl

[Bug 2090791] Re: rustc-1.80-src: missing `lib/rustlib/src` in sysroot

2025-01-04 Thread Miguel Ojeda
Thanks! I see it happened for rustc-1.81, which is great -- will this eventually apply to the other versioned packages (e.g. rustc-1.82, rustc-1.83...)? In addition, will this get backported to older Ubuntu releases (i.e. not just plucky, e.g. oracular and noble)? -- You received this bug notif

[Bug 2090791] [NEW] rustc-1.80-src: missing `lib/rustlib/src` in sysroot

2024-12-01 Thread Miguel Ojeda
Public bug reported: Hi, The following difference between the versioned (`rustc`) and non- versioned (`rustc-1.80`) packages means that downstream Rust users may need to tweak build steps for a project if the versioned packages are used: $ dpkg -L rust-src | grep rustlib /usr/lib/rustlib

[Bug 2086639] Re: bindgen: bug triggers future kernel build error (fixed upstream)

2024-11-05 Thread Miguel Ojeda
NoisyCoil (Debian) told me that the version that needs to be picked is +b3 or higher (after it lands in unstable), or that it can be built on Ubuntu's infra using Debian's librust-bindgen-dev 0.66.1-11, which has reached testing. Thanks NoisyCoil! -- You received this bug notification because yo

[Bug 2086641] [NEW] bindgen: kernel build failure due to 0.66 bug (fixed upstream)

2024-11-04 Thread Miguel Ojeda
Public bug reported: Hi, Ubuntu LTS (24.04)'s `bindgen` is not able to build a kernel with Rust enabled due to a bug (fixed upstream) in 0.66: $ bindgen --version --verbose bindgen 0.66.1 Clang: Ubuntu clang version 18.1.3 (1ubuntu1) $ make LLVM=1 ... *** *** Rust bi

[Bug 2086639] [NEW] bindgen: bug triggers future kernel build error (fixed upstream)

2024-11-04 Thread Miguel Ojeda
Public bug reported: Hi, Current Ubuntu non-LTS (oracular)'s `bindgen` will run into a kernel build failure in the future (in a couple weeks, when the new tracepoints support gets merged): $ bindgen --version --verbose bindgen 0.66.1 Clang: Ubuntu clang version 19.1.1 (1ubuntu1)