Bug#668084: dh-make-perl.conf breaks cpan2deb

Brendan Byrd sineswiper at gmail.com
Mon Apr 9 03:39:52 UTC 2012


tag 668084 - moreinfo
found 668084 dh-make-perl/0.75-1
thanks

On Sun, Apr 8, 2012 at 3:20 PM, gregor herrmann <gregoa at debian.org> wrote:
>
> - What does the .conf file look like?

Pretty basic; mostly just a copy from dump-config:

---
apt-contents-dir: ~
arch: ~
backups: 1
basepkgs: ~
bdepends: ~
bdependsi: ~
build: 1
closes: ~
config-file: ~
core-ok: ~
cpan: ~
cpan-mirror: ~
cpanplus: ~
data-dir: /usr/share/dh-make-perl
dbflags: ''
depends: ~
desc: ~
dh: 7
dist: ''
email: ''
exclude: '^$'
home-dir: /root/.dh-make-perl
install: ~
intrusive: ~
network: 1
nometa: ~
notest: ~
only:
  - control
  - copyright
  - docs
  - examples
  - rules
packagename: ~
pkg-perl: 1
recursive: 1
requiredeps: ~
source-format: 1.0
sources-list: ~
verbose: 1
version: ~

> - What was the full command you were running (which CPAN module are you
>  trying to build)?

Doesn't matter, though when I try a non-existent one, I get the (more
helpful) error message I was trying to duplicate before:

# cpan2deb Blah::FooBar
WARNING: Neither META.json nor META.yml was found
Unable to determine dist name, no Build.PL, no Makefile.PL
Please use --cpan.

That should be a clue as to what is going on.  For some reason, it
doesn't think it's actually specifying --cpan, even though the --cpan
is implied with the cpan2deb command.

> - Is this reproducible with the dh-make-perl version from unstable?

Yep.

-- 
Brendan Byrd/SineSwiper <SineSwiper at GMail.com>





More information about the pkg-perl-maintainers mailing list