Date: Wed, 10 May 2006 08:55:20 +0100 From: Geraint Edwards <gedge-oss@yadn.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/97077: www/mod_chroot install fails on www/apache22 (.so vs .la) (www/apache20 patch?!) Message-ID: <E1FdjXU-0004wB-1M@stretcher.cymru.serf.org> Resent-Message-ID: <200605100800.k4A80WiX016037@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97077 >Category: ports >Synopsis: www/mod_chroot install fails on www/apache22 (.so vs .la) (www/apache20 patch?!) >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 May 10 08:00:31 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Geraint Edwards >Release: FreeBSD 5.4-RELEASE-p14 amd64 >Organization: as good as it gets >Environment: System: FreeBSD goo.car 5.4-RELEASE-p14 FreeBSD 5.4-RELEASE-p14 #0: Wed May 3 09:20:55 BST 2006 root@goo.car:/usr/obj/usr/src/sys/GOO amd64 take virgin sys, add www/apache22. Then www/mod_chroot install fails (.so vs .la) >Description: //goo/usr/ports/www/mod_chroot# make install clean ===> Vulnerability check disabled, database not found => mod_chroot-0.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://core.segfault.pl/~hobbit/mod_chroot/dist/. mod_chroot-0.5.tar.gz 100% of 14 kB 33 kBps ===> Extracting for mod_chroot-0.5 => MD5 Checksum OK for mod_chroot-0.5.tar.gz. ===> Patching for mod_chroot-0.5 ===> mod_chroot-0.5 depends on file: /usr/local/sbin/apxs - found ===> Configuring for mod_chroot-0.5 ===> Building for mod_chroot-0.5 ===> Generating apache plist /usr/local/build-1/libtool --silent --mode=compile cc -prefer-pic -O -pipe -march=opteron -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include -c -o mod_chroot.lo mod_chroot.c && touch mod_chroot.slo /usr/local/build-1/libtool --silent --mode=link cc -o mod_chroot.la -rpath /usr/local/libexec/apache22 -module -avoid-version mod_chroot.lo ===> Installing for mod_chroot-0.5 ===> mod_chroot-0.5 depends on file: /usr/local/sbin/apxs - found ===> Generating temporary packing list ===> Checking if www/mod_chroot already installed /usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/build-1/libtool' /usr/ports/www/mod_chroot/work/mod_chroot-0.5/mod_chroot.so /usr/local/libexec/apache22 /usr/local/build-1/libtool --mode=install cp /usr/ports/www/mod_chroot/work/mod_chroot-0.5/mod_chroot.so /usr/local/libexec/apache22/ cp /usr/ports/www/mod_chroot/work/mod_chroot-0.5/mod_chroot.so /usr/local/libexec/apache22/mod_chroot.so cp: /usr/ports/www/mod_chroot/work/mod_chroot-0.5/mod_chroot.so: No such file or directory apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /usr/ports/www/mod_chroot. //goo/usr/ports/www/mod_chroot# >How-To-Repeat: take a virgin 5.4 O/S install. install www/apache22, then try www/mod_chroot >Fix: Well, www/mod_chroot/Makefile seems to rely on www/apache20/Makefile.modules.3rd so I had a poke in there (the same file isn't in www/apache2[12]/... This seems to do the trick, but I'm not sure if it's right: //goo/usr/ports/www/apache20# diff -u Makefile.modules.3rd.orig Makefile.modules.3rd --- Makefile.modules.3rd.orig Fri Jan 6 12:46:34 2006 +++ Makefile.modules.3rd Tue May 9 10:54:56 2006 @@ -18,7 +18,7 @@ PKGNAMESUFFIX -.if exists(${LOCALBASE}/include/apache2/http_core.h) +.if exists(${LOCALBASE}/include/apache2/http_core.h) || exists(${LOCALBASE}/include/apache21/http_core.h) || exists(${LOCALBASE}/include/apache22/http_core.h) WITH_APACHE2= YES . if defined (WANT_APACHE) . if ${WANT_APACHE} == 13 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FdjXU-0004wB-1M>