fails when given a directory (for 2 reasons)

Bug #1211964 reported by Alexander Karelas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dh-make-perl (Debian)
Fix Released
Unknown
dh-make-perl (Ubuntu)
New
Undecided
Unassigned

Bug Description

karjala@modules-vm:~/test/geosWay$ ls
XML-MyXML-0.0993 XML-MyXML-0.0993.tar.gz

karjala@modules-vm:~/test/geosWay$ dh-make-perl XML-MyXML-0.0993
Using META.json
Found: XML-MyXML 0.0993 (libxml-myxml-perl arch=all)
cat: /etc/mailname: No such file or directory
No APT contents can be loaded.
Please install 'apt-file' package (at least version 2.5.0) and
run 'apt-file update' as root.
Dependencies not updated.
Using maintainer: Alexander Karelas <karjala@>
Found docs: README
cat: /etc/mailname: No such file or directory
Using rules: /usr/share/dh-make-perl/rules.dh7.tiny
cat: /etc/mailname: No such file or directory
--- Done
fatal: pathspec 'XML-MyXML-0.0993' did not match any files
add XML-MyXML-0.0993: command returned error: 128

The above failed because I did not give dh-make-perl the FULL path of the directory of my module. This is the first bug I want to report.

The second bug is that EVEN IF I give it the full path, it still fails:

karjala@modules-vm:~/test/geosWay$ rm -rf XML-MyXML-0.0993
karjala@modules-vm:~/test/geosWay$ tar xvfz XML-MyXML-0.0993.tar.gz
karjala@modules-vm:~/test/geosWay$ dh-make-perl /home/karjala/test/geosWay/XML-MyXML-0.0993
Using META.json
Found: XML-MyXML 0.0993 (libxml-myxml-perl arch=all)
cat: /etc/mailname: No such file or directory
No APT contents can be loaded.
Please install 'apt-file' package (at least version 2.5.0) and
run 'apt-file update' as root.
Dependencies not updated.
Using maintainer: Alexander Karelas <karjala@>
Found docs: README
cat: /etc/mailname: No such file or directory
Using rules: /usr/share/dh-make-perl/rules.dh7.tiny
cat: /etc/mailname: No such file or directory
--- Done
Switched to a new branch 'master'
Use of uninitialized value $tarball in system at /usr/share/perl5/DhMakePerl/Command/make.pm line 623.
tar: Old option `f' requires an argument.
Try `tar --help' or `tar --usage' for more information.
: No such file or directory at /usr/share/perl5/Pristine/Tar/Formats.pm line 65.
pristine-tar: failed to generate delta
Reading package lists... Done
Building dependency tree
Reading state information... Done

karjala@modules-vm:~/test/geosWay$ ls
XML-MyXML-0.0993 XML-MyXML-0.0993.tar.gz

As you can see there were a lot of errors, and in the final ls I didn't get the libxml-myxml-perl.tar.gz file that I needed. This is the second bug that I wish to report.

If instead of a directory I had given it the --cpan option, then I would get the correct results without errors.

Revision history for this message
Damyan Ivanov (dmn-debian) wrote :

Just to make sure, which version of dh-make-perl is that?

Revision history for this message
Alexander Karelas (karjala) wrote :

Both the one on quantal and the one on raring.

Revision history for this message
Alexander Karelas (karjala) wrote :

raring is 0.76-1

quantal is 0.75-1

Revision history for this message
Damyan Ivanov (dmn-debian) wrote :

the first problem is fixed in version 0.77, which is available in Debian/unstable since a week.

when giving an absolute directory path there are still problems, it seems.

Changed in dh-make-perl (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.