Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673064 - media-libs/libtheora-1.1.1-r2 with zsh - src_install(): zsh:10: parse error near `done'
Summary: media-libs/libtheora-1.1.1-r2 with zsh - src_install(): zsh:10: parse error n...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: media-video herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: nonbash
  Show dependency tree
 
Reported: 2018-12-13 09:33 UTC by Lorenzo Iannuzzi
Modified: 2021-01-07 16:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log of the failed install (build.libtheora.log,39.36 KB, text/plain)
2018-12-13 09:48 UTC, Lorenzo Iannuzzi
Details
emerge --info of the failed install (libtheorainfo,5.64 KB, text/plain)
2018-12-13 09:49 UTC, Lorenzo Iannuzzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Iannuzzi 2018-12-13 09:33:41 UTC
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)"
Comment 1 Lars Wendler (Polynomial-C) gentoo-dev 2018-12-13 09:36:34 UTC
Please attach the log files to this bug.
Comment 2 Lorenzo Iannuzzi 2018-12-13 09:38:49 UTC
(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?
Comment 3 Andreas Sturmlechner gentoo-dev 2018-12-13 09:46:08 UTC
Attach them, do not use pastebin.
Comment 4 Lorenzo Iannuzzi 2018-12-13 09:48:51 UTC
Created attachment 557704 [details]
build.log of the failed install
Comment 5 Lorenzo Iannuzzi 2018-12-13 09:49:24 UTC
Created attachment 557706 [details]
emerge --info of the failed install
Comment 6 Kerin Millar 2018-12-13 11:10:52 UTC
(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 [1] such as bash - which has good sh emulation - dash, posh and various others.

[1] https://pubs.opengroup.org/onlinepubs/9699919799/idx/shell.html
Comment 7 Kerin Millar 2021-01-07 16:28:44 UTC
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.