==> Creating clean working copy [build]...done
==> Making package: arpalert 1:2.0.12-1 (Wed Jul 12 12:51:41 EDT 2017)
==> Retrieving sources...
  -> Found arpalert-2.0.12.tar.gz
==> Validating source files with sha512sums...
    arpalert-2.0.12.tar.gz ... Passed
==> Making package: arpalert 1:2.0.12-1 (Wed Jul 12 12:51:42 EDT 2017)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (4) dbus-1.10.18-1  libnl-3.3.0-1  libusb-1.0.21-2  libpcap-1.8.1-2

Total Installed Size:  3.30 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libnl...
installing libusb...
installing dbus...
installing libpcap...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found arpalert-2.0.12.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    arpalert-2.0.12.tar.gz ... Passed
==> Extracting sources...
  -> Extracting arpalert-2.0.12.tar.gz with bsdtar
==> Starting build()...

=======================================================
 = Check for programs
=======================================================
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gawk... gawk
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no

=======================================================
 = Check for header files
=======================================================
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking netinet/if_ether.h usability... yes
checking netinet/if_ether.h presence... yes
checking for netinet/if_ether.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes

=======================================================
 = Check for libraries
=======================================================
checking for pcap_lookupdev in -lpcap... yes
checking for dlopen in -ldl... yes

=======================================================
 = Check for functions
=======================================================
checking for endgrent... yes
checking for endpwent... yes
checking for memset... yes
checking for socket... yes
checking for strerror... yes
checking for bzero... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for select... yes
checking for strdup... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for working memcmp... yes

=======================================================
 = Generate files
=======================================================
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating install.sh
config.status: WARNING:  install.sh.in seems to ignore the --datarootdir setting
config.status: creating scripts/start/arpalert-debian
config.status: creating scripts/start/arpalert-fc4
config.status: creating scripts/start/arpalert-suse
config.status: creating config.h
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o arpalert.o ./arpalert.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o loadconfig.o ./loadconfig.c
./loadconfig.c: In function 'convert_octal':
./loadconfig.c:624:6: warning: variable 'i' set but not used [-Wunused-but-set-variable]
  int i;
      ^
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o loadmodule.o ./loadmodule.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o log.o ./log.c 
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o data.o ./data.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o maclist.o ./maclist.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o serveur.o ./serveur.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o alerte.o ./alerte.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o sens.o ./sens.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o sens_timeouts.o ./sens_timeouts.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o func_time.o ./func_time.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o func_str.o ./func_str.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o macname.o ./macname.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o logalert.o ./logalert.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o signals.o ./signals.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o alertes.o ./alertes.c
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -Wall -O2 -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o capture.o ./capture.c
make[1]: Entering directory '/build/arpalert/src/arpalert-2.0.12/module_example'
gcc -Wall -g -D_FORTIFY_SOURCE=2  -c -o example.o example.c
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:28,
                 from example.c:7:
/usr/include/features.h:373:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
gcc -Wall -g -fPIC -shared -o example.so example.o
make[1]: Leaving directory '/build/arpalert/src/arpalert-2.0.12/module_example'
gcc -Wl,--export-dynamic -o arpalert ./arpalert.o ./loadconfig.o ./loadmodule.o ./log.o ./data.o ./maclist.o ./serveur.o ./alerte.o ./sens.o ./sens_timeouts.o ./func_time.o ./func_str.o ./macname.o ./logalert.o ./signals.o ./alertes.o ./capture.o -ldl -lpcap 
==> Entering fakeroot environment...
==> Starting package()...
/bin/sh -x install.sh
+ prefix=/usr
+ exec_prefix=/usr
+ bindir=/usr/bin
+ sbindir=/usr/bin
+ libexecdir=/usr/libexec
+ datadir=/usr/share
+ sysconfdir=/etc
+ sharedstatedir=/usr/com
+ localstatedir=/var
+ libdir=/usr/lib
+ infodir=/usr/share/info
+ mandir=/usr/share/man
+ includedir=/usr/include
+ config_dir=/etc/arpalert
+ leases_dir=/var/lib/arpalert
+ lock_dir=/var/run
+ log_dir=/var/log
+ includedir=/usr/include/
+ mkdir -p /build/arpalert/pkg/arpalert/usr/bin
+ mkdir -p /build/arpalert/pkg/arpalert/var/lib/arpalert
+ mkdir -p /build/arpalert/pkg/arpalert/var/run
+ mkdir -p /build/arpalert/pkg/arpalert/var/log
+ mkdir -p /build/arpalert/pkg/arpalert/etc/arpalert
+ mkdir -p /build/arpalert/pkg/arpalert/usr/include/
+ mkdir -p /build/arpalert/pkg/arpalert/usr/share/man/man8
+ cp -f doc/arpalert.8 /build/arpalert/pkg/arpalert/usr/share/man/man8
+ cp -f etc/oui.txt /build/arpalert/pkg/arpalert/etc/arpalert
+ cp -f api/arpalert.h /build/arpalert/pkg/arpalert/usr/include/
+ cp -f arpalert /build/arpalert/pkg/arpalert/usr/bin
+ '[' '!' -f /build/arpalert/pkg/arpalert/etc/arpalert/arpalert.conf ']'
+ '[' '!' -f /build/arpalert/pkg/arpalert/etc/arpalert/maclist.allow ']'
+ '[' '!' -f /build/arpalert/pkg/arpalert/etc/arpalert/maclist.deny ']'
+ CONF=/build/arpalert/pkg/arpalert/etc/arpalert/arpalert.conf
++ sed -e 's/@/\\\//g'
++ tr / @
++ echo /etc/arpalert
+ config_dir='\/etc\/arpalert'
++ sed -e 's/@/\\\//g'
++ tr / @
++ echo /var/lib/arpalert
+ leases_dir='\/var\/lib\/arpalert'
++ sed -e 's/@/\\\//g'
++ tr / @
++ echo /var/run
+ lock_dir='\/var\/run'
++ sed -e 's/@/\\\//g'
++ tr / @
++ echo /var/log
+ log_dir='\/var\/log'
+ sed -e '
	s/@config_dir@/\/etc\/arpalert/g;
	s/@leases_dir@/\/var\/lib\/arpalert/g;
	s/@lock_dir@/\/var\/run/g;
	s/@log_dir@/\/var\/log/g;
'
==> Tidying install...
  -> Removing empty directories...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "arpalert"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: arpalert 1:2.0.12-1 (Wed Jul 12 12:51:53 EDT 2017)
==> Cleaning up...
==> Removing installed dependencies...
checking dependencies...

Packages (4) dbus-1.10.18-1  libnl-3.3.0-1  libpcap-1.8.1-2  libusb-1.0.21-2

Total Removed Size:  3.30 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing libpcap...
removing libusb...
removing libnl...
removing dbus...