Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #382858 > unrolled thread
| Started by | Sergei Semin <syominsergey@gmail.com> |
|---|---|
| First post | 2025-01-28 15:50 +0100 |
| Last post | 2025-02-06 01:00 +0100 |
| Articles | 6 — 4 participants |
Back to article view | Back to linux.debian.bugs.rc
Bug#1094483: rust-async-std: FTBFS with "nocheck" profile Sergei Semin <syominsergey@gmail.com> - 2025-01-28 15:50 +0100
Bug#1094483: (was rust-async-std: FTBFS with "nocheck" profile) NoisyCoil <noisycoil@disroot.org> - 2025-02-06 00:30 +0100
Processed: Re: (was rust-async-std: FTBFS with "nocheck" profile) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-06 00:30 +0100
Processed: Re: (was rust-async-std: FTBFS with "nocheck" profile) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-06 00:40 +0100
Bug#1094483: dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds noisycoil@tutanota.com - 2025-02-06 01:00 +0100
Processed: Re: dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-06 01:00 +0100
| From | Sergei Semin <syominsergey@gmail.com> |
|---|---|
| Date | 2025-01-28 15:50 +0100 |
| Subject | Bug#1094483: rust-async-std: FTBFS with "nocheck" profile |
| Message-ID | <K9V4B-cDaP-1@gated-at.bofh.it> |
Source: rust-async-std Version: 1.13.0-3 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: syominsergey@gmail.com Dear maintainer! It is impossible to build package rust-async-std from source with profile "nocheck". Steps how to reproduce. Create fresh docker container with Debian Trixie: ``` docker run --rm -it debian:trixie bash ``` In my case I received such image: ``` REPOSITORY TAG IMAGE ID CREATED SIZE debian trixie a1b129fd683d 2 weeks ago 118MB ``` Update apt cache: ``` apt update ``` Install vim: ``` apt install vim ``` Add deb-src into all lines starting with "Types:" in file /etc/apt/sources.list.d/debian.sources. Update apt cache again: ``` apt update ``` Install dpkg-dev package: ``` apt install dpkg-dev ``` Download sources of package rust-async-std: ``` apt source rust-async-std ``` In my case I received version 1.13.0-3 Goto into folder with sources. Set necessary environment variables: ``` export DEB_BUILD_OPTIONS="nocheck" export DEB_BUILD_PROFILES="nocheck" ``` Install necessary build deps: ``` apt build-dep . ``` Run build process: ``` dpkg-buildpackage -b -uc ``` I received an error: ``` error: failed to prepare local package for uploading Caused by: no matching package named `async-attributes` found location searched: registry `crates-io` required by package `async-std v1.13.0 (/root/rust-async-std-1.13.0)` ``` It is interesting, that according to file debian/control build dep librust-async-attributes-1+default-dev has condition <!nocheck>. But as I saw, this dependency is mandatory indeed. Without "nocheck" package builds correctly. Could you please fix build of this package with profile "nocheck"? It is really important to have possibility to build package with "nocheck". P.S. There are lot of other rust packages not building with "nocheck" profile. For example rust-async-attributes 1.1.2 and a lot of others. -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.6.28-1-generic (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect
[toc] | [next] | [standalone]
| From | NoisyCoil <noisycoil@disroot.org> |
|---|---|
| Date | 2025-02-06 00:30 +0100 |
| Subject | Bug#1094483: (was rust-async-std: FTBFS with "nocheck" profile) |
| Message-ID | <KcX0d-eHlr-3@gated-at.bofh.it> |
| In reply to | #382858 |
Control: reassign -1 dh-rust Control: retitle -1 dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds Control: severity -1 important Control: affects -1 + src:rust-async-std This is a dh-rust bug. When the build is done with the `nocheck` profile, `cargo package` is still called in dh_auto_install. `cargo package` expects the registry to be populated by the crate's dependencies, so the build fails if d/control uses the <!nocheck> qualifier for the B-Ds and these are not installed by other means. In other words, the way dh-rust currently does things requires B-Ds to be installed even if `nocheck` is used. Downgrading severity to important because I couldn't find anything in the policy or in https://release.debian.org/testing/rc_policy.txt to suggest that packages must build with the `nocheck` profile. The reported justification "Justification: fails to build from source (but built successfully in the past)" is inaccurate because the packages do in fact build from source with the default profile.
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2025-02-06 00:30 +0100 |
| Subject | Processed: Re: (was rust-async-std: FTBFS with "nocheck" profile) |
| Message-ID | <KcX0d-eHlr-1@gated-at.bofh.it> |
| In reply to | #382858 |
Processing control commands: > reassign -1 dh-rust Bug #1094483 [src:rust-async-std] rust-async-std: FTBFS with "nocheck" profile Bug reassigned from package 'src:rust-async-std' to 'dh-rust'. No longer marked as found in versions rust-async-std/1.13.0-3. Ignoring request to alter fixed versions of bug #1094483 to the same values previously set > retitle -1 dh-rust: fails to build packages with profile Bug #1094483 [dh-rust] rust-async-std: FTBFS with "nocheck" profile Changed Bug title to 'dh-rust: fails to build packages with profile' from 'rust-async-std: FTBFS with "nocheck" profile'. -- 1094483: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094483 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2025-02-06 00:40 +0100 |
| Subject | Processed: Re: (was rust-async-std: FTBFS with "nocheck" profile) |
| Message-ID | <KcX9T-eHp7-5@gated-at.bofh.it> |
| In reply to | #382858 |
Processing control commands: > retitle -1 dh-rust: fails to build packages with profile Bug #1094483 [dh-rust] dh-rust: fails to build packages with profile Ignoring request to change the title of bug#1094483 to the same title -- 1094483: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094483 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | noisycoil@tutanota.com |
|---|---|
| Date | 2025-02-06 01:00 +0100 |
| Subject | Bug#1094483: dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds |
| Message-ID | <KcXtf-eHvL-1@gated-at.bofh.it> |
| In reply to | #382858 |
Control: retitle -1 dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds Control: severity -1 important Control: affects -1 + src:rust-async-std Third time's the charm, they say.
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2025-02-06 01:00 +0100 |
| Subject | Processed: Re: dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds |
| Message-ID | <KcXtf-eHvL-5@gated-at.bofh.it> |
| In reply to | #382858 |
Processing control commands: > retitle -1 dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds Bug #1094483 [dh-rust] dh-rust: fails to build packages with profile Changed Bug title to 'dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds' from 'dh-rust: fails to build packages with profile'. > severity -1 important Bug #1094483 [dh-rust] dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds Severity set to 'important' from 'serious' > affects -1 + src:rust-async-std Bug #1094483 [dh-rust] dh-rust: fails to build packages with profile `nocheck` and <!nocheck> B-Ds Added indication that 1094483 affects src:rust-async-std -- 1094483: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094483 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.rc
csiph-web