Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63507 - grep-2.5.1 fails checks with FEATURES=maketest - Spencer test #55 failed (spencer1.sh)
Summary: grep-2.5.1 fails checks with FEATURES=maketest - Spencer test #55 failed (spe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://savannah.gnu.org/patch/?func=d...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-09 21:32 UTC by Daniel Black (RETIRED)
Modified: 2005-03-24 23:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
spencer test patch (spencer-test.patch,397 bytes, patch)
2004-11-19 13:01 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Black (RETIRED) gentoo-dev 2004-09-09 21:32:07 UTC
The test that failed:

# more /var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/tests/spencer1.script
status=`echo '-'| { ${GREP} -E -e '(*)b' >/dev/null 2>&1 ; echo $?; }`
if test $status -ne 1 ; then
        echo Spencer test \#55 failed
        failures=1
fi

The above URL contains a patch.

Output from the compile:

>>> Test phase [check]: sys-apps/grep-2.5.1-r6
Making check in intl
make[1]: Entering directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/intl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/intl'
Making check in po
make[1]: Entering directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/po'
Making check in lib
make[1]: Entering directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/lib'
Making check in posix
make[2]: Entering directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/lib/posix'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/lib/posix'
make[2]: Entering directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/lib'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/lib'
make[1]: Leaving directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/lib'
Making check in doc
make[1]: Entering directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/doc'
make[1]: Leaving directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/doc'
Making check in src
make[1]: Entering directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/src'
Making check in tests
make[1]: Entering directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/tests'
make  check-TESTS
make[2]: Entering directory `/var/tmp/portage/grep-2.5.1-r6/work/grep-2.5.1/tests'

Please, do not be alarmed if some of the tests failed.
Report them to <bug-gnu-utils@gnu.org>,
with the line number, the name of the file,
and grep version number 'grep --version'.
Make sure you have the word grep in the subject.
Thank You.

PASS: warning.sh
PASS: khadafy.sh
Spencer test #55 failed
FAIL: spencer1.sh
PASS: bre.sh
PASS: ere.sh
PASS: status.sh
PASS: empty.sh
PASS: options.sh

followed by a few more PASSes and an eventual fail.

emerge info:


Portage 2.0.51_pre20 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r1 i686 AMD Athlon(tm) XP 1900+)
=================================================================
System uname: 2.6.8-gentoo-r1 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs distcc maketest sandbox sign userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo             http://premium.planetmirror.com/pub/gentoo               http://gentoo.oregonstate.edu              http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acpi alsa apm arts artswrappersuid avi berkdb bitmap-fonts bonobo cdr crypt cups encode ethereal fam fastcgi flash foomaticdb gd gif gphoto2 gtk gtkhtml guile imagemagick imlib java jpeg kde kerberos libgda libwww mad makecheck mbox mikmod mmx motif mozilla mpeg mysql nas nptl ntlm oggvorbis openal operanom2 pam pdflib perl php png postgres ppds python qt quicktime readline samba sdl slp socks5 sox spell sse ssl svga tcltk tetex tiff truetype usb vhosts x86 xinerama xml xml2 xprint xv zlib"
Other URLs:

http://sources.redhat.com/ml/bug-gnu-utils/2003-02/msg00002.html
http://linuxfromscratch.org/pipermail/lfs-dev/2003-February/032543.html

Other grep patches while I'm here:
http://savannah.gnu.org/patch/?group=grep
Comment 1 SpanKY gentoo-dev 2004-09-09 22:03:26 UTC
could you attach a patch here which resolves the problem ?

it looks like that patch has already been applied to our grep-2.5.1-r6
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2004-11-19 12:57:52 UTC
this is still broken in 2.5.1-r5 and r6, probably others as well but i didn't test them.  attached is a (very) simple patch for the ebuild.  i've tested it  with r6 but since there's very little difference between revisions it should work  with the rest.  this is my first patch,  so let me know if i got anything wrong. :)
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2004-11-19 13:01:45 UTC
Created attachment 44316 [details, diff]
spencer test patch
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2004-12-24 15:26:40 UTC
The attached patch makes grep pass all the tests with my computer. 
Comment 5 SpanKY gentoo-dev 2005-01-05 21:37:18 UTC
updated the expected test result like the LFS guys talk about rather than forcing regex

use grep-2.5.1-r7