bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreutils 5.95 on IRIX 5.3


From: Georg Schwarz
Subject: coreutils 5.95 on IRIX 5.3
Date: Sun, 21 May 2006 18:25:19 +0200

Dear developers,

coreutils 5.95, unlike prior releases, seems to build relatively fine on IRIX 5.3.

There are at leasr two issues however:

- configure does not find /sbin/grep; settting GREP environment variable works around this.
- IRIX 5.3's sed does not like some syntax used by config.status:


lorenz 133% ./config.status config.h
config.status: creating config.h
sed: command garbled: s,^\([ ]*#[ ]*\)[^ ]*\([ ][ ] *_UINT32_T\)[ (].*$,\1define\2 1 , sed: command garbled: s,^\([ ]*#[ ]*\)[^ ]*\([ ][ ] *GETLOADAVG_PRIVILEGED\)[ (].*$,\1define\2 1 , sed: command garbled: s,^\([ ]*#[ ]*\)[^ ]*\([ ][ ] *re_search_2\)[ (].*$,\1define\2 rpl_re_search_2 ,
config.status: config.h is unchanged

Using gnu sed instead works around this. There does not seem to be support for the SED variable in the configure scripts though, which would be helpful.



Finally, here's the output of make check:

lorenz 151% /usr/local/pkg/bin/gmake check
Making check in lib
gmake[1]: Entering directory `/var/tmp/coreutils-5.95/lib'
./t-fpending > /dev/null
/usr/local/pkg/bin/gmake  check-am
gmake[2]: Entering directory `/var/tmp/coreutils-5.95/lib'
gmake[2]: Nothing to be done for `check-am'.
gmake[2]: Leaving directory `/var/tmp/coreutils-5.95/lib'
gmake[1]: Leaving directory `/var/tmp/coreutils-5.95/lib'
Making check in src
gmake[1]: Entering directory `/var/tmp/coreutils-5.95/src'
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 hostname id kill logname pathchk printenv printf pwd seq sleep tee test true tty whoami yes uname chroot hostid nice pinky users who uptime stty df groups chroot df hostid nice pinky stty su uname uptime users who \
         | tr -s ' ' '\n' | sed -e 's,$,,' \
         | 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
cd .; grep '^# *define *S_IS' lbracket.c basename.c cat.c chgrp.c chown-core.c chmod.c chown.c chown-core.c chroot.c cksum.c comm.c cp.c copy.c cp-hash.c csplit.c cut.c date.c dd.c df.c ls.c ls-dir.c dircolors.c dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c fmt.c fold.c install.c copy.c cp-hash.c head.c hostid.c hostname.c id.c join.c kill.c link.c ln.c logname.c ls.c ls-ls.c md5sum.c md5.c mkdir.c mkfifo.c mknod.c mv.c copy.c cp-hash.c remove.c nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c printenv.c printf.c ptx.c pwd.c readlink.c rm.c remove.c rmdir.c seq.c setuidgid.c md5sum.c sha1sum.c shred.c sleep.c sort.c split.c stat.c stty.c su.c sum.c sync.c tac.c tail.c tee.c test.c touch.c tr.c true.c tsort.c tty.c uname.c unexpand.c uniq.c unlink.c uptime.c users.c ls.c ls-vdir.c wc.c who.c whoami.c yes.c && exit 1 || : cd .; grep st_blocks lbracket.c basename.c cat.c chgrp.c chown-core.c chmod.c chown.c chown-core.c chroot.c cksum.c comm.c cp.c copy.c cp- hash.c csplit.c cut.c date.c dd.c df.c ls.c ls-dir.c dircolors.c dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c fmt.c fold.c install.c copy.c cp-hash.c head.c hostid.c hostname.c id.c join.c kill.c link.c ln.c logname.c ls.c ls-ls.c md5sum.c md5.c mkdir.c mkfifo.c mknod.c mv.c copy.c cp-hash.c remove.c nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c printenv.c printf.c ptx.c pwd.c readlink.c rm.c remove.c rmdir.c seq.c setuidgid.c md5sum.c sha1sum.c shred.c sleep.c sort.c split.c stat.c stty.c su.c sum.c sync.c tac.c tail.c tee.c test.c touch.c tr.c true.c tsort.c tty.c uname.c unexpand.c uniq.c unlink.c uptime.c users.c ls.c ls-vdir.c wc.c who.c whoami.c yes.c && exit 1 || : cd .; grep '^# *define .*defined' lbracket.c basename.c cat.c chgrp.c chown-core.c chmod.c chown.c chown-core.c chroot.c cksum.c comm.c cp.c copy.c cp-hash.c csplit.c cut.c date.c dd.c df.c ls.c ls-dir.c dircolors.c dirname.c du.c echo.c env.c expand.c expr.c factor.c false.c fmt.c fold.c install.c copy.c cp-hash.c head.c hostid.c hostname.c id.c join.c kill.c link.c ln.c logname.c ls.c ls-ls.c md5sum.c md5.c mkdir.c mkfifo.c mknod.c mv.c copy.c cp-hash.c remove.c nice.c nl.c nohup.c od.c paste.c pathchk.c pinky.c pr.c printenv.c printf.c ptx.c pwd.c readlink.c rm.c remove.c rmdir.c seq.c setuidgid.c md5sum.c sha1sum.c shred.c sleep.c sort.c split.c stat.c stty.c su.c sum.c sync.c tac.c tail.c tee.c test.c touch.c tr.c true.c tsort.c tty.c uname.c unexpand.c uniq.c unlink.c uptime.c users.c ls.c ls-vdir.c wc.c who.c whoami.c yes.c && exit 1 || :
rm -f authors-actual authors-dotdot
for i in `ls [ 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 hostname id kill logname pathchk printenv printf pwd seq sleep tee test true tty whoami yes uname chroot hostid nice pinky users who uptime stty df groups chroot df hostid nice pinky stty su uname uptime users who | sed -e 's,$,,' \
            | LC_ALL=C sort -u`; do                             \
          test "$i" = '[' && continue;                  \
          exe=$i;                                       \
          if test "$i" = install; then                  \
            exe=ginstall;                               \
          elif test "$i" = test; then                   \
            exe='[';                                    \
          fi;                                           \
          ./$exe --version                              \
|sed -n '/Written by /{ s//'"$i"': /; s/,* and /, /; s/\. $//; p; }'; \
        done > authors-actual
sed -n '/:/p' ../AUTHORS > authors-dotdot
diff authors-actual authors-dotdot && rm -f authors-actual authors- dotdot
/usr/local/pkg/bin/gmake  check-am
gmake[2]: Entering directory `/var/tmp/coreutils-5.95/src'
gmake[2]: Nothing to be done for `check-am'.
gmake[2]: Leaving directory `/var/tmp/coreutils-5.95/src'
gmake[1]: Leaving directory `/var/tmp/coreutils-5.95/src'
Making check in doc
gmake[1]: Entering directory `/var/tmp/coreutils-5.95/doc'
fail=0; \
        grep timezone ./*.texi && fail=1; \
/usr/bin/egrep '(^|[^A-Za-z0-9_])IO([^A-Za-z0-9_]|$)' ./ *.texi && fail=1; \
        grep non-zero ./*.texi && fail=1; \
        grep '@url{' ./*.texi && fail=1; \
/usr/bin/egrep '(^|[^A-Za-z0-9_])NUL([^A-Za-z0-9_]|$)' ./ *.texi && fail=1; \
        grep '\$@"' ./*.texi && fail=1; \
        grep -n '[^[:punct:address@hidden' ./*.texi && fail=1; \
        grep -n filename ./*.texi|grep -vE 'setfilename|{filename}' \
          && fail=1; \
/bin/ksh /var/tmp/coreutils-5.95/build-aux/missing --run perl -e 1 2> /dev/null && { /bin/ksh /var/tmp/coreutils-5.95/build- aux/missing --run perl -ne \ '/\bPOSIX\b/ && !/address@hidden/ && !/^\* / || / {posix}/ and print,exit 1' \
          ./*.texi 2> /dev/null || fail=1; }; \
        grep -iwE 'builtins?' ./*.texi && fail=1; \
        grep -iwE 'path(name)?s?' ./*.texi \
          | grep -vE '@vindex PATH$|@env{PATH}' && fail=1; \
        exit $fail
Illegal option -- E
Usage: grep -hblcnsvi pattern file ...
Illegal option -- w
Illegal option -- E
Usage: grep -hblcnsvi pattern file ...
Illegal option -- w
Illegal option -- E
Usage: grep -hblcnsvi pattern file ...
Illegal option -- E
Usage: grep -hblcnsvi pattern file ...
gmake[1]: Leaving directory `/var/tmp/coreutils-5.95/doc'
Making check in man
gmake[1]: Entering directory `/var/tmp/coreutils-5.95/man'
/usr/local/pkg/bin/gmake  check-local
gmake[2]: Entering directory `/var/tmp/coreutils-5.95/man'
PATH=../src:$PATH; export PATH;         \
        t=ls-files.$$;                                          \
        (cd . && ls -1 *.x) | sed 's/\.x$//' | LC_ALL=C sort > $t;\
echo basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1 cksum. 1 comm.1 cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 echo.1 env.1 expand.1 expr.1 factor.1 false.1 fmt.1 fold.1 groups.1 head.1 hostid.1 hostname.1 id.1 install.1 join.1 kill. 1 link.1 ln.1 logname.1 ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nice.1 nl.1 nohup.1 od.1 paste.1 pathchk.1 pinky.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 rm.1 rmdir.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1 stat.1 stty.1 su.1 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 tty.1 uname.1 unexpand.1 uniq.1 unlink.1 uptime.1 users.1 vdir.1 wc.1 who.1 whoami.1 yes.1 | tr -s ' ' '\n' | sed 's/\.1$//' \ | LC_ALL=C sort | diff - $t || { rm $t; exit 1; }; \
        rm $t
status=0;                                       \
for p in dummy `(cd ../src && MAKEFLAGS= /usr/local/pkg/bin/ gmake -s all_programs.list) | grep -v '\['`; do \
          test $p = dummy && continue;                  \
          test $p = ginstall && p=install || : ;        \
          test -f ./$p.x                        \
            || { echo missing $p.x 1>&2; status=1; };   \
        done;                                           \
        exit $status
gmake[2]: Leaving directory `/var/tmp/coreutils-5.95/man'
gmake[1]: Leaving directory `/var/tmp/coreutils-5.95/man'
Making check in po
gmake[1]: Entering directory `/var/tmp/coreutils-5.95/po'
gmake[1]: Nothing to be done for `check'.
gmake[1]: Leaving directory `/var/tmp/coreutils-5.95/po'
Making check in tests
gmake[1]: Entering directory `/var/tmp/coreutils-5.95/tests'
../src/printenv POSIXLY_CORRECT >/dev/null \
          && sed s/%%/POSIXLY_CORRECT/ ./.env-warn || :
test "${CDPATH+set}" = set \
          && sed s/%%/CDPATH/ ./.env-warn || :
***********************************************************
NOTICE: Some tests may be run only as root.
  Do `make check-root' as `root' to run these tests.
***********************************************************
Making check in basename
gmake[2]: Entering directory `/var/tmp/coreutils-5.95/tests/basename'
/usr/local/pkg/bin/gmake  check-TESTS
gmake[3]: Entering directory `/var/tmp/coreutils-5.95/tests/basename'
./basic: configure didn't find a usable version of Perl, so can't run this test
SKIP: basic
======================
All 0 tests passed
(1 tests were not run)
======================
gmake[3]: Leaving directory `/var/tmp/coreutils-5.95/tests/basename'
gmake[2]: Leaving directory `/var/tmp/coreutils-5.95/tests/basename'
Making check in chgrp
gmake[2]: Entering directory `/var/tmp/coreutils-5.95/tests/chgrp'
/usr/local/pkg/bin/gmake  check-TESTS
gmake[3]: Entering directory `/var/tmp/coreutils-5.95/tests/chgrp'
./no-x: this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check

SKIP: no-x
./posix-H: this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check

SKIP: posix-H
./basic: this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check

SKIP: basic
./deref: this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check

SKIP: deref
./recurse: this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check

SKIP: recurse
======================
All 0 tests passed
(5 tests were not run)
======================
gmake[3]: Leaving directory `/var/tmp/coreutils-5.95/tests/chgrp'
gmake[2]: Leaving directory `/var/tmp/coreutils-5.95/tests/chgrp'
Making check in chmod
gmake[2]: Entering directory `/var/tmp/coreutils-5.95/tests/chmod'
/usr/local/pkg/bin/gmake  check-TESTS
gmake[3]: Entering directory `/var/tmp/coreutils-5.95/tests/chmod'
PASS: octal
PASS: no-x
PASS: equals
PASS: equal-x
PASS: c-option
PASS: setgid
PASS: umask-x
PASS: usage
==================
All 8 tests passed
==================
gmake[3]: Leaving directory `/var/tmp/coreutils-5.95/tests/chmod'
gmake[2]: Leaving directory `/var/tmp/coreutils-5.95/tests/chmod'
Making check in chown
gmake[2]: Entering directory `/var/tmp/coreutils-5.95/tests/chown'
/usr/local/pkg/bin/gmake  check-TESTS
gmake[3]: Entering directory `/var/tmp/coreutils-5.95/tests/chown'
***************************
NOTICE:
./basic: This test is being skipped, since it works only
when run as root.
***************************
SKIP: basic
PASS: deref
PASS: separator
======================
All 2 tests passed
(1 tests were not run)
======================
gmake[3]: Leaving directory `/var/tmp/coreutils-5.95/tests/chown'
gmake[2]: Leaving directory `/var/tmp/coreutils-5.95/tests/chown'
Making check in cp
gmake[2]: Entering directory `/var/tmp/coreutils-5.95/tests/cp'
/usr/local/pkg/bin/gmake  check-TESTS
gmake[3]: Entering directory `/var/tmp/coreutils-5.95/tests/cp'
PASS: cp-deref
PASS: preserve-2
PASS: r-vs-symlink
PASS: link-preserve
PASS: backup-1
PASS: no-deref-link1
PASS: no-deref-link2
PASS: no-deref-link3
PASS: backup-is-src
PASS: same-file
PASS: cp-mv-backup
FAIL: symlink-slash
PASS: slink-2-slink
PASS: fail-perm
PASS: dir-slash
./perm: This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_EXPENSIVE_TESTS=yes make check

SKIP: perm
PASS: cp-HL
***************************
NOTICE:
./special-bits: This test is being skipped, since it works only
when run as root.
***************************
SKIP: special-bits
PASS: link
PASS: dir-rm-dest
PASS: cp-parents
PASS: deref-slink
PASS: dir-vs-file
PASS: into-self
======================================
1 of 22 tests failed
(2 tests were not run)
Please report to address@hidden
======================================
gmake[3]: *** [check-TESTS] Error 1
gmake[3]: Leaving directory `/var/tmp/coreutils-5.95/tests/cp'
gmake[2]: *** [check-am] Error 2
gmake[2]: Leaving directory `/var/tmp/coreutils-5.95/tests/cp'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/coreutils-5.95/tests'
gmake: *** [check-recursive] Error 1


I'm not sure id this is nore than an issue of just grep.

--
Georg Schwarz    http://home.pages.de/~schwarz/
address@hidden  +49 178 8545053







reply via email to

[Prev in Thread] Current Thread [Next in Thread]