Created attachment 172895 [details]
Build hangs after following lines:
> echo "#compdef stack" > _stack.zsh
> echo "autoload -U +X bashcompinit && bashcompinit" >> _stack.zsh
> cat >> _stack.zsh
Full build log is attached.
Created attachment 172898 [details]
Odd... The last line should be cat _stack.bash >> _stack.zsh. It's obviously the cat that hangs.
What FreeBSD version are you on?
I've attached a patch you could try that might fix this. Let me know if it works. Apply with patch -p0 -i stack.diff in /usr/port/devel/stack.
The patch worked, thanks!
I'm running version 10.3-RELEASE-p4.
Created attachment 173001 [details]
Updated patch to also add a missing run dependency on gmake, ca_root_nss, and perl which is required by at least 'stack setup' on newly installed systems with no other packages installed. This deserves a PORTREVISION bump.
Poudriere testport (FreeBSD 10.3/amd64) ok. portlint ok (ignoring the expected warnings about libutil.so.8 and gmake as run dependency).
A commit references this bug:
Date: Fri Aug 26 09:33:56 UTC 2016
New revision: 420907
devel/stack: fix dependencies and hang on build
Reported by: firstname.lastname@example.org
Submitted by: Tobias Kortkamp <email@example.com> (maintainer)