Source: greetd
Version: 0.9.0-4
Severity: serious
Justification: nocheck FTBFS is serious since trixie
greetd fails to build from source, when DEB_BUILD_OPTIONS contains
nocheck. A build ends as follows:
| dh binary --buildsystem=cargo
| dh_update_autotools_config -O--buildsystem=cargo
| dh_autoreconf -O--buildsystem=cargo
| debian/rules execute_before_dh_auto_configure
| make[1]: Entering directory '/<<PKGBUILDDIR>>'
| printf '{"package":"%s","files":{}}\n' $(sha256sum Cargo.toml | grep -Po
'^\S+') > debian/cargo-checksum.json;
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_configure -O--buildsystem=cargo
| debian cargo wrapper: options, profiles, parallel: ['nocheck', 'parallel=8']
[] ['-j8']
| debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu,
x86_64-linux-gnu
| debian cargo wrapper: linking /usr/share/cargo/registry/* into
/<<PKGBUILDDIR>>/debian/cargo_registry/
| debian/rules override_dh_auto_build
| make[1]: Entering directory '/<<PKGBUILDDIR>>'
| # actually does the build
| dh_auto_test -- --release
| make -C man all
| make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
| /usr/bin/scdoc < agreety-1.scd > agreety.1
| /usr/bin/scdoc < greetd-1.scd > greetd.1
| /usr/bin/scdoc < greetd-5.scd > greetd.5
| /usr/bin/scdoc < greetd-ipc-7.scd > greetd-ipc.7
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| create-stamp debian/debhelper-build-stamp
| dh_testroot -O--buildsystem=cargo
| dh_prep -O--buildsystem=cargo
| debian/rules override_dh_auto_install
| make[1]: Entering directory '/<<PKGBUILDDIR>>'
| dh_install target/x86_64-unknown-linux-gnu/release/greetd /usr/sbin/
| dh_install: warning: Cannot find (any matches for)
"target/x86_64-unknown-linux-gnu/release/greetd" (tried in ., debian/tmp)
|
| dh_install: warning: greetd missing files:
target/x86_64-unknown-linux-gnu/release/greetd
| dh_install: error: missing files, aborting
| make[1]: *** [debian/rules:26: override_dh_auto_install] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:8: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status
2
Note that nothing is ever built. debian/rules suggests that it attempts
to build using dh_auto_test, but given a high enough compatibility level
dh_auto_test honours DEB_BUILD_OPTIONS=nocheck. You probably need to run
dh_auto_build at some point.
Helmut