==> Synchronizing chroot copy [/chroot/x86_64/root] -> [build]...done
==> Making package: voipong 2.0-6 (Tue Dec 17 10:13:49 2019)
==> Retrieving sources...
  -> Found voipong-2.0.tar.gz
==> Validating source files with sha512sums...
    voipong-2.0.tar.gz ... Passed
Host and machine ids are equal (27f8a8a2107e4714a5587b00f7368723): refusing to link journals
==> Making package: voipong 2.0-6 (Tue 17 Dec 2019 10:13:55 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found voipong-2.0.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting voipong-2.0.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
rm -f *~ *core* *pid
cc -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -c modvocoder_pcmu.c
cc -shared -nostdlib -o modvocoder_pcmu.so modvocoder_pcmu.o
rm -f *~ *core* *pid
cc -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -c modvocoder_pcma.c
cc -shared -nostdlib -o modvocoder_pcma.so modvocoder_pcma.o
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o miscutil.o miscutil.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o conf.o conf.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongglobals.o voipongglobals.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongsign.o voipongsign.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipong.o voipong.c
voipong.c: In function ‘daemon_init’:
voipong.c:107:2: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result]
  107 |  setuid(getuid());
      |  ^~~~~~~~~~~~~~~~
voipong.c:108:2: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result]
  108 |  setgid(getgid());
      |  ^~~~~~~~~~~~~~~~
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongsock.o voipongsock.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongnet.o voipongnet.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongpcap.o voipongpcap.c
voipongpcap.c: In function ‘initpcap’:
voipongpcap.c:96:3: warning: pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
   96 |   if ((dev = pcap_lookupdev(perrbuf)) == NULL) {
      |   ^~
In file included from /usr/include/pcap.h:43,
                 from voipongpcap.c:28:
/usr/include/pcap/pcap.h:328:16: note: declared here
  328 | PCAP_API char *pcap_lookupdev(char *)
      |                ^~~~~~~~~~~~~~
voipongpcap.c: In function ‘peekpcap’:
voipongpcap.c:147:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  147 |  while (pcap_dispatch(pd, cnt, phandler, (u_char *)dllen) != 0)
      |                                          ^
voipongpcap.c: In function ‘packet_handler’:
voipongpcap.c:160:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  160 |  int offset = (int)udata;
      |               ^
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongvoip.o voipongvoip.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongmgmt.o voipongmgmt.c
voipongmgmt.c: In function ‘accept_mgmt_client’:
voipongmgmt.c:299:38: warning: passing argument 3 of ‘accept’ from incompatible pointer type [-Wincompatible-pointer-types]
  299 |  if ((nsd = accept(fd, (void *)&cin, &len)) < 0) {
      |                                      ^~~~
      |                                      |
      |                                      size_t * {aka long unsigned int *}
In file included from /usr/include/netinet/in.h:23,
                 from /usr/include/netdb.h:27,
                 from voipongmgmt.c:26:
/usr/include/sys/socket.h:233:28: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’}
  233 |      socklen_t *__restrict __addr_len);
      |      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
voipongmgmt.c: In function ‘info’:
voipongmgmt.c:227:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
  227 |  getcwd(tmp, sizeof(tmp) - 2);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongworker.o voipongworker.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongcdr.o voipongcdr.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongcodec.o voipongcodec.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voiponglfp.o voiponglfp.c
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipongfixed.o voipongfixed.c
rm -f *~ *core* *pid
cc -g -o voipong -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -Wl,-O1,--sort-common,--as-needed,-z,relro miscutil.o conf.o voipongglobals.o voipongsign.o voipong.o  voipongsock.o voipongnet.o voipongpcap.o voipongvoip.o voipongmgmt.o voipongworker.o voipongcdr.o voipongcodec.o voiponglfp.o voipongfixed.o  -lpcap -ldl
cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector -D_FORTIFY_SOURCE=2  -c -o voipctl.o voipctl.c
rm -f *~ *core* *pid
cc -g -o voipctl voipctl.o voipongglobals.o conf.o miscutil.o -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Iinclude -fno-stack-protector 
==> Entering fakeroot environment...
==> Starting package()...
mkdir -p /build/voipong/pkg/voipong/etc/voipong
mkdir -p /build/voipong/pkg/voipong/etc/voipong/modules
cp voipong /build/voipong/pkg/voipong/usr/bin/
cp voipctl /build/voipong/pkg/voipong/usr/bin/
cp etc/voipong.conf /build/voipong/pkg/voipong/etc/voipong/
chmod 750 /build/voipong/pkg/voipong/usr/bin/voipong
chmod 750 /build/voipong/pkg/voipong/usr/bin/voipctl
chmod 600 /build/voipong/pkg/voipong/etc/voipong/voipong.conf
cp modvocoder_*.so /build/voipong/pkg/voipong/etc/voipong/modules/
chmod 500 /build/voipong/pkg/voipong/etc/voipong/modules/*
==> Tidying install...
  -> 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 "voipong"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: voipong 2.0-6 (Tue 17 Dec 2019 10:14:05 AM EST)
==> Cleaning up...