They were used in that module but not defined. It lead to problems only when something else failed, so was difficult to detect.
@@ -100,6 +100,7 @@ sub is_elf {
package Dpkg::Shlibs::Objdump::Object;
use Dpkg::Gettext;
+use Dpkg::ErrorHandling qw(syserr warning);
sub new {
my $this = shift;