==> Retrieving sources...
  -> Found btscanner-2.1.tar.bz2
  -> Found btscanner.patch
==> Generating checksums for source files...
==> Making package: btscanner 2.1-9 (Mon 20 Jan 2025 07:25:58 PM UTC)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (2)                  New Version  Net Change  Download Size

extra/bluez-libs             5.79-1         0.30 MiB               
athena/ncurses5-compat-libs  6.1-3          0.84 MiB       0.21 MiB

Total Download Size:   0.21 MiB
Total Installed Size:  1.14 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 ncurses5-compat-libs-6.1-3-x86_64 downloading...
error: restricting filesystem access failed because the landlock ruleset could not be applied!
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing bluez-libs...
installing ncurses5-compat-libs...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found btscanner-2.1.tar.bz2
  -> Found btscanner.patch
==> Validating source files with sha512sums...
    btscanner-2.1.tar.bz2 ... Passed
    btscanner.patch ... Passed
==> Extracting sources...
  -> Extracting btscanner-2.1.tar.bz2 with bsdtar
==> Starting prepare()...
patching file btscanner.xml
patching file configure
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for perl... /usr/sbin/perl
checking for library containing strerror... none required
checking for main in -lncurses... yes
checking for main in -lmenu... yes
checking for main in -lform... yes
checking for main in -lbluetooth... yes
checking for main in -lpthread... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... no
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 netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking bluetooth/bluetooth.h usability... yes
checking bluetooth/bluetooth.h presence... yes
checking for bluetooth/bluetooth.h... yes
checking bluetooth/sdp.h usability... yes
checking bluetooth/sdp.h presence... yes
checking for bluetooth/sdp.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for memset... yes
checking for strerror... yes
checking for xml2-config... /usr/sbin/xml2-config
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
checking libxml/tree.h usability... yes
checking libxml/tree.h presence... yes
checking for libxml/tree.h... yes
checking for main in -lxml2... yes
checking the location of the config file... /etc/btscanner/btscanner.xml
checking the location of the config DTD... file:///etc/btscanner/btscanner.dtd
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory '/src/packages/pentesting/btscanner/src/btscanner-2.1'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT threader.o -MD -MP -MF ".deps/threader.Tpo" -c -o threader.o threader.c; \
then mv -f ".deps/threader.Tpo" ".deps/threader.Po"; else rm -f ".deps/threader.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT cfg.o -MD -MP -MF ".deps/cfg.Tpo" -c -o cfg.o cfg.c; \
then mv -f ".deps/cfg.Tpo" ".deps/cfg.Po"; else rm -f ".deps/cfg.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT store.o -MD -MP -MF ".deps/store.Tpo" -c -o store.o store.c; \
then mv -f ".deps/store.Tpo" ".deps/store.Po"; else rm -f ".deps/store.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT oui.o -MD -MP -MF ".deps/oui.Tpo" -c -o oui.o oui.c; \
then mv -f ".deps/oui.Tpo" ".deps/oui.Po"; else rm -f ".deps/oui.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT screen.o -MD -MP -MF ".deps/screen.Tpo" -c -o screen.o screen.c; \
then mv -f ".deps/screen.Tpo" ".deps/screen.Po"; else rm -f ".deps/screen.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT ll.o -MD -MP -MF ".deps/ll.Tpo" -c -o ll.o ll.c; \
then mv -f ".deps/ll.Tpo" ".deps/ll.Po"; else rm -f ".deps/ll.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT sdp.o -MD -MP -MF ".deps/sdp.Tpo" -c -o sdp.o sdp.c; \
then mv -f ".deps/sdp.Tpo" ".deps/sdp.Po"; else rm -f ".deps/sdp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT scan.o -MD -MP -MF ".deps/scan.Tpo" -c -o scan.o scan.c; \
then mv -f ".deps/scan.Tpo" ".deps/scan.Po"; else rm -f ".deps/scan.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\" -MT log.o -MD -MP -MF ".deps/log.Tpo" -c -o log.o log.c; \
then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f ".deps/log.Tpo"; exit 1; fi
gcc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/btscanner/src=/usr/src/debug/btscanner -flto=auto -I/usr/include/libxml2 -DCFG_FILE=\"/etc/btscanner/btscanner.xml\" -DCFG_DTD=\"file:///etc/btscanner/btscanner.dtd\"  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -lxml2 -lz -llzma -licui18n -licuuc -licudata -lm -o btscanner  main.o threader.o cfg.o store.o misc.o oui.o screen.o ll.o sdp.o scan.o log.o  -lxml2 -lpthread -lbluetooth -lform -lmenu -lncurses 
In function ‘memset’,
    inlined from ‘screen_init_bf’ at screen.c:989:2,
    inlined from ‘screen_run’ at screen.c:1272:12,
    inlined from ‘screen_run’ at screen.c:1169:5,
    inlined from ‘main’ at main.c:329:2:
/usr/include/bits/string_fortified.h:59:10: warning: ‘__builtin___memset_chk’ writing 24 bytes into a region of size 6 overflows the destination [-Wstringop-overflow=]
   59 |   return __builtin___memset_chk (__dest, __ch, __len,
      |          ^
In function ‘memset’,
    inlined from ‘screen_init_bf’ at screen.c:990:2,
    inlined from ‘screen_run’ at screen.c:1272:12,
    inlined from ‘screen_run’ at screen.c:1169:5,
    inlined from ‘main’ at main.c:329:2:
/usr/include/bits/string_fortified.h:59:10: warning: ‘__builtin___memset_chk’ writing 24 bytes into a region of size 6 overflows the destination [-Wstringop-overflow=]
   59 |   return __builtin___memset_chk (__dest, __ch, __len,
      |          ^
make[1]: Leaving directory '/src/packages/pentesting/btscanner/src/btscanner-2.1'
==> Entering fakeroot environment...
==> Starting package()...
make[1]: Entering directory '/src/packages/pentesting/btscanner/src/btscanner-2.1'
test -z "/etc/btscanner" || mkdir -p -- "/src/packages/pentesting/btscanner/pkg/btscanner/etc/btscanner"
test -z "/usr/share/btscanner" || mkdir -p -- "/src/packages/pentesting/btscanner/pkg/btscanner/usr/share/btscanner"
test -z "/usr/bin" || mkdir -p -- "/src/packages/pentesting/btscanner/pkg/btscanner/usr/bin"
 /usr/bin/install -c -m 644 'btscanner.xml' '/src/packages/pentesting/btscanner/pkg/btscanner/etc/btscanner/btscanner.xml'
 /usr/bin/install -c -m 644 'oui.txt' '/src/packages/pentesting/btscanner/pkg/btscanner/usr/share/btscanner/oui.txt'
  /usr/bin/install -c 'btscanner' '/src/packages/pentesting/btscanner/pkg/btscanner/usr/bin/btscanner'
 /usr/bin/install -c -m 644 'btscanner.dtd' '/src/packages/pentesting/btscanner/pkg/btscanner/etc/btscanner/btscanner.dtd'
make[1]: Leaving directory '/src/packages/pentesting/btscanner/src/btscanner-2.1'
==> 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 "btscanner"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding changelog file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Creating package "btscanner-debug"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: btscanner 2.1-9 (Mon 20 Jan 2025 07:26:19 PM UTC)
==> Cleaning up...
==> Removing installed dependencies...
checking dependencies...

Package (2)           Old Version  Net Change

bluez-libs            5.79-1        -0.30 MiB
ncurses5-compat-libs  6.1-3         -0.84 MiB

Total Removed Size:  1.14 MiB

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