Source: mdevctl
Version: 1.2.0-5
Severity: serious
Tags: ftbfs

mdevctl fails to build from source when building with the nocheck build
profile. Since trixie, such a failure is considered release critical by
the release team. A build log ends as follows:

|    dh_auto_install --destdir=debian/mdevctl/ -O--buildsystem=cargo
|         install -m0755 -d /<<PKGBUILDDIR>>/debian/mdevctl
|         find . ! -newermt 'jan 01, 2000' -exec touch -d@1698049260 {} +
|         env DESTDIR=debian/mdevctl /usr/share/cargo/bin/cargo install
| debian cargo wrapper: options, profiles, parallel, lto: ['nocheck', 
'parallel=1'] ['nocheck'] ['-j1'] 0
| debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, 
x86_64-linux-gnu
| debian cargo wrapper: installing into destdir 'debian/mdevctl' prefix '/usr'
| debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', 
'CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/target', '/usr/bin/cargo', 
'-Zavoid-dev-deps', 'install', '--verbose', '--verbose', '-j1', '--target', 
'x86_64-unknown-linux-gnu', '--path', '/<<PKGBUILDDIR>>', '--root', 
'debian/mdevctl/usr'],) {'check': True}
|   Installing mdevctl v1.2.0 (/<<PKGBUILDDIR>>)
| error: failed to compile `mdevctl v1.2.0 (/<<PKGBUILDDIR>>)`, intermediate 
artifacts can be found at `/<<PKGBUILDDIR>>/target`
| 
| Caused by:
|   no matching package named `tempfile` found
|   location searched: registry `crates-io`
|   required by package `mdevctl v1.2.0 (/<<PKGBUILDDIR>>)`
| Traceback (most recent call last):
|   File "/usr/share/cargo/bin/cargo", line 257, in <module>
|     sys.exit(main(*sys.argv[1:]))
|              ^^^^^^^^^^^^^^^^^^^
|   File "/usr/share/cargo/bin/cargo", line 247, in main
|     return install(os.getenv("DESTDIR", ""),
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/share/cargo/bin/cargo", line 134, in install
|     logrun(["env", "RUST_BACKTRACE=1",
|   File "/usr/share/cargo/bin/cargo", line 76, in logrun
|     return subprocess.run(*args, **kwargs)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/usr/lib/python3.11/subprocess.py", line 571, in run
|     raise CalledProcessError(retcode, process.args,
| subprocess.CalledProcessError: Command '['env', 'RUST_BACKTRACE=1', 
'CARGO_TARGET_DIR=/<<PKGBUILDDIR>>/target', '/usr/bin/cargo', 
'-Zavoid-dev-deps', 'install', '--verbose', '--verbose', '-j1', '--target', 
'x86_64-unknown-linux-gnu', '--path', '/<<PKGBUILDDIR>>', '--root', 
'debian/mdevctl/usr']' returned non-zero exit status 101.
| dh_auto_install: error: env DESTDIR=debian/mdevctl /usr/share/cargo/bin/cargo 
install returned exit code 1
| make: *** [debian/rules:9: binary] Error 25
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
2

I guess that librust-tempfile-dev really shouldn't be annotated
<!nocheck>.

Helmut

Reply via email to