tags 557299 confirmed patch
thanks

Hello,

On šeštadienis 21 Lapkritis 2009 04:39:35 Cristian Greco wrote:
> Hi,
> 
> it seems like a recent change[0] with cmake buildsystem will cause packages
>  to FTBFS with the following error (full log at [1]):
> 
>    dh_auto_test
> Deep recursion on subroutine "Debian::Debhelper::Buildsystem::cmake::test"
>  at /usr/share/perl5/Debian/Debhelper/Buildsystem/cmake.pm line 53. Out of
>  memory!
> make: *** [build] Error 1
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

Sign, my fault again. What I was thinking when I wrote that patch :(


-- 
Modestas Vainius <[email protected]>
From 81f104cdfbf196e1420d17de553e70f81b54aef8 Mon Sep 17 00:00:00 2001
From: Modestas Vainius <[email protected]>
Date: Sat, 21 Nov 2009 17:16:45 +0200
Subject: [PATCH] Fix deep recursive in cmake::test().

---
 Debian/Debhelper/Buildsystem/cmake.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm
index 24f486f..d4a98f4 100644
--- a/Debian/Debhelper/Buildsystem/cmake.pm
+++ b/Debian/Debhelper/Buildsystem/cmake.pm
@@ -51,7 +51,7 @@ sub test {
 	my $this=shift;
 
 	$ENV{CTEST_OUTPUT_ON_FAILURE} = 1;
-	return $this->test(@_);
+	return $this->SUPER::test(@_);
 }
 
 1
-- 
1.6.5.3

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to