Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41075 - cannot emerge system as groff fails to find xmkmf command
Summary: cannot emerge system as groff fails to find xmkmf command
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 22:22 UTC by John ffitch
Modified: 2005-05-03 00:56 UTC (History)
0 users

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 John ffitch 2004-02-09 22:22:47 UTC
(following patching round failure to build libtools) 
Continuing with emerge system the next show stopper is that sys-apps/groff-1.18.1-r4  fails to compile/install as it asserts that /usr/sbin/ebuild.sh cannot find xmkmf on line 92

Attempts to patch by locate-ing xmkmf and adding to PATH failed to have any impact.

Reproducible: Always
Steps to Reproduce:
1.emerge system
2.
3.

Actual Results:  
Fails in groff with unable to find xmkmf

Expected Results:  
Found xmkmf and run it?

Gentoo Base System version 1.4.3.10
Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.21-gss)
=================================================================
System uname: 2.4.21-gss i586 Pentium MMX
Autoconf: 
Automake: 
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.19/sites/www.ibiblio.org/gentoo/ http://212.2
19.247.20/sites/www.ibiblio.org/gentoo/ http://212.219.247.10/sites/www.ibiblio.
org/gentoo/ http://194.83.57.3/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 im
lib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl os
s pam pdflib png python quicktime readline sdl slang spell ssl svga tcpd truetyp
e x86 xml2 xmms xv zlib"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-15 13:58:07 UTC
What happens if you change line 92 from:

--
            xmkmf || die
--

to

--
            /usr/X11R6/bin/xmkmf || die
--

?
Comment 2 Jesse Stephan 2004-07-21 10:17:13 UTC
Despite the comment made in the original post, I found that a simple addition to the $PATH solved the problem.  I simply added "/usr/X11R6/bin" to the $PATH on line 68 of /usr/sbin/ebuild.sh.
Comment 3 SpanKY gentoo-dev 2004-10-03 02:04:05 UTC
/usr/X11R6/bin is added to PATH by the X ebuilds
Comment 4 Ties Stuij 2005-05-03 00:56:38 UTC
i got the same problem but when building my gentoo system for the first time at stage 2. i dont even have any x installed and i dont have any imake, in fact i only just compiled make