bug-automake
[Top][All Lists]
Advanced

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

bug#10374: 3 test failures on fedora 16


From: Stefano Lattarini
Subject: bug#10374: 3 test failures on fedora 16
Date: Tue, 27 Dec 2011 10:41:53 +0100

On 12/26/2011 11:26 PM, Jim Meyering wrote:
> FAIL: cond29
> ============
> 
> Running from installcheck: no
> Using TAP: no
> PATH = 
> /h/j/w/co/automake/tests:/opt/cov-sa-linux64-5.4.0/bin:/usr/lib64/ccache:/h/j/bin/perl:/h/j/bin:/p/p/git/bin:/p/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local:/usr/local/bin
> ++ pwd
> /h/j/w/co/automake/tests/cond29.dir
> + echo AC_PROG_CC
> + cat
> + ulimit -v 1
> + sh -c :
> ./cond29.test: line 35: /bin/sh: Argument list too long
> + ulimit -v 20000
> + sh -c :
> + ulimit -v 20000
> + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22
> + unindent
> + test x = x
> ++ printf '%s\n' '
>   /^$/b                    # Nothing to do for empty lines.
>   x                        # Get x<indent> into pattern space.
>   /^$/{                    # No prior x<indent>, go prepare it.
>     g                      # Copy this 1st non-blank line into pattern space.
>     s/^\([     ]*\).*/x\1/   # Prepare x<indent> in pattern space.
>   }                        # Now: x<indent> in pattern and <line> in hold.
>   G                        # Build x<indent>\n<line> in pattern space, and
>   h                        # duplicate it into hold space.
>   s/\n.*$//                # Restore x<indent> in pattern space, and
>   x                        # exchange with the above duplicate in hold space.
>   s/^x\(.*\)\n\1//         # Remove leading <indent> from <line>.
>   s/^x.*\n//               # Restore <line> when there is no leading <indent>.
> '
> ++ sed -e 's/  *# .*//'
> + sed_unindent_prog='
>   /^$/b
>   x
>   /^$/{
>     g
>     s/^\([     ]*\).*/x\1/
>   }
>   G
>   h
>   s/\n.*$//
>   x
>   s/^x\(.*\)\n\1//
>   s/^x.*\n//'
> + sed '
>   /^$/b
>   x
>   /^$/{
>     g
>     s/^\([     ]*\).*/x\1/
>   }
>   G
>   h
>   s/\n.*$//
>   x
>   s/^x\(.*\)\n\1//
>   s/^x.*\n//'
> + echo 'AM_CONDITIONAL([C01], [:])'
> + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22
>
[SNIP repeated traces]
>
> + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22
> + unindent
> + test 'x
>   /^$/b
>   x
>   /^$/{
>     g
>     s/^\([     ]*\).*/x\1/
>   }
>   G
>   h
>   s/\n.*$//
>   x
>   s/^x\(.*\)\n\1//
>   s/^x.*\n//' = x
> + sed '
>   /^$/b
>   x
>   /^$/{
>     g
>     s/^\([     ]*\).*/x\1/
>   }
>   G
>   h
>   s/\n.*$//
>   x
>   s/^x\(.*\)\n\1//
>   s/^x.*\n//'
> + echo 'AM_CONDITIONAL([C22], [:])'
> + aclocal-1.11a -Werror
> /usr/bin/perl: error while loading shared libraries: 
>   libc.so.6: failed to map segment from shared object:
>   Cannot allocate memory
>
Ah-ah, memory ulimit contraints imposed by ulimit above:

  ulimit -v 20000

seems to be too tight.  I can reproduce a similar failure on the Fedora
16 system (on pcc64 machine) at the GCC compile farm, and fix it with
the attached patch.  Does that patch works for you as well?

> + exit_status=127
> + set +e
> + cd /h/j/w/co/automake/tests
> + test no = yes
> + case $am_explicit_skips in
> + test 127 -eq 0
> + keep_testdirs=yes
> + am_keeping_testdirs
> + case $keep_testdirs in
> + return 0
> + set +x
> cond29: exit 127
> 

Thanks,
  Stefano

Attachment: 0001-tests-fix-spurious-failure-of-cond29.test.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]