==> Creating clean working copy [build]...done
==> Making package: nbtool-git 2:20140415.r2-3 (Fri Mar 24 13:11:36 EDT 2017)
==> Retrieving sources...
  -> Cloning nbtool-git git repo...
Cloning into bare repository '/srv/build/builder/work/nbtool-git/nbtool-git'...
==> Validating source files with sha512sums...
    nbtool-git ... Skipped
==> Making package: nbtool-git 2:20140415.r2-3 (Fri Mar 24 13:11:37 EDT 2017)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (13) dbus-1.10.16-1  hwids-20161103-1  iptables-1.6.0-1  kbd-2.0.4-1  kmod-24-1  libelf-0.168-1  libmnl-1.0.4-1  libnftnl-1.0.7-1  libnl-3.2.29-2  libseccomp-2.3.2-1  libusb-1.0.21-1  systemd-232-8  libpcap-1.8.1-2

Total Installed Size:  29.52 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 dbus...
installing libmnl...
installing libnftnl...
installing iptables...
installing kbd...
installing kmod...
installing hwids...
installing libelf...
installing libseccomp...
installing systemd...
warning: directory permissions differ on /var/log/journal/
filesystem: 755  package: 2755
Creating group systemd-coredump with gid 999.
Creating user systemd-coredump (systemd Core Dumper) with uid 999 and gid 999.
Creating group systemd-journal-remote with gid 998.
Creating user systemd-journal-remote (systemd Journal Remote) with uid 998 and gid 998.
Creating group systemd-journal-upload with gid 997.
Creating user systemd-journal-upload (systemd Journal Upload) with uid 997 and gid 997.
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service -> /usr/lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target -> /usr/lib/systemd/system/remote-fs.target.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
   bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
    cryptsetup: required for encrypted block devices
    libmicrohttpd: remote journald capabilities
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries
    polkit: allow administration as unprivileged user
installing libusb...
installing libpcap...
:: Running post-transaction hooks...
(1/4) Updating udev hardware database...
(2/4) Updating system user accounts...
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (3) perl-error-0.17024-1  git-2.12.1-1  nasm-2.12.02-1

Total Download Size:    0.43 MiB
Total Installed Size:  32.72 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading nasm-2.12.02-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 perl-error...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    python2: various helper scripts
    subversion: git svn
    cvsps2: git cvsimport
    gnome-keyring: GNOME keyring credential helper
installing nasm...
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
==> Retrieving sources...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    nbtool-git ... Skipped
==> Extracting sources...
  -> Creating working copy of nbtool git repo...
Cloning into 'nbtool-git'...
done.
==> Starting pkgver()...
==> Starting build()...
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o nbquery.o nbquery.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o dns.o dns.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o buffer.o buffer.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o udp.o udp.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o tcp.o tcp.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o select_group.o select_group.c
In file included from /usr/include/bits/libc-header-start.h:33:0,
                 from /usr/include/stdio.h:28,
                 from select_group.c:10:
/usr/include/features.h:180:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o types.o types.c
In file included from /usr/include/ctype.h:25:0,
                 from types.c:10:
