[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed to update libswiss-perl



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

Attachment: signature.asc
Description: Digital Signature


Reply to: