subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Corveleyn <jcor...@gmail.com>
Subject Re: build-svn-deps-win.pl: error testing pcre
Date Sun, 02 Jun 2013 21:07:37 GMT
On Sun, Jun 2, 2013 at 10:25 AM, Johan Corveleyn <jcorvel@gmail.com> wrote:
> I decided to give my dev environment a spring cleaning, and tried
> build-svn-deps-win.pl to build the dependencies (great work BTW,
> looking forward to having less dependency-building-worries -- thanks).
> However, I ran into a problem when the testsuite of pcre was run:
>
> (complete output in attachment)
>
> [[[
> Running tests...
> When testing is complete, review test output in the
> "C:/research/svn/client_build/deps/build/httpd/srclib/pcre/Testing/Temporary"
> folder.
>
> Test project C:/research/svn/client_build/deps/build/httpd/srclib/pcre
>     Start 1: pcre_test_bat
> 1/4 Test #1: pcre_test_bat ....................***Failed  Required
> regular expression not found.Regex=[RunTest\.bat tests successfully
> completed
> ]  2.89 sec
>     Start 2: pcrecpp_test
> 2/4 Test #2: pcrecpp_test .....................   Passed    0.03 sec
>     Start 3: pcre_scanner_test
> 3/4 Test #3: pcre_scanner_test ................   Passed    0.03 sec
>     Start 4: pcre_stringpiece_test
> 4/4 Test #4: pcre_stringpiece_test ............   Passed    0.03 sec
>
> 75% tests passed, 1 tests failed out of 4
>
> Total Test time (real) =   3.08 sec
>
> The following tests FAILED:
>           1 - pcre_test_bat (Failed)
> Errors while running CTest
> NMAKE : fatal error U1077: 'echo' : return code '0x8'
> Stop.
> Failure testing pcre (exit code: 512) at
> C:\research\svn\client_build\deps\build-svn-deps-win.pl line 245.
> ]]]
>
> When I look at the test output in .../Testing/Temporary, the
> LastTest.log contains the following:
>
> [[[
> ---- Testing 8-bit library ----
>
> Test 1: "Main functionality (Compatible with Perl >= 5.10)"
>           Passed.
> Test 1: "Test with Study Override"
>           Passed.
> Test 2: "API, errors, internals, and non-Perl stuff"
>           failed comparison: fc /n
> "C:\research\svn\client_build\deps\build\httpd\srclib\pcre"\testdata\testoutput2
> testout8\testoutput2
>
> ** Test 2 requires a lot of stack. PCRE can be configured to
> ** use heap for recursion. Otherwise, to pass Test 2
> ** you generally need to allocate 8 mb stack to PCRE.
> ** See the 'pcrestack' page for a discussion of PCRE's
> ** stack usage.
> ]]]
>
> So perhaps this test won't run on my ancient Windows XP (no idea why
> others wouldn't get this error, and I would).
>
> Googling a bit, I found that "stack recursion" can be disabled in
> pcre, to avoid this problem, so perhaps the solution is to disable
> stack recursion when configuring pcre? The PCRE configuration summary
> in the build output currently says:
>
>     --   No stack recursion .............. : OFF
>
> Or perhaps another solution is better? I don't know much about
> (building) pcre ...
>
> Another approach might be that I not run the testsuite of pcre, but
> I'm not sure what I would miss then.

Disabling the pcre testsuite (commenting it out in
build-svn-deps-win.pl) gets me a bit further. There is a configure
option --disable-stack-for-recursion, but I don't know how to pass
that option to the pcre build given the cmake calls in
build-svn-deps-win.pl). So I just disabled the testsuite invocation
for now.

Next, openssl gets built successfully.

After that, I think it's the httpd build, but that fails with "Error:
The specified project must be converted before it can be built.". This
is the last part of the output:

[[[
Converted project httpd.dsp to 2005 in .
Converted project libhttpd.dsp to 2005 in .
Converted project mod_access_compat.dsp to 2005 in ./modules/aaa
Converted project mod_allowmethods.dsp to 2005 in ./modules/aaa
...
Converted project rotatelogs.dsp to 2005 in ./support
Converted project wintty.dsp to 2005 in ./support/win32
Upgrading Apache.dsw (this may take a while)

Microsoft (R) Visual Studio Version 10.0.40219.1.
Copyright (C) Microsoft Corp. All rights reserved.

Error: The specified project must be converted before it can be built.

Error: The specified project must be converted before it can be built.
...

Error: The specified project must be converted before it can be built.

Error: The specified project must be converted before it can be built.

Information:
This project/solution does not require conversion.
Failed to rename srclib\apr-util\dbm\apr_dbm_db.vcxproj to
srclib\apr-util\dbm\apr_dbm_db.vcxproj.bdb: No such file or directory
at C:\research\svn\client_build\deps\build-svn-deps-win.pl line 228.
]]]

(I'm using VS 2010, so perhaps that's the problem? Why are the
projects "only" converted to 2005?)

--
Johan

Mime
View raw message