Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383985

Summary: dev-libs/libpcre-8.13-r1 fails test RunTest
Product: Gentoo Linux Reporter: Markus Walter <gentoo>
Component: [OLD] LibraryAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description Markus Walter 2011-09-21 16:40:56 UTC
On my hardened ~amd64 machine with gcc-4.6.1 libpcre-8.13-r1 fails its testsuite. The error is as follows. It stays the same using vanilla-gcc-4.6.1.

PCRE C library tests
PCRE version 8.13 2011-08-16

Test 1: main functionality (Compatible with Perl >= 5.8)
OK
OK with study
Test 2: API, errors, internals, and non-Perl stuff
--- ./testdata/testoutput2	2011-08-15 19:37:23.000000000 +0200
+++ testtry	2011-09-21 15:26:29.956107278 +0200
@@ -12137,7 +12137,6 @@
 ------------------------------------------------------------------
 
 /[:a[:abc]b:]/
-Failed: unknown POSIX class name at offset 5
 
 /((?2))((?1))/
     abc
FAIL: RunTest
Comment 1 Markus Walter 2011-09-21 16:41:14 UTC
Created attachment 287309 [details]
build log
Comment 2 Markus Walter 2011-09-21 16:41:25 UTC
Created attachment 287311 [details]
emerge --info
Comment 3 Toralf Förster gentoo-dev 2012-12-02 15:38:35 UTC
8.32 at an unstable Gentoo fails it too :

---- Testing 8-bit library ----

Test 1: Main functionality (Compatible with Perl >= 5.10)
  OK
  OK with study
  OK with JIT study
Test 2: API, errors, internals, and non-Perl stuff (not UTF-8)
./RunTest: line 459: 23302 Segmentation fault      (core dumped) $sim $valgrind ./pcretest -q $bmode $opt $testdata/testinput2 testtry

** Test 2 requires a lot of stack. If it has crashed with a
** segmentation fault, it may be that you do not have enough
** stack available by default. Please see the 'pcrestack' man
** page for a discussion of PCRE's stack usage.

FAIL: RunTest
Comment 4 Toralf Förster gentoo-dev 2012-12-02 15:46:18 UTC
ick - forgot to increase the stack before - please forget my comment.