/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.0/temp/environment: command substitution: line 3561: syntax error near unexpected token `'yes'' /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.0/temp/environment: command substitution: line 3561: `usex ('yes' 'no'))' From the ebuild: $(use_enable dht dht $(usex debug logging $(usex ('yes' 'no')))) I'm not sure what that line is trying to do, but it's clearly broken. Looks like 1.1.10, 1.1.11, 1.1.12, 1.2.0 all have this issue. It does not prevent the package from being built (at least not with USE=dht), but it's definitely wrong.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acda40e45c20b4821d8d322a959d576482873d36 commit acda40e45c20b4821d8d322a959d576482873d36 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-07-16 16:35:13 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-07-16 16:35:29 +0000 net-libs/libtorrent-rasterbar: Fix broken cascaded configure options Non-maintainer commit. I could not trigger a build error, so whatever was the motivation in commit 54792cd74a1ed9d50c6c335829ee3a6015e17f5f may not be relevant anymore. Closes: https://bugs.gentoo.org/676092 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.13.ebuild | 4 ++-- net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.1.ebuild | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-)