(view as text)
scons CC=clang CXX=clang++
 in dir /home/buildbot/slave-clang/full5/build/xorp (timeout 1200 secs)
 watching logfiles {}
 argv: ['scons', 'CC=clang', 'CXX=clang++']
 environment:
  CCACHE_HASHDIR=
  CVS_RSH=ssh
  G_BROKEN_FILENAMES=1
  HISTCONTROL=ignoredups
  HISTSIZE=1000
  HOME=/home/buildbot
  HOSTNAME=grok2
  LANG=en_US.UTF-8
  LESSOPEN=||/usr/bin/lesspipe.sh %s
  LOGNAME=buildbot
  LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
  MAIL=/var/spool/mail/buildbot
  MAKEFLAGS=
  MAKELEVEL=1
  MFLAGS=
  OLDPWD=/home/buildbot/slave
  PATH=/usr/lib/qt-3.3/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/home/buildbot/bin
  PWD=/home/buildbot/slave-clang/full5/build/xorp
  QTDIR=/usr/lib/qt-3.3
  QTINC=/usr/lib/qt-3.3/include
  QTLIB=/usr/lib/qt-3.3/lib
  SHELL=/bin/bash
  SHLVL=1
  SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
  TERM=xterm
  USER=buildbot
  XDG_RUNTIME_DIR=/run/user/greearb
  XDG_SESSION_ID=4
  _=/usr/bin/make
 using PTY: False
