Public bug reported: 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. ** Affects: dh-make-perl (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1211964 Title: fails when given a directory (for 2 reasons) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dh-make-perl/+bug/1211964/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs