tests summary (was: AIX tests failures)

2006-06-12 Thread Ralf Wildenhues
[ sorry for replying to the wrong article, I'm still not subscribed ] Jim Meyering writes: If people like you exercise new releases and provide feedback about them (even if just to say it builds and passes make check on system X.Y.Z) on older systems, we'll be more likely to spend time

Re: AIX tests failures

2006-05-30 Thread Jim Meyering
Albert Chin [EMAIL PROTECTED] wrote: On Sun, May 28, 2006 at 07:58:24PM +0200, Jim Meyering wrote: I have to confess that I wonder if it's worth trying to work around bugs in AIX 4. Is it still officially supported? Is it used by many? I haven't had access to such a system for a few years

Re: AIX tests failures

2006-05-30 Thread Albert Chin
On Tue, May 30, 2006 at 11:25:14AM +0200, Jim Meyering wrote: Albert Chin [EMAIL PROTECTED] wrote: On Sun, May 28, 2006 at 07:58:24PM +0200, Jim Meyering wrote: I have to confess that I wonder if it's worth trying to work around bugs in AIX 4. Is it still officially supported? Is it used

Re: [bug-gnulib] Re: AIX tests failures

2006-05-30 Thread Bruno Haible
Ralf Wildenhues wrote: Not sure if I have much motivation for fighting this into glibc, but here you go. I'm unsure if conditionalizing away the #undef __strndup is wrong for some system. Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken, second has strnlen fixed, last has

Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Bruno Haible
Ralf Wildenhues wrote: Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken, second has strnlen fixed, last has both fixed) Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get checking whether strndup is declared... yes checking for working strndup... no checking whether

Re: [bug-gnulib] Re: AIX tests failures

2006-05-30 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Tue, May 30, 2006 at 09:11:04PM CEST: I added your patch to gnulib, with 4 modifications: Thanks for applying, your modifications are all good. + test $gl_cv_func_strndup = no + if test $gl_cv_func_strndup = no; then Was this intended redundancy or

Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Ralf Wildenhues
* Bruno Haible wrote on Tue, May 30, 2006 at 09:29:37PM CEST: Ralf Wildenhues wrote: Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken, second has strnlen fixed, last has both fixed) Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get checking whether strndup is

Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Bruno Haible
Ralf Wildenhues wrote: Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get checking whether strndup is declared... yes checking for working strndup... no checking whether strnlen is declared... yes checking for working strnlen... no (lslpp -L). The one I tested on has:

Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Albert Chin
On Tue, May 30, 2006 at 09:48:24PM +0200, Ralf Wildenhues wrote: * Bruno Haible wrote on Tue, May 30, 2006 at 09:29:37PM CEST: Ralf Wildenhues wrote: Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken, second has strnlen fixed, last has both fixed) Hmm? My results

Re: AIX tests failures

2006-05-30 Thread Albert Chin
On Sun, May 28, 2006 at 05:52:45PM +0200, Ralf Wildenhues wrote: ... AIX strndup is severely broken, at least on 4.3.3 and 5.1, similar to its strnlen; see also[1]. See for example this test: $ cat a.c \EOF #include stdio.h #include stdlib.h extern char *strndup (const char *,

Re: [bug-gnulib] AIX tests failures

2006-05-30 Thread Albert Chin
On Tue, May 30, 2006 at 10:27:48PM +0200, Bruno Haible wrote: Ralf Wildenhues wrote: Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get checking whether strndup is declared... yes checking for working strndup... no checking whether strnlen is declared... yes checking for

Re: AIX tests failures

2006-05-29 Thread Albert Chin
On Sun, May 28, 2006 at 05:52:45PM +0200, Ralf Wildenhues wrote: And yes, that happens with GCC as well. They simply forget the final `\0', I guess. As also mentioned here[2], the strndup declaration is #ifdef'ed away behind a _LINUX_SOURCE_COMPAT define. I guess Autoconf should have a

Re: AIX tests failures

2006-05-29 Thread Albert Chin
On Sun, May 28, 2006 at 07:58:24PM +0200, Jim Meyering wrote: I have to confess that I wonder if it's worth trying to work around bugs in AIX 4. Is it still officially supported? Is it used by many? I haven't had access to such a system for a few years now, and no one has been building

Re: AIX tests failures

2006-05-28 Thread Jim Meyering
Ralf Wildenhues [EMAIL PROTECTED] wrote: With coreutils 5.96, I get three failures on AIX 4.3.3, namely: cp/fail-perm, rm/inaccessible, help-version. Verbose output is below. The last one looks funny. :-) ... ! cp: accessing `symlink': The file access permissions do not allow the

