Portage fails when it encounters a dependency like "|| ( )" or "( )": $ ebuild foo-1.ebuild unpack Error(s) in metadata for 'app-misc/foo-1': RDEPEND: expected: dependency string, got: ')', token 2 That behaviour is incorrect. PMS states in https://projects.gentoo.org/pms/6/pms.html#x1-810008.2.3: "An empty any-of group counts as being matched." Same problem with repoman-2.3.3: RepoMan scours the neighborhood... dependency.syntax [fatal] 2 app-misc/foo/foo-1.ebuild: RDEPEND: expected: dependency string, got: ')', token 2 app-misc/foo/foo-1.ebuild: RDEPEND: expected: dependency string, got: ')', token 2 Please fix these important QA issues first. RepoMan sez: "Make your QA payment on time and you'll never see the likes of me."
Created attachment 489888 [details] foo-1.ebuild Minimal example ebuild to reproduce the problem.
*** This bug has been marked as a duplicate of bug 370565 ***