Bug#717025: dh-make-perl: Incorrectly determines package name with q style quotes

2013-07-16 Thread Dean Hamstead
Package: dh-make-perl
Version: 0.76-1
Severity: important

Dear Maintainer,

   * What led up to the situation?

Attempting to build a package with this type of thing in the Build.PL file

my $build = Module::Build-new(
module_name= q|Example|,
...
);

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

As above.

   * What was the outcome of this action?

The name determined was literally 'q|Example|'

   * What outcome did you expect instead?

Should just be 'Example'

*** End of the template - remove these lines ***


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-perl depends on:
ii  debhelper 9.20130605
ii  dpkg-dev  1.16.10
ii  fakeroot  1.19-2
ii  libapt-pkg-perl   0.1.29
ii  libarray-unique-perl  0.08-1
ii  libclass-accessor-perl0.34-1
ii  libdpkg-perl  1.16.10
ii  libemail-address-perl 1.898-1
ii  libemail-date-format-perl 1.002-1
ii  libfile-which-perl1.09-1
ii  liblist-moreutils-perl0.33-1+b1
ii  libmodule-depends-perl0.16-1
ii  libparse-debcontrol-perl  2.005-4
ii  libparse-debianchangelog-perl 1.2.0-1
ii  libsoftware-license-perl  0.103005-1
ii  libtie-ixhash-perl1.23-1
ii  libwww-mechanize-perl 1.71-1
ii  libyaml-perl  0.84-1
ii  make  3.81-8.2
ii  perl  5.14.2-21
ii  perl-modules [libcpan-meta-perl]  5.14.2-21

Versions of packages dh-make-perl recommends:
ii  apt-file  2.5.2
ii  git   1:1.8.3.1-1
ii  pristine-tar  1.28

dh-make-perl suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#717025: dh-make-perl: Incorrectly determines package name with q style quotes

2013-07-16 Thread gregor herrmann
On Tue, 16 Jul 2013 16:23:08 +1000, Dean Hamstead wrote:

 Attempting to build a package with this type of thing in the Build.PL file

And no META.{json,yml} file, I presume, which should be preferred if
it exists, IIRC.
 
 my $build = Module::Build-new(
 module_name= q|Example|,
 ...
 );

Do you have a real-life example of a CPAN module to save us the work
of constructing a test case? Sorry for the laziness :)
 
Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   BOFH excuse #38:  secretary plugged hairdryer into UPS 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#717025: dh-make-perl: Incorrectly determines package name with q style quotes

2013-07-16 Thread Dean Hamstead



On 2013-07-16 16:36, gregor herrmann wrote:

On Tue, 16 Jul 2013 16:23:08 +1000, Dean Hamstead wrote:

Attempting to build a package with this type of thing in the 
Build.PL file


And no META.{json,yml} file, I presume, which should be preferred if
it exists, IIRC.


Thats correct.


my $build = Module::Build-new(
module_name= q|Example|,
...
);


Do you have a real-life example of a CPAN module to save us the work
of constructing a test case? Sorry for the laziness :)


Alas no, as i was building an internal module at my place of employ.

Dean


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#717025: dh-make-perl: Incorrectly determines package name with q style quotes

2013-07-16 Thread gregor herrmann
On Tue, 16 Jul 2013 16:48:12 +1000, Dean Hamstead wrote:

 Attempting to build a package with this type of thing in the
 Build.PL file
 And no META.{json,yml} file, I presume, which should be preferred if
 it exists, IIRC.
 Thats correct.

Ok.
 
 my $build = Module::Build-new(
 module_name= q|Example|,
 ...
 );
 Do you have a real-life example of a CPAN module to save us the work
 of constructing a test case? Sorry for the laziness :)
 Alas no, as i was building an internal module at my place of employ.

I see.
Never mind, and thanks for your quick reply!


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT  SPI, fellow of the Free Software Foundation Europe
   `-   NP: Ostbahn-Kurti  Die Chefpartie: 57er Chevy


signature.asc
Description: Digital signature