Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2009 17:36:03 GMT
From:      Ralph Zitz <ralph@imada.sdu.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/131467: shells/zsh fails to install properly
Message-ID:  <200902071736.n17Ha3kE011465@www.freebsd.org>
Resent-Message-ID: <200902071740.n17He3aa052641@freefall.freebsd.org>

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

>Number:         131467
>Category:       ports
>Synopsis:       shells/zsh fails to install properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 07 17:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ralph Zitz
>Release:        FreeBSD 8.0 amd64 (current)
>Organization:
SDU
>Environment:
>Description:
The installation of zsh appears to be broken. Completion in the shell appears to be broken, perhaps because of the following:

Just before the installation ends the completion scripts are supposed to be precompiled, ie. the post-install part of the Makefile contains:

	@${ECHO_MSG} "Updating ${SHELLS}"
	@${CP} ${SHELLS} ${SHELLS}.bak
	@(${GREP} -v ${PREFIX}/bin/zsh ${SHELLS}.bak; \
	  ${ECHO_CMD} ${PREFIX}/bin/zsh) > ${SHELLS}
	@${RM} ${SHELLS}.bak
	@${PREFIX}/bin/zsh -fc ' \
		setopt extendedglob; \
		for i in ${DATADIR}/${ZSH_VER}/functions/**/*(/) ; do \
			zcompile -U -M $$i.zwc $$i/*~*.zwc(^/) ; \
			chmod 644 $$i.zwc ; \
		done'

This is the generated output by the above when installing:
....
Updating /etc/shells
zsh:1: no matches found: /usr/local/share/zsh/4.3.9/functions/**/*(/)
install-info --quiet /usr/local/info/zsh.info /usr/local/info/dir
...etc

Indicating a broken for-loop.
>How-To-Repeat:
Install zsh on a new system.
>Fix:


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



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