Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31836 - latest coreutils breaks ispell
Summary: latest coreutils breaks ispell
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brad House
URL:
Whiteboard:
Keywords:
: 32658 34930 (view as bug list)
Depends on: 23116
Blocks:
  Show dependency tree
 
Reported: 2003-10-23 10:12 UTC by Matthew Kennedy (RETIRED)
Modified: 2004-02-21 16:21 UTC (History)
5 users (show)

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


Attachments
fixes tail problem, please verify (ispell-3.2.06-r5-fix.diff,462 bytes, patch)
2003-10-23 11:39 UTC, Stefan Knoblich (RETIRED)
Details | Diff
ebuild patch (ispell-ebuild.patch,308 bytes, patch)
2003-12-06 03:32 UTC, Felix Riemann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kennedy (RETIRED) gentoo-dev 2003-10-23 10:12:02 UTC
>>> Source unpacked.
eutils
set +vx; \
for var in BINDIR CC CFLAGS COUNTSUFFIX DEFDICT DEFHASH DEFLANG \
  HASHSUFFIX INSTALL \
  LANGUAGES LIBDIR LIBES LINT LINTFLAGS \
  MAKE_SORTTMP MAN1DIR MAN1EXT MAN4DIR MAN4EXT MASTERHASH \
  MSGLANG REGLIB STATSUFFIX \
  TERMLIB YACC \
  ; do \
    cat config.X local.h \
      | sed -n -e "s/^#define[  ]*$var[         ]*"'"'"/$var=/p" \
      | sed -e 's/".*$/'"'/" -e "s/=/='/" \
      | tail -1; \
  done > config.sh; \
echo 'case "$MAKE_SORTTMP" in "") \
  SORTTMP="-e /!!SORTTMP!!/s/=.*$/=/";; *) SORTTMP=;; esac' \
  >> config.sh
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
sed: Couldn't flush stdout: Broken pipe
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
sed: Couldn't flush stdout: Broken pipe
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
tail: `-1' option is obsolete; use `-n 1'

...

There's some sort breakage further on down
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2003-10-23 11:39:50 UTC
Created attachment 19680 [details, diff]
fixes tail problem, please verify
Comment 2 Vesa Kaihlavirta 2003-10-29 10:06:04 UTC
I verified the brokage. Stefan's patch removes the problem with tail(1)'s
different syntax, but then there's a similar problem with sort(1) later on
the build:

sort -u -t/ +0f -1 +0 -T /tmp -o english.xlg [input files]
sort: invalid option -- 1

The three options +0f -1 +0 seem to have no meaning in sort now. -1 and +0
can be replaced with -k 0,1 (or something similar), but I haven't got an
idea for the +0f.

I tried this with various coreutilses: 5.0-r3 5.0-r4 5.0.91, same result
everywhere.
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2003-10-29 10:17:29 UTC
Yep.
the headtail bugs are easily fixed using the eclass, but the sort ones are
a little more trciky.
unfortunately i have a lot  of work on my plate right now but i will make
sure the sort fix gets added to the fixheadtails eclass asap.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-11-08 19:18:38 UTC
*** Bug 32658 has been marked as a duplicate of this bug. ***
Comment 5 Hiel Van Campen 2003-12-01 16:17:33 UTC
I edited the tail prob on my system. But ispell still wont build. It doesnt do anything with parse.y . It stops after failing to find parse.c which never gets made. Looking at Bug 32658 comment #5 I checked parse.y and found no extra ";". So I tried "bison parse.y" which gave me "parse.tab.c" left there and tried ebuild...compile. NO joy "make " didnt work either.

tester root # ebuild /home/portage/app-text/ispell/ispell-3.2.06-r6.ebuild compile
>>> md5 src_uri ;-) ispell-3.2.06.tar.gz
>>> md5 src_uri ;-) ispell-3.2.06-r6-gentoo-0.1.diff.bz2
eutils
eutils
>>> Checking ispell-3.2.06.tar.gz's mtime...
>>> Checking ispell-3.2.06-r6-gentoo-0.1.diff.bz2's mtime...
>>> WORKDIR is up-to-date, keeping...
eutils
make: `config.sh' is up to date.
+ parse.y
/bin/sh: line 1: parse.y: command not found
+ gcc -march=athlon-xp -fomit-frame-pointer -Os -falign-jumps=4 -falign-functions=4 -pipe -c y.tab.c
gcc: y.tab.c: No such file or directory
gcc: no input files
+ mv y.tab.o parse.o
mv: cannot stat `y.tab.o': No such file or directory
+ rm -f y.tab.c
+ gcc -march=athlon-xp -fomit-frame-pointer -Os -falign-jumps=4 -falign-functions=4 -pipe -o buildhash buildhash.o hash.o makedent.o parse.o
gcc: parse.o: No such file or directory
make: *** [buildhash] Error 1

!!! ERROR: app-text/ispell-3.2.06-r6 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! (no error message) 
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-02 15:35:48 UTC
*** Bug 34930 has been marked as a duplicate of this bug. ***
Comment 7 Felix Riemann 2003-12-06 03:30:34 UTC
It looks like you can fix it by exporting 
"_POSIX2_VERSION=199209" before emerging ispell.
This is the trick I have to use when using older Makeself-Installers, which suffer from the same problem. 
The export should enable the old tail syntax.
It has fixed ispell on my machine.
I made a (quite trivial) patch for the ebuild to show what I changed.
Comment 8 Felix Riemann 2003-12-06 03:32:19 UTC
Created attachment 21782 [details, diff]
ebuild patch

This is a patch to show what I changed on the ebuild to fix the tail problem.
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-27 13:18:54 UTC
brad already fixed this -- brad, can you comment please
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-21 16:21:23 UTC
closing, for no follow up from brad