When zsh is set as the main shell, libtheora cannot install and will fail.
Build Log: https://paste.pound-python.org/show/X2kcDhHuXK97a8cI1A7w/
emerge --info: https://paste.pound-python.org/show/5amHLPvIX4ETCbW0psdd/
emerge -pqv: USE="-doc -encode -examples -static-libs" ABI_X86="(64) -32 (-x32)"
Please attach the log files to this bug.
(In reply to Lars Wendler (Polynomial-C) from comment #1)
> Please attach the log files to this bug.
Which files are you referring too? I have the build.log posted?
Attach them, do not use pastebin.
Created attachment 557704 [details]
build.log of the failed install
Created attachment 557706 [details]
emerge --info of the failed install
(In reply to Lorenzo Iannuzzi from comment #0)
> When zsh is set as the main shell, libtheora cannot install and will fail.
If you mean that you have symlinked /bin/sh to zsh then this isn't a bug. At least, not one that ought to be resolved by Gentoo. The reason is that zsh doesn't properly emulate POSIX sh and cannot be supported in this capacity. For more information, see bug 524572. Of course, you may safely set it as your login shell but /bin/sh must be something that credibly supports all of the rules of the Shell Command Language  such as bash - which has good sh emulation - dash, posh and various others.
Closing as INVALID because zsh is not a supported sh(1) provider, as explained in the previous comment. Please use an implementation that is expected to be POSIX compatible. If in doubt, I would suggest selecting one of the three that is currently presented by the eselect sh module (bash, dash or mksh). If you experience a build failure with any of these then feel free to open another bug.