Your message dated Tue, 1 Jul 2008 12:27:09 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#488765: debhelper: [dh_install] Confusing behaviour
when source file not existing
has caused the Debian Bug report #488765,
regarding debhelper: [dh_install] Confusing behaviour when source file not
existing
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
488765: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488765
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: debhelper
Version: 7.0.10
Severity: minor
The man page for 'dh_install' describes the following feature for
compatibility level 7+:
=====
From debhelper compatability level 7 on, if --sourcedir is not
specified, dh_install will install files from debian/tmp if the
directory contains the files. Otherwise, it will install files
from the current directory.
=====
While this describes a useful feature, the actual behaviour does not
quite match this description.
If the named source file is not found in the current directory, the
error message has changed between compatibility level 6 to 7, and the
new error message is confusing.
=====
$ echo '6' > debian/compat
$ dh_install FOO foo/
cp: cannot stat `./FOO': No such file or directory
dh_install: command returned error code 256
$ echo '7' > debian/compat
$ dh_install FOO foo/
cp: cannot stat `debian/tmp/FOO': No such file or directory
dh_install: command returned error code 256
=====
The user didn't do anything to request looking in the 'debian/tmp/'
directory, so this message is not helpful in debugging the error.
As per the description in the manpage, the files should only be
sourced from the 'debian/tmp/' directory if they actually exist there;
the non-existence of files in that directory should not cause an error
message.
The message should instead indicate that the file was not found in the
*current* directory (i.e. the file './FOO' in the above example), as
per previous compatibility levels' behaviour.
--- End Message ---
--- Begin Message ---
Ben Finney wrote:
> The man page for 'dh_install' describes the following feature for
> compatibility level 7+:
The text has changed in 7.0.12; I think that the current text adequatly
describes what it does, and the error message makes sense given the
current text.
--
see shy jo
signature.asc
Description: Digital signature
--- End Message ---