[?1034hscons: Reading SConscript files ...
Mkdir("/home/buildbot/slave-clang/full5/build/xorp/obj/i686-pc-linux-gnu")
Mkdir("/home/buildbot/slave-clang/full5/build/xorp/obj/i686-pc-linux-gnu")
Build System Type:  i686-pc-linux-gnu
Host System Type:   i686-pc-linux-gnu
Source path:        /home/buildbot/slave-clang/full5/build/xorp
Build path:         /home/buildbot/slave-clang/full5/build/xorp/obj/i686-pc-linux-gnu
Install prefix:     /usr/local/xorp
CC:                clang
CXX:               clang++
RANLIB:            ranlib
STRIP:             strip
Strip binaries:    True
Optimize code:     full
Profile code:      no
Default XRL transport: local
Shared libraries:  True
Use rtld ORIGIN:   True
Ignore check errors:  False
Debug symbols:     full
Debug STL:         False
Debug messages:    False
Debug function names:  False
Debug callbacks:   False
Debug XRL syntax:  False
Enable OLSR:       True
Enable OSPF:       True
Enable RIP:        True
Enable VRRP:       True
Enable xorpsh      True
Enable Test Programs:  False
Enable CLICK:      False
Enable FEA Dummy:  True
Enable async method impls:  False
Enable BGP:        True
Enable BuildInfo:  True
Try Enable BOOST:  False
Try Enable uSTL :  False
Disable IPv6:      False
Disable libtecla:  False
Disable Firewall:  False
Disable Profile :  False
Disable warning logs :  False
Disable error logs :  False
Disable trace logs :  False
Disable fatal logs :  False
Disable info logs :  False
Disable assert logs :  False
Disable other logs :  False
Creating build_info.cc: file doesn't exist yet.
/home/buildbot/slave-clang/full5/build/xorp
Checking for C header file endian.h... yes
OK:  c compiler appears functional.
OK:  C++ compiler appears functional.
Checking for C header file iphlpapi.h... no
Checking for C header file routprot.h... no
Checking for C header file stdint.h... yes
Checking for C header file inttypes.h... yes
Checking for C type int8_t... yes
Checking for C type uint8_t... yes
Checking for C type int16_t... yes
Checking for C type uint16_t... yes
Checking for C type int32_t... yes
Checking for C type uint32_t... yes
Checking for C type int64_t... yes
Checking for C type uint64_t... yes
Checking for C header file stddef.h... yes
Checking for C header file stdarg.h... yes
Checking for C header file stdlib.h... yes
Checking for C header file strings.h... yes
Checking for C header file string.h... yes
Checking for C header file signal.h... yes
Checking for C header file math.h... yes
Checking for C header file memory.h... yes
Checking for C function strftime()... yes
Checking for C function strlcpy()... no
Checking for C function strlcat()... no
Checking whether va_copy is declared... yes
Checking for C header file sys/types.h... yes
Checking for C header file fcntl.h... yes
Checking for C header file getopt.h... yes
Checking for C header file glob.h... yes
Checking for C header file grp.h... yes
Checking for C header file pthread.h... yes
Checking for C header file pwd.h... yes
Checking for C header file mqueue.h... yes
Checking for C header file regex.h... yes
Checking for C header file syslog.h... yes
Checking for C header file termios.h... yes
Checking for C header file time.h... yes
Checking for C header file unistd.h... yes
Checking for C header file vfork.h... no
Checking for C function readv()... yes
Checking for C function strerror()... yes
Checking for C function syslog()... yes
Checking for C function uname()... yes
Checking for C function writev()... yes
Checking for C library xnet... no
Checking for C function recvmsg()... yes
Checking for C function sendmsg()... yes
Checking for C library rt... yes
Checking for C function clock_gettime()... yes
Checking whether CLOCK_MONOTONIC is declared... yes
Checking whether CLOCK_MONOTONIC_FAST is declared... no
Checking for C type struct timespec... yes
Checking for C header file paths.h... yes
Checking for C header file sysexits.h... yes
Checking for C function realpath()... yes
Checking for C function strptime()... yes
Checking for C function sysctl()... yes
Checking for C header file netdb.h... yes
Checking for C library resolv... yes
Checking for C function hstrerror()... yes
Checking for C header file sys/cdefs.h... yes
Checking for C header file sys/param.h... yes
Checking for C header file sys/utsname.h... yes
Checking for C header file sys/errno.h... yes
Checking for C header file sys/wait.h... yes
Checking for C header file sys/signal.h... yes
Checking for C header file sys/time.h... yes
Checking for C header file sys/uio.h... yes
Checking for C header file sys/ioctl.h... yes
Checking for C header file sys/select.h... yes
Checking for C header file sys/socket.h... yes
Checking for C header file sys/sockio.h... no
Checking for C header file sys/un.h... yes
Checking for C header file sys/mount.h... yes
Checking for C header file sys/resource.h... yes
Checking for C header file sys/stat.h... yes
Checking for C header file sys/syslog.h... yes
Checking for C header file sys/linker.h... no
Checking for C header file sys/sysctl.h... yes
Checking for C header file linux/types.h... yes
Checking for C header file linux/sockios.h... yes
Checking for C type struct iovec... yes
Checking for C type struct msghdr... yes
Checking for C type struct cmsghdr... yes
Checking whether AF_INET is declared... yes
Checking whether AF_INET6 is declared... yes
Checking whether SOCK_STREAM is declared... yes
Checking whether SOCK_DGRAM is declared... yes
Checking whether SOCK_RAW is declared... yes
Checking whether C type struct msghdr has member msg_control... yes
Checking whether C type struct msghdr has member msg_iov... yes
Checking whether C type struct msghdr has member msg_name... yes
Checking whether C type struct msghdr has member msg_namelen... yes
Checking whether C type struct sockaddr has member sa_len... no
Checking whether C type struct sockaddr_storage has member ss_len... no
Checking whether C type struct sockaddr_un has member sun_len... no
Checking for C header file net/ethernet.h... yes
Checking for C header file sys/ethernet.h... no
Checking for C header file net/if.h... yes
Checking for C header file net/if_arp.h... yes
Checking for C header file net/if_dl.h... no
Checking for C header file net/if_ether.h... no
Checking for C header file net/if_media.h... no
Checking for C header file net/if_var.h... no
Checking for C header file net/if_types.h... no
Checking for C header file net/route.h... yes
Checking for C header file ifaddrs.h... yes
Checking for C header file stropts.h... no
Checking for C header file linux/ethtool.h... yes
Checking for C header file linux/if_tun.h... yes
Checking for C header file linux/netlink.h... yes
Checking for C header file linux/rtnetlink.h... yes
Checking whether RTA_TABLE is declared... yes
Checking whether C type struct sockaddr_dl has member sdl_len... no
Checking whether C type struct ifreq has member ifr_hwaddr... yes
Checking whether C type struct ifreq has member ifr_ifindex... yes
Checking for C function ether_aton()... yes
Checking for C function ether_aton_r()... yes
Checking for C function ether_ntoa()... yes
Checking for C function ether_ntoa_r()... yes
Checking for C function getaddrinfo()... yes
Checking for C function getifaddrs()... yes
Checking for C function getnameinfo()... yes
Checking for C function if_indextoname()... yes
Checking for C function if_nametoindex()... yes
Checking for C function inet_ntop()... yes
Checking for C function inet_pton()... yes
Checking for C type struct ether_addr... yes
Checking whether system has sysctl NET_RT_DUMP... no
Checking whether system has sysctl NET_RT_IFLIST... no
Checking whether SIOCGIFCONF is declared... yes
Checking for C header file netinet/in.h... yes
Checking for C header file netinet/in_systm.h... yes
Checking for C header file netinet/in_var.h... no
Checking for C header file netinet/ip.h... yes
Checking for C header file netinet/tcp.h... yes
Checking for C header file netinet/igmp.h... yes
Checking for C header file netinet/ether.h... yes
Checking for C header file netinet/if_ether.h... yes
Checking for C header file inet/nd.h... no
Checking for C header file inet/ip.h... no
Checking for C header file arpa/inet.h... yes
Checking for C header file arpa/telnet.h... yes
Checking whether C type struct sockaddr_in has member sin_len... no
Checking whether IP_MULTICAST_IF is declared... yes
Checking whether IP_MULTICAST_TTL is declared... yes
Checking whether IP_MULTICAST_LOOP is declared... yes
Checking whether IP_ADD_MEMBERSHIP is declared... yes
Checking whether IP_DROP_MEMBERSHIP is declared... yes
Enabling MULT_MCAST_TABLES logic since we are compiling for Linux.

Checking whether system has sysctl IPCTL_FORWARDING... no
Checking whether __KAME__ is declared... no
Checking whether inet6_opt_init is declared... yes
Checking whether C type struct sockaddr_in6 has member sin6_len... no
Checking whether C type struct sockaddr_in6 has member sin6_scope_id... yes
Checking for C header file netinet/ip6.h... yes
Checking for C header file netinet/icmp6.h... yes
Checking for C type struct mld_hdr... yes
Checking for C header file netinet6/in6_var.h... no
Checking for C header file netinet6/nd6.h... no
Checking for C++ header file netinet6/nd6.h... no
Checking whether system has sysctl IPV6CTL_FORWARDING... no
Checking whether system has sysctl IPV6CTL_ACCEPT_RTADV... no
Checking whether IPV6_MULTICAST_IF is declared... yes
Checking whether IPV6_MULTICAST_LOOP is declared... yes
Checking whether fpclassify is declared... yes
Checking for C header file netinet/ip_mroute.h... no
Checking for C header file net/ip_mroute/ip_mroute.h... no
Checking for C header file linux/mroute.h... yes
Checking for C type struct mfcctl2... no
Checking whether C type struct mfcctl2 has member mfcc_flags... no
Checking whether C type struct mfcctl2 has member mfcc_rp... no
Checking for C header file netinet/pim.h... no
Checking for C type struct pim... no
Checking whether C type struct pim has member pim_vt... no
Checking for C header file netinet6/ip6_mroute.h... no
Checking for C header file linux/mroute6.h... yes
Checking whether inet6_option_space is declared... no
Checking for C type struct mf6cctl2... no
Checking whether C type struct mf6cctl2 has member mf6cc_flags... no
Checking whether C type struct mf6cctl2 has member mf6cc_rp... no
Checking whether C type struct mif6ctl has member vifc_threshold... yes
Checking for C header file netinet/ip_compat.h... no
Checking for C header file netinet/ip_fil.h... no
Checking for C header file netinet/ip_fw.h... no
Checking for C header file net/pfvar.h... no
Checking for C++ header file linux/netfilter_ipv4/ip_tables.h... no
Checking for C++ header file linux/netfilter_ipv6/ip6_tables.h... no
Checking for C header file net/if_vlanvar.h... no
Checking for C header file net/if_vlan_var.h... no
Checking for C header file net/vlan/if_vlan_var.h... no
Checking for C header file linux/if_vlan.h... yes
Checking whether GET_VLAN_REALDEV_NAME_CMD is declared... yes
Checking whether GET_VLAN_VID_CMD is declared... yes
Checking for C header file pcre.h... no
Checking for C header file pcreposix.h... no
Checking for C library pcre... no
Checking for C library pcreposix... no
Checking for C header file openssl/md5.h... yes
Checking for C library crypto... yes
Checking for C function MD5_Init()... yes
Checking for C header file dlfcn.h... yes
Checking for C library dl... yes
Checking for C function dlopen()... yes
Checking for C header file pcap.h... yes
Checking for C library pcap... yes
Checking for C function pcap_sendpacket()... yes
Checking for C header file pcap-bpf.h... yes

WARNING: Netfilter include files are broken or do not exist.
  This means the Linux firewall support will not be compiled in.
  To fix, you may edit: /usr/include/linux/netfilter_ipv4/ip_tables.h
  line 222 or so, to look like this:
  /* Helper functions */
  static __inline__ struct ipt_entry_target *
  ipt_get_target(struct ipt_entry *e)
{
        /* BEN:  Was void* */
        return (struct ipt_entry_target *)((char*)e + e->target_offset);
}

You will also want to edit similar code around line 282 of:
/usr/include/linux/netfilter_ipv6/ip6_tables.h
NOTE:  Recent kernels use struct xt_entry_target for the argument
   for these methods, so use that instead of ipt_entry_target if that
   is the case for your system.
Checking for C library curses... yes
Checking for C library pdcurses... no
Checking for C library ncurses... yes
Detected libraries: rt resolv crypto dl pcap curses ncurses
Mkdir("/home/buildbot/slave-clang/full5/build/xorp/obj/i686-pc-linux-gnu/lib")
Mkdir("/home/buildbot/slave-clang/full5/build/xorp/obj/i686-pc-linux-gnu/lib/xorp")
Symlink("/home/buildbot/slave-clang/full5/build/xorp/obj/i686-pc-linux-gnu/lib", as "/home/buildbot/slave-clang/full5/build/xorp/obj/i686-pc-linux-gnu/lib/xorp/lib")

scons: warning: Two different environments were specified for target aspath.os,
	but they appear to have the same action: $SHCXX -o $TARGET -c $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
File "/home/buildbot/slave-clang/full5/build/xorp/bgp/SConscript", line 169, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: Configure: creating obj/i686-pc-linux-gnu/xorp_config.h
clang++ -o obj/i686-pc-linux-gnu/cli/tools/cli_generic.o -c -O2 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -fno-color-diagnostics -DXORP_BUILDINFO -DXRL_PF=120 -DXORP_VERSION=1.8.5 -Iobj/i686-pc-linux-gnu -I. -I. cli/tools/cli_generic.cc
In file included from cli/tools/cli_generic.cc:23:
In file included from ./libxorp/xorp.h:85:
In file included from /usr/include/c++/4.6.1/iostream:39:
In file included from /usr/include/c++/4.6.1/ostream:39:
In file included from /usr/include/c++/4.6.1/ios:40:
In file included from /usr/include/c++/4.6.1/bits/char_traits.h:40:
/usr/include/c++/4.6.1/bits/stl_algobase.h:378:43: error: unexpected type name '_ValueTypeI': expected expression
      const bool __simple = (__is_trivial(_ValueTypeI)
                                          ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:383:40: error: non-type template argument of type 'bool const' is not an integral constant expression
      return std::__copy_move<_IsMove, __simple,
                                       ^~~~~~~~
/usr/include/c++/4.6.1/bits/stl_algobase.h:573:43: error: unexpected type name '_ValueType1': expected expression
      const bool __simple = (__is_trivial(_ValueType1)
                                          ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:578:49: error: non-type template argument of type 'bool const' is not an integral constant expression
      return std::__copy_move_backward<_IsMove, __simple,
                                                ^~~~~~~~
/usr/include/c++/4.6.1/bits/stl_algobase.h:731:32: error: expected ';' in 'for' statement specifier
      for (__decltype(__n + 0) __niter = __n;
                               ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:732:5: error: use of undeclared identifier '__niter'
           __niter > 0; --__niter, ++__first)
           ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:732:20: error: use of undeclared identifier '__niter'
           __niter > 0; --__niter, ++__first)
                          ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:732:27: error: expected ')'
           __niter > 0; --__niter, ++__first)
                                 ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:731:11: note: to match this '('
      for (__decltype(__n + 0) __niter = __n;
          ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:743:32: error: expected ';' in 'for' statement specifier
      for (__decltype(__n + 0) __niter = __n;
                               ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:744:5: error: use of undeclared identifier '__niter'
           __niter > 0; --__niter, ++__first)
           ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:744:20: error: use of undeclared identifier '__niter'
           __niter > 0; --__niter, ++__first)
                          ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:744:27: error: expected ')'
           __niter > 0; --__niter, ++__first)
                                 ^
