[Debian-med-packaging] Help needed to update libswiss-perl

gregor herrmann gregoa at debian.org
Sat Apr 14 16:03:42 BST 2018


On Sat, 14 Apr 2018 15:21:53 +0200, Dominique Dumont wrote:

> On Saturday, 14 April 2018 00:16:35 CEST Andreas Tille wrote:
> > Any help to fix these
> > errors (or exclude the tests if needed) would be welcome
> Err, by chance I built this module with the provided Makefile.PL and all tests 
> pass with 'make test'...

Hu. Indeed. Interesting.


Oh, this looks interesting:

   dh_auto_build
        perl Build
Building Swissknife
   dh_auto_test
        perl Build test --verbose 1


So during the package build Module::Build/Build.PL is used (because
debhelper prefers it over EUMM/Makefile.PL) but Makefile.PL manually
works.


Let's try:

#v+
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f

 %:
-       dh $@
+       dh $@ --buildsystem=perl_makemaker

 get-orig-source:
        mkdir -p ../tarballs
#v-

Et voilĂ  :)

Now I have no idea why Makefile.PL works and Build.PL doesn't, but at
least we have an option to make thhe tests pass :)


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Bob Dylan: Gotta Serve Somebody
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20180414/f6028d23/attachment-0001.sig>


More information about the Debian-med-packaging mailing list