ports/131467: shells/zsh fails to install properly
Ralph Zitz
ralph at imada.sdu.dk
Sat Feb 7 17:40:03 UTC 2009
>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:
More information about the freebsd-ports-bugs
mailing list