Bug#550137: dh-make-perl: debian/* files may disturb package generation process
gregor herrmann
gregoa at debian.org
Wed Oct 7 20:42:11 UTC 2009
On Wed, 07 Oct 2009 21:59:05 +0200, Slaven Rezic wrote:
> While trying to make a package for Tk::Wizard using
> dh-make-perl --build --cpan Tk::Wizard
> I run into following problem:
>
> t/001_MANIFEST.t ......... Not in MANIFEST: debian/changelog
Yup, I've seen such things before.
> Ouch. I doubt that there's a better solution than to politely ask upstream
> to make this test an author-only test, or to silently skip over all
> files in a debian subdirectory.
Yup.
> Or is it possible to postpone creation of
> the debian files after the test phase?
No. dh-make-perl creates a source packages, and then builds it, so the
tests are run during the package build phase; and building without
debian/* would be difficult :)
What you can do in cases like this is to skip the tests, either by
* calling dh-make-perl without --build, edit debian/rules and then
build
* or by calling dh-make-perl without --build, then build with adding
"nocheck" to the DEB_BUILD_OPTIONS environment variable
* or by passing DEB_BUILD_OPTIONS to dh-make-perl:
$ DEB_BUILD_OPTIONS=nocheck dh-make-perl --build --cpan Tk::Wizard
Anyway, I don't see a bug in dh-make-perl here and propose to close
the bug.
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
`- NP: Aimee Mann: Deathly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20091007/faa7694d/attachment-0001.pgp>
More information about the pkg-perl-maintainers
mailing list