Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  5 Dec 2011 16:33:39 +0100 (CET)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163081: www/apache22 needs gsed to build
Message-ID:  <20111205153339.4A037958C4@banan.pingpong.net>
Resent-Message-ID: <201112051600.pB5G0RPL051468@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163081
>Category:       ports
>Synopsis:       www/apache22 needs gsed to build
>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:   Mon Dec 05 16:00:26 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 8.2
>Organization:
>Environment:
	
>Description:
www/apache22 fails to build if gsed is not installed
	
>How-To-Repeat:
fresh system:
cd /usr/ports/www/apache22
make install
....
===>  Building for apache-2.2.21
Making all in srclib
Making all in os
Making all in unix
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -g -I/usr/local/include  -O2 -pipe -I/usr/include -fno-strict-aliasing      -I. -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/os/unix -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/server/mpm/prefork -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/modules/http -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/modules/filters -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/modules/proxy -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/include -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/modules/generators -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/modules/mappers -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/modules/database -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/local/include/db42 -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/modules/proxy/../generators -I/usr/include -I/usr/obj/usr/ports/www/apache22/work/httpd-2.2.21/modules/ssl -I/usr/obj/usr/
 ports/www/apache22/work/httpd-2.2.21/modules/dav/main  -c unixd.c && touch unixd.lo
/usr/local/share/apr/build-1/libtool: /usr/local/bin/gsed: not found
libtool: compile: Failed to create `.libs'
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/www/apache22.
*** Error code 1

Stop in /usr/ports/www/apache


	
>Fix:
Index: Makefile
===================================================================
RCS file: /opt/ncvs/ports/www/apache22/Makefile,v
retrieving revision 1.294
diff -u -r1.294 Makefile
--- Makefile	23 Sep 2011 22:25:53 -0000	1.294
+++ Makefile	5 Dec 2011 15:17:59 -0000
@@ -21,6 +21,7 @@
 LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2 \
 		apr-1:${PORTSDIR}/devel/apr1 \
 		pcre.0:${PORTSDIR}/devel/pcre
+BUILD_DEPENDS=	gsed:${PORTSDIR}/textproc/gsed
 
 MAKE_JOBS_SAFE=	yes
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111205153339.4A037958C4>