bug-coreutils
[Top][All Lists]
Advanced

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

Misc Problems with coreutils-5.0.90


From: Vin Shelton
Subject: Misc Problems with coreutils-5.0.90
Date: Thu, 07 Aug 2003 13:40:23 -0400

Hey Jim et al,

I wanted to send you this note because I came across a few problems
building and checking coreutils-5.0.90.  Here are the details:

1. On SunOS-5.5.1, configuring with --disable-nls, I cannot link 'who':

gcc  -g -O2   -o who  who.o ../lib/libfetish.a  ../lib/libfetish.a -lgen -lnsl 
Undefined                       first referenced
 symbol                             in file
wcslen                              ../lib/libfetish.a(vasnprintf.o)  (symbol 
belongs to implicit dependency /usr/lib/libw.so.1)
ld: fatal: Symbol referencing errors. No output written to who
collect2: ld returned 1 exit status
make[3]: *** [who] Error 1

   I hacked around this by building 'who' thusly:
   make LDADD='../lib/libfetish.a -lw' who

2. As you may remember, here at work we have a Network Appliances
   fileserver, and on that fileserver, 'du' generates the following
   error under both SunOS-5.5.1 and 5.8:
SKIP: 8gb
+ du --version 
du (coreutils) 5.0.90
Written by Torbjorn Granlund, David MacKenzie, Larry McVoy, Paul Eggert, and 
Jim Meyering.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ . ../../../../../src/coreutils-5.0.90/tests/du/../envvar-check 
as_unset=unset
+ unset VERSION_CONTROL SIMPLE_BACKUP_SUFFIX 
+ unset BLOCK_SIZE DU_BLOCK_SIZE DF_BLOCK_SIZE LS_BLOCK_SIZE 
+ test  = set 
+ test  = set 
+ test  = set 
+ test  = set 
+ test  = set 
+ test  = set 
+ test  = 1 
+ . ../../../../../src/coreutils-5.0.90/tests/du/../lang-default 
+ eval LANG=; export LANG 
LANG=
+ export LANG 
+ eval LANGUAGE=; export LANGUAGE 
LANGUAGE=
+ export LANGUAGE 
+ eval LC_ALL=; export LC_ALL 
LC_ALL=
+ export LC_ALL 
+ eval LC_COLLATE=; export LC_COLLATE 
LC_COLLATE=
+ export LC_COLLATE 
+ eval LC_CTYPE=; export LC_CTYPE 
LC_CTYPE=
+ export LC_CTYPE 
+ eval LC_MESSAGES=; export LC_MESSAGES 
LC_MESSAGES=
+ export LC_MESSAGES 
+ eval LC_NUMERIC=; export LC_NUMERIC 
LC_NUMERIC=
+ export LC_NUMERIC 
+ eval LC_TIME=; export LC_TIME 
LC_TIME=
+ export LC_TIME 
+ pwd 
pwd=/u/shelton2/software/build/SunOS-5.5/coreutils-5.0.90/tests/du
+ echo ../../../../../src/coreutils-5.0.90/tests/du/basic 
+ sed s,.*/,, 
t0=basic.tmp
tmp=basic.tmp/17520
+ trap status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status 0 
+ trap (exit $?); exit $? 1 2 13 15 
framework_failure=0
+ mkdir -p basic.tmp/17520 
+ cd basic.tmp/17520 
+ mkdir -p a/b d d/sub 
+ printf make-sure-the-file-is-non-empty\n 
+ seq --format=%100g 1 90 
+ head --bytes=4k 
+ cp d/1 d/sub/2 
+ test 0 = 1 
+ stat --format=%bx%B a 
+ test 8x512 != 8x512 
+ stat --format=%bx%B d/1 
+ test 8x512 != 8x512 
fail=0
+ du -a a 
+ echo === 
+ du -a -S a 
+ echo === 
+ du -s a 
+ cat 
+ sed s/ *#.*// 
+ cmp out exp 
out exp differ: char 1, line 1
fail=1
+ test 1 = 1 
+ diff -u out exp 
--- out 2003-08-07 13:37:17.441967000 -0400
+++ exp 2003-08-07 13:37:17.484972000 -0400
@@ -1,9 +1,9 @@
-0      a/b/F
-4      a/b
-8      a
+4      a/b/F
+8      a/b
+12     a
 ===
-0      a/b/F
-4      a/b
+4      a/b/F
+8      a/b
 4      a
 ===
-8      a
+12     a
+ rm -f out exp 
+ du -a d 
+ sort -r -k2,2 
+ echo === 
+ du -S d 
+ sort -r -k2,2 
+ cat 
+ sed s/ *#.*// 
+ cmp out exp 
+ test 1 = 1 
+ diff out exp 
+ exit 1 
+ exit 1 
status=1
+ cd /u/shelton2/software/build/SunOS-5.5/coreutils-5.0.90/tests/du 
+ chmod -R u+rwx basic.tmp 
+ rm -rf basic.tmp 
+ exit 1 
FAIL: basic


3. 'shred' fails the remove test under both SunOS-5.5.1 and SunOS-5.8:
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ pwd 
pwd=/u/shelton2/software/build/SunOS-5.5/coreutils-5.0.90/tests/shred
tmp=exact.17218
+ trap status=$?; cd $pwd; rm -rf $tmp && exit $status 0 
+ trap (exit $?); exit 1 2 13 15 
framework_failure=0
+ mkdir exact.17218 
+ cd exact.17218 
+ test 0 = 1 
fail=0
+ echo a 
+ echo bb 
+ echo ccc 
+ shred --remove --exact a b 
+ test -f a 
+ test -f b 
+ shred --remove --exact c 
+ test -f c 
+ echo a 
+ echo bb 
+ echo ccc 
+ shred --remove --zero a b 
+ test -f a 
+ test -f b 
+ shred --remove --zero c 
+ test -f c 
+ exit 0 
+ exit 
status=0
+ cd /u/shelton2/software/build/SunOS-5.5/coreutils-5.0.90/tests/shred 
+ rm -rf exact.17218 
+ exit 0 
PASS: exact
======================================
1 of 2 tests failed
Please report to address@hidden
======================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory 
`/u/shelton2/software/build/SunOS-5.5/coreutils-5.0.90/tests/shred'
make: *** [check-am] Error 2

HTH!

Keep up the good work,
  Vin

-- 
In a minute there is time
For decisions and revisions which a minute will reverse.         T.S. Eliot
[URL: http://www.cs.amherst.edu/~ccm/prufrock.html]




reply via email to

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