ports/126942: building archivers/lzo2 fails

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Fri Aug 29 10:00:02 UTC 2008


>Number:         126942
>Category:       ports
>Synopsis:       building archivers/lzo2 fails
>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 29 10:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 7.0-STABLE FreeBSD 7.0-STABLE #15: Sun Jul 20 21:06:33 JST 2008 turutani at h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	building archivers/lzo2 fails
	
>How-To-Repeat:
	% portupgrade lzo2
	...
	===>  Running self-tests for lzo2-2.03_2 (can take a few minutes, without output)
	cd /usr/local/work/usr/ports/archivers/lzo2/work/lzo-2.03 && make test SHELL="/bin/csh -x"
	make  all-recursive
	Making all in include
	Making all in lzo
	Making all in src
	Making all in lzotest
	Making all in examples
	Making all in tests
	Making all in minilzo
	./lzotest/lzotest -mavail -n10 -q ./COPYING
	/bin/csh -x -e ./util/check.sh .
	set -e
	set: Variable name must begin with a letter.
	*** Error code 1

	
>Fix:
	I am using tcsh.
	Here is a patch to Makefile:

--- Makefile.orig	2008-08-29 18:53:02.000000000 +0900
+++ Makefile	2008-08-29 18:48:45.000000000 +0900
@@ -25,7 +25,7 @@
 
 post-build:
 	@${ECHO_MSG} "===>  Running self-tests for ${PKGNAME} (can take a few minutes, without output)"
-	cd ${WRKSRC} && ${MAKE} test SHELL="${SHELL} -x"
+	cd ${WRKSRC} && ${MAKE} test SHELL="${SH} -x"
 
 post-install:
 .if !defined(NOPORTDOCS)
	


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



More information about the freebsd-ports-bugs mailing list