Your message dated Mon, 7 Apr 2008 16:48:17 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#474348: dh-make-perl: SOURCE_DIR cannot be relative
has caused the Debian Bug report #474348,
regarding dh-make-perl: SOURCE_DIR cannot be relative
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.)


-- 
474348: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474348
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dh-make-perl
Version: 0.25
Severity: normal

dh-make-perl fails if started with not absolute path.
Strace shows that program chages dir to the given path
but later searches Makefile.PL as SOURCE_DIR/Makefile.PL .

Gabor

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'proposed-updates')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages dh-make-perl depends on:
ii  debhelper                   5.0.42       helper programs for debian/rules
ii  dpkg-dev                    1.13.25      package building tools for Debian
ii  fakeroot                    1.5.10       Gives a fake root environment
ii  libmodule-depends-perl      0.10-1       identify the dependencies of a dis
ii  libyaml-perl                0.62-1       YAML Ain't Markup Language (tm)
ii  make                        3.81-2       The GNU version of the "make" util
ii  perl                        5.8.8-7etch1 Larry Wall's Practical Extraction 
ii  perl-modules [libpod-parser 5.8.8-7etch1 Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                      2.0.8.2    APT package searching utility -- c
ii  libmodule-build-perl          0.26-1     Subclassable and make-independant 

-- no debconf information



--- End Message ---
--- Begin Message ---
tag 474348 - moreinfo
thanks


Version: 0.35


On Mon, 07 Apr 2008 14:26:46 +0200, Kiss Gabor (Bitman) wrote:

> > Could you please tell us what exactly you are doing and what exactly
> > happens?
> Hi Gregor,

Hi Gabor,

thanks for your quick and detailed reply!
 
> [EMAIL PROTECTED]:/usr/local/src/perl/debian# tar -xzf ../GSM-SMS-0.162.tar.gz
> [EMAIL PROTECTED]:/usr/local/src/perl/debian# dh-make-perl GSM-SMS-0.162
> Found: GSM-SMS 0.162 (libgsm-sms-perl arch=all)
> ======================================================================
> Could not find the dependencies for the requested module
> Module::Depends::Intrusive reports: Cannot find current script
> 'GSM-SMS-0.162/Makefile.PL' at /usr/share/perl/5.8/FindBin.pm line 201

Let's try:

[EMAIL PROTECTED]:/tmp/perl$ wget 
http://search.cpan.org/CPAN/authors/id/J/JO/JOHANVDB/GSM-SMS-0.162.tar.gz
[..]
[EMAIL PROTECTED]:/tmp/perl$ mkdir debian
[EMAIL PROTECTED]:/tmp/perl$ cd debian
[EMAIL PROTECTED]:/tmp/perl/debian$ tar xfz ../GSM-SMS-0.162.tar.gz 
[EMAIL PROTECTED]:/tmp/perl/debian$ ls
GSM-SMS-0.162
[EMAIL PROTECTED]:/tmp/perl/debian$ ls GSM-SMS-0.162/
Changes     MANIFEST  Makefile.PL  bin   examples  t
DISCLAIMER  META.yml  README       docs  lib
[EMAIL PROTECTED]:/tmp/perl/debian$ dh-make-perl GSM-SMS-0.162/
Found: GSM-SMS 0.162 (libgsm-sms-perl arch=all)
======================================================================
First attempt (Module::Depends::Intrusive) at a dependency
check failed. Possible use of Module::Install ?
Trying again with Module::Depends ... 
======================================================================
Searching for URI::Escape package using apt-file.
Searching for Log::Agent package using apt-file.
...

That works.

Ok, that was with dh-make-perl from unstable (0.42).

Let's try with the version from stable (0.25):

[EMAIL PROTECTED]:/tmp/perl/debian$ cd ..
[EMAIL PROTECTED]:/tmp/perl$ apt-get -t stable source dh-make-perl
[..]
[EMAIL PROTECTED]:/tmp/perl$ cd debian/
[EMAIL PROTECTED]:/tmp/perl/debian$ ../dh-make-perl-0.25/dh-make-perl 
GSM-SMS-0.162/
822-date: warning: This program is deprecated. Please use 'date -R' instead.
Found: GSM-SMS 0.162 (libgsm-sms-perl arch=all)
======================================================================
Could not find the dependencies for the requested module
Module::Depends::Intrusive reports: Cannot find current script 
'GSM-SMS-0.162/Makefile.PL' at /usr/share/perl/5.8/FindBin.pm line 201
[...]

Ok, same error.

[EMAIL PROTECTED]:/tmp/perl/debian$ ../dh-make-perl-0.25/dh-make-perl 
$(realpath GSM-SMS-0.162/)
822-date: warning: This program is deprecated. Please use 'date -R' instead.
Found: GSM-SMS 0.162 (libgsm-sms-perl arch=all)
Searching for URI::Escape package using apt-file.
Searching for Data::Dumper package using apt-file.
[..]

Yup, works.

Conclusion:
* There was indeed a bug in dh-make-perl 0.25.
* It's not present any more in 0.42.
* The error seems to come from Module::Depends::Intrusive; that part
  of the code was changed in commit 8467 (dh-make-perl doesn't error
  out any more on errors from Module::Depends::Intrusive), which
  closes also #447520; the change is present at first in the 0.35
  upload of dh-make-perl.
* I'm therefore closing this bug with version 0.35.
* Gabor, please either use a newer version of dh-make-perl (the newer versions
  should work on stable too) -- or call dh-make-perl with the full
  path.

Thanks again for your help in tracking down this issue!

Cheers,
gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Alannah Myles

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to