Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2014 07:45:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 190716] update www/mod_authnz_crowd to be staged
Message-ID:  <bug-190716-13-8jddrIXO3u@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190716-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-190716-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190716

--- Comment #6 from Raphael Kubo da Costa <rakuco@FreeBSD.org> ---
(In reply to Vick Khera from comment #5)
> Could you show me what your failure is?

$ ls /usr/local/libexec/apache22/mod_dav_svn.so
/usr/local/libexec/apache22/mod_dav_svn.so
$ svn patch --strip 1 new.diff
$ make clean lib-depends DISTDIR=/tmp
===>  Cleaning for mod_authnz_crowd-2.2.2_2
===>   mod_authnz_crowd-2.2.2_2 depends on shared library:
/usr/local/libexec/apache22/mod_dav_svn.so - not found
===>    Verifying for /usr/local/libexec/apache22/mod_dav_svn.so in
/usr/ports/www/mod_dav_svn

(starts building mod_dav_svn again, and fails because I'm not root and
it cannot write to /usr/ports)

In poudriere, I get this:

===========================================================================
====>> Recording filesystem state for prebuild... done
=======================<phase: configure      >============================
===>   mod_authnz_crowd-2.2.2_2 depends on file: /usr/local/sbin/apxs - found
===>   mod_authnz_crowd-2.2.2_2 depends on executable: gcc47 - found
===>   mod_authnz_crowd-2.2.2_2 depends on file: /usr/local/bin/as - found
===>   mod_authnz_crowd-2.2.2_2 depends on file: /usr/local/bin/automake-1.14 -
found
===>   mod_authnz_crowd-2.2.2_2 depends on file: /usr/local/bin/autoconf-2.69 -
found
===>   mod_authnz_crowd-2.2.2_2 depends on package: libtool>=2.4 - found
===>   mod_authnz_crowd-2.2.2_2 depends on file: /usr/local/bin/ccache - found
===>   mod_authnz_crowd-2.2.2_2 depends on shared library:
/usr/local/libexec/apache22/mod_dav_svn.so - not found
===>    Verifying for /usr/local/libexec/apache22/mod_dav_svn.so in
/usr/ports/www/mod_dav_svn
===>   Installing existing package /packages/All/mod_dav_svn-1.8.9_4.txz
Installing mod_dav_svn-1.8.9_4...mod_dav_svn-1.8.9_4 already installed

Failed to install the following 1 package(s):
/packages/All/mod_dav_svn-1.8.9_4.txz
*** Error code 70

> I also don't understand what you mean by adding a build/run depends against
> this. That directory is exactly where apache looks for its shared modules,
> and it is the right sentinel file to look for that dependency to be
> installed. Ie, this apache module depends on the existence of another apache
> module.

I'm talking about how the ports infrastructure determines whether
mod_dav_svn.so is present or not.

>From Mk/bsd.ports.mk:
        ${ECHO_MSG}  -n "===>   ${PKGNAME} depends on shared library: $${lib}"
; \
        found=0 ; \
        dirs="${LIB_DIRS} `${CAT} ${LOCALBASE}/libdata/ldconfig/* 2>/dev/null
|| : `" ; \

None of the entries in ${LOCALBASE}/libdata/libconfig (or ${LIB_DIRS})
point to /usr/local/libexec/apache22, so mod_dav_svn.so is never found
in the lib-depends target.

This does not happen for build and runtime depends because the check is
different.

While the apache port itself could install something into
${LOCALBASE}/libdata/ldconfig, the easiest fix for this port at least
for now would probably be to replace that LIB_DEPENDS with RUN_DEPENDS
and BUILD_DEPENDS.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190716-13-8jddrIXO3u>