Anybody recognize this?

Hal Murray hmurray at megapathdsl.net
Fri Dec 18 12:27:05 UTC 2015


This happens on a DigitalOcean cloud box.  It's running Fedora 22.  (I have a 
Fedora 22 at home that works fine.)

I have what seems like a simple mod to wscript to not build the pieces needed 
for check until I want to run them.  The standard wscript works as expected.  
I've been using the modified version at home for a week or more without 
problems.  What's happening here?

diff --git a/wscript b/wscript
index 1ade3f6..cda5d02 100644
--- a/wscript
+++ b/wscript
@@ -127,7 +127,7 @@ def build(ctx):
        ctx.recurse("ntpkeygen")
        ctx.recurse("ntptime")
        ctx.recurse("util")
-       ctx.recurse("tests")
+#      ctx.recurse("tests")
 
 
        subst_scripts = [
@@ -150,6 +150,7 @@ def build(ctx):
 
        # Force re-running of tests.  Same as 'waf --alltests'
        if ctx.cmd == "check":
+               ctx.recurse("tests")
                ctx.options.all_tests = True
 
                # Print log if -v is supplied

----------

[186/194] Linking first/tests/test_libntp
tests/libntp/netof.c.3.o: In function `IsEqualS':
/home/murray/ntpsec/play/first/../tests/libntp/sockaddrtest.h:8: multiple 
definition of `IsEqualS'
tests/libntp/decodenetnum.c.3.o:/home/murray/ntpsec/play/first/../tests/libntp
/sockaddrtest.h:8: first defined here
tests/libntp/netof.c.3.o: In function `CreateSockaddr4':
/home/murray/ntpsec/play/first/../tests/libntp/sockaddrtest.h:38: multiple 
definition of `CreateSockaddr4'
tests/libntp/decodenetnum.c.3.o:/home/murray/ntpsec/play/first/../tests/libntp
/sockaddrtest.h:38: first defined here
tests/libntp/socktoa.c.3.o: In function `IsEqualS':
/home/murray/ntpsec/play/first/../tests/libntp/sockaddrtest.h:8: multiple 
definition of `IsEqualS'
tests/libntp/decodenetnum.c.3.o:/home/murray/ntpsec/play/first/../tests/libntp
/sockaddrtest.h:8: first defined here
tests/libntp/socktoa.c.3.o: In function `CreateSockaddr4':
/home/murray/ntpsec/play/first/../tests/libntp/sockaddrtest.h:38: multiple 
definition of `CreateSockaddr4'
tests/libntp/decodenetnum.c.3.o:/home/murray/ntpsec/play/first/../tests/libntp
/sockaddrtest.h:38: first defined here
tests/common/sockaddrtest.c.3.o: In function `IsEqualS':
/home/murray/ntpsec/play/first/../tests/common/sockaddrtest.c:8: multiple 
definition of `IsEqualS'
tests/libntp/decodenetnum.c.3.o:/home/murray/ntpsec/play/first/../tests/libntp
/sockaddrtest.h:8: first defined here
tests/common/sockaddrtest.c.3.o: In function `CreateSockaddr4':
/home/murray/ntpsec/play/first/../tests/common/sockaddrtest.c:38: multiple 
definition of `CreateSockaddr4'
tests/libntp/decodenetnum.c.3.o:/home/murray/ntpsec/play/first/../tests/libntp
/sockaddrtest.h:38: first defined here
collect2: error: ld returned 1 exit status

-------------

Setting top to                           : /home/murray/ntpsec/play
Setting out to                           : /home/murray/ntpsec/play/first
Checking for 'gcc' (C compiler)          : /usr/lib64/ccache/gcc
Checking for program 'bison'             : /usr/bin/bison
Checking compiler                        : yes
Compiler found                           : GCC
Checking build target                    : unix
Checking for program 'awk'               : /usr/bin/awk
Checking for program 'perl'              : /usr/bin/perl
Checking for program 'sh'                : /usr/bin/sh
Checking for program 'asciidoc'          : not found
Checking for program 'a2x'               : not found
Building version                         : 0.9.0-first
Checking for type int32_t                : yes
Checking for type int64_t                : yes
Checking for type intptr_t               : yes
Checking for type pid_t                  : yes
Checking for type size_t                 : yes
Checking for type uint32_t               : yes
Checking for type uint64_t               : yes
Checking for type uint_t                 : no
Checking for type uintptr_t              : yes
Checking for type wint_t                 : no
Checking for type struct if_laddrconf    : no
Checking for type struct if_laddrreq     : no
Checking for type struct timex           : yes
Checking for type struct ntptimeval      : yes
Checking for time_tick in struct timex   : no
Checking for modes in struct timex       : yes
Checking for time.tv_nsec in struct ntptimeval : no
Checking sizeof int                            : 4
Checking sizeof long                           : 8
Checking sizeof long long                      : 8
Checking sizeof short                          : 2
Checking sizeof signed char                    : 1
Checking sizeof pthread_t (pthread.h)          : 8
Checking sizeof time_t (time.h)                : 8
Checking for multicast capability              : yes
Checking for library edit                      : not found
Checking for library m                         : yes
Checking for library ossaudio                  : not found
Checking for library pthread                   : yes
Checking for library rt                        : yes
Checking for library readline                  : not found
Checking for library thr                       : not found
Checking for library gcc_s                     : yes
Checking for function adjtimex                 : yes
Checking for function arc4random               : no
Checking for function arc4random_buf           : no
Checking for function closefrom                : no
Checking for function clock_gettime            : yes
Checking for function clock_settime            : yes
Checking for function EVP_MD_do_all_sorted     : no
Checking for function getclock                 : no
Checking for function getdtablesize            : yes
Checking for function getpassphrase            : no
Checking for function MD5Init                  : no
Checking for function ntp_adjtime              : yes
Checking for function ntp_gettime              : yes
Checking for function pthread_attr_getstacksize : yes
Checking for function pthread_attr_setstacksize : yes
Checking for function res_init                  : yes
Checking for function rtprio                    : no
Checking for function sched_setscheduler        : yes
Checking for function settimeofday              : yes
Checking for function strlcpy                   : no
Checking for function strlcat                   : no
Checking for function sysconf                   : yes
Checking for function timegm                    : yes
Checking for function timer_create              : no
Checking for function updwtmpx                  : no
Checking for header stdbool.h                   : yes
Checking for header alloca.h                    : yes
Checking for header arpa/nameser.h              : yes
Checking for header dns_sd.h                    : not found
Checking for header histedit.h                  : not found
Checking for header ieeefp.h                    : not found
Checking for header ifaddrs.h                   : yes
Checking for header libintl.h                   : yes
Checking for header libscf.h                    : not found
Checking for header linux/if_addr.h             : yes
Checking for header linux/rtnetlink.h           : yes
Checking for header linux/serial.h              : yes
Checking for header machine/soundcard.h         : not found
Checking for header md5.h                       : no
Checking for header net/if6.h                   : not found
Checking for header net/route.h                 : yes
Checking for header netinfo/ni.h                : not found
Checking for header priv.h                      : not found
Checking for header readline/readline.h         : no
Checking for header readline/history.h          : no
Checking for header resolv.h                    : yes
Checking for header semaphore.h                 : yes
Checking for header stdatomic.h                 : yes
Checking for header sys/audioio.h               : not found
Checking for header sys/ioctl.h                 : yes
Checking for header sys/modem.h                 : not found
Checking for header sys/prctl.h                 : yes
Checking for header sys/procset.h               : not found
Checking for header sys/sockio.h                : not found
Checking for header sys/soundcard.h             : yes
Checking for header sys/sysctl.h                : yes
Checking for header sys/systune.h               : not found
Checking for header timepps.h                   : no
Checking for header sys/timepps.h               : no
Checking for header event2/event.h              : yes
Checking for header event2/thread.h             : yes
Checking for library event_core                 : yes
Checking for library event_pthreads             : yes
Checking if libevent2 works                     : yes
Checking for header sys/capability.h            : not found
Checking for library cap                        : not found
Checking for type sockaddr_storage              : yes
Checking for sockaddr->sa_len                   : no
Checking for POSIX thread version 10            : yes
Checking for library dns_sd                     : not found
Checking for header dns_sd.h                    : not found
Checking if mDNSResponder works                 : no
Checking for header sys/timex.h                 : yes
Checking for %m expansion in vsnprintf(3)       : yes
Writing configuration header:                   : config.h

Build Options
  CC                            :  /usr/lib64/ccache/gcc
  CFLAGS                        :  -g -Wall -Wextra
  LDFLAGS                       :
  PREFIX                        :  /usr/local
  Debug Support                 :  Yes
  Refclocks                     :
  Build Manpages                :  No
'configure' finished successfully (5.418s)


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list