Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52516 - xorg-x11 fails build due to missing 'col' utility
Summary: xorg-x11 fails build due to missing 'col' utility
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-30 18:52 UTC by David Glaze
Modified: 2004-05-31 17:01 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 David Glaze 2004-05-30 18:52:39 UTC
There appears to be a missing ebuild dependency for the xorg-x11 package.  During the 'emerge system' portion of a clean gentoo installation (on x86_64, in this particular case), the compilation fails with the following error:

--------------------------------------------------------------
cpp -traditional  -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults
-D__appmansuffix__=3x -D__filemansuffix__=5x -D__libmansuffix__=3x
-D__miscmansuffix__=7x -D__drivermansuffix__=4x -D__adminmansuffix__=8
-D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf
-D__xconfigdir__=/etc/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg
-D__xorgversion__='"" ""' -D__vendorversion__="`echo 6 7 0 | sed -e 's/ /./g'
-e 's/^/Version\\\ /'` X.Org"  <gluUnProject.man | sed -e '/^#  *[0-9][0-9]*
*.*$/d'               -e '/^#line  *[0-9][0-9]*  *.*$/d'
-e '/^[         ]*XCOMM$/s/XCOMM/#/'         -e '/^[
]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/'                        -e '/^[
]*XHASH/s/XHASH/#/'  -e '/\@\@$/s/\@\@$/\\/' >gluUnProject._man
rm -f gluUnProject.3x.html gluUnProject.3x-html
../../../config/util/rman -f HTML < gluUnProject._man \
  > gluUnProject.3x-html && mv -f gluUnProject.3x-html gluUnProject.3x.html
macro "bp" not recognized -- ignoring
make[5]: Leaving directory
`/var/tmp/portage/xorg-x11-6.7.0/work/xc/doc/man/GLU'
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/doc/man'
making all in doc/specs...
make[4]: Entering directory
`/var/tmp/portage/xorg-x11-6.7.0/work/xc/doc/specs'
making all in doc/specs/BDF...
make[5]: Entering directory
`/var/tmp/portage/xorg-x11-6.7.0/work/xc/doc/specs/BDF'
groff -Tps -ms ../../../doc/util/macros.t bdf.ms \
        2> index.raw > bdf.nps \
&& mv -f bdf.nps bdf.ps
nroff -ms ../../../doc/util/macros.t bdf.ms 2> index.raw | \
         col -b > bdf.txt
/bin/sh: line 1: col: command not found
make[5]: *** [bdf.txt] Error 127
make[5]: Leaving directory
`/var/tmp/portage/xorg-x11-6.7.0/work/xc/doc/specs/BDF'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/doc/specs'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc/doc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.7.0 failed.
!!! Function src_compile, Line 675, Exitcode 2
!!! (no error message)
-------------------------------------------------------------

The 'col' utility is contained in the util-linux package which, at least for my 'emerge system' is built after xorg-x11.  After manually adding util-linux to the IUSE flags in the xorg-x11 ebuild, it built successfully.



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




livecd linux # emerge info
Portage 2.0.50-r7 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5-gentoo-up)
=================================================================
System uname: 2.6.5-gentoo-up x86_64 5
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://adelie.polymtl.ca/
http://mirrors.tds.net/gentoo http://www.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl alsa amd64 apache2 apm arts atlas avi berkdb bonobo canna
cdr cjk crypt cups curl dedicated dga directfb doc dvd dvdr emacs encode esd
ethereal evo fbcon flash foomaticdb freetds freewnn gb gd gdbm ggi gif gnome
gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib innodb java jikes jpeg junit kde
lcms leim libg++ libgda libwww mad matrox mbox mcal mikmod motif mozilla mpeg
mpi mule mysql ncurses nls nogcj oggvorbis opengl oss pam pda pdflib perl
plotutils png ppds prelude python qt quicktime readline ruby samba sasl scanner
sdl slang slp snmp spell ssl tcltk tcpd tetex tiff truetype usb
video_cards_nvidia wmf wxwindows xface xinerama xml xml2 xmms xosd xv zlib"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-31 15:42:52 UTC
Sounds like you have an old sync. Current xorg-x11 ebuilds reads:

DEPEND=">=sys-apps/baselayout-1.8.3
        >=sys-libs/ncurses-5.1
        >=sys-libs/zlib-1.1.3-r2
        >=sys-devel/flex-2.5.4a-r5
        >=dev-libs/expat-1.95.3
        >=media-libs/freetype-2.1.4
        >=media-libs/fontconfig-2.1-r1
        >=x11-base/opengl-update-1.7
        >=x11-misc/ttmkfdir-3.0.4
        >=sys-apps/sed-4
        sys-apps/util-linux
        dev-lang/perl
        media-libs/libpng
        >=sys-apps/portage-2.0.50_pre9
        !x11-base/xfree
        !virtual/xft
        !virtual/x11"

See http://www.gentoo.org/cgi-bin/viewcvs.cgi/x11-base/xorg-x11/xorg-x11-6.7.0.ebuild?r1=1.17&r2=1.18.
Comment 2 David Glaze 2004-05-31 16:30:49 UTC
Strange.  That's exactly how my ebuild reads.  I'm installing from a sync that was pulled down around 5/29/2004.  Even though util-linux is listed in the DEPEND variable, it most definitely tried to build _after_ xorg-x11.  When I get a little more time (and I'm not under pressure to get this workstation up), I'll see if I can recreate this problem and learn a little more about why the build order was incorrect.  Thanks!
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-31 17:01:11 UTC
Any ideas?