make install fails to install mod_authz_svn.so/mod_dav_svn.so

2013-08-16 Thread John D Groenveld
While upgrading from 1.6 to 1.8, I noticed that make install failed
to copy mod_authz_svn.so/mod_dav_svn.so to /path/to/apache/modules
per the INSTALL which resulted in these errors on seemingly random
commits:
Delta source ended unexpectedly  [500, #23]
could not write the file contents  [500, #23]

I don't see a rule in the Makefile to apxs -i or otherwise copy
those DSOs though they are correctly built and configure correctly
sets INSTALL_APACHE_MODS = true in the Makefile

I'm on Solaris 10 and my configure is so:
$ env 
PATH=/opt/subversion/apache2/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/opt/solarisstudio12.3/bin:/usr/sfw/bin
 \
CC=cc CFLAGS="-m64 -xO3" \
LDFLAGS="-m64 -L/usr/sfw/lib/64 -R/usr/sfw/lib/64" \
CPPFLAGS=-I/usr/sfw/include \
./configure  --prefix=/opt/subversion \
--with-sqlite=/opt/subversion/sqlite \
--with-serf=/opt/subversion/serf --with-openssl \
--without-gnome-keyring --with-apxs=/opt/subversion/apache2/bin/apxs

Not sure if I need to be swatted with a clue stick of if I've
stumbled over a bug.
The hack was to copy the DSOs manually.
John
groenv...@acm.org


Re: make install fails to install mod_authz_svn.so/mod_dav_svn.so

2013-08-16 Thread John D Groenveld
In message <87ioz5iypv@ntlworld.com>, Philip Martin writes:
>install-mods-shared: subversion/mod_dav_svn/mod_dav_svn.la subversion/mod_auth
>z_svn/mod_authz_svn.la
>if $(INSTALL_APACHE_MODS) ; then cd subversion/mod_dav_svn ; $(MKDIR) 
>"$(APACHE_LIBEXECDIR)" ; $(INSTALL_MOD_SHARED) -n dav_svn mod_dav_svn.la ; fi

$ make -n install
if true ; then cd subversion/mod_dav_svn ; 
/tmp/subversion-1.8.1/build/install-sh -c -d "/opt/subversion/libexec" ; 
/opt/subversion/apache2/bin/apxs -i -S LIBEXECDIR="/opt/subversion/libexec" -n 
dav_svn mod_dav_svn.la ; fi

This doesn't match INSTALL which suggests they should
go to /path/to/httpd/modules:
  After the make install, the Subversion shared libraries are in
  /usr/local/lib/.  mod_dav_svn.so should be installed in
  /usr/local/apache2/modules/.

John
groenv...@acm.org