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

Re: FW: Error running make for subversion

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 14 Jun 2017 19:34:15 +0000

Joseph, Anselm wrote on Wed, 14 Jun 2017 18:54 +0000:
> Thanks for the reply, Daniel.
> Update:
> I pointed the install to the older gcc 4.2.0 with same results:
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0
> $ ls
> include install-tools libgcc.a libgcc_eh.a libgcc_s.a libgcov.a libsupc++.a ppc64 pthread
>
> Below, I ran 'make check' to test the results of make (since I could not find a significant error in make output) and got the following:
> $ make > make.log 2>&1
> <-- ~:/opt/eai/ci/subversion -->
> $ make check
> ERROR:root:code for hash md5 was not found.
> [053/109] x509-test...............................................................................................................FAILURE
> [054/109] authz_tests.pymake: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>
> Any incidence on the result I see with 'make install'?
> Thanks,
> Anselm

This error means that «python -c 'from hashlib import md5'» fails on your
system. It is does not shed light on the mod_dav_svn problems.¹

You can try running the tests manually with 'cd subversion/tests/cmdline &&
./basic_tests.py', possibly passing --bin=/usr/local/bin to test
already-installed binaries. (That will run just a subset of the tests.)

It would also be interesting to see how far davautocheck reaches (it is
invoked as «make davautocheck APACHE_MPM=…» or «cd subversion/tests/cmdline &&
APACHE_MPM=… ./davautocheck.sh»). I'm curious to see whether it will
successfully set up an httpd instance or not. Note that if it
successfully sets up httpd, it will fail over the hashlib issue after
that.

Cheers,

Daniel

¹ It _could_ conceivably be related, since mod_dav_svn is a shared
library for httpd and the hashlib module is sometimes implemented as a
shared library for the CPython interpreter — but you'd probably have
noticed if multiple programs had trouble loading shared libraries.
Received on 2017-06-14 21:34:20 CEST

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

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