[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Makefile.svn: a dumb question

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Wed, 25 Dec 2019 12:07:35 -0500

On Wed, Dec 25, 2019 at 1:38 AM Yasuhito FUTATSUKI <futatuki_at_poem.co.jp> wrote:
>
> On 2019/12/25 6:38, Nathan Hartman wrote:
> > When running the regression test suite via the 'svn-check' target of
> > tools/dev/unix-build/Makefile.svn, is there a convenient way to see a
> > "All tests successful"-type summary at the very end?
> >
> > That is to say, is there a better way than what I'm doing now,
> > which is:
> >
> > $ cat tests.log.* | grep ^FAIL
>
> It isn't an answer for your question, but this can miss 'XPASS'.

Thank you. Yes, you are right.

I ran it again, redirecting stderr and stdout to a file, and that
generates much less output (around 2000 lines). But if someone has a
better way, I'd love to hear about it.

Observations from running the regression tests:

(1) I get one test failure in [svn x bdb]:
    FAIL: autoprop_tests.py 7: import: config=no, commandline=none

    This test passes for all other RA x backend combinations.

(2) In authz_tests.py with Python 3.7.5 I get a DeprecationWarning on
    use of the imp module:

    [063/123] authz_tests.py./build/run_tests.py:53:
    DeprecationWarning: the imp module is deprecated in favour of
    importlib; see the module's documentation for alternative uses
    import optparse, subprocess, imp, threading, traceback

For this test run, I ran the test on trunk_at_1871942 with Sergey's
patch "Rework of r1866425 ('Last-Modified' header)" [1] applied. (I
doubt that should affect the autoprop test that failed above? I'll
have to run it again without the patch to find out.) The test
'last_modified_header' in mod_dav_svn_tests.py passes.

Tested: [bdb | fsfs] x [ra_local | ra_svn | ra_serf]
        swig bindings

Platform: Linux 4.19.0-6-rt-amd64 x86_64

Dependencies:
bdb: 4.7.25
GNU-iconv: 1.15
apr: 1.5.2
apr-util: 1.5.4
httpd: 2.4.37
serf: 1.4.x
cyrus-sasl: 2.1.27
sqlite: 3160200
lz4: 1.7.5
libssl: OpenSSL 1.1.1d 10 Sep 2019
swig: 3.0.12
python: 3.7.5
perl: 5.28.1
ruby: 2.4.4

To make successfully on Debian Buster, because of OpenSSL 1.1.1d, I
modified Makefile.svn to use Serf 1.4.x (from branches as there is no
1.4.x release yet) and Cyrus SASL 2.1.27. Also I removed all the
serf-old targets which are applicable to svn 1.5 and were breaking the
build for me, thanks again to OpenSSL. I didn't commit my changes
because that will probably break the OpenBSD buildbot.

The Serf 1.3.9 compile error was:

buckets/ssl_buckets.c:250:34: error: dereferencing pointer to incomplete
type 'BIO {aka struct bio_st}'

The Cyrus SASL 2.1.25 compile error was:

otp.c:121:16: error: storage size of 'mdctx' isn't known
EVP_MD_CTX mdctx;

Also it failed on building the perl bindings with "Only one of PREFIX
or INSTALL_BASE can be given. Not both." I didn't really know what to
do about that so I just 'env | grep PERL' and unset the four
environment variables that showed up (PERL5LIB, PERL_MB_OPT,
PERL_MM_OPT, and PERL_LOCAL_LIB_ROOT) for the session and that got rid
of the error.

[1] https://lists.apache.org/thread.html/aff4ab41e87c997fbc90fc79e3240ffcda10fe7f09a1e31bec4af797%40%3Cdev.subversion.apache.org%3E

Cheers,
Nathan
Received on 2019-12-25 18:07:51 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.