Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91158 - groff emerge fails due to faulty logic on line 59
Summary: groff emerge fails due to faulty logic on line 59
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
: 91385 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-02 05:42 UTC by Leung Ki Chi
Modified: 2005-05-04 07:00 UTC (History)
1 user (show)

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 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. ***