Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #382858

Bug#1094483: rust-async-std: FTBFS with "nocheck" profile

From Sergei Semin <syominsergey@gmail.com>
Newsgroups linux.debian.bugs.rc
Subject Bug#1094483: rust-async-std: FTBFS with "nocheck" profile
Date 2025-01-28 15:50 +0100
Message-ID <K9V4B-cDaP-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web