/usr/include/c++/4.6.1/bits/stl_algobase.h:743:11: note: to match this '('
      for (__decltype(__n + 0) __niter = __n;
          ^
In file included from cli/tools/cli_generic.cc:23:
In file included from ./libxorp/xorp.h:88:
In file included from /usr/include/c++/4.6.1/algorithm:62:
/usr/include/c++/4.6.1/bits/stl_algo.h:4964:32: error: expected ';' in 'for' statement specifier
      for (__decltype(__n + 0) __niter = __n;
                               ^
/usr/include/c++/4.6.1/bits/stl_algo.h:4965:5: error: use of undeclared identifier '__niter'
           __niter > 0; --__niter, ++__first)
           ^
/usr/include/c++/4.6.1/bits/stl_algo.h:4965:20: error: use of undeclared identifier '__niter'
           __niter > 0; --__niter, ++__first)
                          ^
/usr/include/c++/4.6.1/bits/stl_algo.h:4965:27: error: expected ')'
           __niter > 0; --__niter, ++__first)
                                 ^
/usr/include/c++/4.6.1/bits/stl_algo.h:4964:11: note: to match this '('
      for (__decltype(__n + 0) __niter = __n;
          ^
In file included from cli/tools/cli_generic.cc:23:
In file included from ./libxorp/xorp.h:93:
In file included from /usr/include/c++/4.6.1/vector:63:
/usr/include/c++/4.6.1/bits/stl_uninitialized.h:117:54: error: unexpected type name '_ValueType1': expected expression
      return std::__uninitialized_copy<(__is_trivial(_ValueType1)
                                                     ^
/usr/include/c++/4.6.1/bits/stl_uninitialized.h:172:46: error: unexpected type name '_ValueType': expected expression
      std::__uninitialized_fill<__is_trivial(_ValueType)>::
                                             ^
/usr/include/c++/4.6.1/bits/stl_uninitialized.h:173:2: error: C++ requires a type specifier for all declarations
        __uninit_fill(__first, __last, __x);
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
scons: *** [obj/i686-pc-linux-gnu/cli/tools/cli_generic.o] Error 1
scons: building terminated because of errors.
program finished with exit code 2
elapsedTime=35.386796