bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] Unable to build HEAD on Solaris 9 & 10


From: Tom Christensen
Subject: [Bug-tar] Unable to build HEAD on Solaris 9 & 10
Date: Thu, 10 Jul 2014 21:17:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hello,

I just bootstrapped HEAD and tried to build it on Solaris 9 & 10.

Unfortunately there are a few problems building it:
 CC       checkpoint.o
checkpoint.c: In function 'getwidth':
checkpoint.c:146:18: error: storage size of 'ws' isn't known
   struct winsize ws;
                  ^
checkpoint.c:149:28: error: 'TIOCGWINSZ' undeclared (first use in this function) if ((ioctl (fileno (fp), TIOCGWINSZ, (char *) &ws) < 0) || ws.ws_col == 0)
                            ^

This can be worked around by adding #include <termios.h>.

The build then proceeds but ultimately fails:
  CCLD     tar
Undefined                       first referenced
 symbol                             in file
faccessat                           exclist.o
ld: fatal: Symbol referencing errors. No output written to tar

I redid the bootstrap with faccessat added to gnulib.modules and then the build can be completed.

The testsuite cannot be built on Solaris 9:
  CC       ttyemu.o
ttyemu.c: In function 'main':
ttyemu.c:352:17: error: 'TIOCSCTTY' undeclared (first use in this function)
       ioctl (0, TIOCSCTTY, 1);
                 ^


On Solaris 10 I could build and run the testsuite but two tests fail:
 25: terminal input                                  FAILED (iotty.at:29)
87: incremental dump when the parent directory is unreadable FAILED (listed03.at:27)

-tgc



reply via email to

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