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

Bug 91158

Summary: groff emerge fails due to faulty logic on line 59
Product: Gentoo Linux Reporter: Leung Ki Chi <7words.sg>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: jalves-gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-332052.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Leung Ki Chi 2005-05-02 05:42:32 UTC
emerge -e system will fail on groff due to bad logic in line 56 of the ebuild.

This happens regardless of USE=X or -X.

Replacing && on that line with || solves the problem.

This was reported by several users on #gentoo and the fix worked for all of them.

Reproducible: Always
Steps to Reproduce:
emerge groff
Actual Results:  
groff fails with this error:

/usr/lib/portage/bin/ebuild.sh: line 89: xmkmf: command not found
Comment 1 Leung Ki Chi 2005-05-02 06:14:53 UTC
It's actually line 59 in the ebuild, but marked as line 56 in viewCVS.
Comment 2 SpanKY gentoo-dev 2005-05-02 07:29:13 UTC
stupid copy & paste

proper fix is to change && to || and -n to -z
Comment 3 Daniel Wachter 2005-05-02 07:43:50 UTC
this BUG doesn't fix anything!!!
Comment 4 SpanKY gentoo-dev 2005-05-04 07:00:34 UTC
*** Bug 91385 has been marked as a duplicate of this bug. ***