John Smith | 13 Feb 2012 21:22
Picon

Error report.

=========================================
   GNU M4 1.4.16: tests/test-suite.log  
=========================================

1 of 116 tests failed.  (14 tests were not run). 

.. contents:: :depth: 2


SKIP: test-c-stack2.sh (exit: 77)
=================================

cannot tell stack overflow from crash; consider installing libsigsegv

SKIP: test-mbrtowc4.sh (exit: 77)
=================================

Skipping test: no transitional chinese locale is installed

SKIP: test-mbrtowc-w32-1.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-2.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-3.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-4.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-5.sh (exit: 77)
======================================

Skipping test: not a native Windows system

FAIL: test-readlink (exit: 134)
===============================

test-readlink.h:41: assertion failed

SKIP: test-vc-list-files-git.sh (exit: 77)
==========================================

test-vc-list-files-git.sh: skipped test: git not found in PATH

SKIP: test-vc-list-files-cvs.sh (exit: 77)
==========================================

test-vc-list-files-cvs.sh: skipped test: cvs not found in PATH

SKIP: test-wcrtomb-w32-1.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-2.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-3.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-4.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-5.sh (exit: 77)
======================================

Skipping test: not a native Windows system

Eric Blake | 13 Feb 2012 21:38
Picon
Favicon
Gravatar

Re: Error report.

On 02/13/2012 01:22 PM, John Smith wrote:
> =========================================
>    GNU M4 1.4.16: tests/test-suite.log
> =========================================
> 
> 1 of 116 tests failed.  (14 tests were not run).

Thanks for the report.

> FAIL: test-readlink (exit: 134)
> ===============================
> 
> test-readlink.h:41: assertion failed

This is due to a known POSIX-compliance bug in the kernel/glibc
combination you are using, and has since been worked around in upstream
gnulib.  The next m4 release will not suffer from this test failure.

Meanwhile, you can use the just-built m4 without issues, as it does not
tickle the particular readlink compliance bug.

--

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Michael Felt | 26 Feb 2012 19:54
Picon

Fwd: AIX failed two tests

AIX 5.3 TL 07, vacpp v7 compiler

CFLAGS=
CC=

./configure --prefix=/opt --mandir=/usr/share/man

---------- Forwarded message ----------
From: <root <at> x105.xfeltx.nl>
Date: Sun, Feb 26, 2012 at 7:47 PM
Subject: AIX failed two tests
To: mamfelt <at> gmail.com


=========================================
  GNU M4 1.4.16: tests/test-suite.log
=========================================

2 of 110 tests failed.  (20 tests were not run).

.. contents:: :depth: 2


SKIP: test-btowc1.sh (exit: 77)
===============================

Skipping test: no traditional french locale is installed

SKIP: test-btowc2.sh (exit: 77)
===============================

Skipping test: no french Unicode locale is installed

FAIL: test-link (exit: 134)
===========================

test-link.h:139: assertion failed

SKIP: test-mbrtowc1.sh (exit: 77)
=================================

Skipping test: no traditional french locale is installed

SKIP: test-mbrtowc2.sh (exit: 77)
=================================

Skipping test: no french Unicode locale is installed

SKIP: test-mbrtowc3.sh (exit: 77)
=================================

Skipping test: no traditional japanese locale is installed

SKIP: test-mbrtowc4.sh (exit: 77)
=================================

Skipping test: no transitional chinese locale is installed

SKIP: test-mbrtowc-w32-1.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-2.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-3.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-4.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbrtowc-w32-5.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-mbsinit.sh (exit: 77)
================================

Skipping test: no french Unicode locale is installed

SKIP: test-setlocale1.sh (exit: 77)
===================================

Skipping test: no locale for testing is installed

FAIL: test-vasprintf-posix (exit: 134)
======================================

test-vasprintf-posix.c:3541: assertion failed

SKIP: test-vc-list-files-git.sh (exit: 77)
==========================================

test-vc-list-files-git.sh: skipped test: git not found in PATH

SKIP: test-vc-list-files-cvs.sh (exit: 77)
==========================================

test-vc-list-files-cvs.sh: skipped test: cvs not found in PATH

SKIP: test-wcrtomb-w32-1.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-2.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-3.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-4.sh (exit: 77)
======================================

Skipping test: not a native Windows system

SKIP: test-wcrtomb-w32-5.sh (exit: 77)
======================================

Skipping test: not a native Windows system

Eric Blake | 27 Feb 2012 16:41
Picon
Favicon
Gravatar

Re: Fwd: AIX failed two tests

[adding bug-gnulib]

On 02/26/2012 11:54 AM, Michael Felt wrote:
> AIX 5.3 TL 07, vacpp v7 compiler
> 
> CFLAGS=
> CC=
> 
> ./configure --prefix=/opt --mandir=/usr/share/man
> 

> 
> FAIL: test-link (exit: 134)
> ===========================
> 
> test-link.h:139: assertion failed
> 

> 
> FAIL: test-vasprintf-posix (exit: 134)
> ======================================
> 
> test-vasprintf-posix.c:3541: assertion failed

Thanks for the report.  These failures are both in gnulib code, and
gnulib has had quite a few improvements since m4 1.4.16 was released;
perhaps one of these improvements has worked around an AIX issue.
Meanwhile, upstream gnulib documents that AIX 6.1 and newer are
occasionally tested, while AIX 5.1 and newer (including your 5.3) is
rarely tested; I wouldn't be surprised if the problems still persist in
upstream gnulib because your platform is so old.

At any rate, if you are willing to help contribute to gnulib to port to
your platform, we can follow up on the gnulib list on how best to go
about addressing these test failures.  And in the meantime; it's
probably just fine for you to install your just-built m4, in spite of
the test failures, as m4 probably won't tickle those particular bugs.

--

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Eric Blake | 2 Mar 2012 14:53
Picon
Favicon
Gravatar

bug in $(wildcard) with trailing slash

Make fails to restrict output to just directories when a wildcard
contains both a trailing slash and internal slashes, even though it does
the right thing with no internal slashes.

$ mkdir /tmp/example
$ cd /tmp/example/
$ touch a
$ mkdir b
$ printf 'all:\n\t <at> echo $(wildcard */)' | make -f -
b/
$ printf 'all:\n\t <at> echo $(wildcard ./*/)' | make -f -
./b/ ./a

Both invocations should have omitted a, since the trailing slash cannot
match a non-directory (other than a symlink to a directory).

$ make --version | head -n2
GNU Make 3.82
Built for x86_64-redhat-linux-gnu

I encountered this while writing a macro for libvirt; as a workaround, I
ended up using a trailing /. to force just directories, then using
$(patsubst) to strip things back to what I wanted in the first place.

cross_dirs=$(patsubst $(srcdir)/src/%.,%,$(wildcard $(srcdir)/src/*/.))

--

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Eric Blake | 2 Mar 2012 14:56
Picon
Favicon
Gravatar

Re: bug in $(wildcard) with trailing slash

On 03/02/2012 06:53 AM, Eric Blake wrote:
> Make fails to restrict output to just directories when a wildcard
> contains both a trailing slash and internal slashes, even though it does
> the right thing with no internal slashes.

Sorry about that; I meant bug-make, but my mailer autocompleted to the
wrong list.

--

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


Gmane