The dev-haskell/happy-1.18.6 ebuild has logic that looks like: use doc && cd doc && econf || die "econf failed in /doc" This is wrong: with USE="-doc", the '|| die' will be executed and the installation will abort. Instead, it should look like: if use doc; then cd doc && econf || die "econf failed in /doc" fi If hackport generated that code, then hackport should be fixed. Reproducible: Always
Created attachment 282125 [details, diff] fix for the 2 faulty lines
Thanks for reporting your fix, assigning to haskell team
(In reply to comment #0) > If hackport generated that code, then hackport should be fixed. It was me who added faulty part. Pushed fix as: > 05 Aug 2011; Sergei Trofimovich <slyfox@gentoo.org> happy-1.18.6.ebuild: > Fix build failure for USE=-doc case. Discovered and fixed by Yvan Royon, bug > #377827. Thanks for the report and fix, Yvan!