ports/138011: configure in gnutls-2.8.3 sets SED=/opt/local/bin/gsed, which doesn't exist (and so build breaks)

Andrew Reilly areilly at bigpond.net.au
Fri Aug 21 04:30:01 UTC 2009


>Number:         138011
>Category:       ports
>Synopsis:       configure in gnutls-2.8.3 sets SED=/opt/local/bin/gsed, which doesn't exist (and so build breaks)
>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:   Fri Aug 21 04:30:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Reilly
>Release:        FreeBSD 7.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 7.2-STABLE FreeBSD 7.2-STABLE #2: Thu Aug 20 10:54:46 EST 2009 root at duncan.reilly.home:/nb/obj/usr/src/sys/DUNCAN amd64


	Ports up-to-date two weeks ago.
>Description:
	Ports were up to date two weeks ago, but UPDATING now
	says that gnutls has changed and dependencies need to be
	rebuilt.  Trying to catch up with
	portmaster -r -f security/gnutls
	has stopped in security/gnutls with the error:
Making all in tests
/usr/bin/make  all-recursive
/bin/sh /usr/ports/security/gnutls/work/gnome-libtool --tag=CC    --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include -fPIC  -O2 -fno-strict-aliasing -pipe -g -MT c-ctype.lo -MD -MP -MF .deps/c-ctype.Tpo -c -o c-ctype.lo c-ctype.c
/bin/sh /usr/ports/security/gnutls/work/gnome-libtool --tag=CC    --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include -fPIC  -O2 -fno-strict-aliasing -pipe -g -MT close-hook.lo -MD -MP -MF .deps/close-hook.Tpo -c -o close-hook.lo close-hook.c
/usr/ports/security/gnutls/work/gnome-libtool: /usr/local/bin/gsed: not found
gnome-libtool: compile: Failed to create `.libs'
*** Error code 1
/usr/ports/security/gnutls/work/gnome-libtool: /usr/local/bin/gsed: not found
gnome-libtool: compile: Failed to create `.libs'
*** Error code 1
2 errors
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/security/gnutls.

===>>> make failed for security/gnutls

	Now I've got no idea where it got /usr/local/bin/gsed
	from: it's not a valid path on my system.  A grep shows:
	(after make configure):

$ grep -R '\<gsed\>' .
./work/gnutls-2.8.3/libextra/configure:    for ac_prog in sed gsed; do
./work/gnutls-2.8.3/libextra/m4/libtool.m4:[# Loop through the user's path and test for sed and gsed.
./work/gnutls-2.8.3/libextra/m4/libtool.m4:  for lt_ac_prog in sed gsed; do
./work/gnutls-2.8.3/configure:    for ac_prog in sed gsed; do
./work/gnutls-2.8.3/lib/configure:    for ac_prog in sed gsed; do
./work/gnutls-2.8.3/lib/m4/libtool.m4:[# Loop through the user's path and test for sed and gsed.
./work/gnutls-2.8.3/lib/m4/libtool.m4:  for lt_ac_prog in sed gsed; do
./work/gnutls-2.8.3/m4/libtool.m4:[# Loop through the user's path and test for sed and gsed.
./work/gnutls-2.8.3/m4/libtool.m4:  for lt_ac_prog in sed gsed; do
./work/gnutls-2.8.3/configure.bak:    for ac_prog in sed gsed; do
./work/gnome-ltmain.sh:: ${SED="/opt/local/bin/gsed"}
./work/gnome-libtool:SED="/usr/local/bin/gsed"
./work/gnome-libtool:: ${SED="/opt/local/bin/gsed"}
./work/gnome-ltmain.sh.bak:: ${SED="/opt/local/bin/gsed"}
./work/gnome-libtool.bak:SED="/usr/local/bin/gsed"
./work/gnome-libtool.bak:: ${SED="/opt/local/bin/gsed"}

	Now, editing work/gnome-ltmain.sh and gnome-libtool
	so that SED is /usr/bin/sed, after make configure, is
	enough to make the build complete properly, but since I
	don't know why they're being set as they are, I don't
	know how to formulate a patch to the port.  Sorry.

>How-To-Repeat:
	cd security/gnutls
	sudo make
>Fix:

	Editing the gnome-libtool and gnome-ltmain.sh scripts as
	described above will allow the build to finish, but
	isn't much help for a portmaster run, so I've symlinked
	/usr/bin/sed to /usr/local/bin/gsed to see if that will
	let us squeak through.


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



More information about the freebsd-ports-bugs mailing list