Date: Fri, 29 Aug 2008 18:59:33 +0900 (JST) From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: turutani@scphys.kyoto-u.ac.jp Subject: ports/126942: building archivers/lzo2 fails Message-ID: <200808290959.m7T9xXt9037954@h120.65.226.10.32118.vlan.kuins.net> Resent-Message-ID: <200808291000.m7TA01dN032239@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808290959.m7T9xXt9037954>