From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 23 07:45:31 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA07FF3C for ; Mon, 23 Jun 2014 07:45:31 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A18CA2815 for ; Mon, 23 Jun 2014 07:45:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5N7jVYP050711 for ; Mon, 23 Jun 2014 08:45:31 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 190716] update www/mod_authnz_crowd to be staged Date: Mon, 23 Jun 2014 07:45:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rakuco@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2014 07:45:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190716 --- Comment #6 from Raphael Kubo da Costa --- (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 =================================================== ===> 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.