Package: devscripts Version: 2.18.6 Severity: minor Tags: patch Hi,
Running mk-build-deps for a package without Build-Depends or Build-Depends-Indep fields in its control file, here leads to mk-build-deps exiting non-succesfully and printing mk-build-deps: Unable to find build-deps for uruk . I'd expect it to generate a uruk-build-deps_20181005-1_all.deb with just build-essential:amd64 as Depends and exit succesfully. Printing a warning it is doing just that would be useful. This trivial patch for mk-build-deps.pl as in git today does this: --------------- --- mk-build-deps.pl,orig 2018-10-05 14:58:12.457780789 +0200 +++ mk-build-deps.pl 2018-10-05 15:01:27.049531850 +0200 @@ -306,7 +306,7 @@ $build_conflicts .= $conflict_indep; } - die "$progname: Unable to find build-deps for $ctrl->{$name}\n" + warn "$progname: $ctrl->{$name} has no build-deps\n" unless $build_deps; if (exists $ctrl->{Version}) { --------------- Thanks, Bye, Joost
signature.asc
Description: Digital signature