Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 516796

Summary: [science overlay] dev-ml/zarith-1.2.1 - the classic use doc && ... || die
Product: Gentoo Linux Reporter: Bernardo Costa <bernardofpc>
Component: [OLD] DevelopmentAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bernardo Costa 2014-07-09 18:53:10 UTC
emerge does not finishes installation of zarith-1.2, because of bad syntax in ebuild.

Reproducible: Always

Steps to Reproduce:
1. use science overlay
2. USE="-doc" emerge -va zarith

Actual Results:  
emerge finishes with message
 * ERROR: dev-ml/zarith-1.2.1::science failed (compile phase):
 *   emake doc failed

Expected Results:  
package should be merged

Changing the line
  - use doc && emake doc || die "emake doc failed"
  + use doc && (emake doc || die "emake doc failed")

allows compilation to finish and installation follows without problem. The resulting library is usable: I've tested compiling and running some programs.

So, this is probably just a syntax typo in the ebuild file.
Comment 1 Marius Brehler 2014-12-18 10:04:05 UTC
Already fixed in the overlay:

commit 25ebbaaa45bdc4904c002de89a56c0d45f484720
Author: Jonathan-Christofer Demay <jcdemay@gmail.com>
Date:   Sun Jul 20 11:49:27 2014 +0200

    dev-ml/zarith-1.2.1: fix doc building