==> Synchronizing chroot copy [/chroot/armv8/root] -> [build]...done
==> Making package: arpalert 1:2.0.12-4 (Thu Aug 20 17:34:57 UTC 2020)
==> Retrieving sources...
  -> Found arpalert-2.0.12.tar.gz
==> Validating source files with sha512sums...
    arpalert-2.0.12.tar.gz ... Passed
Host and machine ids are equal (b6eac563832547c9ad9408127b1b4375): refusing to link journals
==> Making package: arpalert 1:2.0.12-4 (Thu 20 Aug 2020 05:35:18 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found arpalert-2.0.12.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> 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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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]
  624 |  int i;
      |      ^
./loadconfig.c: In function ‘set_option’:
./loadconfig.c:829:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  829 |    config[opt].valeur.integer = (int)value;
      |                                 ^
./loadconfig.c: In function ‘config_load’:
./loadconfig.c:351:4: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation]
  351 |    strncpy(config_file, argv[i], CONFIGFILE_LEN);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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
./loadmodule.c: In function ‘alerte_mod’:
./loadmodule.c:140:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  140 |  args[2] = (void *)ip_sender.s_addr;
      |            ^
gcc -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=armv8-a -O2 -pipe -fstack-protector --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
./capture.c: In function ‘cap_init’:
./capture.c:323:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  323 |   if((device = pcap_lookupdev(pcap_err))==NULL){
      |   ^~
In file included from /usr/include/pcap.h:43,
                 from ./capture.c:9:
/usr/include/pcap/pcap.h:328:16: note: declared here
  328 | PCAP_API char *pcap_lookupdev(char *)
      |                ^~~~~~~~~~~~~~
./capture.c: In function ‘cap_init_device’:
./capture.c:168:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  168 |  strncpy(ifr.ifr_name, cap_id->device, sizeof(ifr.ifr_name));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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,
                 from /usr/include/stdio.h:27,
                 from example.c:7:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  397 | #  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
++ echo /etc/arpalert
++ tr / @
++ sed -e 's/@/\\\//g'
+ config_dir='\/etc\/arpalert'
++ echo /var/lib/arpalert
++ tr / @
++ sed -e 's/@/\\\//g'
+ leases_dir='\/var\/lib\/arpalert'
++ echo /var/run
++ tr / @
++ sed -e 's/@/\\\//g'
+ lock_dir='\/var\/run'
++ echo /var/log
++ tr / @
++ sed -e 's/@/\\\//g'
+ 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 issues...
==> Creating package "arpalert"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: arpalert 1:2.0.12-4 (Thu 20 Aug 2020 05:36:49 PM UTC)
==> Cleaning up...