bug-coreutils
[Top][All Lists]
Advanced

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

bug#14024: Test failure in coreutils 8.13


From: Pádraig Brady
Subject: bug#14024: Test failure in coreutils 8.13
Date: Wed, 27 Mar 2013 13:13:02 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 03/27/2013 11:47 AM, Ellis N. Thomas wrote:
> Pádraig,
> 
>     Thanks for your response and provision of 8.21.
> 
>     I have  rebuilt coreutils just to see if the test bug
> is still present.  Unfortunately, this shows two more!

>     Results of grep FAIL: tests/test-suite.log
> FAIL: tests/cp/nfs-removal-race.sh (exit: 99)
> FAIL: tests/ls/getxattr-speedup.sh (exit: 99)

Both of those are caused by:

> + gcc -std=gnu99 -shared -fPIC -O2 k.c -o k.so
> Undefined symbols:
>   "_main", referenced from:
>       start in crt1.10.5.o
> ld: symbol(s) not found

It seems like older  OS X doesn't support the gcc -shared option:
http://blog.yimingliu.com/2008/01/23/building-dynamic-library-on-os-x/
The attached should avoid those tests on your platform.

As for:

> FAIL: tests/install/install-C.sh (exit: 1)

> + echo test

> + ginstall -Cv -m0644 a b

> + ginstall -Cv -m0644 a b
> + compare out out_empty

> + diff -u out out_empty
> --- out    2013-03-27 10:44:28.000000000 +0000
> +++ out_empty    2013-03-27 10:44:28.000000000 +0000
> @@ -1,2 +0,0 @@
> -removed 'b'
> -'a' -> 'b'
> + fail=1

This might actually be a problem in ginstall, but I don't have enough
info to diagnose. Could you indicate the file system you're using,
give the output of:

echo test > a
ginstall -Cv -m0644 a b
stat a b
ginstall -Cv -m0644 a b

thanks,
Pádraig.

Attachment: osx-shared.patch
Description: Text Data


reply via email to

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