Package: lintian Version: 2.16.0 Severity: normal Hi,
STR: | % lintian --profile doesnotexist . | Cannot find profile doesnotexist (in /usr/share/lintian/profiles) at /usr/share/perl5/Lintian/Profile.pm line 144. | Lintian::Profile::new("Lintian::Profile", "doesnotexist", ARRAY(0x55e94cae1aa8), HASH(0x55e94cc9e2f0)) called at /usr/bin/lintian line 215 | dplint::load_profile("doesnotexist") called at /usr/share/lintian/commands/lintian.pm line 1432 | main::load_profile_and_configure_tags() called at /usr/share/lintian/commands/lintian.pm line 650 | main::main() called at /usr/bin/lintian line 46 | eval {...} called at /usr/bin/lintian line 46 | main::__ANON__("/usr/share/lintian/commands/lintian.pm") called at /usr/bin/lintian line 114 | dplint::run_tool("/usr/bin/lintian", "lintian") called at /usr/bin/lintian line 290 | dplint::main() called at /usr/bin/lintian line 359 | % echo $? | 255 Whereas the manual page says that lintian returns with exit code 2 on run-time errors: | % man lintian | less -p "EXIT STATUS" | EXIT STATUS | 0 No policy violations or major errors detected. (There may have been warnings, though.) | | 1 Policy violations or major errors detected. | | 2 Lintian run-time error. An error message is sent to stderr. Maybe a non-existing profile doesn't count as run-time error(?), but if so this might be worth mentioning in the documentation. (At least it was non-obvious for someone contributing to jenkins-debian-glue as well as myself when debugging this.) Thanks for consideration! regards -mika-