/usr/include/features.h:180:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
types.c: In function 'drop_privileges':
types.c:50:4: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
    setuid(user->pw_uid);
    ^~~~~~~~~~~~~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o memory.o memory.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o netbios_types.o netbios_types.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -o nbquery nbquery.o dns.o buffer.o udp.o tcp.o select_group.o types.o memory.o netbios_types.o 
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o nbsniff.o nbsniff.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -o nbsniff nbsniff.o dns.o buffer.o udp.o tcp.o select_group.o types.o memory.o netbios_types.o 
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o dnsxss.o dnsxss.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -o dnsxss dnsxss.o buffer.o tcp.o udp.o select_group.o types.o memory.o dns.o 
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o dnslogger.o dnslogger.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -o dnslogger dnslogger.o buffer.o tcp.o udp.o select_group.o types.o memory.o dns.o 
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o dnscat.o dnscat.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o session.o session.c
session.c: In function 'session_write':
session.c:681:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(session->exec_stdin[PIPE_WRITE], write_data, write_length);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4  -o dnscat dnscat.o buffer.o tcp.o udp.o select_group.o types.o memory.o dns.o session.o 
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o dnstest.o dnstest.c
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -o dnstest dnstest.o buffer.o tcp.o udp.o select_group.o types.o memory.o dns.o 
Trying to build samples (shellcode, etc) -- don't worry if it fails
cd samples && make
make[1]: Entering directory '/build/nbtool-git/src/nbtool-git/samples'
cd shellcode-linux && make
make[2]: Entering directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-linux'
Assembling dnscat-shell-linux.asm...
956 dnscat-shell-linux
Creating dnscat-shell-test.h with shellcode...
Compiling the test program...
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -o ./dnscat-shell-test -I. ../shellcode-test/dnscat-shell-test.c
make[2]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-linux'
cd shellcode-win32 && make
make[2]: Entering directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-win32'
Creating 'test' shellcode
Assembling 'test' shellcode
Converting 'test' shellcode into a .h file
Creating 'msf' shellcode
Assembling 'msf' shellcode
1017 dnscat-shell-win32-msf
Converting 'msf' shellcode into a .rb file
Compiling the test program...
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -o ./dnscat-shell-win32-test.out -I. -DDNSCATFILE=dnscat-shell-win32-test.h ../shellcode-test/dnscat-shell-test.c
make[2]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-win32'
cd shellcode-stager-win32 && make
make[2]: Entering directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-stager-win32'
Generating 'test' stager shellcode
Assembling 'test' stager
Converting 'test' stager into a .h file
Compiling the test stager program...
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -o ./dnscat-stager-test -I. ../shellcode-test/dnscat-shell-test.c
Generating 'msf' stager shellcode
Assembling 'msf' stager
232 dnscat-stager-win32-msf
Converting 'msf' stager into a .rb file
make[2]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-stager-win32'
cd jsdnscat && make
make[2]: Entering directory '/build/nbtool-git/src/nbtool-git/samples/jsdnscat'
/bin/sh: ruby: command not found
make[2]: *** [Makefile:2: js/skullsecurity.all.min.js] Error 127
make[2]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples/jsdnscat'
make[1]: [Makefile:12: all] Error 2 (ignored)
make[1]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples'
Compile should be complete
==> Entering fakeroot environment...
==> Starting package()...
Trying to build samples (shellcode, etc) -- don't worry if it fails
cd samples && make
make[1]: Entering directory '/build/nbtool-git/src/nbtool-git/samples'
cd shellcode-linux && make
make[2]: Entering directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-linux'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-linux'
cd shellcode-win32 && make
make[2]: Entering directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-win32'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-win32'
cd shellcode-stager-win32 && make
make[2]: Entering directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-stager-win32'
Compiling the test stager program...
gcc -Wall -g -o ./dnscat-stager-test -I. ../shellcode-test/dnscat-shell-test.c
make[2]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples/shellcode-stager-win32'
cd jsdnscat && make
make[2]: Entering directory '/build/nbtool-git/src/nbtool-git/samples/jsdnscat'
make[2]: 'js/skullsecurity.all.min.js' is up to date.
make[2]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples/jsdnscat'
make[1]: Leaving directory '/build/nbtool-git/src/nbtool-git/samples'
Compile should be complete
mkdir -p /build/nbtool-git/pkg/nbtool-git/usr/bin
cp nbquery    /build/nbtool-git/pkg/nbtool-git/usr/bin/nbquery
cp nbsniff    /build/nbtool-git/pkg/nbtool-git/usr/bin/nbsniff
cp dnsxss     /build/nbtool-git/pkg/nbtool-git/usr/bin/dnsxss
cp dnslogger  /build/nbtool-git/pkg/nbtool-git/usr/bin/dnslogger
cp dnscat     /build/nbtool-git/pkg/nbtool-git/usr/bin/dnscat 
cp dnstest    /build/nbtool-git/pkg/nbtool-git/usr/bin/dnstest
chown root.root /build/nbtool-git/pkg/nbtool-git/usr/bin/nbquery
chown root.root /build/nbtool-git/pkg/nbtool-git/usr/bin/nbsniff
chown root.root /build/nbtool-git/pkg/nbtool-git/usr/bin/dnsxss
chown root.root /build/nbtool-git/pkg/nbtool-git/usr/bin/dnslogger
chown root.root /build/nbtool-git/pkg/nbtool-git/usr/bin/dnscat
chown root.root /build/nbtool-git/pkg/nbtool-git/usr/bin/dnstest
==> 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 issue...
==> Creating package "nbtool-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: nbtool-git 2:20140415.r2-3 (Fri Mar 24 13:11:44 EDT 2017)
==> Cleaning up...
==> Removing installed dependencies...
checking dependencies...
:: gettext optionally requires git: for autopoint infrastructure updates
:: glib2 optionally requires libelf: gresource inspection tool

Packages (16) dbus-1.10.16-1  git-2.12.1-1  hwids-20161103-1  iptables-1.6.0-1  kbd-2.0.4-1  kmod-24-1  libelf-0.168-1  libmnl-1.0.4-1  libnftnl-1.0.7-1  libnl-3.2.29-2  libpcap-1.8.1-2  libseccomp-2.3.2-1  libusb-1.0.21-1  nasm-2.12.02-1  perl-error-0.17024-1  systemd-232-8

Total Removed Size:  62.24 MiB

:: Do you want to remove these packages? [Y/n] 
:: Running pre-transaction hooks...
(1/1) Removing old entries from the info directory file...
:: Processing package changes...
removing nasm...
removing libpcap...
removing libusb...
removing systemd...
removing libseccomp...
removing libnl...
removing libelf...
removing kmod...
removing kbd...
removing iptables...
removing libnftnl...
removing libmnl...
removing hwids...
removing git...
removing perl-error...
removing dbus...