==> Synchronizing chroot copy [/chroot/x86_64/root] -> [build]...done
==> Making package: logkeys 0.2.0-1 (Fri Oct 25 10:05:38 2019)
==> Retrieving sources...
  -> Found 0.2.0.tar.gz
  -> Found logkeysd.conf
  -> Found logkeys.service
  -> Found eventx-chroot.patch
  -> Found version.patch
==> Validating source files with sha512sums...
    0.2.0.tar.gz ... Passed
    logkeysd.conf ... Passed
    logkeys.service ... Passed
    eventx-chroot.patch ... Passed
    version.patch ... Passed
Host and machine ids are equal (27f8a8a2107e4714a5587b00f7368723): refusing to link journals
==> Making package: logkeys 0.2.0-1 (Fri 25 Oct 2019 10:05:44 AM EDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) procps-ng-3.3.15-1

Total Download Size:   0.33 MiB
Total Installed Size:  1.27 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading procps-ng-3.3.15-1-x86_64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing procps-ng...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 0.2.0.tar.gz
  -> Found logkeysd.conf
  -> Found logkeys.service
  -> Found eventx-chroot.patch
  -> Found version.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting 0.2.0.tar.gz with bsdtar
==> Starting prepare()...
patching file configure.ac
patching file configure.ac
==> Starting build()...

