Bug 163081 - www/apache22 needs gsed to build
Summary: www/apache22 needs gsed to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 16:00 UTC by Palle Girgensohn
Modified: 2012-01-18 03:51 UTC (History)
0 users

See Also:


Attachments
file.diff (476 bytes, patch)
2011-12-05 16:00 UTC, Palle Girgensohn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Palle Girgensohn freebsd_committer freebsd_triage 2011-12-05 16:00:26 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-12-05 16:01:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Olli Hauer 2011-12-06 20:27:25 UTC
Hm, that's strange ...

this issue should be solved with the following lines in devel/apr1

run-autotools::
...
        ${REINPLACE_CMD} -e 's/ gsed//g' \
                ${APR_WRKDIR}/build/libtool.m4 \
                ${APR_WRKDIR}/configure


can you please check if in
file: /usr/local/bin/apr-1-config
file: /usr/local/bin/apu-1-config

sed or gsed is used.

If you find gsed it will be from interest if you can reconstruct or
remember why the patch in devel/apr1 does not work in your case.


--
Regards,
olli
Comment 3 Olli Hauer freebsd_committer freebsd_triage 2011-12-06 21:17:27 UTC
Hi Girgen,

sorry, I was pointing you to the wrong place ...

The issue should be found in
 file: ${LOCALBASE}/share/apr/build-1/libtool

See discussion:
http://lists.freebsd.org/pipermail/freebsd-apache/2011-April/002193.html

Anyway it will be interesting to find out why the solution in devel/apr1
doesn't work(ed) on your system.

--
Regards,
olli
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2012-01-17 05:44:23 UTC
Responsible Changed
From-To: apache->pgollucci

I will take it.
Comment 5 Philip M. Gollucci freebsd_committer freebsd_triage 2012-01-18 03:51:50 UTC
State Changed
From-To: open->closed

speaking as an httpd pmc member, gsed has never nor will never be an 
httpd dependency, and the devel/apr1 patch fixes this