bug-inetutils
[Top][All Lists]
Advanced

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

Re: [platform-testers] inetutils-2.5.90 released [alpha]


From: Bruno Haible
Subject: Re: [platform-testers] inetutils-2.5.90 released [alpha]
Date: Wed, 04 Sep 2024 16:27:52 +0200

Hi Simon,

> Please build and test it on any exotic (or non-exotic) systems
> you may have access to.

I did so by creating a many-platforms build at
https://github.com/gnu-inetutils/ci-check/actions/

(It doesn't take your tarball. It build off the git repository. But that
should be sufficiently close.)

Here are my findings so far:

================================================================================

Compilation error on Cygwin:

  CC       tftpsubs.o
../../libinetutils/tftpsubs.c:68:10: fatal error: arpa/tftp.h: No such file or 
directory
   68 | #include <arpa/tftp.h>
      |          ^~~~~~~~~~~~~

According to gnulib's database, <arpa/tftp.h> is missing on:
Cygwin 3.5.3, mingw, MSVC 14.

================================================================================

Compilation error on OpenBSD:

  CC       ftpcmd.o
In file included from ftpcmd.c:1:
In file included from ../lib/stdlib.h:49:
In file included from /usr/include/stdlib.h:42:
../lib/sys/types.h:28:3: error: "Please include config.h first."
 #error "Please include config.h first."
  ^

Explanation:
https://www.gnu.org/software/gnulib/manual/html_node/Include-_003cconfig_002eh_003e.html

================================================================================

Compilation error on mingw:

  CC       libgnu_a-poll.o
In file included from ../../lib/poll.c:21:
../config.h:3862:18: error: duplicate 'unsigned'
 3862 | #define sigset_t unsigned long
      |                  ^~~~~~~~

This is caused by inetutils/configure.ac:

# sigset_t is a set of signals (4.4BSD)
AC_CHECK_TYPE(sigset_t, ,
  [AC_DEFINE([sigset_t], unsigned long,
    [Define to `unsigned long' if not defined in <signal.h>])],
  [IU_FLUSHLEFT([#include <sys/types.h>
                 #include <signal.h> ])])

================================================================================

Compilation error on MSVC:

  CC       daemon.obj
daemon.c
../lib\signal.h(637): warning C4114: same type qualifier used more than once
D:\a\ci-check\ci-check\inetutils-2024-09-04\libinetutils\daemon.c(55): fatal 
error C1083: Cannot open include file: 'sys/wait.h': No such file or directory
make[2]: *** [Makefile:2203: daemon.obj] Error 2

Gnulib has a module that provides this header file:
https://www.gnu.org/software/gnulib/manual/html_node/sys_002fwait_002eh.html

================================================================================

Link error on Solaris 11 OmniOS:

  CCLD     hostname
Undefined                       first referenced
 symbol                             in file
gethostbyname                       hostname.o  (symbol belongs to implicit 
dependency /lib/amd64/libnsl.so.1)
ld: fatal: symbol referencing errors. No output written to hostname
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:2339: hostname] Error 1

gethostbyname is obsolete. Use getaddrinfo instead. For more info, see
https://www.gnu.org/software/gnulib/manual/html_node/getaddrinfo.html

================================================================================

Test failures on CentOS 7, AlmaLinux 9, Alpine Linux, with new clang:

FAIL: hostname.sh

hostname: sethostname: Operation not permitted
Failed to set hostname.

================================================================================

Bruno







reply via email to

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