<86>Jun 25 04:26:16 userdel[778301]: delete user 'rooter' <86>Jun 25 04:26:16 userdel[778301]: removed group 'rooter' owned by 'rooter' <86>Jun 25 04:26:16 userdel[778301]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 25 04:26:16 groupadd[778432]: group added to /etc/group: name=rooter, GID=1817 <86>Jun 25 04:26:16 groupadd[778432]: group added to /etc/gshadow: name=rooter <86>Jun 25 04:26:16 groupadd[778432]: new group: name=rooter, GID=1817 <86>Jun 25 04:26:16 useradd[778492]: new user: name=rooter, UID=1817, GID=1817, home=/root, shell=/bin/bash, from=none <86>Jun 25 04:26:16 userdel[778596]: delete user 'builder' <86>Jun 25 04:26:16 userdel[778596]: removed group 'builder' owned by 'builder' <86>Jun 25 04:26:16 userdel[778596]: removed shadow group 'builder' owned by 'builder' <86>Jun 25 04:26:16 groupadd[778699]: group added to /etc/group: name=builder, GID=1818 <86>Jun 25 04:26:16 groupadd[778699]: group added to /etc/gshadow: name=builder <86>Jun 25 04:26:16 groupadd[778699]: new group: name=builder, GID=1818 <86>Jun 25 04:26:16 useradd[778767]: new user: name=builder, UID=1818, GID=1818, home=/usr/src, shell=/bin/bash, from=none <13>Jun 25 04:26:18 rpmi: libpng16-1.6.39-alt1 sisyphus+310490.100.1.1 1669195200 installed <13>Jun 25 04:26:18 rpmi: libjpeg-2:2.1.2-alt1.2 sisyphus+300827.100.2.1 1653916633 installed <13>Jun 25 04:26:18 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>Jun 25 04:26:18 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Jun 25 04:26:18 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Jun 25 04:26:18 rpmi: libatk-2.48.3-alt1 sisyphus+322046.200.1.1 1685216218 installed <13>Jun 25 04:26:18 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577555 installed <13>Jun 25 04:26:18 rpmi: libwebp7-1.3.0-alt1 sisyphus+313492.100.1.1 1673749693 installed <13>Jun 25 04:26:18 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Jun 25 04:26:18 rpmi: libtasn1-4.19.0-alt2 sisyphus+323514.100.1.1 1687445894 installed <13>Jun 25 04:26:18 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526916 installed <13>Jun 25 04:26:18 rpmi: xml-utils-1:2.10.4-alt1 sisyphus+311250.4140.175.1 1685628991 installed <13>Jun 25 04:26:18 rpmi: libltdl7-2.4.7-alt2 sisyphus+317834.100.1.1 1680267766 installed <13>Jun 25 04:26:18 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+275722.100.1.1 1624749869 installed <13>Jun 25 04:26:18 rpmi: libpaper-1.1.28-alt1 sisyphus+278439.100.1.1 1626100422 installed <13>Jun 25 04:26:18 rpmi: libopenjpeg2.0-2.5.0-alt1 sisyphus+299926.300.3.1 1652478843 installed <13>Jun 25 04:26:19 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Jun 25 04:26:19 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791084 installed <13>Jun 25 04:26:19 rpmi: libgnutls30-3.7.9-alt1 sisyphus+315353.100.1.1 1676639068 installed <13>Jun 25 04:26:19 rpmi: libgmp-devel-6.2.1-alt5 sisyphus+309797.200.2.1 1668090171 installed <13>Jun 25 04:26:19 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104244 installed <13>Jun 25 04:26:19 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625697230 installed <13>Jun 25 04:26:19 rpmi: librav1e-0.6.6-alt1 sisyphus+320651.100.1.1 1684313161 installed <13>Jun 25 04:26:19 rpmi: libfribidi-1.0.13-alt1 sisyphus+320646.100.1.1 1684307082 installed <13>Jun 25 04:26:19 rpmi: libde265-1.0.11-alt1 sisyphus+314940.100.1.1 1675940477 installed <13>Jun 25 04:26:19 rpmi: libdav1d5-0.9.2-alt2 sisyphus+319138.140.3.1 1682251163 installed <13>Jun 25 04:26:19 rpmi: libdatrie-0.2.13-alt1_2 sisyphus+285649.100.1.1 1632260802 installed <13>Jun 25 04:26:19 rpmi: libthai-0.1.29-alt1_1 sisyphus+292947.100.1.1 1641111915 installed <13>Jun 25 04:26:19 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Jun 25 04:26:19 rpmi: liblmdb-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072360 installed <13>Jun 25 04:26:19 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Jun 25 04:26:19 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Jun 25 04:26:19 rpmi: libpixman-3:0.42.2-alt1 sisyphus+309549.100.1.1 1667649219 installed <13>Jun 25 04:26:19 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Jun 25 04:26:19 rpmi: libsystemd-1:252.7-alt1 sisyphus+316321.100.1.1 1678130436 installed <13>Jun 25 04:26:19 rpmi: libdbus-1.14.6-alt2 sisyphus+321145.100.1.1 1684402684 installed <13>Jun 25 04:26:19 rpmi: libavahi-0.8-alt2 sisyphus+321176.300.10.2 1684802422 installed <13>Jun 25 04:26:19 rpmi: libaom3-3.5.0-alt1 sisyphus+312085.100.1.1 1671551546 installed <13>Jun 25 04:26:19 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 25 04:26:19 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jun 25 04:26:19 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Jun 25 04:26:19 rpmi: libharfbuzz-7.0.1-alt1 sisyphus+318888.200.2.1 1682012436 installed <13>Jun 25 04:26:19 rpmi: libfreetype-2.13.0-alt1 sisyphus+315092.100.1.1 1676198644 installed <13>Jun 25 04:26:19 rpmi: libfontconfig1-2.14.2-alt7 sisyphus+319291.100.1.1 1682426296 installed <13>Jun 25 04:26:19 rpmi: libglvnd-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749007 installed <13>Jun 25 04:26:19 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577525 installed <13>Jun 25 04:26:19 rpmi: libpciaccess-1:0.17-alt1 sisyphus+308663.300.1.1 1666168260 installed <13>Jun 25 04:26:19 rpmi: libdrm-1:2.4.115-alt1 sisyphus+315873.100.1.1 1677481746 installed <13>Jun 25 04:26:19 rpmi: libX11-locales-3:1.8.6-alt1 sisyphus+323114.100.1.1 1686850054 installed <13>Jun 25 04:26:19 rpmi: libXdmcp-1.1.4-alt1 sisyphus+311188.1000.1.1 1670233857 installed <13>Jun 25 04:26:19 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Jun 25 04:26:19 rpmi: libxcb-1.15-alt1 sisyphus+299436.300.1.1 1651655472 installed <13>Jun 25 04:26:19 rpmi: libX11-3:1.8.6-alt1 sisyphus+323114.100.1.1 1686850054 installed <13>Jun 25 04:26:19 rpmi: libXext-1.3.5-alt1 sisyphus+309285.100.1.1 1667212412 installed <13>Jun 25 04:26:19 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Jun 25 04:26:19 rpmi: libcairo-1:1.16.0-alt2 sisyphus+312186.100.1.1 1671693937 installed <13>Jun 25 04:26:19 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910331 installed <13>Jun 25 04:26:19 rpmi: libXrandr-1.5.3-alt1 sisyphus+310375.100.1.1 1669010696 installed <13>Jun 25 04:26:19 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168523 installed <13>Jun 25 04:26:19 rpmi: libXi-1.8-alt1 sisyphus+285490.200.1.1 1632124174 installed <13>Jun 25 04:26:19 rpmi: libXt-1.2.1-alt1 sisyphus+265202.200.1.1 1611565457 installed <13>Jun 25 04:26:19 rpmi: libXmu-1.1.4-alt1 sisyphus+308663.1000.1.1 1666168409 installed <13>Jun 25 04:26:19 rpmi: libXpm-3.5.15-alt1 sisyphus+313628.100.1.1 1674030938 installed <13>Jun 25 04:26:19 rpmi: libGLX-mesa-4:23.1.3-alt1 sisyphus+323577.100.2.1 1687616453 installed <13>Jun 25 04:26:19 rpmi: libGLX-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749007 installed <13>Jun 25 04:26:19 rpmi: libGL-7:1.6.0-alt2 sisyphus+321612.100.1.1 1684749007 installed <13>Jun 25 04:26:19 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Jun 25 04:26:19 rpmi: libfreeglut-3.4.0-alt1 sisyphus+308137.100.1.1 1665325473 installed <13>Jun 25 04:26:19 rpmi: libXcursor-1.2.1-alt1 sisyphus+297765.200.1.1 1649053926 installed <13>Jun 25 04:26:19 rpmi: libcairo-gobject-1:1.16.0-alt2 sisyphus+312186.100.1.1 1671693937 installed <13>Jun 25 04:26:19 rpmi: libXft-2.3.7-alt1 sisyphus+310164.100.1.1 1668680608 installed <13>Jun 25 04:26:19 rpmi: libXinerama-1.1.5-alt1 sisyphus+309287.100.1.1 1667213208 installed <13>Jun 25 04:26:19 rpmi: libXcomposite-0.4.6-alt1 sisyphus+311188.200.1.1 1670233682 installed <13>Jun 25 04:26:19 rpmi: libXdamage-1.1.6-alt1 sisyphus+311188.300.1.1 1670233711 installed <13>Jun 25 04:26:19 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Jun 25 04:26:19 rpmi: libdeflate-1.18-alt1 sisyphus+317484.100.1.1 1679768609 installed <13>Jun 25 04:26:19 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180089 installed <13>Jun 25 04:26:19 rpmi: desktop-file-utils-0.26-alt3 sisyphus+297027.100.1.1 1648023315 installed <13>Jun 25 04:26:19 rpmi: shared-mime-info-2.2-alt1 sisyphus+297388.100.1.1 1648466615 installed <13>Jun 25 04:26:19 rpmi: libgdk-pixbuf-locales-2.42.10-alt1 sisyphus+308991.100.1.1 1666721198 installed <13>Jun 25 04:26:19 rpmi: gsettings-desktop-schemas-data-44.0-alt1 sisyphus+317076.300.1.1 1679344430 installed <13>Jun 25 04:26:20 rpmi: libgio-2.76.3-alt1 sisyphus+311250.25703.176.1 1685735915 installed <13>Jun 25 04:26:20 rpmi: gsettings-desktop-schemas-44.0-alt1 sisyphus+317076.300.1.1 1679344430 installed <13>Jun 25 04:26:20 rpmi: libpango-1.50.14-alt1 sisyphus+316117.100.1.1 1677780551 installed <13>Jun 25 04:26:20 rpmi: libgdk-pixbuf-2.42.10-alt1 sisyphus+308991.100.1.1 1666721198 installed <13>Jun 25 04:26:20 rpmi: gtk4-update-icon-cache-4.10.4-alt1 sisyphus+322490.40.2.3 1686184033 installed <13>Jun 25 04:26:20 rpmi: libheif-1.15.2-alt1 sisyphus+317953.100.1.1 1680527858 installed <13>Jun 25 04:26:20 rpmi: libgd3-2.3.3-alt1 sisyphus+286379.100.1.1 1633353307 installed <13>Jun 25 04:26:20 rpmi: librsvg-1:2.56.1-alt1 sisyphus+322219.100.1.1 1685523339 installed <13>Jun 25 04:26:20 rpmi: liblasi-1.1.3-alt3 sisyphus+286812.100.2.1 1633968131 installed <13>Jun 25 04:26:20 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jun 25 04:26:20 rpmi: libstdc++13-devel-13.1.1-alt1 sisyphus+323337.100.1.1 1687259761 installed <13>Jun 25 04:26:21 rpmi: gcc13-c++-13.1.1-alt1 sisyphus+323337.100.1.1 1687259761 installed <13>Jun 25 04:26:21 rpmi: cppunit-1.15.1-alt1 sisyphus+276380.100.1.1 1624988880 installed <13>Jun 25 04:26:21 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 25 04:26:21 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 25 04:26:21 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Jun 25 04:26:21 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Jun 25 04:26:21 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Jun 25 04:26:21 rpmi: libcrypto1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474736 installed <13>Jun 25 04:26:21 rpmi: libssl1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474736 installed <86>Jun 25 04:26:21 groupadd[808360]: group added to /etc/group: name=_keytab, GID=999 <86>Jun 25 04:26:21 groupadd[808360]: group added to /etc/gshadow: name=_keytab <86>Jun 25 04:26:21 groupadd[808360]: new group: name=_keytab, GID=999 <13>Jun 25 04:26:21 rpmi: libkrb5-1.21-alt1 sisyphus+323024.100.1.1 1686749925 installed <13>Jun 25 04:26:21 rpmi: libcups-2.4.2-alt3 sisyphus+322076.100.1.1 1685347719 installed <13>Jun 25 04:26:21 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Jun 25 04:26:21 rpmi: libgtkglext-1.2.0-alt5 sisyphus+278412.100.1.2 1626206885 installed <13>Jun 25 04:26:21 rpmi: libglade-2.6.4-alt6 sisyphus+286822.100.2.1 1633968398 installed <13>Jun 25 04:26:22 rpmi: libgs-10.01.1-alt1 sisyphus+318450.100.1.1 1681389065 installed <13>Jun 25 04:26:22 rpmi: libgraphviz-8.0.5-alt2 sisyphus+311250.1320.175.1 1685627614 installed <13>Jun 25 04:26:22 rpmi: graphviz-8.0.5-alt2 sisyphus+311250.1320.175.1 1685627614 installed <13>Jun 25 04:26:22 rpmi: cppunit-devel-1.15.1-alt1 sisyphus+276380.100.1.1 1624988880 installed <13>Jun 25 04:26:22 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed <13>Jun 25 04:26:22 rpmi: libnettle-devel-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Jun 25 04:26:22 rpmi: libgnutls-devel-3.7.9-alt1 sisyphus+315353.100.1.1 1676639068 installed <13>Jun 25 04:26:22 rpmi: doxygen-1:1.9.6-alt1 sisyphus+317413.100.1.2 1679681943 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libfilezilla-0.31.1-alt1.nosrc.rpm (w1.gzdio) Installing libfilezilla-0.31.1-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.48389 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libfilezilla-0.31.1 + echo 'Source #0 (libfilezilla-0.31.1.tar):' Source #0 (libfilezilla-0.31.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libfilezilla-0.31.1.tar + cd libfilezilla-0.31.1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.48389 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libfilezilla-0.31.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for x86_64-alt-linux-g++... x86_64-alt-linux-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 x86_64-alt-linux-g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-g++... none checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking if x86_64-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether C compiler accepts -Werror=partial-availability... no checking whether the linker accepts -Wl,-no_weak_imports... no checking whether x86_64-alt-linux-g++ supports C++17 features with -std=c++17... yes checking for whether we need -stdlib=libc++... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether std::chrono::steady_clock is steady... yes checking for thread_local... yes checking whether CLOCK_MONOTONIC is declared... yes checking for posix_fadvise... yes checking for poll... yes checking for pipe2... yes checking for accept4... yes checking for eventfd... yes checking for d_type member in directory struct... yes checking for localtime_r... yes checking for gmtime_r... yes checking for timegm... yes checking for clock_gettime... yes checking whether pthread_condattr_setclock is declared... yes checking whether iconv can be used without link library... yes checking for TCP_INFO... yes checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gmp... yes checking for nettle >= 3.3... yes checking for hogweed >= 3.3... yes checking for gnutls >= 3.5.8... yes checking whether to use windres... no checking whether the linker accepts -Wl,--dynamicbase... no checking whether the linker accepts -Wl,--nxcompat... no checking for cppunit >= 1.13.0... yes checking for x86_64-alt-linux-doxygen... no checking for doxygen... /usr/bin/doxygen checking for x86_64-alt-linux-perl... no checking for perl... /usr/bin/perl checking for x86_64-alt-linux-pdflatex... no checking for pdflatex... no configure: WARNING: pdflatex not found - will not generate doxygen PDF documentation checking for x86_64-alt-linux-makeindex... no checking for makeindex... no checking for x86_64-alt-linux-egrep... no checking for egrep... /usr/bin/egrep checking for xgettext... /usr/bin/xgettext checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking whether msgmerge version >= 0.11.0... yes, 0.21 checking available libfilezilla message catalogs... an ar az bg_BG ca ca_ES@valencia co cs_CZ cy da de el es et eu fa_IR fi_FI fr gl_ES he_IL hr hu_HU hy id_ID is it ja_JP kab ko_KR ky lo_LA lt_LT lv_LV mk_MK nb_NO ne nl nn_NO oc pl_PL pt_BR pt_PT ro_RO ru sk_SK sl_SI sr sv th_TH tr uk_UA vi_VN zh_CN zh_TW checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/libfilezilla.pc config.status: creating lib/libfilezilla/version.hpp config.status: creating lib/windows/version.rc config.status: creating demos/Makefile config.status: creating doc/Doxyfile config.status: creating doc/Makefile config.status: creating locales/Makefile config.status: creating tests/Makefile config.status: creating config/config.hpp config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make -j16 Making all in . make[1]: Nothing to be done for 'all-am'. Making all in lib make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-buffer.lo `test -f 'buffer.cpp' || echo './'`buffer.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c buffer.cpp -fPIC -DPIC -o .libs/libfilezilla_la-buffer.o In file included from buffer.cpp:1: libfilezilla/buffer.hpp:87:33: error: 'uint8_t' was not declared in this scope 87 | void append(std::vector const& data); | ^~~~~~~ libfilezilla/buffer.hpp:5:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 4 | #include "libfilezilla.hpp" +++ |+#include 5 | libfilezilla/buffer.hpp:87:40: error: template argument 1 is invalid 87 | void append(std::vector const& data); | ^ libfilezilla/buffer.hpp:87:40: error: template argument 2 is invalid buffer.cpp:174:33: error: 'uint8_t' was not declared in this scope 174 | void buffer::append(std::vector const& data) | ^~~~~~~ buffer.cpp:8:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 7 | #include +++ |+#include 8 | buffer.cpp:174:40: error: template argument 1 is invalid 174 | void buffer::append(std::vector const& data) | ^ buffer.cpp:174:40: error: template argument 2 is invalid buffer.cpp: In member function 'void fz::buffer::append(const int&)': buffer.cpp:176:60: error: request for member 'data' in 'data', which is of non-class type 'const int' 176 | append(reinterpret_cast(data.data()), data.size()); | ^~~~ buffer.cpp:176:74: error: request for member 'size' in 'data', which is of non-class type 'const int' 176 | append(reinterpret_cast(data.data()), data.size()); | ^~~~ make[1]: *** [Makefile:755: libfilezilla_la-buffer.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-hash.lo `test -f 'hash.cpp' || echo './'`hash.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c hash.cpp -fPIC -DPIC -o .libs/libfilezilla_la-hash.o In file included from hash.cpp:3: libfilezilla/hash.hpp:38:44: error: 'uint8_t' was not declared in this scope 38 | void update(std::basic_string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:1:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | #ifndef LIBFILEZILLA_HASH_HEADER libfilezilla/hash.hpp:38:51: error: template argument 1 is invalid 38 | void update(std::basic_string_view const& data); | ^ libfilezilla/hash.hpp:38:51: error: template argument 2 is invalid libfilezilla/hash.hpp:39:33: error: 'uint8_t' was not declared in this scope 39 | void update(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:39:33: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:39:40: error: template argument 1 is invalid 39 | void update(std::vector const& data); | ^ libfilezilla/hash.hpp:39:40: error: template argument 2 is invalid libfilezilla/hash.hpp:39:14: error: 'void fz::hash_accumulator::update(const int&)' cannot be overloaded with 'void fz::hash_accumulator::update(const int&)' 39 | void update(std::vector const& data); | ^~~~~~ libfilezilla/hash.hpp:38:14: note: previous declaration 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:40:21: error: 'uint8_t' has not been declared 40 | void update(uint8_t const* data, size_t size); | ^~~~~~~ libfilezilla/hash.hpp:41:21: error: 'uint8_t' has not been declared 41 | void update(uint8_t in) { | ^~~~~~~ libfilezilla/hash.hpp:46:21: error: 'uint8_t' was not declared in this scope 46 | std::vector digest(); | ^~~~~~~ libfilezilla/hash.hpp:46:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:46:28: error: template argument 1 is invalid 46 | std::vector digest(); | ^ libfilezilla/hash.hpp:46:28: error: template argument 2 is invalid libfilezilla/hash.hpp:48:30: error: 'uint8_t' was not declared in this scope 48 | operator std::vector() { | ^~~~~~~ libfilezilla/hash.hpp:48:30: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:48:37: error: template argument 1 is invalid 48 | operator std::vector() { | ^ libfilezilla/hash.hpp:48:37: error: template argument 2 is invalid libfilezilla/hash.hpp:67:13: error: 'uint8_t' was not declared in this scope 67 | std::vector FZ_PUBLIC_SYMBOL md5(std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:67:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:67:20: error: template argument 1 is invalid 67 | std::vector FZ_PUBLIC_SYMBOL md5(std::string_view const& data); | ^ libfilezilla/hash.hpp:67:20: error: template argument 2 is invalid libfilezilla/hash.hpp:68:13: error: 'uint8_t' was not declared in this scope 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:68:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:68:20: error: template argument 1 is invalid 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^ libfilezilla/hash.hpp:68:20: error: template argument 2 is invalid libfilezilla/hash.hpp:68:55: error: 'uint8_t' was not declared in this scope 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:68:55: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:68:62: error: template argument 1 is invalid 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^ libfilezilla/hash.hpp:68:62: error: template argument 2 is invalid libfilezilla/hash.hpp:71:13: error: 'uint8_t' was not declared in this scope 71 | std::vector FZ_PUBLIC_SYMBOL sha256(std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:71:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:71:20: error: template argument 1 is invalid 71 | std::vector FZ_PUBLIC_SYMBOL sha256(std::string_view const& data); | ^ libfilezilla/hash.hpp:71:20: error: template argument 2 is invalid libfilezilla/hash.hpp:72:13: error: 'uint8_t' was not declared in this scope 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:72:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:72:20: error: template argument 1 is invalid 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^ libfilezilla/hash.hpp:72:20: error: template argument 2 is invalid libfilezilla/hash.hpp:72:58: error: 'uint8_t' was not declared in this scope 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:72:58: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:72:65: error: template argument 1 is invalid 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^ libfilezilla/hash.hpp:72:65: error: template argument 2 is invalid libfilezilla/hash.hpp:75:13: error: 'uint8_t' was not declared in this scope 75 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:75:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:75:20: error: template argument 1 is invalid 75 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::string_view const& data); | ^ libfilezilla/hash.hpp:75:20: error: template argument 2 is invalid libfilezilla/hash.hpp:76:13: error: 'uint8_t' was not declared in this scope 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:76:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:76:20: error: template argument 1 is invalid 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:76:20: error: template argument 2 is invalid libfilezilla/hash.hpp:76:63: error: 'uint8_t' was not declared in this scope 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:76:63: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:76:70: error: template argument 1 is invalid 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:76:70: error: template argument 2 is invalid libfilezilla/hash.hpp:76:96: error: 'uint8_t' was not declared in this scope 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:76:96: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:76:103: error: template argument 1 is invalid 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:76:103: error: template argument 2 is invalid libfilezilla/hash.hpp:77:13: error: 'uint8_t' was not declared in this scope 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:77:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:77:20: error: template argument 1 is invalid 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^ libfilezilla/hash.hpp:77:20: error: template argument 2 is invalid libfilezilla/hash.hpp:77:63: error: 'uint8_t' was not declared in this scope 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:77:63: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:77:70: error: template argument 1 is invalid 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^ libfilezilla/hash.hpp:77:70: error: template argument 2 is invalid libfilezilla/hash.hpp:78:13: error: 'uint8_t' was not declared in this scope 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:78:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:78:20: error: template argument 1 is invalid 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:78:20: error: template argument 2 is invalid libfilezilla/hash.hpp:78:92: error: 'uint8_t' was not declared in this scope 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:78:92: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:78:99: error: template argument 1 is invalid 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:78:99: error: template argument 2 is invalid libfilezilla/hash.hpp:80:13: error: 'uint8_t' was not declared in this scope 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^~~~~~~ libfilezilla/hash.hpp:80:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:80:20: error: template argument 1 is invalid 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^ libfilezilla/hash.hpp:80:20: error: template argument 2 is invalid libfilezilla/hash.hpp:80:81: error: 'uint8_t' was not declared in this scope 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^~~~~~~ libfilezilla/hash.hpp:80:81: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:80:88: error: template argument 1 is invalid 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^ libfilezilla/hash.hpp:80:88: error: template argument 2 is invalid libfilezilla/hash.hpp:80:130: error: 'uint8_t' was not declared in this scope 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^~~~~~~ libfilezilla/hash.hpp:80:130: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:80:137: error: template argument 1 is invalid 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^ libfilezilla/hash.hpp:80:137: error: template argument 2 is invalid libfilezilla/hash.hpp:83:85: error: 'uint8_t' was not declared in this scope 83 | std::enable_if_t'; did you forget to '#include '? libfilezilla/hash.hpp:84:81: error: 'uint8_t' was not declared in this scope 84 | sizeof(typename SaltContainer::value_type) == sizeof(uint8_t)>* = nullptr> | ^~~~~~~ libfilezilla/hash.hpp:84:81: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:84:89: error: template argument 1 is invalid 84 | sizeof(typename SaltContainer::value_type) == sizeof(uint8_t)>* = nullptr> | ^ libfilezilla/hash.hpp:85:13: error: 'uint8_t' was not declared in this scope 85 | std::vector pbkdf2_hmac_sha256(PasswordContainer const& password, SaltContainer const& salt, size_t length, unsigned int iterations) | ^~~~~~~ libfilezilla/hash.hpp:85:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:85:20: error: template argument 1 is invalid 85 | std::vector pbkdf2_hmac_sha256(PasswordContainer const& password, SaltContainer const& salt, size_t length, unsigned int iterations) | ^ libfilezilla/hash.hpp:85:20: error: template argument 2 is invalid libfilezilla/hash.hpp: In function 'int fz::pbkdf2_hmac_sha256(const PasswordContainer&, const SaltContainer&, size_t, unsigned int)': libfilezilla/hash.hpp:87:58: error: 'uint8_t' was not declared in this scope 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~~~ libfilezilla/hash.hpp:87:58: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:87:65: error: template argument 1 is invalid 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^ libfilezilla/hash.hpp:87:65: error: template argument 2 is invalid libfilezilla/hash.hpp:87:84: error: 'uint8_t' does not name a type 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~~~ libfilezilla/hash.hpp:87:84: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:87:92: error: expected '>' before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~ libfilezilla/hash.hpp:87:92: error: expected '(' before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~ | ( libfilezilla/hash.hpp:87:92: error: expected primary-expression before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~ libfilezilla/hash.hpp:87:91: error: expected ')' before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~~ | ) libfilezilla/hash.hpp:88:65: error: template argument 2 is invalid 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^ libfilezilla/hash.hpp:88:84: error: 'uint8_t' does not name a type 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~~~ libfilezilla/hash.hpp:88:84: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:88:92: error: expected '>' before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~ libfilezilla/hash.hpp:88:92: error: expected '(' before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~ | ( libfilezilla/hash.hpp:88:92: error: expected primary-expression before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~ libfilezilla/hash.hpp:88:91: error: expected ')' before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~~ | ) hash.cpp: At global scope: hash.cpp:165:6: error: no declaration matches 'void fz::hash_accumulator::update(const std::basic_string_view&)' 165 | void hash_accumulator::update(std::basic_string_view const& data) | ^~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:41:14: note: candidates are: 'void fz::hash_accumulator::update(int)' 41 | void update(uint8_t in) { | ^~~~~~ libfilezilla/hash.hpp:40:14: note: 'void fz::hash_accumulator::update(const int*, size_t)' 40 | void update(uint8_t const* data, size_t size); | ^~~~~~ libfilezilla/hash.hpp:38:14: note: 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ hash.cpp:158:6: note: 'void fz::hash_accumulator::update(const std::string_view&)' 158 | void hash_accumulator::update(std::string_view const& data) | ^~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:25:24: note: 'class fz::hash_accumulator' defined here 25 | class FZ_PUBLIC_SYMBOL hash_accumulator final | ^~~~~~~~~~~~~~~~ hash.cpp:172:6: error: no declaration matches 'void fz::hash_accumulator::update(const std::vector&)' 172 | void hash_accumulator::update(std::vector const& data) | ^~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:41:14: note: candidates are: 'void fz::hash_accumulator::update(int)' 41 | void update(uint8_t in) { | ^~~~~~ libfilezilla/hash.hpp:40:14: note: 'void fz::hash_accumulator::update(const int*, size_t)' 40 | void update(uint8_t const* data, size_t size); | ^~~~~~ libfilezilla/hash.hpp:38:14: note: 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ hash.cpp:158:6: note: 'void fz::hash_accumulator::update(const std::string_view&)' 158 | void hash_accumulator::update(std::string_view const& data) | ^~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:25:24: note: 'class fz::hash_accumulator' defined here 25 | class FZ_PUBLIC_SYMBOL hash_accumulator final | ^~~~~~~~~~~~~~~~ hash.cpp:179:6: error: no declaration matches 'void fz::hash_accumulator::update(const uint8_t*, size_t)' 179 | void hash_accumulator::update(uint8_t const* data, size_t size) | ^~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:41:14: note: candidates are: 'void fz::hash_accumulator::update(int)' 41 | void update(uint8_t in) { | ^~~~~~ libfilezilla/hash.hpp:40:14: note: 'void fz::hash_accumulator::update(const int*, size_t)' 40 | void update(uint8_t const* data, size_t size); | ^~~~~~ libfilezilla/hash.hpp:38:14: note: 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ hash.cpp:158:6: note: 'void fz::hash_accumulator::update(const std::string_view&)' 158 | void hash_accumulator::update(std::string_view const& data) | ^~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:25:24: note: 'class fz::hash_accumulator' defined here 25 | class FZ_PUBLIC_SYMBOL hash_accumulator final | ^~~~~~~~~~~~~~~~ hash.cpp:184:22: error: no declaration matches 'std::vector fz::hash_accumulator::digest()' 184 | std::vector hash_accumulator::digest() | ^~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:46:30: note: candidate is: 'int fz::hash_accumulator::digest()' 46 | std::vector digest(); | ^~~~~~ libfilezilla/hash.hpp:25:24: note: 'class fz::hash_accumulator' defined here 25 | class FZ_PUBLIC_SYMBOL hash_accumulator final | ^~~~~~~~~~~~~~~~ hash.cpp:270:22: error: ambiguating new declaration of 'std::vector fz::md5(const std::string_view&)' 270 | std::vector md5(std::string_view const& data) | ^~~ libfilezilla/hash.hpp:67:39: note: old declaration 'int fz::md5(const std::string_view&)' 67 | std::vector FZ_PUBLIC_SYMBOL md5(std::string_view const& data); | ^~~ hash.cpp:290:22: error: ambiguating new declaration of 'std::vector fz::sha256(const std::string_view&)' 290 | std::vector sha256(std::string_view const& data) | ^~~~~~ libfilezilla/hash.hpp:71:39: note: old declaration 'int fz::sha256(const std::string_view&)' 71 | std::vector FZ_PUBLIC_SYMBOL sha256(std::string_view const& data); | ^~~~~~ hash.cpp:305:22: error: ambiguating new declaration of 'std::vector fz::hmac_sha256(const std::string_view&, const std::string_view&)' 305 | std::vector hmac_sha256(std::string_view const& key, std::string_view const& data) | ^~~~~~~~~~~ libfilezilla/hash.hpp:75:39: note: old declaration 'int fz::hmac_sha256(const std::string_view&, const std::string_view&)' 75 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::string_view const& data); | ^~~~~~~~~~~ make[1]: *** [Makefile:804: libfilezilla_la-hash.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-encode.lo `test -f 'encode.cpp' || echo './'`encode.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c encode.cpp -fPIC -DPIC -o .libs/libfilezilla_la-encode.o In file included from encode.cpp:1: libfilezilla/encode.hpp:58:43: error: 'uint8_t' was not declared in this scope 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:5:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 4 | #include "libfilezilla.hpp" +++ |+#include 5 | libfilezilla/encode.hpp:58:43: error: template argument 1 is invalid 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:58:43: error: template argument 2 is invalid libfilezilla/encode.hpp:64:43: error: 'uint8_t' was not declared in this scope 64 | template> | ^~~~~~~ libfilezilla/encode.hpp:64:43: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:64:43: error: template argument 1 is invalid libfilezilla/encode.hpp:64:43: error: template argument 2 is invalid libfilezilla/encode.hpp:114:56: error: 'uint8_t' was not declared in this scope 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:114:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:114:63: error: template argument 1 is invalid 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:114:63: error: template argument 2 is invalid libfilezilla/encode.hpp:129:13: error: 'uint8_t' was not declared in this scope 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:129:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:129:20: error: template argument 1 is invalid 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^ libfilezilla/encode.hpp:129:20: error: template argument 2 is invalid libfilezilla/encode.hpp:130:13: error: 'uint8_t' was not declared in this scope 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:130:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:130:20: error: template argument 1 is invalid 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^ libfilezilla/encode.hpp:130:20: error: template argument 2 is invalid libfilezilla/encode.hpp:149:56: error: 'uint8_t' was not declared in this scope 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:149:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:149:63: error: template argument 1 is invalid 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:149:63: error: template argument 2 is invalid libfilezilla/encode.hpp:156:13: error: 'uint8_t' was not declared in this scope 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:156:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:156:20: error: template argument 1 is invalid 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:156:20: error: template argument 2 is invalid libfilezilla/encode.hpp:157:13: error: 'uint8_t' was not declared in this scope 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:157:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:157:20: error: template argument 1 is invalid 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:157:20: error: template argument 2 is invalid libfilezilla/encode.hpp:184:13: error: 'uint8_t' was not declared in this scope 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:184:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:184:20: error: template argument 1 is invalid 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:184:20: error: template argument 2 is invalid libfilezilla/encode.hpp:185:13: error: 'uint8_t' was not declared in this scope 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:185:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:185:20: error: template argument 1 is invalid 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:185:20: error: template argument 2 is invalid encode.cpp:63:39: error: 'uint8_t' was not declared in this scope 63 | std::string base64_encode(std::vector const& in, base64_type type, bool pad) | ^~~~~~~ encode.cpp:2:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 1 | #include "libfilezilla/encode.hpp" +++ |+#include 2 | encode.cpp:63:46: error: template argument 1 is invalid 63 | std::string base64_encode(std::vector const& in, base64_type type, bool pad) | ^ encode.cpp:63:46: error: template argument 2 is invalid encode.cpp:165:13: error: 'uint8_t' was not declared in this scope 165 | std::vector base64_decode(std::string_view const& in) | ^~~~~~~ encode.cpp:165:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:165:20: error: template argument 1 is invalid 165 | std::vector base64_decode(std::string_view const& in) | ^ encode.cpp:165:20: error: template argument 2 is invalid encode.cpp: In function 'int fz::base64_decode(const std::string_view&)': encode.cpp:167:47: error: 'uint8_t' was not declared in this scope 167 | return base64_decode_impl>(in); | ^~~~~~~ encode.cpp:167:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:167:47: error: template argument 1 is invalid encode.cpp:167:47: error: template argument 2 is invalid encode.cpp:167:56: error: no matching function for call to 'base64_decode_impl< >(const std::string_view&)' 167 | return base64_decode_impl>(in); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ encode.cpp:77:5: note: candidate: 'template Ret fz::{anonymous}::base64_decode_impl(const View&)' 77 | Ret base64_decode_impl(View const& in) | ^~~~~~~~~~~~~~~~~~ encode.cpp:77:5: note: template argument deduction/substitution failed: encode.cpp:167:56: error: template argument 1 is invalid 167 | return base64_decode_impl>(in); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ encode.cpp: At global scope: encode.cpp:170:13: error: 'uint8_t' was not declared in this scope 170 | std::vector base64_decode(std::wstring_view const& in) | ^~~~~~~ encode.cpp:170:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:170:20: error: template argument 1 is invalid 170 | std::vector base64_decode(std::wstring_view const& in) | ^ encode.cpp:170:20: error: template argument 2 is invalid encode.cpp: In function 'int fz::base64_decode(const std::wstring_view&)': encode.cpp:172:47: error: 'uint8_t' was not declared in this scope 172 | return base64_decode_impl>(in); | ^~~~~~~ encode.cpp:172:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:172:47: error: template argument 1 is invalid encode.cpp:172:47: error: template argument 2 is invalid encode.cpp:172:56: error: no matching function for call to 'base64_decode_impl< >(const std::wstring_view&)' 172 | return base64_decode_impl>(in); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ encode.cpp:77:5: note: candidate: 'template Ret fz::{anonymous}::base64_decode_impl(const View&)' 77 | Ret base64_decode_impl(View const& in) | ^~~~~~~~~~~~~~~~~~ encode.cpp:77:5: note: template argument deduction/substitution failed: encode.cpp:172:56: error: template argument 1 is invalid 172 | return base64_decode_impl>(in); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ encode.cpp: At global scope: encode.cpp:273:39: error: 'uint8_t' was not declared in this scope 273 | std::string base32_encode(std::vector const& in, base32_type type, bool pad) | ^~~~~~~ encode.cpp:273:39: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:273:46: error: template argument 1 is invalid 273 | std::string base32_encode(std::vector const& in, base32_type type, bool pad) | ^ encode.cpp:273:46: error: template argument 2 is invalid encode.cpp:428:13: error: 'uint8_t' was not declared in this scope 428 | std::vector base32_decode(std::string_view const& in, base32_type type) | ^~~~~~~ encode.cpp:428:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:428:20: error: template argument 1 is invalid 428 | std::vector base32_decode(std::string_view const& in, base32_type type) | ^ encode.cpp:428:20: error: template argument 2 is invalid encode.cpp: In function 'int fz::base32_decode(const std::string_view&, base32_type)': encode.cpp:430:47: error: 'uint8_t' was not declared in this scope 430 | return base32_decode_impl>(in, type); | ^~~~~~~ encode.cpp:430:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:430:47: error: template argument 1 is invalid encode.cpp:430:47: error: template argument 2 is invalid encode.cpp:430:56: error: no matching function for call to 'base32_decode_impl< >(const std::string_view&, fz::base32_type&)' 430 | return base32_decode_impl>(in, type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ encode.cpp:281:5: note: candidate: 'template Ret fz::{anonymous}::base32_decode_impl(const View&, fz::base32_type)' 281 | Ret base32_decode_impl(View const& in, base32_type type) | ^~~~~~~~~~~~~~~~~~ encode.cpp:281:5: note: template argument deduction/substitution failed: encode.cpp:430:56: error: template argument 1 is invalid 430 | return base32_decode_impl>(in, type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ encode.cpp: At global scope: encode.cpp:433:13: error: 'uint8_t' was not declared in this scope 433 | std::vector base32_decode(std::wstring_view const& in, base32_type type) | ^~~~~~~ encode.cpp:433:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:433:20: error: template argument 1 is invalid 433 | std::vector base32_decode(std::wstring_view const& in, base32_type type) | ^ encode.cpp:433:20: error: template argument 2 is invalid encode.cpp: In function 'int fz::base32_decode(const std::wstring_view&, base32_type)': encode.cpp:435:47: error: 'uint8_t' was not declared in this scope 435 | return base32_decode_impl>(in, type); | ^~~~~~~ encode.cpp:435:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:435:47: error: template argument 1 is invalid encode.cpp:435:47: error: template argument 2 is invalid encode.cpp:435:56: error: no matching function for call to 'base32_decode_impl< >(const std::wstring_view&, fz::base32_type&)' 435 | return base32_decode_impl>(in, type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ encode.cpp:281:5: note: candidate: 'template Ret fz::{anonymous}::base32_decode_impl(const View&, fz::base32_type)' 281 | Ret base32_decode_impl(View const& in, base32_type type) | ^~~~~~~~~~~~~~~~~~ encode.cpp:281:5: note: template argument deduction/substitution failed: encode.cpp:435:56: error: template argument 1 is invalid 435 | return base32_decode_impl>(in, type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ encode.cpp: In function 'Ret fz::{anonymous}::percent_decode_impl(const View&, bool)': encode.cpp:517:89: error: 'uint8_t' does not name a type 517 | ret.push_back(static_cast(static_cast((high << 4) + low))); | ^~~~~~~ encode.cpp:517:89: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp: At global scope: encode.cpp:537:13: error: 'uint8_t' was not declared in this scope 537 | std::vector percent_decode(std::string_view const& s, bool allow_embedded_null) | ^~~~~~~ encode.cpp:537:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:537:20: error: template argument 1 is invalid 537 | std::vector percent_decode(std::string_view const& s, bool allow_embedded_null) | ^ encode.cpp:537:20: error: template argument 2 is invalid encode.cpp: In function 'int fz::percent_decode(const std::string_view&, bool)': encode.cpp:539:48: error: 'uint8_t' was not declared in this scope 539 | return percent_decode_impl>(s, allow_embedded_null); | ^~~~~~~ encode.cpp:539:48: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:539:48: error: template argument 1 is invalid encode.cpp:539:48: error: template argument 2 is invalid encode.cpp:539:57: error: no matching function for call to 'percent_decode_impl< >(const std::string_view&, bool&)' 539 | return percent_decode_impl>(s, allow_embedded_null); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ encode.cpp:490:5: note: candidate: 'template Ret fz::{anonymous}::percent_decode_impl(const View&, bool)' 490 | Ret percent_decode_impl(View const & s, bool allow_embedded_null) | ^~~~~~~~~~~~~~~~~~~ encode.cpp:490:5: note: template argument deduction/substitution failed: encode.cpp:539:57: error: template argument 1 is invalid 539 | return percent_decode_impl>(s, allow_embedded_null); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ encode.cpp: At global scope: encode.cpp:542:13: error: 'uint8_t' was not declared in this scope 542 | std::vector percent_decode(std::wstring_view const& s, bool allow_embedded_null) | ^~~~~~~ encode.cpp:542:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:542:20: error: template argument 1 is invalid 542 | std::vector percent_decode(std::wstring_view const& s, bool allow_embedded_null) | ^ encode.cpp:542:20: error: template argument 2 is invalid encode.cpp: In function 'int fz::percent_decode(const std::wstring_view&, bool)': encode.cpp:544:48: error: 'uint8_t' was not declared in this scope 544 | return percent_decode_impl>(s, allow_embedded_null); | ^~~~~~~ encode.cpp:544:48: note: 'uint8_t' is defined in header ''; did you forget to '#include '? encode.cpp:544:48: error: template argument 1 is invalid encode.cpp:544:48: error: template argument 2 is invalid encode.cpp:544:57: error: no matching function for call to 'percent_decode_impl< >(const std::wstring_view&, bool&)' 544 | return percent_decode_impl>(s, allow_embedded_null); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ encode.cpp:490:5: note: candidate: 'template Ret fz::{anonymous}::percent_decode_impl(const View&, bool)' 490 | Ret percent_decode_impl(View const & s, bool allow_embedded_null) | ^~~~~~~~~~~~~~~~~~~ encode.cpp:490:5: note: template argument deduction/substitution failed: encode.cpp:544:57: error: template argument 1 is invalid 544 | return percent_decode_impl>(s, allow_embedded_null); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ encode.cpp: In instantiation of 'void fz::{anonymous}::base64_encode_impl(std::string&, const DataContainer&, fz::base64_type, bool) [with DataContainer = int; std::string = std::__cxx11::basic_string]': encode.cpp:66:20: required from here encode.cpp:9:23: error: 'int' is not a class, struct, or union type 9 | static_assert(sizeof(typename DataContainer::value_type) == 1, "Bad container type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ encode.cpp:16:25: error: request for member 'size' in 'in', which is of non-class type 'const int' 16 | size_t len = in.size(); | ~~~^~~~ encode.cpp:26:62: error: subscripted value is neither array nor pointer 26 | auto const c1 = static_cast(in[pos++]); | ~~^ encode.cpp:27:62: error: subscripted value is neither array nor pointer 27 | auto const c2 = static_cast(in[pos++]); | ~~^ encode.cpp:28:62: error: subscripted value is neither array nor pointer 28 | auto const c3 = static_cast(in[pos++]); | ~~^ encode.cpp:36:62: error: subscripted value is neither array nor pointer 36 | auto const c1 = static_cast(in[pos++]); | ~~^ encode.cpp:39:70: error: subscripted value is neither array nor pointer 39 | auto const c2 = static_cast(in[pos++]); | ~~^ encode.cpp: In instantiation of 'std::string fz::{anonymous}::base32_encode_impl(const DataContainer&, fz::base32_type, bool) [with DataContainer = int; std::string = std::__cxx11::basic_string]': encode.cpp:275:27: required from here encode.cpp:190:23: error: 'int' is not a class, struct, or union type 190 | static_assert(sizeof(typename DataContainer::value_type) == 1, "Bad container type"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ encode.cpp:201:25: error: request for member 'size' in 'in', which is of non-class type 'const int' 201 | size_t len = in.size(); | ~~~^~~~ encode.cpp:208:62: error: subscripted value is neither array nor pointer 208 | auto const c1 = static_cast(in[pos++]); | ~~^ encode.cpp:209:62: error: subscripted value is neither array nor pointer 209 | auto const c2 = static_cast(in[pos++]); | ~~^ encode.cpp:210:62: error: subscripted value is neither array nor pointer 210 | auto const c3 = static_cast(in[pos++]); | ~~^ encode.cpp:211:62: error: subscripted value is neither array nor pointer 211 | auto const c4 = static_cast(in[pos++]); | ~~^ encode.cpp:212:62: error: subscripted value is neither array nor pointer 212 | auto const c5 = static_cast(in[pos++]); | ~~^ encode.cpp:224:62: error: subscripted value is neither array nor pointer 224 | auto const c1 = static_cast(in[pos++]); | ~~^ encode.cpp:227:70: error: subscripted value is neither array nor pointer 227 | auto const c2 = static_cast(in[pos++]); | ~~^ encode.cpp:231:78: error: subscripted value is neither array nor pointer 231 | auto const c3 = static_cast(in[pos++]); | ~~^ encode.cpp:234:86: error: subscripted value is neither array nor pointer 234 | auto const c4 = static_cast(in[pos++]); | ~~^ make[1]: *** [Makefile:762: libfilezilla_la-encode.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-file.lo `test -f 'file.cpp' || echo './'`file.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c file.cpp -fPIC -DPIC -o .libs/libfilezilla_la-file.o make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-nonowning_buffer.lo `test -f 'nonowning_buffer.cpp' || echo './'`nonowning_buffer.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c nonowning_buffer.cpp -fPIC -DPIC -o .libs/libfilezilla_la-nonowning_buffer.o In file included from nonowning_buffer.cpp:1: libfilezilla/nonowning_buffer.hpp:27:42: error: expected ')' before '*' token 27 | explicit nonowning_buffer(uint8_t *buffer, size_t capacity) | ~ ^~ | ) libfilezilla/nonowning_buffer.hpp:33:42: error: expected ')' before '*' token 33 | explicit nonowning_buffer(uint8_t *buffer, size_t capacity, size_t size) | ~ ^~ | ) libfilezilla/nonowning_buffer.hpp:66:9: error: 'uint8_t' does not name a type 66 | uint8_t operator[](size_t offset) { return *(buffer_ + start_ + offset); } | ^~~~~~~ libfilezilla/nonowning_buffer.hpp:5:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 4 | #include "libfilezilla.hpp" +++ |+#include 5 | libfilezilla/nonowning_buffer.hpp:69:9: error: 'uint8_t' does not name a type 69 | uint8_t const* get() const { return buffer_ + start_; } | ^~~~~~~ libfilezilla/nonowning_buffer.hpp:69:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/nonowning_buffer.hpp:70:9: error: 'uint8_t' does not name a type 70 | uint8_t * get() { return buffer_ + start_; } | ^~~~~~~ libfilezilla/nonowning_buffer.hpp:70:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/nonowning_buffer.hpp:80:9: error: 'uint8_t' does not name a type 80 | uint8_t* get(size_t bytes); | ^~~~~~~ libfilezilla/nonowning_buffer.hpp:80:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/nonowning_buffer.hpp:97:21: error: 'uint8_t' has not been declared 97 | void append(uint8_t const* data, size_t len); | ^~~~~~~ libfilezilla/nonowning_buffer.hpp:98:21: error: 'uint8_t' has not been declared 98 | void append(uint8_t c) { append(&c, 1); } | ^~~~~~~ libfilezilla/nonowning_buffer.hpp:101:9: error: 'uint8_t' does not name a type 101 | uint8_t* buffer_{}; | ^~~~~~~ libfilezilla/nonowning_buffer.hpp:101:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? nonowning_buffer.cpp: In member function 'void fz::nonowning_buffer::resize(size_t)': nonowning_buffer.cpp:17:25: error: 'buffer_' was not declared in this scope; did you mean 'buffer'? 17 | memmove(buffer_, buffer_ + start_, size_); | ^~~~~~~ | buffer nonowning_buffer.cpp: At global scope: nonowning_buffer.cpp:23:1: error: 'uint8_t' does not name a type 23 | uint8_t* nonowning_buffer::get(size_t bytes) | ^~~~~~~ nonowning_buffer.cpp:4:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 3 | #include +++ |+#include 4 | nonowning_buffer.cpp: In member function 'void fz::nonowning_buffer::reset()': nonowning_buffer.cpp:59:9: error: 'buffer_' was not declared in this scope; did you mean 'buffer'? 59 | buffer_ = nullptr; | ^~~~~~~ | buffer nonowning_buffer.cpp: At global scope: nonowning_buffer.cpp:65:6: error: variable or field 'append' declared void 65 | void nonowning_buffer::append(uint8_t const* data, size_t len) | ^~~~~~~~~~~~~~~~ nonowning_buffer.cpp:65:31: error: 'uint8_t' was not declared in this scope 65 | void nonowning_buffer::append(uint8_t const* data, size_t len) | ^~~~~~~ nonowning_buffer.cpp:65:31: note: 'uint8_t' is defined in header ''; did you forget to '#include '? nonowning_buffer.cpp:65:59: error: expected primary-expression before 'len' 65 | void nonowning_buffer::append(uint8_t const* data, size_t len) | ^~~ make[1]: *** [Makefile:860: libfilezilla_la-nonowning_buffer.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-iputils.lo `test -f 'iputils.cpp' || echo './'`iputils.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c iputils.cpp -fPIC -DPIC -o .libs/libfilezilla_la-iputils.o In file included from iputils.cpp:2: libfilezilla/encode.hpp:58:43: error: 'uint8_t' was not declared in this scope 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:1:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | #ifndef LIBFILEZILLA_ENCODE_HEADER libfilezilla/encode.hpp:58:43: error: template argument 1 is invalid 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:58:43: error: template argument 2 is invalid libfilezilla/encode.hpp:64:43: error: 'uint8_t' was not declared in this scope 64 | template> | ^~~~~~~ libfilezilla/encode.hpp:64:43: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:64:43: error: template argument 1 is invalid libfilezilla/encode.hpp:64:43: error: template argument 2 is invalid libfilezilla/encode.hpp:114:56: error: 'uint8_t' was not declared in this scope 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:114:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:114:63: error: template argument 1 is invalid 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:114:63: error: template argument 2 is invalid libfilezilla/encode.hpp:129:13: error: 'uint8_t' was not declared in this scope 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:129:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:129:20: error: template argument 1 is invalid 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^ libfilezilla/encode.hpp:129:20: error: template argument 2 is invalid libfilezilla/encode.hpp:130:13: error: 'uint8_t' was not declared in this scope 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:130:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:130:20: error: template argument 1 is invalid 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^ libfilezilla/encode.hpp:130:20: error: template argument 2 is invalid libfilezilla/encode.hpp:149:56: error: 'uint8_t' was not declared in this scope 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:149:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:149:63: error: template argument 1 is invalid 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:149:63: error: template argument 2 is invalid libfilezilla/encode.hpp:156:13: error: 'uint8_t' was not declared in this scope 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:156:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:156:20: error: template argument 1 is invalid 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:156:20: error: template argument 2 is invalid libfilezilla/encode.hpp:157:13: error: 'uint8_t' was not declared in this scope 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:157:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:157:20: error: template argument 1 is invalid 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:157:20: error: template argument 2 is invalid libfilezilla/encode.hpp:184:13: error: 'uint8_t' was not declared in this scope 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:184:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:184:20: error: template argument 1 is invalid 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:184:20: error: template argument 2 is invalid libfilezilla/encode.hpp:185:13: error: 'uint8_t' was not declared in this scope 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:185:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:185:20: error: template argument 1 is invalid 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:185:20: error: template argument 2 is invalid iputils.cpp: In function 'bool fz::do_is_routable_address(const String&)': iputils.cpp:205:56: error: 'uint8_t' was not declared in this scope 205 | auto segment = fz::to_integral(middle.substr(0, pos)); // Cannot throw as we have verified it to be a valid IPv4 | ^~~~~~~ iputils.cpp:3:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 2 | #include "libfilezilla/encode.hpp" +++ |+#include 3 | make[1]: *** [Makefile:825: libfilezilla_la-iputils.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-encryption.lo `test -f 'encryption.cpp' || echo './'`encryption.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c encryption.cpp -fPIC -DPIC -o .libs/libfilezilla_la-encryption.o In file included from encryption.cpp:1: libfilezilla/encryption.hpp:53:21: error: 'uint8_t' was not declared in this scope 53 | std::vector key_; | ^~~~~~~ libfilezilla/encryption.hpp:14:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 13 | #include "libfilezilla.hpp" +++ |+#include 14 | libfilezilla/encryption.hpp:53:28: error: template argument 1 is invalid 53 | std::vector key_; | ^ libfilezilla/encryption.hpp:53:28: error: template argument 2 is invalid libfilezilla/encryption.hpp:54:21: error: 'uint8_t' was not declared in this scope 54 | std::vector salt_; | ^~~~~~~ libfilezilla/encryption.hpp:54:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:54:28: error: template argument 1 is invalid 54 | std::vector salt_; | ^ libfilezilla/encryption.hpp:54:28: error: template argument 2 is invalid libfilezilla/encryption.hpp: In member function 'fz::public_key::operator bool() const': libfilezilla/encryption.hpp:34:29: error: request for member 'size' in '((const fz::public_key*)this)->fz::public_key::key_', which is of non-class type 'const int' 34 | return key_.size() == key_size && salt_.size() == salt_size; | ^~~~ libfilezilla/encryption.hpp:34:57: error: request for member 'size' in '((const fz::public_key*)this)->fz::public_key::salt_', which is of non-class type 'const int' 34 | return key_.size() == key_size && salt_.size() == salt_size; | ^~~~ libfilezilla/encryption.hpp: At global scope: libfilezilla/encryption.hpp:81:54: error: 'uint8_t' was not declared in this scope 81 | static private_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^~~~~~~ libfilezilla/encryption.hpp:81:54: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:81:61: error: template argument 1 is invalid 81 | static private_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^ libfilezilla/encryption.hpp:81:61: error: template argument 2 is invalid libfilezilla/encryption.hpp:81:92: error: 'uint8_t' was not declared in this scope 81 | static private_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^~~~~~~ libfilezilla/encryption.hpp:81:92: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:81:99: error: template argument 1 is invalid 81 | static private_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^ libfilezilla/encryption.hpp:81:99: error: template argument 2 is invalid libfilezilla/encryption.hpp:82:88: error: 'uint8_t' was not declared in this scope 82 | static private_key from_password(std::string_view const& password, std::vector const& salt, unsigned int iterations = min_iterations) | ^~~~~~~ libfilezilla/encryption.hpp:82:88: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:82:95: error: template argument 1 is invalid 82 | static private_key from_password(std::string_view const& password, std::vector const& salt, unsigned int iterations = min_iterations) | ^ libfilezilla/encryption.hpp:82:95: error: template argument 2 is invalid libfilezilla/encryption.hpp:91:21: error: 'uint8_t' was not declared in this scope 91 | std::vector const& salt() const { | ^~~~~~~ libfilezilla/encryption.hpp:91:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:91:28: error: template argument 1 is invalid 91 | std::vector const& salt() const { | ^ libfilezilla/encryption.hpp:91:28: error: template argument 2 is invalid libfilezilla/encryption.hpp:99:21: error: 'uint8_t' was not declared in this scope 99 | std::vector shared_secret(public_key const& pub) const; | ^~~~~~~ libfilezilla/encryption.hpp:99:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:99:28: error: template argument 1 is invalid 99 | std::vector shared_secret(public_key const& pub) const; | ^ libfilezilla/encryption.hpp:99:28: error: template argument 2 is invalid libfilezilla/encryption.hpp:105:21: error: 'uint8_t' was not declared in this scope 105 | std::vector key_; | ^~~~~~~ libfilezilla/encryption.hpp:105:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:105:28: error: template argument 1 is invalid 105 | std::vector key_; | ^ libfilezilla/encryption.hpp:105:28: error: template argument 2 is invalid libfilezilla/encryption.hpp:106:21: error: 'uint8_t' was not declared in this scope 106 | std::vector salt_; | ^~~~~~~ libfilezilla/encryption.hpp:106:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:106:28: error: template argument 1 is invalid 106 | std::vector salt_; | ^ libfilezilla/encryption.hpp:106:28: error: template argument 2 is invalid libfilezilla/encryption.hpp: In static member function 'static fz::private_key fz::private_key::from_password(const std::string_view&, const int&, unsigned int)': libfilezilla/encryption.hpp:84:50: error: 'uint8_t' was not declared in this scope 84 | return from_password(std::vector(password.begin(), password.end()), salt, iterations); | ^~~~~~~ libfilezilla/encryption.hpp:84:50: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:84:57: error: template argument 1 is invalid 84 | return from_password(std::vector(password.begin(), password.end()), salt, iterations); | ^ libfilezilla/encryption.hpp:84:57: error: template argument 2 is invalid libfilezilla/encryption.hpp: In member function 'fz::private_key::operator bool() const': libfilezilla/encryption.hpp:88:29: error: request for member 'size' in '((const fz::private_key*)this)->fz::private_key::key_', which is of non-class type 'const int' 88 | return key_.size() == key_size && salt_.size() == salt_size; | ^~~~ libfilezilla/encryption.hpp:88:57: error: request for member 'size' in '((const fz::private_key*)this)->fz::private_key::salt_', which is of non-class type 'const int' 88 | return key_.size() == key_size && salt_.size() == salt_size; | ^~~~ libfilezilla/encryption.hpp: At global scope: libfilezilla/encryption.hpp:130:13: error: 'uint8_t' was not declared in this scope 130 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:130:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:130:20: error: template argument 1 is invalid 130 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, bool authenticated = true); | ^ libfilezilla/encryption.hpp:130:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:130:59: error: 'uint8_t' was not declared in this scope 130 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:130:59: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:130:66: error: template argument 1 is invalid 130 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, bool authenticated = true); | ^ libfilezilla/encryption.hpp:130:66: error: template argument 2 is invalid libfilezilla/encryption.hpp:131:13: error: 'uint8_t' was not declared in this scope 131 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, public_key const& pub, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:131:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:131:20: error: template argument 1 is invalid 131 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, public_key const& pub, bool authenticated = true); | ^ libfilezilla/encryption.hpp:131:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:132:13: error: 'uint8_t' was not declared in this scope 132 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:132:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:132:20: error: template argument 1 is invalid 132 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, bool authenticated = true); | ^ libfilezilla/encryption.hpp:132:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:132:55: error: 'int fz::encrypt' redeclared as different kind of entity 132 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, bool authenticated = true); | ^~~~~ libfilezilla/encryption.hpp:131:39: note: previous declaration 'int fz::encrypt(const std::string_view&, const public_key&, bool)' 131 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, public_key const& pub, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:132:47: error: 'uint8_t' was not declared in this scope 132 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:132:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:132:76: error: expected primary-expression before 'size' 132 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, bool authenticated = true); | ^~~~ libfilezilla/encryption.hpp:132:93: error: expected primary-expression before 'const' 132 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, bool authenticated = true); | ^~~~~ libfilezilla/encryption.hpp:132:105: error: expected primary-expression before 'bool' 132 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, bool authenticated = true); | ^~~~ libfilezilla/encryption.hpp:133:13: error: 'uint8_t' was not declared in this scope 133 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:133:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:133:20: error: template argument 1 is invalid 133 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:133:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:133:59: error: 'uint8_t' was not declared in this scope 133 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:133:59: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:133:66: error: template argument 1 is invalid 133 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:133:66: error: template argument 2 is invalid libfilezilla/encryption.hpp:133:117: error: 'uint8_t' was not declared in this scope 133 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:133:117: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:133:124: error: template argument 1 is invalid 133 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, public_key const& pub, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:133:124: error: template argument 2 is invalid libfilezilla/encryption.hpp:134:13: error: 'uint8_t' was not declared in this scope 134 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, public_key const& pub, std::string_view const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:134:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:134:20: error: template argument 1 is invalid 134 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, public_key const& pub, std::string_view const& authenticated_data); | ^ libfilezilla/encryption.hpp:134:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:135:13: error: 'uint8_t' was not declared in this scope 135 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:135:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:135:20: error: template argument 1 is invalid 135 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^ libfilezilla/encryption.hpp:135:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:135:55: error: 'int fz::encrypt' redeclared as different kind of entity 135 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~ libfilezilla/encryption.hpp:134:39: note: previous declaration 'int fz::encrypt(const std::string_view&, const public_key&, const std::string_view&)' 134 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, public_key const& pub, std::string_view const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:135:47: error: 'uint8_t' was not declared in this scope 135 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:135:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:135:76: error: expected primary-expression before 'size' 135 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~ libfilezilla/encryption.hpp:135:93: error: expected primary-expression before 'const' 135 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~ libfilezilla/encryption.hpp:135:105: error: 'uint8_t' was not declared in this scope 135 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:135:105: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:135:147: error: expected primary-expression before 'authenticated_data_size' 135 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, public_key const& pub, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~~~~~~~~~~~~~~~~~ libfilezilla/encryption.hpp:162:13: error: 'uint8_t' was not declared in this scope 162 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& chiper, private_key const& priv, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:162:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:162:20: error: template argument 1 is invalid 162 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& chiper, private_key const& priv, bool authenticated = true); | ^ libfilezilla/encryption.hpp:162:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:162:59: error: 'uint8_t' was not declared in this scope 162 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& chiper, private_key const& priv, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:162:59: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:162:66: error: template argument 1 is invalid 162 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& chiper, private_key const& priv, bool authenticated = true); | ^ libfilezilla/encryption.hpp:162:66: error: template argument 2 is invalid libfilezilla/encryption.hpp:163:13: error: 'uint8_t' was not declared in this scope 163 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& chiper, private_key const& priv, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:163:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:163:20: error: template argument 1 is invalid 163 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& chiper, private_key const& priv, bool authenticated = true); | ^ libfilezilla/encryption.hpp:163:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:164:13: error: 'uint8_t' was not declared in this scope 164 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:164:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:164:20: error: template argument 1 is invalid 164 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, bool authenticated = true); | ^ libfilezilla/encryption.hpp:164:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:164:55: error: 'int fz::decrypt' redeclared as different kind of entity 164 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, bool authenticated = true); | ^~~~~ libfilezilla/encryption.hpp:163:39: note: previous declaration 'int fz::decrypt(const std::string_view&, const private_key&, bool)' 163 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& chiper, private_key const& priv, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:164:47: error: 'uint8_t' was not declared in this scope 164 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, bool authenticated = true); | ^~~~~~~ libfilezilla/encryption.hpp:164:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:164:77: error: expected primary-expression before 'size' 164 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, bool authenticated = true); | ^~~~ libfilezilla/encryption.hpp:164:95: error: expected primary-expression before 'const' 164 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, bool authenticated = true); | ^~~~~ libfilezilla/encryption.hpp:164:108: error: expected primary-expression before 'bool' 164 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, bool authenticated = true); | ^~~~ libfilezilla/encryption.hpp:165:13: error: 'uint8_t' was not declared in this scope 165 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, private_key const& priv, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:165:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:165:20: error: template argument 1 is invalid 165 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, private_key const& priv, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:165:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:165:59: error: 'uint8_t' was not declared in this scope 165 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, private_key const& priv, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:165:59: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:165:66: error: template argument 1 is invalid 165 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, private_key const& priv, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:165:66: error: template argument 2 is invalid libfilezilla/encryption.hpp:165:120: error: 'uint8_t' was not declared in this scope 165 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, private_key const& priv, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:165:120: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:165:127: error: template argument 1 is invalid 165 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, private_key const& priv, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:165:127: error: template argument 2 is invalid libfilezilla/encryption.hpp:166:13: error: 'uint8_t' was not declared in this scope 166 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& cipher, private_key const& priv, std::string_view const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:166:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:166:20: error: template argument 1 is invalid 166 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& cipher, private_key const& priv, std::string_view const& authenticated_data); | ^ libfilezilla/encryption.hpp:166:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:167:13: error: 'uint8_t' was not declared in this scope 167 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:167:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:167:20: error: template argument 1 is invalid 167 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^ libfilezilla/encryption.hpp:167:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:167:55: error: 'int fz::decrypt' redeclared as different kind of entity 167 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~ libfilezilla/encryption.hpp:166:39: note: previous declaration 'int fz::decrypt(const std::string_view&, const private_key&, const std::string_view&)' 166 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& cipher, private_key const& priv, std::string_view const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:167:47: error: 'uint8_t' was not declared in this scope 167 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:167:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:167:77: error: expected primary-expression before 'size' 167 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~ libfilezilla/encryption.hpp:167:95: error: expected primary-expression before 'const' 167 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~ libfilezilla/encryption.hpp:167:108: error: 'uint8_t' was not declared in this scope 167 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:167:108: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:167:150: error: expected primary-expression before 'authenticated_data_size' 167 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, private_key const& priv, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~~~~~~~~~~~~~~~~~ libfilezilla/encryption.hpp:192:56: error: 'uint8_t' was not declared in this scope 192 | static symmetric_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^~~~~~~ libfilezilla/encryption.hpp:192:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:192:63: error: template argument 1 is invalid 192 | static symmetric_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^ libfilezilla/encryption.hpp:192:63: error: template argument 2 is invalid libfilezilla/encryption.hpp:192:94: error: 'uint8_t' was not declared in this scope 192 | static symmetric_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^~~~~~~ libfilezilla/encryption.hpp:192:94: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:192:101: error: template argument 1 is invalid 192 | static symmetric_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^ libfilezilla/encryption.hpp:192:101: error: template argument 2 is invalid libfilezilla/encryption.hpp:193:90: error: 'uint8_t' was not declared in this scope 193 | static symmetric_key from_password(std::string_view const& password, std::vector const& salt, unsigned int iterations = min_iterations) | ^~~~~~~ libfilezilla/encryption.hpp:193:90: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:193:97: error: template argument 1 is invalid 193 | static symmetric_key from_password(std::string_view const& password, std::vector const& salt, unsigned int iterations = min_iterations) | ^ libfilezilla/encryption.hpp:193:97: error: template argument 2 is invalid libfilezilla/encryption.hpp:202:21: error: 'uint8_t' was not declared in this scope 202 | std::vector const& salt() const { | ^~~~~~~ libfilezilla/encryption.hpp:202:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:202:28: error: template argument 1 is invalid 202 | std::vector const& salt() const { | ^ libfilezilla/encryption.hpp:202:28: error: template argument 2 is invalid libfilezilla/encryption.hpp:210:21: error: 'uint8_t' was not declared in this scope 210 | std::vector encrypt_key(fz::public_key const& kek); | ^~~~~~~ libfilezilla/encryption.hpp:210:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:210:28: error: template argument 1 is invalid 210 | std::vector encrypt_key(fz::public_key const& kek); | ^ libfilezilla/encryption.hpp:210:28: error: template argument 2 is invalid libfilezilla/encryption.hpp:211:54: error: 'uint8_t' was not declared in this scope 211 | static symmetric_key decrypt_key(std::vector const& encrypted, fz::private_key const& kek); | ^~~~~~~ libfilezilla/encryption.hpp:211:54: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:211:61: error: template argument 1 is invalid 211 | static symmetric_key decrypt_key(std::vector const& encrypted, fz::private_key const& kek); | ^ libfilezilla/encryption.hpp:211:61: error: template argument 2 is invalid libfilezilla/encryption.hpp:213:21: error: 'uint8_t' was not declared in this scope 213 | std::vector const& key() const; | ^~~~~~~ libfilezilla/encryption.hpp:213:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:213:28: error: template argument 1 is invalid 213 | std::vector const& key() const; | ^ libfilezilla/encryption.hpp:213:28: error: template argument 2 is invalid libfilezilla/encryption.hpp:217:21: error: 'uint8_t' was not declared in this scope 217 | std::vector key_; | ^~~~~~~ libfilezilla/encryption.hpp:217:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:217:28: error: template argument 1 is invalid 217 | std::vector key_; | ^ libfilezilla/encryption.hpp:217:28: error: template argument 2 is invalid libfilezilla/encryption.hpp:218:21: error: 'uint8_t' was not declared in this scope 218 | std::vector salt_; | ^~~~~~~ libfilezilla/encryption.hpp:218:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:218:28: error: template argument 1 is invalid 218 | std::vector salt_; | ^ libfilezilla/encryption.hpp:218:28: error: template argument 2 is invalid libfilezilla/encryption.hpp: In static member function 'static fz::symmetric_key fz::symmetric_key::from_password(const std::string_view&, const int&, unsigned int)': libfilezilla/encryption.hpp:195:50: error: 'uint8_t' was not declared in this scope 195 | return from_password(std::vector(password.begin(), password.end()), salt, iterations); | ^~~~~~~ libfilezilla/encryption.hpp:195:50: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:195:57: error: template argument 1 is invalid 195 | return from_password(std::vector(password.begin(), password.end()), salt, iterations); | ^ libfilezilla/encryption.hpp:195:57: error: template argument 2 is invalid libfilezilla/encryption.hpp: In member function 'fz::symmetric_key::operator bool() const': libfilezilla/encryption.hpp:199:29: error: request for member 'size' in '((const fz::symmetric_key*)this)->fz::symmetric_key::key_', which is of non-class type 'const int' 199 | return key_.size() == key_size && salt_.size() == salt_size; | ^~~~ libfilezilla/encryption.hpp:199:57: error: request for member 'size' in '((const fz::symmetric_key*)this)->fz::symmetric_key::salt_', which is of non-class type 'const int' 199 | return key_.size() == key_size && salt_.size() == salt_size; | ^~~~ libfilezilla/encryption.hpp: At global scope: libfilezilla/encryption.hpp:241:13: error: 'uint8_t' was not declared in this scope 241 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:241:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:241:20: error: template argument 1 is invalid 241 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key); | ^ libfilezilla/encryption.hpp:241:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:241:59: error: 'uint8_t' was not declared in this scope 241 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:241:59: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:241:66: error: template argument 1 is invalid 241 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key); | ^ libfilezilla/encryption.hpp:241:66: error: template argument 2 is invalid libfilezilla/encryption.hpp:242:13: error: 'uint8_t' was not declared in this scope 242 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:242:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:242:20: error: template argument 1 is invalid 242 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, symmetric_key const& key); | ^ libfilezilla/encryption.hpp:242:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:243:13: error: 'uint8_t' was not declared in this scope 243 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:243:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:243:20: error: template argument 1 is invalid 243 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key); | ^ libfilezilla/encryption.hpp:243:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:243:55: error: 'int fz::encrypt' redeclared as different kind of entity 243 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key); | ^~~~~ libfilezilla/encryption.hpp:242:39: note: previous declaration 'int fz::encrypt(const std::string_view&, const symmetric_key&)' 242 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:243:47: error: 'uint8_t' was not declared in this scope 243 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:243:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:243:76: error: expected primary-expression before 'size' 243 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key); | ^~~~ libfilezilla/encryption.hpp:243:96: error: expected primary-expression before 'const' 243 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key); | ^~~~~ libfilezilla/encryption.hpp:244:13: error: 'uint8_t' was not declared in this scope 244 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:244:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:244:20: error: template argument 1 is invalid 244 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:244:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:244:59: error: 'uint8_t' was not declared in this scope 244 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:244:59: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:244:66: error: template argument 1 is invalid 244 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:244:66: error: template argument 2 is invalid libfilezilla/encryption.hpp:244:120: error: 'uint8_t' was not declared in this scope 244 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:244:120: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:244:127: error: template argument 1 is invalid 244 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::vector const& plain, symmetric_key const& key, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:244:127: error: template argument 2 is invalid libfilezilla/encryption.hpp:245:13: error: 'uint8_t' was not declared in this scope 245 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, symmetric_key const& key, std::string_view const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:245:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:245:20: error: template argument 1 is invalid 245 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, symmetric_key const& key, std::string_view const& authenticated_data); | ^ libfilezilla/encryption.hpp:245:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:246:13: error: 'uint8_t' was not declared in this scope 246 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:246:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:246:20: error: template argument 1 is invalid 246 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^ libfilezilla/encryption.hpp:246:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:246:55: error: 'int fz::encrypt' redeclared as different kind of entity 246 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~ libfilezilla/encryption.hpp:245:39: note: previous declaration 'int fz::encrypt(const std::string_view&, const symmetric_key&, const std::string_view&)' 245 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, symmetric_key const& key, std::string_view const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:246:47: error: 'uint8_t' was not declared in this scope 246 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:246:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:246:76: error: expected primary-expression before 'size' 246 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~ libfilezilla/encryption.hpp:246:96: error: expected primary-expression before 'const' 246 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~ libfilezilla/encryption.hpp:246:108: error: 'uint8_t' was not declared in this scope 246 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:246:108: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:246:150: error: expected primary-expression before 'authenticated_data_size' 246 | std::vector FZ_PUBLIC_SYMBOL encrypt(uint8_t const* plain, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~~~~~~~~~~~~~~~~~ libfilezilla/encryption.hpp:267:13: error: 'uint8_t' was not declared in this scope 267 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& chiper, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:267:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:267:20: error: template argument 1 is invalid 267 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& chiper, symmetric_key const& key); | ^ libfilezilla/encryption.hpp:267:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:267:59: error: 'uint8_t' was not declared in this scope 267 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& chiper, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:267:59: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:267:66: error: template argument 1 is invalid 267 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& chiper, symmetric_key const& key); | ^ libfilezilla/encryption.hpp:267:66: error: template argument 2 is invalid libfilezilla/encryption.hpp:268:13: error: 'uint8_t' was not declared in this scope 268 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& chiper, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:268:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:268:20: error: template argument 1 is invalid 268 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& chiper, symmetric_key const& key); | ^ libfilezilla/encryption.hpp:268:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:269:13: error: 'uint8_t' was not declared in this scope 269 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:269:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:269:20: error: template argument 1 is invalid 269 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key); | ^ libfilezilla/encryption.hpp:269:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:269:55: error: 'int fz::decrypt' redeclared as different kind of entity 269 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key); | ^~~~~ libfilezilla/encryption.hpp:268:39: note: previous declaration 'int fz::decrypt(const std::string_view&, const symmetric_key&)' 268 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& chiper, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:269:47: error: 'uint8_t' was not declared in this scope 269 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key); | ^~~~~~~ libfilezilla/encryption.hpp:269:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:269:77: error: expected primary-expression before 'size' 269 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key); | ^~~~ libfilezilla/encryption.hpp:269:97: error: expected primary-expression before 'const' 269 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key); | ^~~~~ libfilezilla/encryption.hpp:270:13: error: 'uint8_t' was not declared in this scope 270 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, symmetric_key const& key, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:270:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:270:20: error: template argument 1 is invalid 270 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, symmetric_key const& key, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:270:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:270:59: error: 'uint8_t' was not declared in this scope 270 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, symmetric_key const& key, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:270:59: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:270:66: error: template argument 1 is invalid 270 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, symmetric_key const& key, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:270:66: error: template argument 2 is invalid libfilezilla/encryption.hpp:270:121: error: 'uint8_t' was not declared in this scope 270 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, symmetric_key const& key, std::vector const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:270:121: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:270:128: error: template argument 1 is invalid 270 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::vector const& cipher, symmetric_key const& key, std::vector const& authenticated_data); | ^ libfilezilla/encryption.hpp:270:128: error: template argument 2 is invalid libfilezilla/encryption.hpp:271:13: error: 'uint8_t' was not declared in this scope 271 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& cipher, symmetric_key const& key, std::string_view const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:271:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:271:20: error: template argument 1 is invalid 271 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& cipher, symmetric_key const& key, std::string_view const& authenticated_data); | ^ libfilezilla/encryption.hpp:271:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:272:13: error: 'uint8_t' was not declared in this scope 272 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:272:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:272:20: error: template argument 1 is invalid 272 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^ libfilezilla/encryption.hpp:272:20: error: template argument 2 is invalid libfilezilla/encryption.hpp:272:55: error: 'int fz::decrypt' redeclared as different kind of entity 272 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~ libfilezilla/encryption.hpp:271:39: note: previous declaration 'int fz::decrypt(const std::string_view&, const symmetric_key&, const std::string_view&)' 271 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& cipher, symmetric_key const& key, std::string_view const& authenticated_data); | ^~~~~~~ libfilezilla/encryption.hpp:272:47: error: 'uint8_t' was not declared in this scope 272 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:272:47: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:272:77: error: expected primary-expression before 'size' 272 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~ libfilezilla/encryption.hpp:272:97: error: expected primary-expression before 'const' 272 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~ libfilezilla/encryption.hpp:272:109: error: 'uint8_t' was not declared in this scope 272 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~ libfilezilla/encryption.hpp:272:109: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encryption.hpp:272:151: error: expected primary-expression before 'authenticated_data_size' 272 | std::vector FZ_PUBLIC_SYMBOL decrypt(uint8_t const* cipher, size_t size, symmetric_key const& key, uint8_t const* authenticated_data, size_t authenticated_data_size); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from encryption.cpp:3: libfilezilla/encode.hpp:58:43: error: 'uint8_t' was not declared in this scope 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:1:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | #ifndef LIBFILEZILLA_ENCODE_HEADER libfilezilla/encode.hpp:58:43: error: template argument 1 is invalid 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:58:43: error: template argument 2 is invalid libfilezilla/encode.hpp:64:43: error: 'uint8_t' was not declared in this scope 64 | template> | ^~~~~~~ libfilezilla/encode.hpp:64:43: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:64:43: error: template argument 1 is invalid libfilezilla/encode.hpp:64:43: error: template argument 2 is invalid libfilezilla/encode.hpp:114:56: error: 'uint8_t' was not declared in this scope 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:114:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:114:63: error: template argument 1 is invalid 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:114:63: error: template argument 2 is invalid libfilezilla/encode.hpp:129:13: error: 'uint8_t' was not declared in this scope 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:129:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:129:20: error: template argument 1 is invalid 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^ libfilezilla/encode.hpp:129:20: error: template argument 2 is invalid libfilezilla/encode.hpp:130:13: error: 'uint8_t' was not declared in this scope 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:130:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:130:20: error: template argument 1 is invalid 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^ libfilezilla/encode.hpp:130:20: error: template argument 2 is invalid libfilezilla/encode.hpp:149:56: error: 'uint8_t' was not declared in this scope 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:149:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:149:63: error: template argument 1 is invalid 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:149:63: error: template argument 2 is invalid libfilezilla/encode.hpp:156:13: error: 'uint8_t' was not declared in this scope 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:156:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:156:20: error: template argument 1 is invalid 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:156:20: error: template argument 2 is invalid libfilezilla/encode.hpp:157:13: error: 'uint8_t' was not declared in this scope 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:157:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:157:20: error: template argument 1 is invalid 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:157:20: error: template argument 2 is invalid libfilezilla/encode.hpp:184:13: error: 'uint8_t' was not declared in this scope 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:184:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:184:20: error: template argument 1 is invalid 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:184:20: error: template argument 2 is invalid libfilezilla/encode.hpp:185:13: error: 'uint8_t' was not declared in this scope 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:185:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:185:20: error: template argument 1 is invalid 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:185:20: error: template argument 2 is invalid In file included from encryption.cpp:4: libfilezilla/hash.hpp:38:44: error: 'uint8_t' was not declared in this scope 38 | void update(std::basic_string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:1:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | #ifndef LIBFILEZILLA_HASH_HEADER libfilezilla/hash.hpp:38:51: error: template argument 1 is invalid 38 | void update(std::basic_string_view const& data); | ^ libfilezilla/hash.hpp:38:51: error: template argument 2 is invalid libfilezilla/hash.hpp:39:33: error: 'uint8_t' was not declared in this scope 39 | void update(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:39:33: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:39:40: error: template argument 1 is invalid 39 | void update(std::vector const& data); | ^ libfilezilla/hash.hpp:39:40: error: template argument 2 is invalid libfilezilla/hash.hpp:39:14: error: 'void fz::hash_accumulator::update(const int&)' cannot be overloaded with 'void fz::hash_accumulator::update(const int&)' 39 | void update(std::vector const& data); | ^~~~~~ libfilezilla/hash.hpp:38:14: note: previous declaration 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:40:21: error: 'uint8_t' has not been declared 40 | void update(uint8_t const* data, size_t size); | ^~~~~~~ libfilezilla/hash.hpp:41:21: error: 'uint8_t' has not been declared 41 | void update(uint8_t in) { | ^~~~~~~ libfilezilla/hash.hpp:46:21: error: 'uint8_t' was not declared in this scope 46 | std::vector digest(); | ^~~~~~~ libfilezilla/hash.hpp:46:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:46:28: error: template argument 1 is invalid 46 | std::vector digest(); | ^ libfilezilla/hash.hpp:46:28: error: template argument 2 is invalid libfilezilla/hash.hpp:48:30: error: 'uint8_t' was not declared in this scope 48 | operator std::vector() { | ^~~~~~~ libfilezilla/hash.hpp:48:30: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:48:37: error: template argument 1 is invalid 48 | operator std::vector() { | ^ libfilezilla/hash.hpp:48:37: error: template argument 2 is invalid libfilezilla/hash.hpp:67:13: error: 'uint8_t' was not declared in this scope 67 | std::vector FZ_PUBLIC_SYMBOL md5(std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:67:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:67:20: error: template argument 1 is invalid 67 | std::vector FZ_PUBLIC_SYMBOL md5(std::string_view const& data); | ^ libfilezilla/hash.hpp:67:20: error: template argument 2 is invalid libfilezilla/hash.hpp:68:13: error: 'uint8_t' was not declared in this scope 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:68:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:68:20: error: template argument 1 is invalid 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^ libfilezilla/hash.hpp:68:20: error: template argument 2 is invalid libfilezilla/hash.hpp:68:55: error: 'uint8_t' was not declared in this scope 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:68:55: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:68:62: error: template argument 1 is invalid 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^ libfilezilla/hash.hpp:68:62: error: template argument 2 is invalid libfilezilla/hash.hpp:71:13: error: 'uint8_t' was not declared in this scope 71 | std::vector FZ_PUBLIC_SYMBOL sha256(std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:71:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:71:20: error: template argument 1 is invalid 71 | std::vector FZ_PUBLIC_SYMBOL sha256(std::string_view const& data); | ^ libfilezilla/hash.hpp:71:20: error: template argument 2 is invalid libfilezilla/hash.hpp:72:13: error: 'uint8_t' was not declared in this scope 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:72:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:72:20: error: template argument 1 is invalid 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^ libfilezilla/hash.hpp:72:20: error: template argument 2 is invalid libfilezilla/hash.hpp:72:58: error: 'uint8_t' was not declared in this scope 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:72:58: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:72:65: error: template argument 1 is invalid 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^ libfilezilla/hash.hpp:72:65: error: template argument 2 is invalid libfilezilla/hash.hpp:75:13: error: 'uint8_t' was not declared in this scope 75 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:75:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:75:20: error: template argument 1 is invalid 75 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::string_view const& data); | ^ libfilezilla/hash.hpp:75:20: error: template argument 2 is invalid libfilezilla/hash.hpp:76:13: error: 'uint8_t' was not declared in this scope 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:76:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:76:20: error: template argument 1 is invalid 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:76:20: error: template argument 2 is invalid libfilezilla/hash.hpp:76:63: error: 'uint8_t' was not declared in this scope 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:76:63: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:76:70: error: template argument 1 is invalid 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:76:70: error: template argument 2 is invalid libfilezilla/hash.hpp:76:96: error: 'uint8_t' was not declared in this scope 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:76:96: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:76:103: error: template argument 1 is invalid 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:76:103: error: template argument 2 is invalid libfilezilla/hash.hpp:77:13: error: 'uint8_t' was not declared in this scope 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:77:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:77:20: error: template argument 1 is invalid 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^ libfilezilla/hash.hpp:77:20: error: template argument 2 is invalid libfilezilla/hash.hpp:77:63: error: 'uint8_t' was not declared in this scope 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:77:63: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:77:70: error: template argument 1 is invalid 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^ libfilezilla/hash.hpp:77:70: error: template argument 2 is invalid libfilezilla/hash.hpp:78:13: error: 'uint8_t' was not declared in this scope 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:78:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:78:20: error: template argument 1 is invalid 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:78:20: error: template argument 2 is invalid libfilezilla/hash.hpp:78:92: error: 'uint8_t' was not declared in this scope 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:78:92: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:78:99: error: template argument 1 is invalid 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:78:99: error: template argument 2 is invalid libfilezilla/hash.hpp:80:13: error: 'uint8_t' was not declared in this scope 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^~~~~~~ libfilezilla/hash.hpp:80:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:80:20: error: template argument 1 is invalid 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^ libfilezilla/hash.hpp:80:20: error: template argument 2 is invalid libfilezilla/hash.hpp:80:81: error: 'uint8_t' was not declared in this scope 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^~~~~~~ libfilezilla/hash.hpp:80:81: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:80:88: error: template argument 1 is invalid 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^ libfilezilla/hash.hpp:80:88: error: template argument 2 is invalid libfilezilla/hash.hpp:80:130: error: 'uint8_t' was not declared in this scope 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^~~~~~~ libfilezilla/hash.hpp:80:130: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:80:137: error: template argument 1 is invalid 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^ libfilezilla/hash.hpp:80:137: error: template argument 2 is invalid libfilezilla/hash.hpp:83:85: error: 'uint8_t' was not declared in this scope 83 | std::enable_if_t'; did you forget to '#include '? libfilezilla/hash.hpp:84:81: error: 'uint8_t' was not declared in this scope 84 | sizeof(typename SaltContainer::value_type) == sizeof(uint8_t)>* = nullptr> | ^~~~~~~ libfilezilla/hash.hpp:84:81: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:84:89: error: template argument 1 is invalid 84 | sizeof(typename SaltContainer::value_type) == sizeof(uint8_t)>* = nullptr> | ^ libfilezilla/hash.hpp:85:13: error: 'uint8_t' was not declared in this scope 85 | std::vector pbkdf2_hmac_sha256(PasswordContainer const& password, SaltContainer const& salt, size_t length, unsigned int iterations) | ^~~~~~~ libfilezilla/hash.hpp:85:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:85:20: error: template argument 1 is invalid 85 | std::vector pbkdf2_hmac_sha256(PasswordContainer const& password, SaltContainer const& salt, size_t length, unsigned int iterations) | ^ libfilezilla/hash.hpp:85:20: error: template argument 2 is invalid libfilezilla/hash.hpp: In function 'int fz::pbkdf2_hmac_sha256(const PasswordContainer&, const SaltContainer&, size_t, unsigned int)': libfilezilla/hash.hpp:87:58: error: 'uint8_t' was not declared in this scope 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~~~ libfilezilla/hash.hpp:87:58: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:87:65: error: template argument 1 is invalid 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^ libfilezilla/hash.hpp:87:65: error: template argument 2 is invalid libfilezilla/hash.hpp:87:84: error: 'uint8_t' does not name a type 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~~~ libfilezilla/hash.hpp:87:84: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:87:92: error: expected '>' before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~ libfilezilla/hash.hpp:87:92: error: expected '(' before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~ | ( libfilezilla/hash.hpp:87:92: error: expected primary-expression before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~ libfilezilla/hash.hpp:87:91: error: expected ')' before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~~ | ) libfilezilla/hash.hpp:88:65: error: template argument 2 is invalid 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^ libfilezilla/hash.hpp:88:84: error: 'uint8_t' does not name a type 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~~~ libfilezilla/hash.hpp:88:84: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:88:92: error: expected '>' before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~ libfilezilla/hash.hpp:88:92: error: expected '(' before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~ | ( libfilezilla/hash.hpp:88:92: error: expected primary-expression before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~ libfilezilla/hash.hpp:88:91: error: expected ')' before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~~ | ) encryption.cpp: In member function 'std::string fz::public_key::to_base64(bool) const': encryption.cpp:21:37: error: request for member 'cbegin' in '((const fz::public_key*)this)->fz::public_key::key_', which is of non-class type 'const int' 21 | auto raw = std::string(key_.cbegin(), key_.cend()); | ^~~~~~ encryption.cpp:21:52: error: request for member 'cend' in '((const fz::public_key*)this)->fz::public_key::key_', which is of non-class type 'const int' 21 | auto raw = std::string(key_.cbegin(), key_.cend()); | ^~~~ encryption.cpp:22:34: error: request for member 'cbegin' in '((const fz::public_key*)this)->fz::public_key::salt_', which is of non-class type 'const int' 22 | raw += std::string(salt_.cbegin(), salt_.cend()); | ^~~~~~ encryption.cpp:22:50: error: request for member 'cend' in '((const fz::public_key*)this)->fz::public_key::salt_', which is of non-class type 'const int' 22 | raw += std::string(salt_.cbegin(), salt_.cend()); | ^~~~ encryption.cpp: In function 'fz::public_key fz::{anonymous}::from_base64_impl(const T&)': encryption.cpp:35:26: error: request for member 'assign' in 'ret.key_', which is of non-class type 'int' 35 | ret.key_.assign(p, p + public_key::key_size); | ^~~~~~ encryption.cpp:36:27: error: request for member 'assign' in 'ret.salt_', which is of non-class type 'int' 36 | ret.salt_.assign(p + public_key::key_size, p + public_key::key_size + public_key::salt_size); | ^~~~~~ encryption.cpp: In static member function 'static fz::private_key fz::private_key::generate()': encryption.cpp:57:32: error: cannot convert 'std::vector' to 'int' in assignment 57 | ret.key_ = random_bytes(key_size); | ~~~~~~~~~~~~^~~~~~~~~~ | | | std::vector encryption.cpp:58:17: error: invalid types 'int[int]' for array subscript 58 | ret.key_[0] &= 248; | ^ encryption.cpp:59:17: error: invalid types 'int[int]' for array subscript 59 | ret.key_[31] &= 127; | ^ encryption.cpp:60:17: error: invalid types 'int[int]' for array subscript 60 | ret.key_[31] |= 64; | ^ encryption.cpp:62:33: error: cannot convert 'std::vector' to 'int' in assignment 62 | ret.salt_ = random_bytes(salt_size); | ~~~~~~~~~~~~^~~~~~~~~~~ | | | std::vector encryption.cpp: In member function 'fz::public_key fz::private_key::pubkey() const': encryption.cpp:78:26: error: request for member 'resize' in 'ret.fz::public_key::key_', which is of non-class type 'int' 78 | ret.key_.resize(32); | ^~~~~~ encryption.cpp:79:48: error: request for member 'data' in 'ret.fz::public_key::key_', which is of non-class type 'int' 79 | nettle_curve25519_mul(ret.key_.data(), key_.data(), nine); | ^~~~ encryption.cpp:79:61: error: request for member 'data' in '((const fz::private_key*)this)->fz::private_key::key_', which is of non-class type 'const int' 79 | nettle_curve25519_mul(ret.key_.data(), key_.data(), nine); | ^~~~ encryption.cpp: At global scope: encryption.cpp:87:13: error: no declaration matches 'fz::private_key fz::private_key::from_password(const std::vector&, const std::vector&, unsigned int)' 87 | private_key private_key::from_password(std::vector const& password, std::vector const& salt, unsigned int iterations) | ^~~~~~~~~~~ libfilezilla/encryption.hpp:82:28: note: candidates are: 'static fz::private_key fz::private_key::from_password(const std::string_view&, const int&, unsigned int)' 82 | static private_key from_password(std::string_view const& password, std::vector const& salt, unsigned int iterations = min_iterations) | ^~~~~~~~~~~~~ libfilezilla/encryption.hpp:81:28: note: 'static fz::private_key fz::private_key::from_password(const int&, const int&, unsigned int)' 81 | static private_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^~~~~~~~~~~~~ libfilezilla/encryption.hpp:61:24: note: 'class fz::private_key' defined here 61 | class FZ_PUBLIC_SYMBOL private_key | ^~~~~~~~~~~ encryption.cpp: In member function 'std::string fz::private_key::to_base64(bool) const': encryption.cpp:107:37: error: request for member 'cbegin' in '((const fz::private_key*)this)->fz::private_key::key_', which is of non-class type 'const int' 107 | auto raw = std::string(key_.cbegin(), key_.cend()); | ^~~~~~ encryption.cpp:107:52: error: request for member 'cend' in '((const fz::private_key*)this)->fz::private_key::key_', which is of non-class type 'const int' 107 | auto raw = std::string(key_.cbegin(), key_.cend()); | ^~~~ encryption.cpp:108:34: error: request for member 'cbegin' in '((const fz::private_key*)this)->fz::private_key::salt_', which is of non-class type 'const int' 108 | raw += std::string(salt_.cbegin(), salt_.cend()); | ^~~~~~ encryption.cpp:108:50: error: request for member 'cend' in '((const fz::private_key*)this)->fz::private_key::salt_', which is of non-class type 'const int' 108 | raw += std::string(salt_.cbegin(), salt_.cend()); | ^~~~ encryption.cpp: In static member function 'static fz::private_key fz::private_key::from_base64(const std::string_view&)': encryption.cpp:117:17: error: request for member 'size' in 'raw', which is of non-class type 'int' 117 | if (raw.size() == key_size + salt_size) { | ^~~~ encryption.cpp:118:63: error: request for member 'data' in 'raw', which is of non-class type 'int' 118 | auto p = reinterpret_cast(raw.data()); | ^~~~ encryption.cpp:119:26: error: request for member 'assign' in 'ret.fz::private_key::key_', which is of non-class type 'int' 119 | ret.key_.assign(p, p + key_size); | ^~~~~~ encryption.cpp:120:25: error: invalid types 'int[int]' for array subscript 120 | ret.key_[0] &= 248; | ^ encryption.cpp:121:25: error: invalid types 'int[int]' for array subscript 121 | ret.key_[31] &= 127; | ^ encryption.cpp:122:25: error: invalid types 'int[int]' for array subscript 122 | ret.key_[31] |= 64; | ^ encryption.cpp:123:27: error: request for member 'assign' in 'ret.fz::private_key::salt_', which is of non-class type 'int' 123 | ret.salt_.assign(p + key_size, p + key_size + salt_size); | ^~~~~~ encryption.cpp: At global scope: encryption.cpp:130:22: error: no declaration matches 'std::vector fz::private_key::shared_secret(const fz::public_key&) const' 130 | std::vector private_key::shared_secret(public_key const& pub) const | ^~~~~~~~~~~ libfilezilla/encryption.hpp:99:30: note: candidate is: 'int fz::private_key::shared_secret(const fz::public_key&) const' 99 | std::vector shared_secret(public_key const& pub) const; | ^~~~~~~~~~~~~ libfilezilla/encryption.hpp:61:24: note: 'class fz::private_key' defined here 61 | class FZ_PUBLIC_SYMBOL private_key | ^~~~~~~~~~~ encryption.cpp: In function 'std::vector fz::{anonymous}::encrypt(const uint8_t*, size_t, const fz::public_key&, const uint8_t*, size_t, bool)': encryption.cpp:153:70: error: conversion from 'int' to non-scalar type 'std::vector' requested 153 | std::vector secret = ephemeral.shared_secret(pub); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ encryption.cpp:156:167: error: conversion from 'fz::hash_accumulator' to non-scalar type 'const std::vector' requested 156 | std::vector const aes_key = hash_accumulator(hash_algorithm::sha256) << ephemeral_pub.salt_ << 0 << secret << ephemeral_pub.key_ << pub.key_ << pub.salt_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ encryption.cpp:159:164: error: conversion from 'fz::hash_accumulator' to non-scalar type 'std::vector' requested 159 | std::vector iv = hash_accumulator(hash_algorithm::sha256) << ephemeral_pub.salt_ << 2 << secret << ephemeral_pub.key_ << pub.key_ << pub.salt_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ encryption.cpp:178:63: error: request for member 'data' in 'ephemeral_pub.fz::public_key::key_', which is of non-class type 'int' 178 | memcpy(ret.data(), ephemeral_pub.key_.data(), public_key::key_size); | ^~~~ encryption.cpp:179:87: error: request for member 'data' in 'ephemeral_pub.fz::public_key::salt_', which is of non-class type 'int' 179 | memcpy(ret.data() + public_key::key_size, ephemeral_pub.salt_.data(), public_key::salt_size); | ^~~~ encryption.cpp:183:165: error: conversion from 'fz::hash_accumulator' to non-scalar type 'std::vector' requested 183 | std::vector ctr = hash_accumulator(hash_algorithm::sha256) << ephemeral_pub.salt_ << 1 << secret << ephemeral_pub.key_ << pub.key_ << pub.salt_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ encryption.cpp:195:63: error: request for member 'data' in 'ephemeral_pub.fz::public_key::key_', which is of non-class type 'int' 195 | memcpy(ret.data(), ephemeral_pub.key_.data(), public_key::key_size); | ^~~~ encryption.cpp:196:87: error: request for member 'data' in 'ephemeral_pub.fz::public_key::salt_', which is of non-class type 'int' 196 | memcpy(ret.data() + public_key::key_size, ephemeral_pub.salt_.data(), public_key::salt_size); | ^~~~ encryption.cpp: At global scope: encryption.cpp:214:22: error: ambiguating new declaration of 'std::vector fz::encrypt(const std::string_view&, const public_key&, bool)' 214 | std::vector encrypt(std::string_view const& plain, public_key const& pub, bool authenticated) | ^~~~~~~ libfilezilla/encryption.hpp:131:39: note: old declaration 'int fz::encrypt(const std::string_view&, const public_key&, bool)' 131 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, public_key const& pub, bool authenticated = true); | ^~~~~~~ encryption.cpp:229:22: error: ambiguating new declaration of 'std::vector fz::encrypt(const std::string_view&, const public_key&, const std::string_view&)' 229 | std::vector encrypt(std::string_view const& plain, public_key const& pub, std::string_view const& authenticated_data) | ^~~~~~~ libfilezilla/encryption.hpp:134:39: note: old declaration 'int fz::encrypt(const std::string_view&, const public_key&, const std::string_view&)' 134 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, public_key const& pub, std::string_view const& authenticated_data); | ^~~~~~~ encryption.cpp: In function 'std::vector fz::{anonymous}::decrypt(const uint8_t*, size_t, const fz::private_key&, const uint8_t*, size_t, bool)': encryption.cpp:246:36: error: request for member 'resize' in 'ephemeral_pub.fz::public_key::key_', which is of non-class type 'int' 246 | ephemeral_pub.key_.resize(public_key::key_size); | ^~~~~~ encryption.cpp:247:37: error: request for member 'resize' in 'ephemeral_pub.fz::public_key::salt_', which is of non-class type 'int' 247 | ephemeral_pub.salt_.resize(public_key::salt_size); | ^~~~~~ encryption.cpp:248:43: error: request for member 'data' in 'ephemeral_pub.fz::public_key::key_', which is of non-class type 'int' 248 | memcpy(ephemeral_pub.key_.data(), cipher, public_key::key_size); | ^~~~ encryption.cpp:249:44: error: request for member 'data' in 'ephemeral_pub.fz::public_key::salt_', which is of non-class type 'int' 249 | memcpy(ephemeral_pub.salt_.data(), cipher + public_key::key_size, public_key::salt_size); | ^~~~ encryption.cpp:252:71: error: conversion from 'int' to non-scalar type 'const std::vector' requested 252 | std::vector const secret = priv.shared_secret(ephemeral_pub); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ encryption.cpp:255:167: error: conversion from 'fz::hash_accumulator' to non-scalar type 'const std::vector' requested 255 | std::vector const aes_key = hash_accumulator(hash_algorithm::sha256) << ephemeral_pub.salt_ << 0 << secret << ephemeral_pub.key_ << pub.key_ << pub.salt_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ encryption.cpp:259:164: error: conversion from 'fz::hash_accumulator' to non-scalar type 'std::vector' requested 259 | std::vector iv = hash_accumulator(hash_algorithm::sha256) << ephemeral_pub.salt_ << 2 << secret << ephemeral_pub.key_ << pub.key_ << pub.salt_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ encryption.cpp:286:165: error: conversion from 'fz::hash_accumulator' to non-scalar type 'std::vector' requested 286 | std::vector ctr = hash_accumulator(hash_algorithm::sha256) << ephemeral_pub.salt_ << 1 << secret << ephemeral_pub.key_ << pub.key_ << pub.salt_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ encryption.cpp: At global scope: encryption.cpp:314:22: error: ambiguating new declaration of 'std::vector fz::decrypt(const std::string_view&, const private_key&, bool)' 314 | std::vector decrypt(std::string_view const& cipher, private_key const& priv, bool authenticated) | ^~~~~~~ libfilezilla/encryption.hpp:163:39: note: old declaration 'int fz::decrypt(const std::string_view&, const private_key&, bool)' 163 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& chiper, private_key const& priv, bool authenticated = true); | ^~~~~~~ encryption.cpp:329:22: error: ambiguating new declaration of 'std::vector fz::decrypt(const std::string_view&, const private_key&, const std::string_view&)' 329 | std::vector decrypt(std::string_view const& cipher, private_key const& priv, std::string_view const& authenticated_data) | ^~~~~~~ libfilezilla/encryption.hpp:166:39: note: old declaration 'int fz::decrypt(const std::string_view&, const private_key&, const std::string_view&)' 166 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& cipher, private_key const& priv, std::string_view const& authenticated_data); | ^~~~~~~ encryption.cpp: In static member function 'static fz::symmetric_key fz::symmetric_key::generate()': encryption.cpp:339:32: error: cannot convert 'std::vector' to 'int' in assignment 339 | ret.key_ = random_bytes(key_size); | ~~~~~~~~~~~~^~~~~~~~~~ | | | std::vector encryption.cpp:340:33: error: cannot convert 'std::vector' to 'int' in assignment 340 | ret.salt_ = random_bytes(salt_size); | ~~~~~~~~~~~~^~~~~~~~~~~ | | | std::vector encryption.cpp: At global scope: encryption.cpp:345:15: error: no declaration matches 'fz::symmetric_key fz::symmetric_key::from_password(const std::vector&, const std::vector&, unsigned int)' 345 | symmetric_key symmetric_key::from_password(std::vector const& password, std::vector const& salt, unsigned int iterations) | ^~~~~~~~~~~~~ libfilezilla/encryption.hpp:193:30: note: candidates are: 'static fz::symmetric_key fz::symmetric_key::from_password(const std::string_view&, const int&, unsigned int)' 193 | static symmetric_key from_password(std::string_view const& password, std::vector const& salt, unsigned int iterations = min_iterations) | ^~~~~~~~~~~~~ libfilezilla/encryption.hpp:192:30: note: 'static fz::symmetric_key fz::symmetric_key::from_password(const int&, const int&, unsigned int)' 192 | static symmetric_key from_password(std::vector const& password, std::vector const& salt, unsigned int iterations = min_iterations); | ^~~~~~~~~~~~~ libfilezilla/encryption.hpp:172:24: note: 'class fz::symmetric_key' defined here 172 | class FZ_PUBLIC_SYMBOL symmetric_key | ^~~~~~~~~~~~~ encryption.cpp: In member function 'std::string fz::symmetric_key::to_base64(bool) const': encryption.cpp:360:37: error: request for member 'cbegin' in '((const fz::symmetric_key*)this)->fz::symmetric_key::key_', which is of non-class type 'const int' 360 | auto raw = std::string(key_.cbegin(), key_.cend()); | ^~~~~~ encryption.cpp:360:52: error: request for member 'cend' in '((const fz::symmetric_key*)this)->fz::symmetric_key::key_', which is of non-class type 'const int' 360 | auto raw = std::string(key_.cbegin(), key_.cend()); | ^~~~ encryption.cpp:361:34: error: request for member 'cbegin' in '((const fz::symmetric_key*)this)->fz::symmetric_key::salt_', which is of non-class type 'const int' 361 | raw += std::string(salt_.cbegin(), salt_.cend()); | ^~~~~~ encryption.cpp:361:50: error: request for member 'cend' in '((const fz::symmetric_key*)this)->fz::symmetric_key::salt_', which is of non-class type 'const int' 361 | raw += std::string(salt_.cbegin(), salt_.cend()); | ^~~~ encryption.cpp: In static member function 'static fz::symmetric_key fz::symmetric_key::from_base64(const std::string_view&)': encryption.cpp:370:17: error: request for member 'size' in 'raw', which is of non-class type 'int' 370 | if (raw.size() == key_size + salt_size) { | ^~~~ encryption.cpp:371:63: error: request for member 'data' in 'raw', which is of non-class type 'int' 371 | auto p = reinterpret_cast(raw.data()); | ^~~~ encryption.cpp:372:26: error: request for member 'assign' in 'ret.fz::symmetric_key::key_', which is of non-class type 'int' 372 | ret.key_.assign(p, p + key_size); | ^~~~~~ encryption.cpp:373:27: error: request for member 'assign' in 'ret.fz::symmetric_key::salt_', which is of non-class type 'int' 373 | ret.salt_.assign(p + key_size, p + key_size + salt_size); | ^~~~~~ encryption.cpp: In static member function 'static fz::symmetric_key fz::symmetric_key::from_base64(const std::wstring_view&)': encryption.cpp:384:17: error: request for member 'size' in 'raw', which is of non-class type 'int' 384 | if (raw.size() == key_size + salt_size) { | ^~~~ encryption.cpp:385:63: error: request for member 'data' in 'raw', which is of non-class type 'int' 385 | auto p = reinterpret_cast(raw.data()); | ^~~~ encryption.cpp:386:26: error: request for member 'assign' in 'ret.fz::symmetric_key::key_', which is of non-class type 'int' 386 | ret.key_.assign(p, p + key_size); | ^~~~~~ encryption.cpp:387:27: error: request for member 'assign' in 'ret.fz::symmetric_key::salt_', which is of non-class type 'int' 387 | ret.salt_.assign(p + key_size, p + key_size + salt_size); | ^~~~~~ encryption.cpp: At global scope: encryption.cpp:393:29: error: no declaration matches 'const std::vector& fz::symmetric_key::key() const' 393 | std::vector const& symmetric_key::key() const | ^~~~~~~~~~~~~ libfilezilla/encryption.hpp:213:37: note: candidate is: 'const int& fz::symmetric_key::key() const' 213 | std::vector const& key() const; | ^~~ libfilezilla/encryption.hpp:172:24: note: 'class fz::symmetric_key' defined here 172 | class FZ_PUBLIC_SYMBOL symmetric_key | ^~~~~~~~~~~~~ encryption.cpp:398:22: error: no declaration matches 'std::vector fz::symmetric_key::encrypt_key(const fz::public_key&)' 398 | std::vector symmetric_key::encrypt_key(fz::public_key const& kek) | ^~~~~~~~~~~~~ libfilezilla/encryption.hpp:210:30: note: candidate is: 'int fz::symmetric_key::encrypt_key(const fz::public_key&)' 210 | std::vector encrypt_key(fz::public_key const& kek); | ^~~~~~~~~~~ libfilezilla/encryption.hpp:172:24: note: 'class fz::symmetric_key' defined here 172 | class FZ_PUBLIC_SYMBOL symmetric_key | ^~~~~~~~~~~~~ encryption.cpp:411:15: error: no declaration matches 'fz::symmetric_key fz::symmetric_key::decrypt_key(const std::vector&, const fz::private_key&)' 411 | symmetric_key symmetric_key::decrypt_key(std::vector const& encrypted, fz::private_key const& kek) | ^~~~~~~~~~~~~ libfilezilla/encryption.hpp:211:30: note: candidate is: 'static fz::symmetric_key fz::symmetric_key::decrypt_key(const int&, const fz::private_key&)' 211 | static symmetric_key decrypt_key(std::vector const& encrypted, fz::private_key const& kek); | ^~~~~~~~~~~ libfilezilla/encryption.hpp:172:24: note: 'class fz::symmetric_key' defined here 172 | class FZ_PUBLIC_SYMBOL symmetric_key | ^~~~~~~~~~~~~ encryption.cpp: In function 'bool fz::operator==(const symmetric_key&, const symmetric_key&)': encryption.cpp:435:45: error: request for member 'data' in '(& lhs)->fz::symmetric_key::salt()', which is of non-class type 'const int' 435 | return nettle_memeql_sec(lhs.salt().data(), rhs.salt().data(), lhs.salt().size()) && nettle_memeql_sec(lhs.key().data(), rhs.key().data(), lhs.key().size()); | ^~~~ encryption.cpp:435:64: error: request for member 'data' in '(& rhs)->fz::symmetric_key::salt()', which is of non-class type 'const int' 435 | return nettle_memeql_sec(lhs.salt().data(), rhs.salt().data(), lhs.salt().size()) && nettle_memeql_sec(lhs.key().data(), rhs.key().data(), lhs.key().size()); | ^~~~ encryption.cpp:435:83: error: request for member 'size' in '(& lhs)->fz::symmetric_key::salt()', which is of non-class type 'const int' 435 | return nettle_memeql_sec(lhs.salt().data(), rhs.salt().data(), lhs.salt().size()) && nettle_memeql_sec(lhs.key().data(), rhs.key().data(), lhs.key().size()); | ^~~~ encryption.cpp:435:122: error: request for member 'data' in '(& lhs)->fz::symmetric_key::key()', which is of non-class type 'const int' 435 | return nettle_memeql_sec(lhs.salt().data(), rhs.salt().data(), lhs.salt().size()) && nettle_memeql_sec(lhs.key().data(), rhs.key().data(), lhs.key().size()); | ^~~~ encryption.cpp:435:140: error: request for member 'data' in '(& rhs)->fz::symmetric_key::key()', which is of non-class type 'const int' 435 | return nettle_memeql_sec(lhs.salt().data(), rhs.salt().data(), lhs.salt().size()) && nettle_memeql_sec(lhs.key().data(), rhs.key().data(), lhs.key().size()); | ^~~~ encryption.cpp:435:158: error: request for member 'size' in '(& lhs)->fz::symmetric_key::key()', which is of non-class type 'const int' 435 | return nettle_memeql_sec(lhs.salt().data(), rhs.salt().data(), lhs.salt().size()) && nettle_memeql_sec(lhs.key().data(), rhs.key().data(), lhs.key().size()); | ^~~~ encryption.cpp: In function 'std::vector fz::encrypt(const uint8_t*, size_t, const symmetric_key&, const uint8_t*, size_t)': encryption.cpp:452:127: error: conversion from 'fz::hash_accumulator' to non-scalar type 'const std::vector' requested 452 | std::vector const aes_key = hash_accumulator(hash_algorithm::sha256) << key.salt() << 3 << key.key() << nonce; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ encryption.cpp:453:116: error: conversion from 'fz::hash_accumulator' to non-scalar type 'std::vector' requested 453 | std::vector iv = hash_accumulator(hash_algorithm::sha256) << key.salt() << 4 << key.key() << nonce; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ encryption.cpp: At global scope: encryption.cpp:489:22: error: ambiguating new declaration of 'std::vector fz::encrypt(const std::string_view&, const symmetric_key&)' 489 | std::vector encrypt(std::string_view const& plain, symmetric_key const& key) | ^~~~~~~ libfilezilla/encryption.hpp:242:39: note: old declaration 'int fz::encrypt(const std::string_view&, const symmetric_key&)' 242 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, symmetric_key const& key); | ^~~~~~~ encryption.cpp:499:22: error: ambiguating new declaration of 'std::vector fz::encrypt(const std::string_view&, const symmetric_key&, const std::string_view&)' 499 | std::vector encrypt(std::string_view const& plain, symmetric_key const& key, std::string_view const& authenticated_data) | ^~~~~~~ libfilezilla/encryption.hpp:245:39: note: old declaration 'int fz::encrypt(const std::string_view&, const symmetric_key&, const std::string_view&)' 245 | std::vector FZ_PUBLIC_SYMBOL encrypt(std::string_view const& plain, symmetric_key const& key, std::string_view const& authenticated_data); | ^~~~~~~ encryption.cpp: In function 'std::vector fz::decrypt(const uint8_t*, size_t, const symmetric_key&, const uint8_t*, size_t)': encryption.cpp:517:127: error: conversion from 'fz::hash_accumulator' to non-scalar type 'const std::vector' requested 517 | std::vector const aes_key = hash_accumulator(hash_algorithm::sha256) << key.salt() << 3 << key.key() << nonce; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ encryption.cpp:518:116: error: conversion from 'fz::hash_accumulator' to non-scalar type 'std::vector' requested 518 | std::vector iv = hash_accumulator(hash_algorithm::sha256) << key.salt() << 4 << key.key() << nonce; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ encryption.cpp: At global scope: encryption.cpp:558:22: error: ambiguating new declaration of 'std::vector fz::decrypt(const std::string_view&, const symmetric_key&)' 558 | std::vector decrypt(std::string_view const& cipher, symmetric_key const& key) | ^~~~~~~ libfilezilla/encryption.hpp:268:39: note: old declaration 'int fz::decrypt(const std::string_view&, const symmetric_key&)' 268 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& chiper, symmetric_key const& key); | ^~~~~~~ encryption.cpp:568:22: error: ambiguating new declaration of 'std::vector fz::decrypt(const std::string_view&, const symmetric_key&, const std::string_view&)' 568 | std::vector decrypt(std::string_view const& cipher, symmetric_key const& key, std::string_view const& authenticated_data) | ^~~~~~~ libfilezilla/encryption.hpp:271:39: note: old declaration 'int fz::decrypt(const std::string_view&, const symmetric_key&, const std::string_view&)' 271 | std::vector FZ_PUBLIC_SYMBOL decrypt(std::string_view const& cipher, symmetric_key const& key, std::string_view const& authenticated_data); | ^~~~~~~ encryption.cpp: In instantiation of 'fz::public_key fz::{anonymous}::from_base64_impl(const T&) [with T = std::basic_string_view]': encryption.cpp:45:25: required from here encryption.cpp:33:17: error: request for member 'size' in 'raw', which is of non-class type 'int' 33 | if (raw.size() == public_key::key_size + public_key::salt_size) { | ~~~~^~~~ encryption.cpp:34:63: error: request for member 'data' in 'raw', which is of non-class type 'int' 34 | auto p = reinterpret_cast(raw.data()); | ~~~~^~~~ encryption.cpp: In instantiation of 'fz::public_key fz::{anonymous}::from_base64_impl(const T&) [with T = std::basic_string_view]': encryption.cpp:50:25: required from here encryption.cpp:33:17: error: request for member 'size' in 'raw', which is of non-class type 'int' 33 | if (raw.size() == public_key::key_size + public_key::salt_size) { | ~~~~^~~~ encryption.cpp:34:63: error: request for member 'data' in 'raw', which is of non-class type 'int' 34 | auto p = reinterpret_cast(raw.data()); | ~~~~^~~~ libfilezilla/hash.hpp: In instantiation of 'fz::hash_accumulator& fz::hash_accumulator::operator<<(T&&) [with T = int&]': encryption.cpp:156:98: required from here libfilezilla/hash.hpp:54:23: error: call of overloaded 'update(int&)' is ambiguous 54 | update(std::forward(in)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:38:14: note: candidate: 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:41:14: note: candidate: 'void fz::hash_accumulator::update(int)' 41 | void update(uint8_t in) { | ^~~~~~ libfilezilla/hash.hpp: In instantiation of 'fz::hash_accumulator& fz::hash_accumulator::operator<<(T&&) [with T = int]': encryption.cpp:156:107: required from here libfilezilla/hash.hpp:54:23: error: call of overloaded 'update(int)' is ambiguous 54 | update(std::forward(in)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:38:14: note: candidate: 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:41:14: note: candidate: 'void fz::hash_accumulator::update(int)' 41 | void update(uint8_t in) { | ^~~~~~ libfilezilla/hash.hpp: In instantiation of 'fz::hash_accumulator& fz::hash_accumulator::operator<<(T&&) [with T = std::vector&]': encryption.cpp:156:112: required from here libfilezilla/hash.hpp:54:23: error: no matching function for call to 'fz::hash_accumulator::update(std::vector&)' 54 | update(std::forward(in)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:37:14: note: candidate: 'void fz::hash_accumulator::update(const std::string_view&)' 37 | void update(std::string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:37:45: note: no known conversion for argument 1 from 'std::vector' to 'const std::string_view&' {aka 'const std::basic_string_view&'} 37 | void update(std::string_view const& data); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ libfilezilla/hash.hpp:38:14: note: candidate: 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:38:60: note: no known conversion for argument 1 from 'std::vector' to 'const int&' 38 | void update(std::basic_string_view const& data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ libfilezilla/hash.hpp:40:14: note: candidate: 'void fz::hash_accumulator::update(const int*, size_t)' 40 | void update(uint8_t const* data, size_t size); | ^~~~~~ libfilezilla/hash.hpp:40:14: note: candidate expects 2 arguments, 1 provided libfilezilla/hash.hpp:41:14: note: candidate: 'void fz::hash_accumulator::update(int)' 41 | void update(uint8_t in) { | ^~~~~~ libfilezilla/hash.hpp:41:29: note: no known conversion for argument 1 from 'std::vector' to 'int' 41 | void update(uint8_t in) { | ~~~~~~~~^~ libfilezilla/hash.hpp: In instantiation of 'fz::hash_accumulator& fz::hash_accumulator::operator<<(T&&) [with T = const int&]': encryption.cpp:156:148: required from here libfilezilla/hash.hpp:54:23: error: call of overloaded 'update(const int&)' is ambiguous 54 | update(std::forward(in)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:38:14: note: candidate: 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:41:14: note: candidate: 'void fz::hash_accumulator::update(int)' 41 | void update(uint8_t in) { | ^~~~~~ libfilezilla/hash.hpp: In instantiation of 'fz::hash_accumulator& fz::hash_accumulator::operator<<(T&&) [with T = const std::vector&]': encryption.cpp:255:112: required from here libfilezilla/hash.hpp:54:23: error: no matching function for call to 'fz::hash_accumulator::update(const std::vector&)' 54 | update(std::forward(in)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:37:14: note: candidate: 'void fz::hash_accumulator::update(const std::string_view&)' 37 | void update(std::string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:37:45: note: no known conversion for argument 1 from 'const std::vector' to 'const std::string_view&' {aka 'const std::basic_string_view&'} 37 | void update(std::string_view const& data); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ libfilezilla/hash.hpp:38:14: note: candidate: 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:38:60: note: no known conversion for argument 1 from 'const std::vector' to 'const int&' 38 | void update(std::basic_string_view const& data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ libfilezilla/hash.hpp:40:14: note: candidate: 'void fz::hash_accumulator::update(const int*, size_t)' 40 | void update(uint8_t const* data, size_t size); | ^~~~~~ libfilezilla/hash.hpp:40:14: note: candidate expects 2 arguments, 1 provided libfilezilla/hash.hpp:41:14: note: candidate: 'void fz::hash_accumulator::update(int)' 41 | void update(uint8_t in) { | ^~~~~~ libfilezilla/hash.hpp:41:29: note: no known conversion for argument 1 from 'const std::vector' to 'int' 41 | void update(uint8_t in) { | ~~~~~~~~^~ libfilezilla/hash.hpp: In instantiation of 'fz::hash_accumulator& fz::hash_accumulator::operator<<(T&&) [with T = const std::basic_string_view&]': encryption.cpp:517:116: required from here libfilezilla/hash.hpp:54:23: error: no matching function for call to 'fz::hash_accumulator::update(const std::basic_string_view&)' 54 | update(std::forward(in)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ libfilezilla/hash.hpp:37:14: note: candidate: 'void fz::hash_accumulator::update(const std::string_view&)' 37 | void update(std::string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:37:45: note: no known conversion for argument 1 from 'const std::basic_string_view' to 'const std::string_view&' {aka 'const std::basic_string_view&'} 37 | void update(std::string_view const& data); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ libfilezilla/hash.hpp:38:14: note: candidate: 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:38:60: note: no known conversion for argument 1 from 'const std::basic_string_view' to 'const int&' 38 | void update(std::basic_string_view const& data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ libfilezilla/hash.hpp:40:14: note: candidate: 'void fz::hash_accumulator::update(const int*, size_t)' 40 | void update(uint8_t const* data, size_t size); | ^~~~~~ libfilezilla/hash.hpp:40:14: note: candidate expects 2 arguments, 1 provided libfilezilla/hash.hpp:41:14: note: candidate: 'void fz::hash_accumulator::update(int)' 41 | void update(uint8_t in) { | ^~~~~~ libfilezilla/hash.hpp:41:29: note: no known conversion for argument 1 from 'const std::basic_string_view' to 'int' 41 | void update(uint8_t in) { | ~~~~~~~~^~ make[1]: *** [Makefile:769: libfilezilla_la-encryption.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-mutex.lo `test -f 'mutex.cpp' || echo './'`mutex.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c mutex.cpp -fPIC -DPIC -o .libs/libfilezilla_la-mutex.o make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-event.lo `test -f 'event.cpp' || echo './'`event.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c event.cpp -fPIC -DPIC -o .libs/libfilezilla_la-event.o make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-local_filesys.lo `test -f 'local_filesys.cpp' || echo './'`local_filesys.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c local_filesys.cpp -fPIC -DPIC -o .libs/libfilezilla_la-local_filesys.o make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-json.lo `test -f 'json.cpp' || echo './'`json.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c json.cpp -fPIC -DPIC -o .libs/libfilezilla_la-json.o In file included from json.cpp:1: libfilezilla/buffer.hpp:87:33: error: 'uint8_t' was not declared in this scope 87 | void append(std::vector const& data); | ^~~~~~~ libfilezilla/buffer.hpp:5:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 4 | #include "libfilezilla.hpp" +++ |+#include 5 | libfilezilla/buffer.hpp:87:40: error: template argument 1 is invalid 87 | void append(std::vector const& data); | ^ libfilezilla/buffer.hpp:87:40: error: template argument 2 is invalid In file included from json.cpp:2: libfilezilla/encode.hpp:58:43: error: 'uint8_t' was not declared in this scope 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:1:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | #ifndef LIBFILEZILLA_ENCODE_HEADER libfilezilla/encode.hpp:58:43: error: template argument 1 is invalid 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:58:43: error: template argument 2 is invalid libfilezilla/encode.hpp:64:43: error: 'uint8_t' was not declared in this scope 64 | template> | ^~~~~~~ libfilezilla/encode.hpp:64:43: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:64:43: error: template argument 1 is invalid libfilezilla/encode.hpp:64:43: error: template argument 2 is invalid libfilezilla/encode.hpp:114:56: error: 'uint8_t' was not declared in this scope 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:114:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:114:63: error: template argument 1 is invalid 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:114:63: error: template argument 2 is invalid libfilezilla/encode.hpp:129:13: error: 'uint8_t' was not declared in this scope 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:129:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:129:20: error: template argument 1 is invalid 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^ libfilezilla/encode.hpp:129:20: error: template argument 2 is invalid libfilezilla/encode.hpp:130:13: error: 'uint8_t' was not declared in this scope 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:130:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:130:20: error: template argument 1 is invalid 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^ libfilezilla/encode.hpp:130:20: error: template argument 2 is invalid libfilezilla/encode.hpp:149:56: error: 'uint8_t' was not declared in this scope 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:149:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:149:63: error: template argument 1 is invalid 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:149:63: error: template argument 2 is invalid libfilezilla/encode.hpp:156:13: error: 'uint8_t' was not declared in this scope 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:156:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:156:20: error: template argument 1 is invalid 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:156:20: error: template argument 2 is invalid libfilezilla/encode.hpp:157:13: error: 'uint8_t' was not declared in this scope 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:157:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:157:20: error: template argument 1 is invalid 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:157:20: error: template argument 2 is invalid libfilezilla/encode.hpp:184:13: error: 'uint8_t' was not declared in this scope 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:184:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:184:20: error: template argument 1 is invalid 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:184:20: error: template argument 2 is invalid libfilezilla/encode.hpp:185:13: error: 'uint8_t' was not declared in this scope 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:185:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:185:20: error: template argument 1 is invalid 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:185:20: error: template argument 2 is invalid In file included from json.cpp:3: libfilezilla/json.hpp:148:9: error: 'uint64_t' does not name a type 148 | uint64_t number_value_integer() const; | ^~~~~~~~ libfilezilla/json.hpp:12:1: note: 'uint64_t' is defined in header ''; did you forget to '#include '? 11 | #include +++ |+#include 12 | libfilezilla/json.hpp: In member function 'T fz::json::number_value() const': libfilezilla/json.hpp:59:39: error: there are no arguments to 'number_value_integer' that depend on a template parameter, so a declaration of 'number_value_integer' must be available [-fpermissive] 59 | return static_cast(number_value_integer()); | ^~~~~~~~~~~~~~~~~~~~ libfilezilla/json.hpp:59:39: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) json.cpp: At global scope: json.cpp:573:1: error: 'uint64_t' does not name a type 573 | uint64_t json::number_value_integer() const | ^~~~~~~~ json.cpp:6:1: note: 'uint64_t' is defined in header ''; did you forget to '#include '? 5 | #include "string.h" +++ |+#include 6 | make[1]: *** [Makefile:832: libfilezilla_la-json.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-jws.lo `test -f 'jws.cpp' || echo './'`jws.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c jws.cpp -fPIC -DPIC -o .libs/libfilezilla_la-jws.o In file included from jws.cpp:1: libfilezilla/encode.hpp:58:43: error: 'uint8_t' was not declared in this scope 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:5:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? 4 | #include "libfilezilla.hpp" +++ |+#include 5 | libfilezilla/encode.hpp:58:43: error: template argument 1 is invalid 58 | template> | ^~~~~~~ libfilezilla/encode.hpp:58:43: error: template argument 2 is invalid libfilezilla/encode.hpp:64:43: error: 'uint8_t' was not declared in this scope 64 | template> | ^~~~~~~ libfilezilla/encode.hpp:64:43: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:64:43: error: template argument 1 is invalid libfilezilla/encode.hpp:64:43: error: template argument 2 is invalid libfilezilla/encode.hpp:114:56: error: 'uint8_t' was not declared in this scope 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:114:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:114:63: error: template argument 1 is invalid 114 | std::string FZ_PUBLIC_SYMBOL base64_encode(std::vector const& in, base64_type type = base64_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:114:63: error: template argument 2 is invalid libfilezilla/encode.hpp:129:13: error: 'uint8_t' was not declared in this scope 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:129:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:129:20: error: template argument 1 is invalid 129 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::string_view const& in); | ^ libfilezilla/encode.hpp:129:20: error: template argument 2 is invalid libfilezilla/encode.hpp:130:13: error: 'uint8_t' was not declared in this scope 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^~~~~~~ libfilezilla/encode.hpp:130:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:130:20: error: template argument 1 is invalid 130 | std::vector FZ_PUBLIC_SYMBOL base64_decode(std::wstring_view const& in); | ^ libfilezilla/encode.hpp:130:20: error: template argument 2 is invalid libfilezilla/encode.hpp:149:56: error: 'uint8_t' was not declared in this scope 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^~~~~~~ libfilezilla/encode.hpp:149:56: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:149:63: error: template argument 1 is invalid 149 | std::string FZ_PUBLIC_SYMBOL base32_encode(std::vector const& in, base32_type type = base32_type::standard, bool pad = true); | ^ libfilezilla/encode.hpp:149:63: error: template argument 2 is invalid libfilezilla/encode.hpp:156:13: error: 'uint8_t' was not declared in this scope 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:156:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:156:20: error: template argument 1 is invalid 156 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::string_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:156:20: error: template argument 2 is invalid libfilezilla/encode.hpp:157:13: error: 'uint8_t' was not declared in this scope 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^~~~~~~ libfilezilla/encode.hpp:157:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:157:20: error: template argument 1 is invalid 157 | std::vector FZ_PUBLIC_SYMBOL base32_decode(std::wstring_view const& in, base32_type type = base32_type::standard); | ^ libfilezilla/encode.hpp:157:20: error: template argument 2 is invalid libfilezilla/encode.hpp:184:13: error: 'uint8_t' was not declared in this scope 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:184:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:184:20: error: template argument 1 is invalid 184 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::string_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:184:20: error: template argument 2 is invalid libfilezilla/encode.hpp:185:13: error: 'uint8_t' was not declared in this scope 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^~~~~~~ libfilezilla/encode.hpp:185:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/encode.hpp:185:20: error: template argument 1 is invalid 185 | std::vector FZ_PUBLIC_SYMBOL percent_decode(std::wstring_view const& s, bool allow_embedded_null = false); | ^ libfilezilla/encode.hpp:185:20: error: template argument 2 is invalid In file included from jws.cpp:2: libfilezilla/hash.hpp:38:44: error: 'uint8_t' was not declared in this scope 38 | void update(std::basic_string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:1:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | #ifndef LIBFILEZILLA_HASH_HEADER libfilezilla/hash.hpp:38:51: error: template argument 1 is invalid 38 | void update(std::basic_string_view const& data); | ^ libfilezilla/hash.hpp:38:51: error: template argument 2 is invalid libfilezilla/hash.hpp:39:33: error: 'uint8_t' was not declared in this scope 39 | void update(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:39:33: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:39:40: error: template argument 1 is invalid 39 | void update(std::vector const& data); | ^ libfilezilla/hash.hpp:39:40: error: template argument 2 is invalid libfilezilla/hash.hpp:39:14: error: 'void fz::hash_accumulator::update(const int&)' cannot be overloaded with 'void fz::hash_accumulator::update(const int&)' 39 | void update(std::vector const& data); | ^~~~~~ libfilezilla/hash.hpp:38:14: note: previous declaration 'void fz::hash_accumulator::update(const int&)' 38 | void update(std::basic_string_view const& data); | ^~~~~~ libfilezilla/hash.hpp:40:21: error: 'uint8_t' has not been declared 40 | void update(uint8_t const* data, size_t size); | ^~~~~~~ libfilezilla/hash.hpp:41:21: error: 'uint8_t' has not been declared 41 | void update(uint8_t in) { | ^~~~~~~ libfilezilla/hash.hpp:46:21: error: 'uint8_t' was not declared in this scope 46 | std::vector digest(); | ^~~~~~~ libfilezilla/hash.hpp:46:21: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:46:28: error: template argument 1 is invalid 46 | std::vector digest(); | ^ libfilezilla/hash.hpp:46:28: error: template argument 2 is invalid libfilezilla/hash.hpp:48:30: error: 'uint8_t' was not declared in this scope 48 | operator std::vector() { | ^~~~~~~ libfilezilla/hash.hpp:48:30: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:48:37: error: template argument 1 is invalid 48 | operator std::vector() { | ^ libfilezilla/hash.hpp:48:37: error: template argument 2 is invalid libfilezilla/hash.hpp:67:13: error: 'uint8_t' was not declared in this scope 67 | std::vector FZ_PUBLIC_SYMBOL md5(std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:67:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:67:20: error: template argument 1 is invalid 67 | std::vector FZ_PUBLIC_SYMBOL md5(std::string_view const& data); | ^ libfilezilla/hash.hpp:67:20: error: template argument 2 is invalid libfilezilla/hash.hpp:68:13: error: 'uint8_t' was not declared in this scope 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:68:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:68:20: error: template argument 1 is invalid 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^ libfilezilla/hash.hpp:68:20: error: template argument 2 is invalid libfilezilla/hash.hpp:68:55: error: 'uint8_t' was not declared in this scope 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:68:55: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:68:62: error: template argument 1 is invalid 68 | std::vector FZ_PUBLIC_SYMBOL md5(std::vector const& data); | ^ libfilezilla/hash.hpp:68:62: error: template argument 2 is invalid libfilezilla/hash.hpp:71:13: error: 'uint8_t' was not declared in this scope 71 | std::vector FZ_PUBLIC_SYMBOL sha256(std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:71:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:71:20: error: template argument 1 is invalid 71 | std::vector FZ_PUBLIC_SYMBOL sha256(std::string_view const& data); | ^ libfilezilla/hash.hpp:71:20: error: template argument 2 is invalid libfilezilla/hash.hpp:72:13: error: 'uint8_t' was not declared in this scope 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:72:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:72:20: error: template argument 1 is invalid 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^ libfilezilla/hash.hpp:72:20: error: template argument 2 is invalid libfilezilla/hash.hpp:72:58: error: 'uint8_t' was not declared in this scope 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:72:58: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:72:65: error: template argument 1 is invalid 72 | std::vector FZ_PUBLIC_SYMBOL sha256(std::vector const& data); | ^ libfilezilla/hash.hpp:72:65: error: template argument 2 is invalid libfilezilla/hash.hpp:75:13: error: 'uint8_t' was not declared in this scope 75 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:75:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:75:20: error: template argument 1 is invalid 75 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::string_view const& data); | ^ libfilezilla/hash.hpp:75:20: error: template argument 2 is invalid libfilezilla/hash.hpp:76:13: error: 'uint8_t' was not declared in this scope 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:76:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:76:20: error: template argument 1 is invalid 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:76:20: error: template argument 2 is invalid libfilezilla/hash.hpp:76:63: error: 'uint8_t' was not declared in this scope 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:76:63: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:76:70: error: template argument 1 is invalid 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:76:70: error: template argument 2 is invalid libfilezilla/hash.hpp:76:96: error: 'uint8_t' was not declared in this scope 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:76:96: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:76:103: error: template argument 1 is invalid 76 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:76:103: error: template argument 2 is invalid libfilezilla/hash.hpp:77:13: error: 'uint8_t' was not declared in this scope 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:77:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:77:20: error: template argument 1 is invalid 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^ libfilezilla/hash.hpp:77:20: error: template argument 2 is invalid libfilezilla/hash.hpp:77:63: error: 'uint8_t' was not declared in this scope 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^~~~~~~ libfilezilla/hash.hpp:77:63: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:77:70: error: template argument 1 is invalid 77 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::vector const& key, std::string_view const& data); | ^ libfilezilla/hash.hpp:77:70: error: template argument 2 is invalid libfilezilla/hash.hpp:78:13: error: 'uint8_t' was not declared in this scope 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:78:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:78:20: error: template argument 1 is invalid 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:78:20: error: template argument 2 is invalid libfilezilla/hash.hpp:78:92: error: 'uint8_t' was not declared in this scope 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^~~~~~~ libfilezilla/hash.hpp:78:92: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:78:99: error: template argument 1 is invalid 78 | std::vector FZ_PUBLIC_SYMBOL hmac_sha256(std::string_view const& key, std::vector const& data); | ^ libfilezilla/hash.hpp:78:99: error: template argument 2 is invalid libfilezilla/hash.hpp:80:13: error: 'uint8_t' was not declared in this scope 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^~~~~~~ libfilezilla/hash.hpp:80:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:80:20: error: template argument 1 is invalid 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^ libfilezilla/hash.hpp:80:20: error: template argument 2 is invalid libfilezilla/hash.hpp:80:81: error: 'uint8_t' was not declared in this scope 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^~~~~~~ libfilezilla/hash.hpp:80:81: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:80:88: error: template argument 1 is invalid 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^ libfilezilla/hash.hpp:80:88: error: template argument 2 is invalid libfilezilla/hash.hpp:80:130: error: 'uint8_t' was not declared in this scope 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^~~~~~~ libfilezilla/hash.hpp:80:130: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:80:137: error: template argument 1 is invalid 80 | std::vector FZ_PUBLIC_SYMBOL pbkdf2_hmac_sha256(std::basic_string_view const& password, std::basic_string_view const& salt, size_t length, unsigned int iterations); | ^ libfilezilla/hash.hpp:80:137: error: template argument 2 is invalid libfilezilla/hash.hpp:83:85: error: 'uint8_t' was not declared in this scope 83 | std::enable_if_t'; did you forget to '#include '? libfilezilla/hash.hpp:84:81: error: 'uint8_t' was not declared in this scope 84 | sizeof(typename SaltContainer::value_type) == sizeof(uint8_t)>* = nullptr> | ^~~~~~~ libfilezilla/hash.hpp:84:81: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:84:89: error: template argument 1 is invalid 84 | sizeof(typename SaltContainer::value_type) == sizeof(uint8_t)>* = nullptr> | ^ libfilezilla/hash.hpp:85:13: error: 'uint8_t' was not declared in this scope 85 | std::vector pbkdf2_hmac_sha256(PasswordContainer const& password, SaltContainer const& salt, size_t length, unsigned int iterations) | ^~~~~~~ libfilezilla/hash.hpp:85:13: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:85:20: error: template argument 1 is invalid 85 | std::vector pbkdf2_hmac_sha256(PasswordContainer const& password, SaltContainer const& salt, size_t length, unsigned int iterations) | ^ libfilezilla/hash.hpp:85:20: error: template argument 2 is invalid libfilezilla/hash.hpp: In function 'int fz::pbkdf2_hmac_sha256(const PasswordContainer&, const SaltContainer&, size_t, unsigned int)': libfilezilla/hash.hpp:87:58: error: 'uint8_t' was not declared in this scope 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~~~ libfilezilla/hash.hpp:87:58: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:87:65: error: template argument 1 is invalid 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^ libfilezilla/hash.hpp:87:65: error: template argument 2 is invalid libfilezilla/hash.hpp:87:84: error: 'uint8_t' does not name a type 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~~~ libfilezilla/hash.hpp:87:84: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:87:92: error: expected '>' before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~ libfilezilla/hash.hpp:87:92: error: expected '(' before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~ | ( libfilezilla/hash.hpp:87:92: error: expected primary-expression before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~ libfilezilla/hash.hpp:87:91: error: expected ')' before 'const' 87 | return pbkdf2_hmac_sha256(std::basic_string_view(reinterpret_cast(password.data()), password.size()), | ^~~~~~ | ) libfilezilla/hash.hpp:88:65: error: template argument 2 is invalid 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^ libfilezilla/hash.hpp:88:84: error: 'uint8_t' does not name a type 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~~~ libfilezilla/hash.hpp:88:84: note: 'uint8_t' is defined in header ''; did you forget to '#include '? libfilezilla/hash.hpp:88:92: error: expected '>' before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~ libfilezilla/hash.hpp:88:92: error: expected '(' before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~ | ( libfilezilla/hash.hpp:88:92: error: expected primary-expression before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~ libfilezilla/hash.hpp:88:91: error: expected ')' before 'const' 88 | std::basic_string_view(reinterpret_cast(salt.data()), salt.size()), | ^~~~~~ | ) In file included from libfilezilla/jws.hpp:8, from jws.cpp:3: libfilezilla/json.hpp: At global scope: libfilezilla/json.hpp:148:9: error: 'uint64_t' does not name a type 148 | uint64_t number_value_integer() const; | ^~~~~~~~ libfilezilla/json.hpp:12:1: note: 'uint64_t' is defined in header ''; did you forget to '#include '? 11 | #include +++ |+#include 12 | libfilezilla/json.hpp: In member function 'T fz::json::number_value() const': libfilezilla/json.hpp:59:39: error: there are no arguments to 'number_value_integer' that depend on a template parameter, so a declaration of 'number_value_integer' must be available [-fpermissive] 59 | return static_cast(number_value_integer()); | ^~~~~~~~~~~~~~~~~~~~ libfilezilla/json.hpp:59:39: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) jws.cpp: In function 'fz::json fz::jws_sign_flattened(const json&, const json&, const json&)': jws.cpp:117:54: error: request for member 'size' in 'digest', which is of non-class type 'int' 117 | nettle_ecdsa_sign(&key, nullptr, rnd, digest.size(), digest.data(), &sig); | ^~~~ jws.cpp:117:69: error: request for member 'data' in 'digest', which is of non-class type 'int' 117 | nettle_ecdsa_sign(&key, nullptr, rnd, digest.size(), digest.data(), &sig); | ^~~~ make[1]: *** [Makefile:839: libfilezilla_la-jws.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-event_handler.lo `test -f 'event_handler.cpp' || echo './'`event_handler.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c event_handler.cpp -fPIC -DPIC -o .libs/libfilezilla_la-event_handler.o make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-invoker.lo `test -f 'invoker.cpp' || echo './'`invoker.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c invoker.cpp -fPIC -DPIC -o .libs/libfilezilla_la-invoker.o make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-hostname_lookup.lo `test -f 'hostname_lookup.cpp' || echo './'`hostname_lookup.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c hostname_lookup.cpp -fPIC -DPIC -o .libs/libfilezilla_la-hostname_lookup.o make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make[1]: Entering directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o libfilezilla_la-event_loop.lo `test -f 'event_loop.cpp' || echo './'`event_loop.cpp libtool: compile: x86_64-alt-linux-g++ -std=c++17 -DHAVE_CONFIG_H -I../config -DBUILDING_LIBFILEZILLA -I. -I./libfilezilla -fvisibility=hidden -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c event_loop.cpp -fPIC -DPIC -o .libs/libfilezilla_la-event_loop.o make[1]: Leaving directory '/usr/src/RPM/BUILD/libfilezilla-0.31.1/lib' make: *** [Makefile:489: all-recursive] Error 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.48389 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.48389 (%build) Command exited with non-zero status 1 9.73user 4.33system 0:04.85elapsed 289%CPU (0avgtext+0avgdata 126212maxresident)k 0inputs+0outputs (0major+964700minor)pagefaults 0swaps hsh-rebuild: rebuild of `libfilezilla-0.31.1-alt1.src.rpm' failed. Command exited with non-zero status 1 2.02user 1.82system 0:15.04elapsed 25%CPU (0avgtext+0avgdata 111356maxresident)k 0inputs+0outputs (0major+227888minor)pagefaults 0swaps