bug-gnulib
[Top][All Lists]
Advanced

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

Re: build on Solaris 2.6


From: Bruno Haible
Subject: Re: build on Solaris 2.6
Date: Mon, 30 May 2011 12:20:22 +0200
User-agent: KMail/1.9.9

Tom G. Christensen wrote:
> This fixes the problem for me and allowed the full snapshot to be built
> and tested:
> =======================
> 36 of 857 tests failed
> (61 tests were not run)
> =======================
> 
> The full log can be seen here:
> http://jupiterrise.com/tmp/sol26-x86-gnulib-3532d15.log.gz
> http://jupiterrise.com/tmp/sol26-x86-gnulib-3532d15-config.log.gz

Thanks for the report and logs.

There are the following gcc warnings:

  In file included from classpath.c:18,
                   from csharpexec.c:39:
  ../config.h:4772:1: warning: "mbstate_t" redefined
  In file included from ./stdint.h:508,
                   from ./stdlib.h:63,
                   from ./unistd.h:83,
                   from ./stdio.h:114,
                   from csharpexec.c:24:
  ./wchar.h:426:1: warning: this is the location of the previous definition

Caused my an mbstate_t definition in <config.h> (from AC_TYPE_MBSTATE_T), and
gnulib's wchar.h then redefines it. In csharpexec.c the other definition comes
back, but this is harmless since it is not used.

  utimens.c: In function 'fdutimens':
  utimens.c:394: warning: implicit declaration of function 'utimes'

Harmless, since utimes() returns an 'int'.

  test-gethostname.c:24: warning: initialization from incompatible pointer type

gethostname is sometimes declared by <unistd.h> as
  extern int gethostname(char *, int);
Not worth working around. Already mentioned in
doc/posix-functions/gethostname.texi.

  test-getlogin_r.c:24: warning: initialization from incompatible pointer type

getlogin_r is declared by <unistd.h> as
  extern char *getlogin_r(char *, int);
Not worth working around.

  socket-server.h:50: warning: passing argument 4 of 'setsockopt' from 
incompatible pointer type
  test-poll.c:109: warning: passing argument 4 of 'setsockopt' from 
incompatible pointer type
  test-select.c:117: warning: passing argument 4 of 'setsockopt' from 
incompatible pointer type

'const void *' vs. 'const char *' in the declaration of setsockopt().

  socket-client.h:51: warning: passing argument 2 of 'connect' discards 
qualifiers from pointer target type

'const struct sockaddr *' vs. 'struct sockaddr *' in the declaration of
connect().

And the test failures were:

  test-flock.c:62: assertion failed
  FAIL: test-flock

Known failure. Can someone please take care of this?

  FAIL: test-getcwd

Unknown. Needs investigation. Volunteers?

  test-nanosleep.c:64: assertion failed
  FAIL: test-nanosleep

Unknown. Needs investigation. Volunteers?

  test-nl_langinfo.c:53: assertion failed
  Abort - core dumped
  FAIL: test-nl_langinfo.sh

Unknown. Needs investigation. Volunteers?

  test-nonblocking-writer.h:101: assertion failed
  Abort - core dumped
  FAIL: test-nonblocking-socket.sh

The machine is just a bit slow.

  test-perror2.c:112: assertion failed
  FAIL: test-perror2

Unknown. Needs investigation. Eric?

  General socket test with fork... failed (expecting POLLHUP after shutdown)
  Pipe test... passed
  FAIL: test-poll

Known failure. No one cares about test-poll apparently.

  FAIL: test-select-in.sh

Known failure. See the comments in this test.

  unicase/test-casecmp.h:34: assertion failed
  FAIL: test-u16-casecoll
  unicase/test-casecmp.h:34: assertion failed
  FAIL: test-u32-casecoll
  unicase/test-casecmp.h:34: assertion failed
  FAIL: test-u8-casecoll
  unicase/test-casecmp.h:34: assertion failed
  Abort - core dumped
  FAIL: unicase/test-ulc-casecmp1.sh
  unicase/test-casecmp.h:34: assertion failed
  Abort - core dumped
  FAIL: unicase/test-ulc-casecoll1.sh
  uninorm/test-u16-normcmp.h:34: assertion failed
  FAIL: test-u16-normcoll
  uninorm/test-u32-normcmp.h:34: assertion failed
  FAIL: test-u32-normcoll
  uninorm/test-u8-normcmp.h:34: assertion failed
  FAIL: test-u8-normcoll
  unistdio/test-u16-printf1.h:196: assertion failed
  FAIL: test-u16-vasnprintf1
  unistdio/test-u16-printf1.h:196: assertion failed
  Abort - core dumped
  FAIL: unistdio/test-u16-vasnprintf2.sh
  unistdio/test-u16-printf1.h:196: assertion failed
  FAIL: test-u16-vasprintf1
  unistdio/test-u16-printf1.h:196: assertion failed
  FAIL: test-u16-vsnprintf1
  unistdio/test-u16-printf1.h:196: assertion failed
  FAIL: test-u16-vsprintf1
  unistdio/test-u32-printf1.h:196: assertion failed
  FAIL: test-u32-vasnprintf1
  unistdio/test-u32-printf1.h:196: assertion failed
  Abort - core dumped
  FAIL: unistdio/test-u32-vasnprintf2.sh
  unistdio/test-u32-printf1.h:196: assertion failed
  FAIL: test-u32-vasprintf1
  unistdio/test-u32-printf1.h:196: assertion failed
  FAIL: test-u32-vsnprintf1
  unistdio/test-u32-printf1.h:196: assertion failed
  FAIL: test-u32-vsprintf1
  unistdio/test-u8-printf1.h:176: assertion failed
  FAIL: test-u8-vasnprintf1
  unistdio/test-u8-printf1.h:176: assertion failed
  Abort - core dumped
  FAIL: unistdio/test-u8-vasnprintf2.sh
  unistdio/test-u8-printf1.h:176: assertion failed
  FAIL: test-u8-vasprintf1
  unistdio/test-u8-printf1.h:176: assertion failed
  FAIL: test-u8-vsnprintf1
  unistdio/test-u8-printf1.h:176: assertion failed
  FAIL: test-u8-vsprintf1
  unistdio/test-ulc-printf1.h:63: assertion failed
  FAIL: test-ulc-vasnprintf1
  unistdio/test-ulc-printf1.h:63: assertion failed
  Abort - core dumped
  FAIL: unistdio/test-ulc-vasnprintf2.sh
  unistdio/test-ulc-printf1.h:63: assertion failed
  FAIL: test-ulc-vasprintf1
  unistdio/test-ulc-printf1.h:63: assertion failed
  FAIL: test-ulc-vsnprintf1
  unistdio/test-ulc-printf1.h:63: assertion failed
  FAIL: test-ulc-vsprintf1

These failures are all due to missing iconv() support in the system, and you
don't have GNU libiconv installed.

Bruno
-- 
In memoriam Otto Neururer <http://de.wikipedia.org/wiki/Otto_Neururer>



reply via email to

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