Package: libapache2-mod-perl2

Version: 2.0.2-2.4
Severity: normal
Tags: patch

`fakeroot ./TEST' ultimately fails at Apache::TestRun::adjust_t_perms,
which makes impossible to build .deb packages with Apache::Test-based
testing stage. A patch is attached.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libapache2-mod-perl2 depends on:
ii  apache2. 2.2.3-4                         Next generation, scalable, extenda
ii  libapr1  1.2.7-8.2                       The Apache Portable Runtime Librar
ii  libaprut 1.2.7+dfsg-2                    The Apache Portable Runtime Utilit
ii  libc6    2.3.6.ds1-13                    GNU C Library: Shared libraries
ii  libdevel 2.03-3                          Perl module for inspecting perl's
ii  libperl5 5.8.8-7                         Shared Perl library
ii  liburi-p 1.35-2                          Manipulates and accesses URI strin
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-2 universally unique id library
ii  libwww-p 5.805-1                         WWW client/server library for Perl
ii  netbase  4.29                            Basic TCP/IP networking system
ii  perl [li 5.8.8-7                         Larry Wall's Practical Extraction
ii  perl-bas 5.8.8-7                         The Pathologically Eclectic Rubbis

libapache2-mod-perl2 recommends no packages.

-- no debconf information

-- 
Sincerely yours, Alexander Kuznetsov
--- Apache.orig/TestRun.pm	2007-07-31 21:18:51.000000000 -0400
+++ /usr/lib/perl5/Apache/TestRun.pm	2007-07-31 21:17:16.000000000 -0400
@@ -974,6 +974,8 @@
 
     %original_t_perms = (); # reset global
 
+    return if $ENV{FAKEROOTKEY};		# fakeroot environment, we are Ok.
+
     my $user = getpwuid($>) || '';
     if ($user eq 'root') {
         my $vars = $self->{test_config}->{vars};

Reply via email to