Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75932 - coreutils-5.2.1-r3 fails in test phase -- no hostname program
Summary: coreutils-5.2.1-r3 fails in test phase -- no hostname program
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 11:38 UTC by Rob Kruus
Modified: 2005-01-09 13:47 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 Rob Kruus 2004-12-28 11:38:17 UTC
The test phase of coreutils fails with this error:

echo '#define LOCALEDIR "/usr/share/locale"' >localedir.h-t
cmp localedir.h-t localedir.h > /dev/null 2>&1 && rm -f localedir.h-t || { rm -f localedir.h; mv localedir.h-t localedir.h; }
rm -rf progs-readme progs-makefile
echo [ chgrp chown chmod cp dd dircolors du ginstall link ln dir vdir ls mkdir mkfifo mknod mv nohup readlink rm rmdir shred stat sync touch unlink cat cksum comm csplit cut expand fmt fold head join md5sum nl od paste pr ptx sha1sum sort split sum tac tail tr tsort unexpand uniq wc basename date dirname echo env expr factor false id logname pathchk printenv printf pwd seq sleep tee test true tty whoami yes uname chroot hostid nice pinky users who stty df  chroot df hostid nice pinky stty uname users who \
  | tr -s ' ' '\n' | LC_ALL=C sort -u > progs-makefile && \
sed -n '/^The programs .* are:/,/^[a-zA-Z]/p' ../README \
  | sed -n '/^   */s///p' | tr -s ' ' '\n' > progs-readme
diff progs-makefile progs-readme && rm -rf progs-readme progs-makefile
30a31
> hostname
make: *** [check-README] Error 1

It come down to the fact that it looks in the src_topdir/README file for a list of programs built -- this includes hostname, which in my case is not being compiled and compares it to the list of files built in the Makefile.

root@kruuslt ~ # emerge info
Portage 2.0.51-r8 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-rc4-love1 i686)
=================================================================
System uname: 2.6.9-rc4-love1 i686 Mobile AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  1 2004, 20:57:41)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
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="-Os -march=athlon-xp -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks maketest sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.tds.net/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://prometheus.cs.wmich.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/trunk /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d alsa apm avi berkdb bitmap-fonts cdr crypt cups dga dvd encode f77 flac foomaticdb fortran gcj gdbm gif gnutls gpm gtk gtk2 imagemagick imlib java jpeg ldap libg++ libwww mad maildir makecheck mikmod mmx mpeg mysql ncurses nls nptl odbc oggvorbis opengl pam pcre pdflib perl pic png postgres python qt quicktime readline sdl slang spell sse ssl svg svga tcpd tetex tiff truetype unicode x86 xinerama xml xml2 xmms xv zlib video_cards_radeon linguas_en"



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Rob Kruus 2004-12-28 11:51:21 UTC
Can work around by editing the README but then see http://bugs.gentoo.org/show_bug.cgi?id=75934
Comment 2 SpanKY gentoo-dev 2005-01-09 13:47:59 UTC
fixed in coreutils-5.2.1-r4