Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676092 - net-libs/libtorrent-rasterbar - .../temp/environment: command substitution: line 3561: syntax error near unexpected token `'yes''
Summary: net-libs/libtorrent-rasterbar - .../temp/environment: command substitution: l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 689012
  Show dependency tree
 
Reported: 2019-01-23 09:49 UTC by Hector Martin
Modified: 2019-07-16 16:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hector Martin 2019-01-23 09:49:25 UTC
/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.
Comment 1 Larry the Git Cow gentoo-dev 2019-07-16 16:36:21 UTC
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(-)