Date: Wed, 09 Nov 2005 22:12:25 +0100 From: Dimitry Andric <dimitry@andric.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/88750: Subversion port doesn't build using WITH_MOD_DAV_SVN Message-ID: <43726639.8070906@andric.com> Resent-Message-ID: <200511092120.jA9LKIwL027328@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88750 >Category: ports >Synopsis: Subversion port doesn't build using WITH_MOD_DAV_SVN >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 09 21:20:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dimitry Andric >Release: FreeBSD 6.0-STABLE i386 >Organization: n/a >Environment: System: FreeBSD vfbsd6.lan.dim 6.0-STABLE FreeBSD 6.0-STABLE #0: Mon Nov 7 19:46:59 CET 2005 dim@vfbsd6.lan.dim:/usr/obj/usr/src/sys/VFBSD6 i386 >Description: Trying to build the Subversion port, while setting WITH_MOD_DAV_SVN=yes fails. It seems that the Makefile uses ${APXS} to determine a build dependency, but this variable is never filled, and this eventually causes the build to fail. Excerpts from a build log: [... Mark below that it searches for an empty APXS string:] ===> Patching for subversion-1.3.0.r2 ===> Applying FreeBSD patches for subversion-1.3.0.r2 ===> subversion-1.3.0.r2 depends on executable: - not found ===> Verifying install for in /usr/ports/www/apache2 ===> Returning to build of subversion-1.3.0.r2 ===> subversion-1.3.0.r2 depends on file: /usr/local/bin/libtool15 - found ===> subversion-1.3.0.r2 depends on shared library: expat.5 - found ===> subversion-1.3.0.r2 depends on shared library: neon.24 - found ===> subversion-1.3.0.r2 depends on shared library: intl - found ===> Configuring for subversion-1.3.0.r2 configure: Configuring Subversion 1.3.0 [... configure runs, but complains that APXS doesn't work:] checking for Apache module support via DSO through APXS... no ================================================================== WARNING: skipping the build of mod_dav_svn --with-apxs or --with-apache must be used ================================================================== checking for socket in -lsocket... no [... Finally, install fails because an empty command is attempted:] ===> Installing for subversion-1.3.0.r2 ===> subversion-1.3.0.r2 depends on executable: - not found ===> Verifying install for in /usr/ports/www/apache2 ===> Returning to build of subversion-1.3.0.r2 -e -S LIBEXECDIR=/usr/local/libexec/apache2 -a -n dav libexec/apache2/mod_dav.so -e: not found *** Error code 127 Stop in /usr/ports/devel/subversion. >How-To-Repeat: cd /usr/ports/devel/subversion && make WITH_MOD_DAV_SVN=yes install >Fix: I'm not sure, some things seem to have changed regarding usage of USE_APACHE and APACHE2_PORT. The *only* place that seems to define the APXS variable is in Mk/bsd.apache.mk, but the logic in this file is quite unclear. At least, I can't seem to figure out what variable you need to set to get it to define APXS. :) A quick hack is to put USE_APACHE=yes in the Makefile, but that gives other problems, i.e. the produced package gets dependencies on BOTH apache 1.3 and apache 2.0! This might be something to coordinate with the author of bsd.apache.mk, since I just saw that this makefile is rather new. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43726639.8070906>