Source: debhelper
Version: 12.8
Severity: minor
Tags: patch
Without explicit buildsystem, debhelper attempts to guess one by looking
into the source package. I've stumbled upon a package having directory
'configure', which debhelper identified as 'configure' executable,
attempted to execute and died with 'is a directory' or similar. The
situation could be improved if Debian::Debhelper::Buildsystem::autoconf
made sure that 'configure' is a file, viz:
diff --git a/lib/Debian/Debhelper/Buildsystem/autoconf.pm
b/lib/Debian/Debhelper/Buildsystem/autoconf.pm
index 37172eea..4312811d 100644
--- a/lib/Debian/Debhelper/Buildsystem/autoconf.pm
+++ b/lib/Debian/Debhelper/Buildsystem/autoconf.pm
@@ -19,7 +19,8 @@ sub check_auto_buildable {
my $this=shift;
my ($step)=@_;
- return 0 unless -x $this->get_sourcepath("configure");
+ return 0 unless -x $this->get_sourcepath("configure") &&
+ -f $this->get_sourcepath("configure");
# Handle configure explicitly; inherit the rest
return 1 if $step eq "configure";
Best,
Andrius