The problem is in the function output_source_format()
When this function is called the current directory IS already debian.
--- /tmp/dh-make-0.53/dh_make 2010-04-04 19:20:25.000000000 +0000
+++ /usr/bin/dh_make 2010-04-04 19:52:02.000000000 +0000
@@ -108,16 +108,11 @@
print "File $outfile exists, skipping.\n";
return;
}
- if ( ! -d 'debian/source' )
- {
- chdir 'debian' ;mkdir 'source', 0755 or die "error!: $! \n";
- }
-
}
- if ( ! -d 'debian/source' )
+ if ( ! -d 'source' )
{
- mkdir 'debian/source', 0755 or die "Unable to make
debian/source subdirectory: $! \n";
+ mkdir 'source', 0755 or die "Unable to make
debian/source subdirectory: $! \n";
}
open OUT, ">$outfile" or die "Unable to open file $outfile for
writing: $! \n";
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
I have to re-open this bug #574918. Either the debian directory exists
and dh-make aborts, or debian directory doesn't exit and dh-make aborts
as well. It doesn't amke a difference whether or not addmissing is added.
without debian directory:
jlinkels@dagobert-pc:~/krusader/krusader-2.1.0c$ rm -R debian
jlinkels@dagobert-pc:~/krusader/krusader-2.1.0c$ dh_make
<snip>
Unable to make debian/source subdirectory: No such file or directory
jlinkels@dagobert-pc:~/krusader/krusader-2.1.0c$
with debian directory:
jlinkels@dagobert-pc:~/krusader/krusader-2.1.0c$ dh_make
<snip>
You already have a debian/ subdirectory in the source tree.
dh_make will not try to overwrite anything.
jlinkels@dagobert-pc:~/krusader/krusader-2.1.0c$
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-4-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=locale: Cannot set LC_ALL to
default locale: No such file or directory
ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages dh-make depends on:
ii debhelper 7.4.15 helper programs for
debian/rules
ii dpkg-dev 1.15.5.6 Debian package development
tools
ii make 3.81-8 An utility for Directing
compilati
ii perl 5.10.1-11 Larry Wall's Practical
Extraction
dh-make recommends no packages.
Versions of packages dh-make suggests:
ii build-essential 11.5 Informational list of
build-essent
-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "sv_SE.UTF-8",
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory