The saga continues:
OKAY, here is what I have learned. I have tried to build two different
flavors of the subversion source RPM for RedHat 9. Neither has yet
succeeded but we are getting closer.
The first flavor was the one from David Summers. It builds successfully
but the tests fail.
The second flavor was the one from
as recommended by Kris Deugau.
(I should point out that I had to install apr and httpd patches from the
Summers site. Dag's site does not support these).
This srpm failed to build under RH9, because of the -fpie switch. By
commenting out the "pie patch" line of the spec, the build succeeds.
However, by default Dag's spec does not run the tests, unlike Summers'.
I turned them on and they pass but Dag is not running the full suite
of tests that are included in Summers' spec. If I put those into Dag's
spec, it fails just as Summers' SRPM build does.
I have a pretty good idea why it's failing but I am not an apache
expert. I believe that something is wrong with the httpd.conf file
distributed in the SRPM. (Or at least incompatibule with my Apache
The third round of tests (from Summers's spec), ie, this fragment:
echo "*** Running regression tests on RA_DAV (HTTP method) layer ***"
killall httpd || true
sed -e "s;@SVNDIR@;`pwd`;" < packages/rpm/redhat-8+/httpd.davcheck.conf
/usr/sbin/httpd -f `pwd`/httpd.conf
make check BASE_URL='http://localhost:15835'
echo "*** Finished regression tests on RA_DAV (HTTP method) layer ***"
causes the following command line to be run:
/usr/sbin/httpd -f /usr/src/redhat/BUILD/subversion-1.1.3/httpd.conf
(Evidently there is some sort of mapping from "/" to the current directory)
Something about that config file (i.e., the one distributed in the src
rpm) causes the apache daemon not to run. I don't know what it is, I'm
not an apache expert and I see no logs indicating the source of the
problem. But apache doesn't like something in that file. I know
this, because if I run the above command manually, it "thinks" for a
second before returning and then ps shows me that the apache daemon
isn't running. The key line of the tests.log output that supports this
svn: PROPFIND of '/local_tmp/repos': could not connect to server
In other words, because the apache server isn't running.
But if instead I just do the command
then apache runs fine, using my normal config of /etc/httpd/conf/httpd.conf.
So, to make a long story short, the DAV tests are failing because
something in the httpd.conf file distributed with the subversion SRC RPM
is wrong for my RedHat 9 installation.
So I guess it makes sense to turn the tests off unless someone can
figure out how to make the config file right. The error with the tests
failing does not indicate any flaw in the subversion build itself, but
they may indicate either a flaw in the apache I am using or something
wrong with the config file itself.
Perhaps someone who knows more about Apache than I do could take a look
at the conf file and figure something out.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Feb 10 06:06:03 2005