Re: AIX tests failures

2006-05-28 Thread Ralf Wildenhues
Hi Jim, Thanks for fixing. Small nit: * Jim Meyering wrote on Sun, May 28, 2006 at 11:04:05AM CEST: Ralf Wildenhues [EMAIL PROTECTED] wrote: With coreutils 5.96, I get three failures on AIX 4.3.3, namely: ^^^ +# HPUX appears to fail with

Re: AIX tests failures

2006-05-28 Thread Jim Meyering
Ralf Wildenhues [EMAIL PROTECTED] wrote: With coreutils 5.96, I get three failures on AIX 4.3.3, namely: ^^^ +# HPUX appears to fail with EACCES rather than EPERM. This looks like an inconsistency to me. FWIW, I didn't see any

Re: AIX tests failures

2006-05-28 Thread Ralf Wildenhues
Hi Jim, * Jim Meyering wrote on Sun, May 28, 2006 at 11:22:42AM CEST: Ralf Wildenhues [EMAIL PROTECTED] wrote: With coreutils 5.96, I get three failures on AIX 4.3.3, namely: ^^^ +# HPUX appears to fail with EACCES rather than EPERM.

Re: AIX tests failures

2006-05-28 Thread Jim Meyering
Ralf Wildenhues [EMAIL PROTECTED] wrote: With coreutils 5.96, I get three failures on AIX 4.3.3, namely: cp/fail-perm, rm/inaccessible, help-version. ... rm: cannot remove `rel': The file access permissions do not allow the specified action. --- rm: cannot remove `rel': Permission denied

Re: AIX tests failures

2006-05-28 Thread Jim Meyering
Ralf Wildenhues [EMAIL PROTECTED] wrote: Ahh, thanks for the clarification. Speaking of trunk, I follow the :pserver:[EMAIL PROTECTED]:/cvsroot/coreutils CVS repository, both HEAD and branch b5_9x. Is that where development is happening though? Both have this as latest entry: |

Re: AIX tests failures

2006-05-28 Thread Ralf Wildenhues
Hi Jim, * Jim Meyering wrote on Sun, May 28, 2006 at 03:48:21PM CEST: Ralf Wildenhues [EMAIL PROTECTED] wrote: With coreutils 5.96, I get three failures on AIX 4.3.3, namely: cp/fail-perm, rm/inaccessible, help-version. $ env VERBOSE=yes TESTS=help-version make check-TESTS [...] + 0

Re: AIX tests failures

2006-05-28 Thread Jim Meyering
Ralf Wildenhues [EMAIL PROTECTED] wrote: Hi Jim, * Jim Meyering wrote on Sun, May 28, 2006 at 03:48:21PM CEST: Ralf Wildenhues [EMAIL PROTECTED] wrote: With coreutils 5.96, I get three failures on AIX 4.3.3, namely: cp/fail-perm, rm/inaccessible, help-version. $ env VERBOSE=yes

Re: AIX tests failures

2006-05-28 Thread Ralf Wildenhues
[ Cc:ing bug-gnulib ] * Jim Meyering wrote on Sun, May 28, 2006 at 07:58:24PM CEST: Ralf Wildenhues [EMAIL PROTECTED] wrote: ... AIX strndup is severely broken, at least on 4.3.3 and 5.1, similar to its strnlen; see also[1]. See for example this test: I have to confess that I wonder if

Re: AIX tests failures

2006-05-28 Thread Paul Eggert
Ralf Wildenhues [EMAIL PROTECTED] writes: I only saw Paul's message after mostly finishing this one, so feel free to decide as you like. (I don't know whether Gnulib intends to target systems that are apparently not of interest to coreutils any more.) The general rule I use with gnulib-like

AIX tests failures

2006-05-27 Thread Ralf Wildenhues
With coreutils 5.96, I get three failures on AIX 4.3.3, namely: cp/fail-perm, rm/inaccessible, help-version. Verbose output is below. The last one looks funny. :-) Cheers, Ralf $ TESTS=fail-perm VERBOSE=yes make -e check make check-TESTS + cp --version cp (GNU coreutils) 5.96