Control: tag -1 + patch

On Mon, 03 Jun 2013 21:25:56 +0100, Dominic Hargreaves wrote:

> Source: libperlio-via-symlink-perl
> Version: 0.05-1.1
> Severity: important
> User: debian-p...@lists.debian.org
> Usertags: perl-5.18-transition
> Tags: sid jessie
> 
> This package FTBFS with perl 5.18 from experimental (in a clean sbuild
> session):
> 
> syntax error at inc/Module/Install/AutoInstall.pm - 
> /usr/local/lib/perl5/site_perl/5.8.5/Module/Install/AutoInstall.pm line 23, 
> near "m/--(?:default|skip|testonly)/and-t "
> syntax error at inc/Module/Install/AutoInstall.pm - 
> /usr/local/lib/perl5/site_perl/5.8.5/Module/Install/AutoInstall.pm line 29, 
> near "}eval"
> syntax error at inc/Module/Install/AutoInstall.pm - 
> /usr/local/lib/perl5/site_perl/5.8.5/Module/Install/AutoInstall.pm line 32, 
> near "}}"
>   (Might be a runaway multi-line "" string starting on line 31)
> Can't use global @_ in "my" at inc/Module/Install/AutoInstall.pm - 
> /usr/local/lib/perl5/site_perl/5.8.5/Module/Install/AutoInstall.pm line 38, 
> near "and @_ "
> syntax error at inc/Module/Install/AutoInstall.pm - 
> /usr/local/lib/perl5/site_perl/5.8.5/Module/Install/AutoInstall.pm line 53, 
> near "}"
> syntax error at inc/Module/Install/AutoInstall.pm - 
> /usr/local/lib/perl5/site_perl/5.8.5/Module/Install/AutoInstall.pm line 59, 
> near "}"
> Compilation failed in require at inc/Module/Install.pm - 
> /usr/local/lib/perl5/site_perl/5.8.5/Module/Install.pm line 267.
> The 'auto_install' method does not exist in the 'inc' path!
> Please remove the 'inc' directory and run Makefile.PL again to load it.
> make: *** [build-stamp] Error 255
> 
> Module::Install should be removed or refreshed.

Patch attached that moves the ancient inc/ away.


Cheers,
gregor 

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Joan Baez: No Expectations
diff -u libperlio-via-symlink-perl-0.05/debian/changelog libperlio-via-symlink-perl-0.05/debian/changelog
--- libperlio-via-symlink-perl-0.05/debian/changelog
+++ libperlio-via-symlink-perl-0.05/debian/changelog
@@ -1,3 +1,13 @@
+libperlio-via-symlink-perl (0.05-1.2) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS with perl 5.18: inc/Module/Install.pm"
+    - mv inc/ away in debian/rules
+    - build-depend on libmodule-install-perl
+    (Closes: #710979)
+
+ -- gregor herrmann <gre...@debian.org>  Sun, 09 Jun 2013 16:26:59 +0200
+
 libperlio-via-symlink-perl (0.05-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u libperlio-via-symlink-perl-0.05/debian/control libperlio-via-symlink-perl-0.05/debian/control
--- libperlio-via-symlink-perl-0.05/debian/control
+++ libperlio-via-symlink-perl-0.05/debian/control
@@ -1,7 +1,7 @@
 Source: libperlio-via-symlink-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 4.0.2)
+Build-Depends: debhelper (>= 4.0.2), libmodule-install-perl
 Build-Depends-Indep: perl (>= 5.8.0-7)
 Maintainer: Bastian Blank <wa...@debian.org>
 Standards-Version: 3.6.1
diff -u libperlio-via-symlink-perl-0.05/debian/rules libperlio-via-symlink-perl-0.05/debian/rules
--- libperlio-via-symlink-perl-0.05/debian/rules
+++ libperlio-via-symlink-perl-0.05/debian/rules
@@ -19,6 +19,7 @@
 build-stamp:
 	dh_testdir
 
+	[ ! -d $(CURDIR)/inc ] || mv $(CURDIR)/inc $(CURDIR)/inc.save
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	
@@ -30,6 +31,7 @@
 	rm -f build-stamp
 
 	-$(MAKE) distclean
+	[ ! -d $(CURDIR)/inc.save ] || mv $(CURDIR)/inc.save $(CURDIR)/inc
 	
 	dh_clean
 

Attachment: signature.asc
Description: Digital signature

Reply via email to