==> Retrieving sources... -> Updating lanmap2 git repo... warning: redirecting to https://github.com/rflynn/lanmap2.git/ ==> Generating checksums for source files... ==> Making package: lanmap2 1:127.1197999-3 (Thu 21 Nov 2024 12:00:32 PM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Package (63) New Version Net Change extra/aom 3.11.0-1 8.84 MiB extra/avahi 1:0.8+r194+g3f79789-2 1.88 MiB extra/cairo 1.18.2-2 1.57 MiB extra/dav1d 1.4.3-1 1.76 MiB extra/fontconfig 2:2.15.0-2 1.10 MiB extra/freetype2 2.13.3-1 1.62 MiB extra/fribidi 1.0.16-1 0.24 MiB extra/gd 2.3.3-8 0.65 MiB extra/gdk-pixbuf2 2.42.12-2 2.99 MiB extra/ghostscript 10.04.0-1 42.78 MiB extra/giflib 5.2.2-1 0.27 MiB extra/graphite 1:1.3.14-4 0.20 MiB extra/gsfonts 20200910-4 3.11 MiB extra/gts 0.7.6.121130-3 0.66 MiB extra/harfbuzz 10.1.0-1 4.11 MiB extra/ijs 0.35-6 0.12 MiB extra/jbig2dec 0.20-1 0.15 MiB extra/jbigkit 2.1-8 0.16 MiB extra/lcms2 2.16-1 0.67 MiB extra/libavif 1.1.1-2 0.46 MiB extra/libcups 2:2.4.11-1 0.77 MiB extra/libdaemon 0.14-6 0.06 MiB extra/libdatrie 0.2.13-4 0.48 MiB extra/libde265 1.0.15-3 0.77 MiB extra/libheif 1.19.5-1 1.65 MiB extra/libice 1.1.1-3 0.35 MiB extra/libidn 1.42-1 0.77 MiB extra/libjpeg-turbo 3.0.4-1 2.31 MiB extra/libmd 1.1.0-2 0.10 MiB extra/libpaper 2.2.5-1 0.14 MiB extra/libpng 1.6.44-1 0.57 MiB extra/librsvg 2:2.59.2-1 11.29 MiB extra/libsm 1.2.4-2 0.26 MiB extra/libthai 0.1.29-3 1.22 MiB extra/libtiff 4.7.0-1 1.78 MiB extra/libwebp 1.4.0-3 1.15 MiB extra/libx11 1.8.10-1 9.78 MiB extra/libxau 1.0.11-3 0.02 MiB extra/libxcb 1.17.0-1 3.87 MiB extra/libxdmcp 1.1.5-1 0.13 MiB extra/libxext 1.3.6-1 0.30 MiB extra/libxft 2.3.8-2 0.13 MiB extra/libxpm 3.5.17-2 0.16 MiB extra/libxrender 0.9.11-2 0.09 MiB extra/libxt 1.3.1-1 2.02 MiB extra/libyuv r2426+464c51a03-1 1.82 MiB extra/libzip 1.11.1-1 0.46 MiB core/lzo 2.10-5 0.38 MiB extra/netpbm 10.86.43-1 6.97 MiB extra/oniguruma 6.9.9-1 0.87 MiB extra/openjpeg2 2.5.2-1 13.28 MiB extra/pango 1:1.54.0-1 2.29 MiB extra/pixman 0.44.0-1 0.70 MiB extra/poppler-data 0.4.12-2 12.34 MiB extra/rav1e 0.7.1-1 7.52 MiB extra/shared-mime-info 2.4-1 4.55 MiB extra/svt-av1 2.2.1-1 5.17 MiB extra/x265 4.0-1 19.42 MiB extra/xcb-proto 1.17.0-2 1.02 MiB extra/xorgproto 2024.1-2 1.46 MiB extra/graphviz 12.1.2-1 10.55 MiB extra/libbsd 0.12.2-2 0.33 MiB extra/php 8.3.14-1 28.74 MiB Total Installed Size: 231.38 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libzip... installing oniguruma... installing php... installing libpng... installing graphite... Optional dependencies for graphite graphite-docs: Documentation installing harfbuzz... Optional dependencies for harfbuzz harfbuzz-utils: utilities installing freetype2... installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing xorgproto... installing libice... installing libsm... installing xcb-proto... installing libxdmcp... installing libxau... installing libxcb... installing libx11... installing libxt... installing libxext... installing libxpm... installing giflib... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper installing jbigkit... installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing libwebp... installing aom... installing dav1d... Optional dependencies for dav1d dav1d-doc: HTML documentation installing rav1e... installing svt-av1... installing libyuv... installing libavif... installing libde265... Optional dependencies for libde265 ffmpeg: for sherlock265 qt5-base: for sherlock265 sdl: dec265 YUV overlay output installing x265... installing libheif... Optional dependencies for libheif libjpeg-turbo: for heif-convert and heif-enc [installed] libpng: for heif-convert and heif-enc [installed] dav1d: dav1d encoder [installed] ffmpeg: hardware decode rav1e: rav1e encoder [installed] svt-av1: svt-av1 encoder [installed] installing gd... Optional dependencies for gd perl: bdftogd script [installed] installing libxrender... installing lzo... installing pixman... installing cairo... installing shared-mime-info... installing gdk-pixbuf2... Optional dependencies for gdk-pixbuf2 libwmf: Load .wmf and .apm libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf libavif: Load .avif [installed] libheif: Load .heif, .heic, and .avif [installed] libjxl: Load .jxl librsvg: Load .svg, .svgz, and .svg.gz [pending] webp-pixbuf-loader: Load .webp installing fribidi... installing libdatrie... installing libthai... installing libxft... installing pango... installing librsvg... installing libdaemon... installing avahi... Optional dependencies for avahi gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc libevent: libevent bindings [installed] nss-mdns: NSS support for mDNS python-dbus: avahi-bookmarks, avahi-discover python-gobject: avahi-bookmarks, avahi-discover python-twisted: avahi-bookmarks qt5-base: qt5 bindings installing libcups... installing jbig2dec... installing lcms2... installing libpaper... installing ijs... installing openjpeg2... installing libidn... installing poppler-data... installing ghostscript... Optional dependencies for ghostscript gtk3: needed for gsx installing netpbm... installing gts... installing gsfonts... installing graphviz... Optional dependencies for graphviz mono: sharp bindings guile: guile bindings [installed] lua: lua bindings perl: perl bindings [installed] python: python bindings r: r bindings tcl: tcl bindings qt6-base: gvedit xterm: vimdot installing libmd... installing libbsd... :: Running post-transaction hooks... (1/9) Creating system user accounts... (2/9) Reloading system manager configuration... Failed to check for chroot() environment: Permission denied Skipped: Current root is not booted. (3/9) Arming ConditionNeedsUpdate... (4/9) Updating the MIME type database... (5/9) Updating fontconfig configuration... (6/9) Reloading system bus configuration... Failed to check for chroot() environment: Permission denied Skipped: Current root is not booted. (7/9) Warn about old perl modules (8/9) Updating fontconfig cache... (9/9) Probing GDK-Pixbuf loader modules... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating lanmap2 git repo... warning: redirecting to https://github.com/rflynn/lanmap2.git/ ==> Validating source files with sha512sums... lanmap2 ... Skipped ==> Extracting sources... -> Creating working copy of lanmap2 git repo... Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting pkgver()... ==> Starting build()... make -C db make[1]: Entering directory '/src/packages/pentesting/lanmap2/src/lanmap2/db' ./build-db.sh Generating db... Creating fingerprints... ../data/gen-db.sql ../data/map-BOOTP-Fingerprint.sql ../data/map-BOOTP-VendorClass.sql ../data/map-BROWSE.sql ../data/map-CDP.sql ../data/map-DNS-TXT.sql ../data/map-ICMP-Echo-Fingerprint.sql ../data/map-IPv4.sql ../data/map-SSDP.sql ../data/map-TCP-SYN.sql Done. ../tools/oui2insert < ../data/oui.txt | sqlite3 ./db /bin/sh: line 1: ../tools/oui2insert: No such file or directory make[1]: Leaving directory '/src/packages/pentesting/lanmap2/src/lanmap2/db' make -C tools make[1]: Entering directory '/src/packages/pentesting/lanmap2/src/lanmap2/tools' cc -W -Wall -Wno-unused -pedantic -I../src -ggdb -Wno-unused-parameter -lbsd -ggdb oui2insert.c -o oui2insert cc -W -Wall -Wno-unused -pedantic -I../src -ggdb -Wno-unused-parameter -c -o os-graph.o os-graph.c cc -W -Wall -Wno-unused -pedantic -I../src -ggdb -Wno-unused-parameter -c -o nary.o nary.c cc -W -Wall -Wno-unused -pedantic -I../src -ggdb -Wno-unused-parameter -c -o ../src/csvread.o ../src/csvread.c cc -W -Wall -Wno-unused -pedantic -I../src -ggdb -Wno-unused-parameter -c -o ../src/util.o ../src/util.c ../src/util.c: In function ‘LOGF’: ../src/util.c:47:58: warning: ‘:’ directive output may be truncated writing 1 byte into a region of size between 0 and 16 [-Wformat-truncation=] 47 | snprintf(when, sizeof when, "%04d-%02d-%02dT%02d:%02d:%02d", | ^ ../src/util.c:47:5: note: ‘snprintf’ output between 20 and 72 bytes into a destination of size 32 47 | snprintf(when, sizeof when, "%04d-%02d-%02dT%02d:%02d:%02d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48 | 1900 + tm->tm_year, 1 + tm->tm_mon, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -lbsd -ggdb os-graph.o nary.o ../src/csvread.o ../src/util.o -o os-graph make[1]: Leaving directory '/src/packages/pentesting/lanmap2/src/lanmap2/tools' make -C src make[1]: Entering directory '/src/packages/pentesting/lanmap2/src/lanmap2/src' cc -W -Wall -std=gnu99 -Wno-unused -ggdb -O0 -DDEBUG -Wno-unused-parameter -c -o cap.o cap.c cc -W -Wall -std=gnu99 -Wno-unused -ggdb -O0 -DDEBUG -Wno-unused-parameter -c -o prot.o prot.c cc -W -Wall -std=gnu99 -Wno-unused -ggdb -O0 -DDEBUG -Wno-unused-parameter -c -o parse.o parse.c cc -W -Wall -std=gnu99 -Wno-unused -ggdb -O0 -DDEBUG -Wno-unused-parameter -c -o report.o report.c cap.c:201:12: error: conflicting types for ‘listen’; have ‘int(void)’ 201 | static int listen(void) | ^~~~~~ In file included from /usr/include/pcap/socket.h:78, from /usr/include/pcap/pcap.h:130, from /usr/include/pcap.h:43, from cap.c:18: /usr/include/sys/socket.h:296:12: note: previous declaration of ‘listen’ with type ‘int(int, int)’ 296 | extern int listen (int __fd, int __n) __THROW; | ^~~~~~ cap.c: In function ‘listen’: cap.c:210:7: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 210 | dev = pcap_lookupdev(errbuf); | ^~~ /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ cc -W -Wall -std=gnu99 -Wno-unused -ggdb -O0 -DDEBUG -Wno-unused-parameter -c -o getopt.o getopt.c make[1]: *** [: cap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/src/packages/pentesting/lanmap2/src/lanmap2/src' make: *** [Makefile:7: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> Removing installed dependencies... checking dependencies... :: glibc optionally requires gd: for memusagestat :: groff optionally requires netpbm: for use together with man -H command interaction in browsers warning: dependency cycle detected: warning: harfbuzz will be removed after its freetype2 dependency Package (63) Old Version Net Change aom 3.11.0-1 -8.84 MiB avahi 1:0.8+r194+g3f79789-2 -1.88 MiB cairo 1.18.2-2 -1.57 MiB dav1d 1.4.3-1 -1.76 MiB fontconfig 2:2.15.0-2 -1.10 MiB freetype2 2.13.3-1 -1.62 MiB fribidi 1.0.16-1 -0.24 MiB gd 2.3.3-8 -0.65 MiB gdk-pixbuf2 2.42.12-2 -2.99 MiB ghostscript 10.04.0-1 -42.78 MiB giflib 5.2.2-1 -0.27 MiB graphite 1:1.3.14-4 -0.20 MiB graphviz 12.1.2-1 -10.55 MiB gsfonts 20200910-4 -3.11 MiB gts 0.7.6.121130-3 -0.66 MiB harfbuzz 10.1.0-1 -4.11 MiB ijs 0.35-6 -0.12 MiB jbig2dec 0.20-1 -0.15 MiB jbigkit 2.1-8 -0.16 MiB lcms2 2.16-1 -0.67 MiB libavif 1.1.1-2 -0.46 MiB libbsd 0.12.2-2 -0.33 MiB libcups 2:2.4.11-1 -0.77 MiB libdaemon 0.14-6 -0.06 MiB libdatrie 0.2.13-4 -0.48 MiB libde265 1.0.15-3 -0.77 MiB libheif 1.19.5-1 -1.65 MiB libice 1.1.1-3 -0.35 MiB libidn 1.42-1 -0.77 MiB libjpeg-turbo 3.0.4-1 -2.31 MiB libmd 1.1.0-2 -0.10 MiB libpaper 2.2.5-1 -0.14 MiB libpng 1.6.44-1 -0.57 MiB librsvg 2:2.59.2-1 -11.29 MiB libsm 1.2.4-2 -0.26 MiB libthai 0.1.29-3 -1.22 MiB libtiff 4.7.0-1 -1.78 MiB libwebp 1.4.0-3 -1.15 MiB libx11 1.8.10-1 -9.78 MiB libxau 1.0.11-3 -0.02 MiB libxcb 1.17.0-1 -3.87 MiB libxdmcp 1.1.5-1 -0.13 MiB libxext 1.3.6-1 -0.30 MiB libxft 2.3.8-2 -0.13 MiB libxpm 3.5.17-2 -0.16 MiB libxrender 0.9.11-2 -0.09 MiB libxt 1.3.1-1 -2.02 MiB libyuv r2426+464c51a03-1 -1.82 MiB libzip 1.11.1-1 -0.46 MiB lzo 2.10-5 -0.38 MiB netpbm 10.86.43-1 -6.97 MiB oniguruma 6.9.9-1 -0.87 MiB openjpeg2 2.5.2-1 -13.28 MiB pango 1:1.54.0-1 -2.29 MiB php 8.3.14-1 -28.74 MiB pixman 0.44.0-1 -0.70 MiB poppler-data 0.4.12-2 -12.34 MiB rav1e 0.7.1-1 -7.52 MiB shared-mime-info 2.4-1 -4.55 MiB svt-av1 2.2.1-1 -5.17 MiB x265 4.0-1 -19.42 MiB xcb-proto 1.17.0-2 -1.02 MiB xorgproto 2024.1-2 -1.46 MiB Total Removed Size: 231.38 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 php... removing oniguruma... removing libzip... removing libbsd... removing libmd... removing graphviz... removing librsvg... removing pango... removing libxft... removing libthai... removing libdatrie... removing gts... removing netpbm... removing gsfonts... removing ghostscript... removing poppler-data... removing openjpeg2... removing libpaper... removing libidn... removing libcups... removing lcms2... removing jbig2dec... removing ijs... removing gdk-pixbuf2... removing shared-mime-info... removing gd... removing libxpm... removing libxt... removing libsm... removing libice... removing libheif... removing x265... removing libde265... removing libavif... removing svt-av1... removing rav1e... removing libyuv... removing libwebp... removing libtiff... removing jbigkit... removing giflib... removing libjpeg-turbo... removing fribidi... removing dav1d... removing cairo... removing pixman... removing lzo... removing libxrender... removing libxext... removing libx11... removing libxcb... removing xcb-proto... removing libxdmcp... removing libxau... removing xorgproto... removing fontconfig... removing freetype2... removing libpng... removing harfbuzz... removing graphite... removing avahi... removing libdaemon... removing aom... :: Running post-transaction hooks... (1/3) Reloading system manager configuration... Failed to check for chroot() environment: Permission denied Skipped: Current root is not booted. (2/3) Arming ConditionNeedsUpdate... (3/3) Reloading system bus configuration... Failed to check for chroot() environment: Permission denied Skipped: Current root is not booted.