First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 63507
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Black <dragonheart@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
spencer-test.patch spencer test patch patch Ryan Hill 2004-11-19 13:01 0000 397 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 63507 depends on: Show dependency tree
Bug 63507 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-09-09 21:32 0000
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 From SpanKY 2004-09-09 22:03:26 0000 -------
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 From Ryan Hill 2004-11-19 12:57:52 0000 -------
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 From Ryan Hill 2004-11-19 13:01:45 0000 -------
Created an attachment (id=44316) [edit]
spencer test patch

------- Comment #4 From Petteri Räty 2004-12-24 15:26:40 0000 -------
The attached patch makes grep pass all the tests with my computer. 

------- Comment #5 From SpanKY 2005-01-05 21:37:18 0000 -------
updated the expected test result like the LFS guys talk about rather than
forcing regex

use grep-2.5.1-r7

First Last Prev Next    No search results available      Search page      Enter new bug