Build of iptraf-ng with clang_glibc toolchain

The build took 00h 01m 29s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
11,913 ansic
355 makefile
31 sh
1 awk
12,300 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: iptraf-ng 1.1.4-2 (Thu Apr 13 17:25:55 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: WARNING: If you wanted to set the --build type, don't use --host.
# If a cross compiler is detected then cross compile mode will be used.
# configure: Setting lib to 'lib' (the default)
# configure: CHECKS for programs
# checking for x86_64-unknown-linux-cc... clang
# checking for C compiler default output file name... a.out
# checking whether the C compiler works... yes
# checking whether we are cross compiling... no
# checking for suffix of executables...
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking for inline... inline
# checking for x86_64-unknown-linux-gar... no
# checking for x86_64-unknown-linux-ar... no
# checking for gar... no
# checking for ar... ar
# checking for gtar... no
# checking for tar... tar
# checking for asciidoc... asciidoc
# checking for asciidoc version... asciidoc 8.6.9
# configure: CHECKS for libraries
# checking for initscr in -lncurses... yes
# configure: creating ./config.status
# config.status: creating config.mak.autogen
# IPTRAF_VERSION = 1.1.4
# CC src/tui/input.o
# CC src/tui/labels.o
# CC src/tui/listbox.o
# CC src/tui/menurt.o
# CC src/tui/msgboxes.o
# CC src/tui/winops.o
# CC src/error.o
# CC src/log.o
# CC src/getpath.o
# CC src/parseproto.o
# CC src/fltselect.o
# CC src/ipfilter.o
# src/ipfilter.c:149:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# tui_error(ANYKEY_MSG, msgstr);
# ^~~~~~
# 1 warning generated.
# CC src/fltmgr.o
# CC src/ipfrag.o
# CC src/serv.o
# In file included from src/serv.c:22:
# src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(const int fd, const char const *ifname);
# ^
# 1 warning generated.
# CC src/servname.o
# CC src/timer.o
# CC src/revname.o
# CC src/pktsize.o
# In file included from src/pktsize.c:17:
# src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(const int fd, const char const *ifname);
# ^
# 1 warning generated.
# CC src/landesc.o
# CC src/options.o
# CC src/promisc.o
# In file included from src/promisc.c:13:
# src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(const int fd, const char const *ifname);
# ^
# 1 warning generated.
# CC src/ifaces.o
# src/ifaces.c:251:40: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(int fd, const char const *ifname)
# ^
# 1 warning generated.
# CC src/usage.o
# CC src/iptraf.o
# CC src/itrafmon.o
# In file included from src/itrafmon.c:20:
# src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(const int fd, const char const *ifname);
# ^
# 1 warning generated.
# CC src/wrapper.o
# CC src/parse-options.o
# CC src/packet.o
# In file included from src/packet.c:19:
# src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(const int fd, const char const *ifname);
# ^
# 1 warning generated.
# CC src/tcptable.o
# CC src/othptab.o
# src/othptab.c:413:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# sprintf(scratchpad, rarp_mac_addr);
# ^~~~~~~~~~~~~
# src/othptab.c:488:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# sprintf(protname, protptr->p_aliases[0]);
# ^~~~~~~~~~~~~~~~~~~~~
# src/othptab.c:349:35: warning: variable 'saddr' is uninitialized when used within its own initialization [-Wuninitialized]
# struct in_addr uninitialized_var(saddr);
# ^~~~~
# src/othptab.c:36:34: note: expanded from macro 'uninitialized_var'
# #define uninitialized_var(x) x = x
# ~ ^
# 3 warnings generated.
# CC src/ifstats.o
# In file included from src/ifstats.c:17:
# src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(const int fd, const char const *ifname);
# ^
# 1 warning generated.
# CC src/detstats.o
# In file included from src/detstats.c:15:
# src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(const int fd, const char const *ifname);
# ^
# 1 warning generated.
# CC src/deskman.o
# CC src/hostmon.o
# In file included from src/hostmon.c:20:
# src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(const int fd, const char const *ifname);
# ^
# 1 warning generated.
# CC src/fltedit.o
# CC src/cidr.o
# CC src/counters.o
# CC src/rate.o
# CC src/capture-pkt.o
# In file included from src/capture-pkt.c:8:
# src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
# int dev_bind_ifname(const int fd, const char const *ifname);
# ^
# 1 warning generated.
# CC src/sockaddr.o
# LINK iptraf-ng
# CC src/rvnamed.o
# LINK rvnamed-ng
# ==> Entering fakeroot environment...
# ==> Starting package()...
# /tmp/iptraf-ng/pkg/iptraf-ng/usr/share/man/man8
# install -d -m 755 '/tmp/iptraf-ng/pkg/iptraf-ng/usr/bin'
# install iptraf-ng rvnamed-ng '/tmp/iptraf-ng/pkg/iptraf-ng/usr/bin'
# install -d -m 755 /tmp/iptraf-ng/pkg/iptraf-ng/usr/share/man/man8
# install -m 644 src/iptraf-ng.8 /tmp/iptraf-ng/pkg/iptraf-ng/usr/share/man/man8
# install -m 644 src/rvnamed-ng.8 /tmp/iptraf-ng/pkg/iptraf-ng/usr/share/man/man8
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "iptraf-ng"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: iptraf-ng 1.1.4-2 (Thu Apr 13 17:26:23 UTC 2017)

CMD: pacman --query --file iptraf-ng-1.1.4-2-x86_64.pkg.tar.xz
# iptraf-ng 1.1.4-2

Creating hybrid package for 'iptraf-ng'

Trying to find vanilla package 'iptraf-ng'...

CMD: pacman --query --file /mirror/iptraf-ng-1.1.4-2.pkg.tar.xz
# iptraf-ng 1.1.4-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/iptraf-ng
# /usr/bin/rvnamed-ng
# /usr/share/man/man8/iptraf-ng.8.gz
# /usr/share/man/man8/rvnamed-ng.8.gz

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf iptraf-ng.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/iptraf-ng.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/iptraf-ng.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/iptraf-ng.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'

Printing config logfiles

CMD: config logfiles '/tmp/iptraf-ng/src/iptraf-ng-1.1.4/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by iptraf-ng configure 1.1.3.1.94.g421e, which was
# generated by GNU Autoconf 2.63. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 450ad9661d0a
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /usr/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1827: Setting lib to 'lib' (the default)
# configure:1860: CHECKS for programs
# configure:1873: checking for x86_64-unknown-linux-cc
# configure:1900: result: clang
# configure:1978: checking for C compiler version
# configure:1986: clang --version >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:1990: $? = 0
# configure:1997: clang -v >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:2001: $? = 0
# configure:2008: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2012: $? = 1
# configure:2035: checking for C compiler default output file name
# configure:2057: clang conftest.c >&5
# configure:2061: $? = 0
# configure:2099: result: a.out
# configure:2118: checking whether the C compiler works
# configure:2128: ./a.out
# configure:2132: $? = 0
# configure:2151: result: yes
# configure:2158: checking whether we are cross compiling
# configure:2160: result: no
# configure:2163: checking for suffix of executables
# configure:2170: clang -o conftest conftest.c >&5
# configure:2174: $? = 0
# configure:2200: result:
# configure:2206: checking for suffix of object files
# configure:2232: clang -c conftest.c >&5
# configure:2236: $? = 0
# configure:2261: result: o
# configure:2265: checking whether we are using the GNU C compiler
# configure:2294: clang -c conftest.c >&5
# configure:2301: $? = 0
# configure:2318: result: yes
# configure:2327: checking whether clang accepts -g
# configure:2357: clang -c -g conftest.c >&5
# configure:2364: $? = 0
# configure:2465: result: yes
# configure:2482: checking for clang option to accept ISO C89
# configure:2556: clang -c conftest.c >&5
# configure:2563: $? = 0
# configure:2586: result: none needed
# configure:2605: checking for inline
# configure:2631: clang -c conftest.c >&5
# configure:2638: $? = 0
# configure:2656: result: inline
# configure:2686: checking for x86_64-unknown-linux-gar
# configure:2716: result: no
# configure:2686: checking for x86_64-unknown-linux-ar
# configure:2716: result: no
# configure:2730: checking for gar
# configure:2760: result: no
# configure:2730: checking for ar
# configure:2746: found /usr/bin/ar
# configure:2757: result: ar
# configure:2785: checking for gtar
# configure:2815: result: no
# configure:2785: checking for tar
# configure:2801: found /usr/bin/tar
# configure:2812: result: tar
# configure:2828: checking for asciidoc
# configure:2844: found /usr/bin/asciidoc
# configure:2855: result: asciidoc
# configure:2867: checking for asciidoc version
# configure:2878: result: asciidoc 8.6.9
# configure:2891: CHECKS for libraries
# configure:2903: checking for initscr in -lncurses
# configure:2938: clang -o conftest conftest.c -lncurses >&5
# configure:2945: $? = 0
# configure:2966: result: yes
# configure:3126: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by iptraf-ng config.status 1.1.3.1.94.g421e, which was
# generated by GNU Autoconf 2.63. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 450ad9661d0a
#
# config.status:648: creating config.mak.autogen
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_inline=inline
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_lib_ncurses_initscr=yes
# ac_cv_objext=o
# ac_cv_prog_ASCIIDOC=asciidoc
# ac_cv_prog_CC=clang
# ac_cv_prog_TAR=tar
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# AR='ar'
# ASCIIDOC7=''
# ASCIIDOC='asciidoc'
# CC='clang'
# CFLAGS=' -W -Wall -std=gnu99 -pedantic'
# CPPFLAGS=''
# DEFS='-DPACKAGE_NAME=\"iptraf-ng\" -DPACKAGE_TARNAME=\"iptraf-ng\" -DPACKAGE_VERSION=\"1.1.3.1.94.g421e\" -DPACKAGE_STRING=\"iptraf-ng\ 1.1.3.1.94.g421e\" -DPACKAGE_BUGREPORT=\"iptraf-ng@fedorahosted.org\"'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EXEEXT=''
# INLINE=''
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# NO_NCURSES=''
# OBJEXT='o'
# PACKAGE_BUGREPORT='iptraf-ng@fedorahosted.org'
# PACKAGE_NAME='iptraf-ng'
# PACKAGE_STRING='iptraf-ng 1.1.3.1.94.g421e'
# PACKAGE_TARNAME='iptraf-ng'
# PACKAGE_VERSION='1.1.3.1.94.g421e'
# PATH_SEPARATOR=':'
# SHELL='/bin/sh'
# TAR='tar'
# ac_ct_AR='ar'
# ac_ct_CC=''
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='/usr/bin'
# sharedstatedir='${prefix}/com'
# sysconfdir='/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME "iptraf-ng"
# #define PACKAGE_TARNAME "iptraf-ng"
# #define PACKAGE_VERSION "1.1.3.1.94.g421e"
# #define PACKAGE_STRING "iptraf-ng 1.1.3.1.94.g421e"
# #define PACKAGE_BUGREPORT "iptraf-ng@fedorahosted.org"
#
# configure: exit 0