Regenerating autotools files ...
... done.  Now please do the following:

   cd build; ../configure; make; su; make install

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/build/logkeys/src/logkeys-0.2.0/missing: Unknown `--is-lightweight' option
Try `/build/logkeys/src/logkeys-0.2.0/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for which... yes
checking for grep... yes
checking for ps... yes
checking for dumpkeys... yes
checking for /proc/bus/input/devices... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking cerrno usability... yes
checking cerrno presence... yes
checking for cerrno... yes
checking cwchar usability... yes
checking cwchar presence... yes
checking for cwchar... yes
checking cstring usability... yes
checking cstring presence... yes
checking for cstring... yes
checking cassert usability... yes
checking cassert presence... yes
checking for cassert... yes
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking csignal usability... yes
checking csignal presence... yes
checking for csignal... yes
checking error.h usability... yes
checking error.h presence... yes
checking for error.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/stat.h... (cached) yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking for error_at_line... 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 geteuid... yes
checking for error... yes
checking for error_at_line... yes
checking for exit... yes
checking for on_exit... yes
checking for memset... yes
checking for setlocale... yes
checking for strerror... yes
checking for fprintf... yes
checking for getopt_long... yes
checking for fopen... yes
checking for sscanf... yes
checking for fscanf... yes
checking for getpid... yes
checking for getuid... yes
checking for getgid... yes
checking for fclose... yes
checking for remove... yes
checking for kill... yes
checking for strlen... yes
checking for strcat... yes
checking for strcpy... yes
checking for strncat... yes
checking for freopen... yes
checking for feof... yes
checking for fgets... yes
checking for atoi... yes
checking for sigaction... yes
checking for fork... (cached) yes
checking for setsid... yes
checking for open... yes
checking for close... yes
checking for flock... yes
checking for write... yes
checking for umask... yes
checking for setegid... yes
checking for seteuid... yes
checking for strftime... yes
checking for localtime... yes
checking for fflush... yes
checking for read... yes
checking for time... yes
checking for fgetws... yes
checking for wcslen... yes
checking for swscanf... yes
checking for wcscpy... yes
checking for popen... yes
checking for pclose... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating scripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build'
Making all in src
make[2]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/src'
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -D_FORTIFY_SOURCE=2 -Wall -O3 -DSYS_CONF_DIR=\"/usr/etc\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT logkeys.o -MD -MP -MF .deps/logkeys.Tpo -c -o logkeys.o ../../src/logkeys.cc
../../src/logkeys.cc: In function ‘void logkeys::determine_input_device()’:
../../src/logkeys.cc:346:10: warning: ignoring return value of ‘int setegid(__gid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  346 |   setegid(65534); seteuid(65534);
      |   ~~~~~~~^~~~~~~
../../src/logkeys.cc:346:26: warning: ignoring return value of ‘int seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  346 |   setegid(65534); seteuid(65534);
      |                   ~~~~~~~^~~~~~~
../../src/logkeys.cc:383:10: warning: ignoring return value of ‘int seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  383 |   seteuid(0); setegid(0);
      |   ~~~~~~~^~~
../../src/logkeys.cc:383:22: warning: ignoring return value of ‘int setegid(__gid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  383 |   seteuid(0); setegid(0);
      |               ~~~~~~~^~~
../../src/logkeys.cc: In function ‘int logkeys::main(int, char**)’:
../../src/logkeys.cc:696:12: warning: ignoring return value of ‘int seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  696 |     seteuid(getuid());
      |     ~~~~~~~^~~~~~~~~~
../../src/logkeys.cc:697:12: warning: ignoring return value of ‘int setegid(__gid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  697 |     setegid(getgid());
      |     ~~~~~~~^~~~~~~~~~
../../src/logkeys.cc:710:10: warning: ignoring return value of ‘int seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  710 |   seteuid(0); setegid(0);
      |   ~~~~~~~^~~
../../src/logkeys.cc:710:22: warning: ignoring return value of ‘int setegid(__gid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  710 |   seteuid(0); setegid(0);
      |               ~~~~~~~^~~
In file included from /usr/include/wchar.h:848,
                 from /usr/include/c++/9.2.0/cwchar:44,
                 from ../../src/logkeys.cc:11:
In function ‘wchar_t* fgetws(wchar_t*, int, __FILE*)’,
    inlined from ‘void logkeys::parse_input_keymap()’ at ../../src/logkeys.cc:271:16:
/usr/include/bits/wchar2.h:393:27: warning: call to ‘__fgetws_chk_warn’ declared with attribute warning: fgetws called with bigger size than length of destination buffer [-Wattribute-warning]
  393 |  return __fgetws_chk_warn (__s, __bos (__s) / sizeof (wchar_t),
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  394 |       __n, __stream);
      |       ~~~~~~~~~~~~~~       
mv -f .deps/logkeys.Tpo .deps/logkeys.Po
g++ -Wall -O3 -DSYS_CONF_DIR=\"/usr/etc\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4  -Wl,-O1,--sort-common,--as-needed,-z,relro -o logkeys logkeys.o  
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -D_FORTIFY_SOURCE=2 -Wall -O3 -DSYS_CONF_DIR=\"/usr/etc\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT llk.o -MD -MP -MF .deps/llk.Tpo -c -o llk.o ../../src/llk.cc
../../src/llk.cc: In function ‘int main()’:
../../src/llk.cc:13:9: warning: ignoring return value of ‘int setuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
   13 |   setuid(0);
      |   ~~~~~~^~~
mv -f .deps/llk.Tpo .deps/llk.Po
g++ -Wall -O3 -DSYS_CONF_DIR=\"/usr/etc\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4  -Wl,-O1,--sort-common,--as-needed,-z,relro -o llk llk.o  
g++ -DHAVE_CONFIG_H -I. -I../../src -I..   -D_FORTIFY_SOURCE=2 -Wall -O3 -DSYS_CONF_DIR=\"/usr/etc\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT llkk.o -MD -MP -MF .deps/llkk.Tpo -c -o llkk.o ../../src/llkk.cc
../../src/llkk.cc: In function ‘int main()’:
../../src/llkk.cc:13:9: warning: ignoring return value of ‘int setuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
   13 |   setuid(0);
      |   ~~~~~~^~~
mv -f .deps/llkk.Tpo .deps/llkk.Po
g++ -Wall -O3 -DSYS_CONF_DIR=\"/usr/etc\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4  -Wl,-O1,--sort-common,--as-needed,-z,relro -o llkk llkk.o  
make[2]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/src'
Making all in man
make[2]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/man'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/man'
Making all in scripts
make[2]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/scripts'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/scripts'
make[2]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build'
make[2]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build'
make[1]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/src'
make[2]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/src'
 /usr/bin/mkdir -p '/build/logkeys/pkg/logkeys/usr/bin'
  /usr/bin/install -c logkeys llk llkk '/build/logkeys/pkg/logkeys/usr/bin'
make  install-exec-hook
make[3]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/src'
chown root\: /build/logkeys/pkg/logkeys/usr/bin/llk
chmod u+s    /build/logkeys/pkg/logkeys/usr/bin/llk
chown root\: /build/logkeys/pkg/logkeys/usr/bin/llkk
chmod u+s    /build/logkeys/pkg/logkeys/usr/bin/llkk
make[3]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/src'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/src'
make[1]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/src'
Making install in man
make[1]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/man'
make[2]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/man'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/logkeys/pkg/logkeys/usr/share/man/man8'
 /usr/bin/install -c -m 644 ../../man/logkeys.8 '/build/logkeys/pkg/logkeys/usr/share/man/man8'
make[2]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/man'
make[1]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/man'
Making install in scripts
make[1]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/scripts'
make[2]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build/scripts'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/build/logkeys/pkg/logkeys/usr/etc'
 /usr/bin/install -c ../../scripts/logkeys-start.sh ../../scripts/logkeys-kill.sh '/build/logkeys/pkg/logkeys/usr/etc'
make[2]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/scripts'
make[1]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build/scripts'
make[1]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build'
make[2]: Entering directory '/build/logkeys/src/logkeys-0.2.0/build'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build'
make[1]: Leaving directory '/build/logkeys/src/logkeys-0.2.0/build'
==> 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 "logkeys"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: logkeys 0.2.0-1 (Fri 25 Oct 2019 10:06:13 AM EDT)
==> Cleaning up...
==> Removing installed dependencies...
checking dependencies...

Packages (1) procps-ng-3.3.15-1

Total Removed Size:  1.27 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing procps-ng...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...