Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/parzip.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-854123-28426/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/parzip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/parzip-1.3.0-2.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/parzip.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-854123-28426/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/parzip.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kmvoJX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf parzip-1.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/parzip-1.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd parzip-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/parzip-1.3.0-c++17.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JThzYn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd parzip-1.3.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build The Meson build system Version: 1.0.1 Source dir: /builddir/build/BUILD/parzip-1.3.0 Build dir: /builddir/build/BUILD/parzip-1.3.0/redhat-linux-build Build type: native build Project name: parzip Project version: 1.3.0 C++ compiler for the host machine: g++ (gcc 13.1.1 "g++ (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4)") C++ linker for the host machine: g++ ld.bfd 2.39-12 Host machine cpu family: riscv64 Host machine cpu: riscv64 Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency zlib found: YES 1.2.13 Run-time dependency liblzma found: YES 5.4.1 Run-time dependency threads found: YES Did not find CMake 'cmake' Found CMake: NO Run-time dependency gtk+-3.0 found: NO (tried pkgconfig and cmake) Program unziptest.py found: YES (/builddir/build/BUILD/parzip-1.3.0/test/unziptest.py) Program ziptest.py found: YES (/builddir/build/BUILD/parzip-1.3.0/test/ziptest.py) Build targets in project: 5 parzip 1.3.0 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C redhat-linux-build -j 8 --verbose ninja: Entering directory `/builddir/build/BUILD/parzip-1.3.0/redhat-linux-build' [1/18] g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/mmapper.cpp.o -MF src/libparzcore.a.p/mmapper.cpp.o.d -o src/libparzcore.a.p/mmapper.cpp.o -c ../src/mmapper.cpp FAILED: src/libparzcore.a.p/mmapper.cpp.o g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/mmapper.cpp.o -MF src/libparzcore.a.p/mmapper.cpp.o.d -o src/libparzcore.a.p/mmapper.cpp.o -c ../src/mmapper.cpp In file included from ../src/mmapper.cpp:27: ../src/file.h:56:5: error: ‘uint64_t’ does not name a type 56 | uint64_t size() const; | ^~~~~~~~ ../src/file.h:22:1: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? 21 | #include +++ |+#include 22 | ../src/file.h:60:5: error: ‘uint8_t’ does not name a type 60 | uint8_t read8(); | ^~~~~~~ ../src/file.h:60:5: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:61:5: error: ‘uint16_t’ does not name a type 61 | uint16_t read16le(); | ^~~~~~~~ ../src/file.h:61:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:62:5: error: ‘uint32_t’ does not name a type 62 | uint32_t read32le(); | ^~~~~~~~ ../src/file.h:62:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:63:5: error: ‘uint64_t’ does not name a type 63 | uint64_t read64le(); | ^~~~~~~~ ../src/file.h:63:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:64:5: error: ‘uint16_t’ does not name a type 64 | uint16_t read16be(); | ^~~~~~~~ ../src/file.h:64:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:65:5: error: ‘uint32_t’ does not name a type 65 | uint32_t read32be(); | ^~~~~~~~ ../src/file.h:65:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:66:5: error: ‘uint64_t’ does not name a type 66 | uint64_t read64be(); | ^~~~~~~~ ../src/file.h:66:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:69:17: error: ‘uint8_t’ has not been declared 69 | void write8(uint8_t i); | ^~~~~~~ ../src/file.h:70:20: error: ‘uint16_t’ has not been declared 70 | void write16le(uint16_t i); | ^~~~~~~~ ../src/file.h:71:20: error: ‘uint32_t’ has not been declared 71 | void write32le(uint32_t i); | ^~~~~~~~ ../src/file.h:72:20: error: ‘uint64_t’ has not been declared 72 | void write64le(uint64_t i); | ^~~~~~~~ ../src/file.h:73:20: error: ‘uint16_t’ has not been declared 73 | void write16be(uint16_t i); | ^~~~~~~~ ../src/file.h:74:20: error: ‘uint32_t’ has not been declared 74 | void write32be(uint32_t i); | ^~~~~~~~ ../src/file.h:75:20: error: ‘uint64_t’ has not been declared 75 | void write64be(uint64_t); | ^~~~~~~~ ../src/file.h:77:40: error: ‘uint64_t’ has not been declared 77 | void write(const unsigned char *s, uint64_t size); | ^~~~~~~~ ../src/file.h:78:31: error: ‘uint64_t’ has not been declared 78 | void write(const char *s, uint64_t size); | ^~~~~~~~ ../src/mmapper.cpp: In constructor ‘MMapper::MMapper(const File&)’: ../src/mmapper.cpp:41:18: error: ‘const class File’ has no member named ‘size’ 41 | map_size = f.size(); | ^~~~ [2/18] g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/utils.cpp.o -MF src/libparzcore.a.p/utils.cpp.o.d -o src/libparzcore.a.p/utils.cpp.o -c ../src/utils.cpp FAILED: src/libparzcore.a.p/utils.cpp.o g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/utils.cpp.o -MF src/libparzcore.a.p/utils.cpp.o.d -o src/libparzcore.a.p/utils.cpp.o -c ../src/utils.cpp In file included from ../src/utils.h:20, from ../src/utils.cpp:18: ../src/file.h:56:5: error: ‘uint64_t’ does not name a type 56 | uint64_t size() const; | ^~~~~~~~ ../src/file.h:22:1: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? 21 | #include +++ |+#include 22 | ../src/file.h:60:5: error: ‘uint8_t’ does not name a type 60 | uint8_t read8(); | ^~~~~~~ ../src/file.h:60:5: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:61:5: error: ‘uint16_t’ does not name a type 61 | uint16_t read16le(); | ^~~~~~~~ ../src/file.h:61:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:62:5: error: ‘uint32_t’ does not name a type 62 | uint32_t read32le(); | ^~~~~~~~ ../src/file.h:62:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:63:5: error: ‘uint64_t’ does not name a type 63 | uint64_t read64le(); | ^~~~~~~~ ../src/file.h:63:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:64:5: error: ‘uint16_t’ does not name a type 64 | uint16_t read16be(); | ^~~~~~~~ ../src/file.h:64:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:65:5: error: ‘uint32_t’ does not name a type 65 | uint32_t read32be(); | ^~~~~~~~ ../src/file.h:65:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:66:5: error: ‘uint64_t’ does not name a type 66 | uint64_t read64be(); | ^~~~~~~~ ../src/file.h:66:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:69:17: error: ‘uint8_t’ has not been declared 69 | void write8(uint8_t i); | ^~~~~~~ ../src/file.h:70:20: error: ‘uint16_t’ has not been declared 70 | void write16le(uint16_t i); | ^~~~~~~~ ../src/file.h:71:20: error: ‘uint32_t’ has not been declared 71 | void write32le(uint32_t i); | ^~~~~~~~ ../src/file.h:72:20: error: ‘uint64_t’ has not been declared 72 | void write64le(uint64_t i); | ^~~~~~~~ ../src/file.h:73:20: error: ‘uint16_t’ has not been declared 73 | void write16be(uint16_t i); | ^~~~~~~~ ../src/file.h:74:20: error: ‘uint32_t’ has not been declared 74 | void write32be(uint32_t i); | ^~~~~~~~ ../src/file.h:75:20: error: ‘uint64_t’ has not been declared 75 | void write64be(uint64_t); | ^~~~~~~~ ../src/file.h:77:40: error: ‘uint64_t’ has not been declared 77 | void write(const unsigned char *s, uint64_t size); | ^~~~~~~~ ../src/file.h:78:31: error: ‘uint64_t’ has not been declared 78 | void write(const char *s, uint64_t size); | ^~~~~~~~ [3/18] g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/file.cpp.o -MF src/libparzcore.a.p/file.cpp.o.d -o src/libparzcore.a.p/file.cpp.o -c ../src/file.cpp FAILED: src/libparzcore.a.p/file.cpp.o g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/file.cpp.o -MF src/libparzcore.a.p/file.cpp.o.d -o src/libparzcore.a.p/file.cpp.o -c ../src/file.cpp In file included from ../src/file.cpp:18: ../src/file.h:56:5: error: ‘uint64_t’ does not name a type 56 | uint64_t size() const; | ^~~~~~~~ ../src/file.h:22:1: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? 21 | #include +++ |+#include 22 | ../src/file.h:60:5: error: ‘uint8_t’ does not name a type 60 | uint8_t read8(); | ^~~~~~~ ../src/file.h:60:5: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:61:5: error: ‘uint16_t’ does not name a type 61 | uint16_t read16le(); | ^~~~~~~~ ../src/file.h:61:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:62:5: error: ‘uint32_t’ does not name a type 62 | uint32_t read32le(); | ^~~~~~~~ ../src/file.h:62:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:63:5: error: ‘uint64_t’ does not name a type 63 | uint64_t read64le(); | ^~~~~~~~ ../src/file.h:63:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:64:5: error: ‘uint16_t’ does not name a type 64 | uint16_t read16be(); | ^~~~~~~~ ../src/file.h:64:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:65:5: error: ‘uint32_t’ does not name a type 65 | uint32_t read32be(); | ^~~~~~~~ ../src/file.h:65:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:66:5: error: ‘uint64_t’ does not name a type 66 | uint64_t read64be(); | ^~~~~~~~ ../src/file.h:66:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:69:17: error: ‘uint8_t’ has not been declared 69 | void write8(uint8_t i); | ^~~~~~~ ../src/file.h:70:20: error: ‘uint16_t’ has not been declared 70 | void write16le(uint16_t i); | ^~~~~~~~ ../src/file.h:71:20: error: ‘uint32_t’ has not been declared 71 | void write32le(uint32_t i); | ^~~~~~~~ ../src/file.h:72:20: error: ‘uint64_t’ has not been declared 72 | void write64le(uint64_t i); | ^~~~~~~~ ../src/file.h:73:20: error: ‘uint16_t’ has not been declared 73 | void write16be(uint16_t i); | ^~~~~~~~ ../src/file.h:74:20: error: ‘uint32_t’ has not been declared 74 | void write32be(uint32_t i); | ^~~~~~~~ ../src/file.h:75:20: error: ‘uint64_t’ has not been declared 75 | void write64be(uint64_t); | ^~~~~~~~ ../src/file.h:77:40: error: ‘uint64_t’ has not been declared 77 | void write(const unsigned char *s, uint64_t size); | ^~~~~~~~ ../src/file.h:78:31: error: ‘uint64_t’ has not been declared 78 | void write(const char *s, uint64_t size); | ^~~~~~~~ ../src/file.cpp:78:9: error: no declaration matches ‘uint8_t File::read8()’ 78 | uint8_t File::read8() { | ^~~~ ../src/file.cpp:78:9: note: no functions named ‘uint8_t File::read8()’ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:84:10: error: no declaration matches ‘uint16_t File::read16le()’ 84 | uint16_t File::read16le() { | ^~~~ ../src/file.cpp:84:10: note: no functions named ‘uint16_t File::read16le()’ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:90:10: error: no declaration matches ‘uint32_t File::read32le()’ 90 | uint32_t File::read32le() { | ^~~~ ../src/file.cpp:90:10: note: no functions named ‘uint32_t File::read32le()’ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:96:10: error: no declaration matches ‘uint64_t File::read64le()’ 96 | uint64_t File::read64le() { | ^~~~ ../src/file.cpp:96:10: note: no functions named ‘uint64_t File::read64le()’ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:102:10: error: no declaration matches ‘uint16_t File::read16be()’ 102 | uint16_t File::read16be() { | ^~~~ ../src/file.cpp:102:10: note: no functions named ‘uint16_t File::read16be()’ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:108:10: error: no declaration matches ‘uint32_t File::read32be()’ 108 | uint32_t File::read32be() { | ^~~~ ../src/file.cpp:108:10: note: no functions named ‘uint32_t File::read32be()’ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:114:10: error: no declaration matches ‘uint64_t File::read64be()’ 114 | uint64_t File::read64be() { | ^~~~ ../src/file.cpp:114:10: note: no functions named ‘uint64_t File::read64be()’ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:126:10: error: no declaration matches ‘uint64_t File::size() const’ 126 | uint64_t File::size() const { | ^~~~ ../src/file.cpp:126:10: note: no functions named ‘uint64_t File::size() const’ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:140:6: error: no declaration matches ‘void File::write8(uint8_t)’ 140 | void File::write8(uint8_t i) { write(reinterpret_cast(&i), sizeof(i)); } | ^~~~ ../src/file.h:69:10: note: candidate is: ‘void File::write8(int)’ 69 | void write8(uint8_t i); | ^~~~~~ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:142:6: error: no declaration matches ‘void File::write16le(uint16_t)’ 142 | void File::write16le(uint16_t i) { | ^~~~ ../src/file.h:70:10: note: candidate is: ‘void File::write16le(int)’ 70 | void write16le(uint16_t i); | ^~~~~~~~~ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:147:6: error: no declaration matches ‘void File::write32le(uint32_t)’ 147 | void File::write32le(uint32_t i) { | ^~~~ ../src/file.h:71:10: note: candidate is: ‘void File::write32le(int)’ 71 | void write32le(uint32_t i); | ^~~~~~~~~ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:152:6: error: no declaration matches ‘void File::write64le(uint64_t)’ 152 | void File::write64le(uint64_t i) { | ^~~~ ../src/file.h:72:10: note: candidate is: ‘void File::write64le(int)’ 72 | void write64le(uint64_t i); | ^~~~~~~~~ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:157:6: error: no declaration matches ‘void File::write16be(uint16_t)’ 157 | void File::write16be(uint16_t i) { | ^~~~ ../src/file.h:73:10: note: candidate is: ‘void File::write16be(int)’ 73 | void write16be(uint16_t i); | ^~~~~~~~~ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:162:6: error: no declaration matches ‘void File::write32be(uint32_t)’ 162 | void File::write32be(uint32_t i) { | ^~~~ ../src/file.h:74:10: note: candidate is: ‘void File::write32be(int)’ 74 | void write32be(uint32_t i); | ^~~~~~~~~ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:167:6: error: no declaration matches ‘void File::write64be(uint64_t)’ 167 | void File::write64be(uint64_t i) { | ^~~~ ../src/file.h:75:10: note: candidate is: ‘void File::write64be(int)’ 75 | void write64be(uint64_t); | ^~~~~~~~~ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:176:6: error: no declaration matches ‘void File::write(const unsigned char*, uint64_t)’ 176 | void File::write(const unsigned char *s, uint64_t size) { | ^~~~ ../src/file.h:78:10: note: candidates are: ‘void File::write(const char*, int)’ 78 | void write(const char *s, uint64_t size); | ^~~~~ ../src/file.h:77:10: note: ‘void File::write(const unsigned char*, int)’ 77 | void write(const unsigned char *s, uint64_t size); | ^~~~~ ../src/file.cpp:172:6: note: ‘void File::write(const std::string&)’ 172 | void File::write(const std::string &s) { | ^~~~ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ ../src/file.cpp:182:6: error: no declaration matches ‘void File::write(const char*, uint64_t)’ 182 | void File::write(const char *s, uint64_t size) { write((const unsigned char *)s, size); } | ^~~~ ../src/file.h:78:10: note: candidates are: ‘void File::write(const char*, int)’ 78 | void write(const char *s, uint64_t size); | ^~~~~ ../src/file.h:77:10: note: ‘void File::write(const unsigned char*, int)’ 77 | void write(const unsigned char *s, uint64_t size); | ^~~~~ ../src/file.cpp:172:6: note: ‘void File::write(const std::string&)’ 172 | void File::write(const std::string &s) { | ^~~~ ../src/file.h:25:7: note: ‘class File’ defined here 25 | class File final { | ^~~~ [4/18] g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/decompress.cpp.o -MF src/libparzcore.a.p/decompress.cpp.o.d -o src/libparzcore.a.p/decompress.cpp.o -c ../src/decompress.cpp FAILED: src/libparzcore.a.p/decompress.cpp.o g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/decompress.cpp.o -MF src/libparzcore.a.p/decompress.cpp.o.d -o src/libparzcore.a.p/decompress.cpp.o -c ../src/decompress.cpp ../src/decompress.cpp: In function ‘uint32_t {anonymous}::inflate_to_file(const unsigned char*, uint64_t, FILE*, const TaskControl&)’: ../src/decompress.cpp:99:20: error: ‘runtime_error’ is not a member of ‘std’ 99 | throw std::runtime_error("Could not init zlib."); | ^~~~~~~~~~~~~ ../src/decompress.cpp:56:1: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? 55 | #include +++ |+#include 56 | ../src/decompress.cpp:121:28: error: ‘runtime_error’ is not a member of ‘std’ 121 | throw std::runtime_error(strm.msg); | ^~~~~~~~~~~~~ ../src/decompress.cpp:121:28: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? ../src/decompress.cpp: In function ‘uint32_t {anonymous}::lzma_to_file(const unsigned char*, uint64_t, FILE*, const TaskControl&)’: ../src/decompress.cpp:167:20: error: ‘runtime_error’ is not a member of ‘std’ 167 | throw std::runtime_error("Could not decode LZMA properties."); | ^~~~~~~~~~~~~ ../src/decompress.cpp:167:20: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? ../src/decompress.cpp:172:20: error: ‘runtime_error’ is not a member of ‘std’ 172 | throw std::runtime_error("Could not initialize LZMA decoder."); | ^~~~~~~~~~~~~ ../src/decompress.cpp:172:20: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? ../src/decompress.cpp:190:28: error: ‘runtime_error’ is not a member of ‘std’ 190 | throw std::runtime_error("Decompression failed."); | ^~~~~~~~~~~~~ ../src/decompress.cpp:190:28: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? ../src/decompress.cpp: In function ‘void {anonymous}::create_file(const localheader&, const centralheader&, const unsigned char*, uint64_t, const std::string&, const TaskControl&)’: ../src/decompress.cpp:240:20: error: ‘runtime_error’ is not a member of ‘std’ 240 | throw std::runtime_error("Unsupported compression format."); | ^~~~~~~~~~~~~ ../src/decompress.cpp:240:20: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? ../src/decompress.cpp:243:20: error: ‘runtime_error’ is not a member of ‘std’ 243 | throw std::runtime_error("Already exists, will not overwrite."); | ^~~~~~~~~~~~~ ../src/decompress.cpp:243:20: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? ../src/decompress.cpp:258:20: error: ‘runtime_error’ is not a member of ‘std’ 258 | throw std::runtime_error("CRC32 checksum is invalid."); | ^~~~~~~~~~~~~ ../src/decompress.cpp:258:20: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? ../src/decompress.cpp: In function ‘void {anonymous}::create_device(const localheader&, const std::string&)’: ../src/decompress.cpp:276:20: error: ‘runtime_error’ is not a member of ‘std’ 276 | throw std::runtime_error(msg); | ^~~~~~~~~~~~~ ../src/decompress.cpp:276:20: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? ../src/decompress.cpp: In function ‘filetype {anonymous}::detect_filetype(const localheader&, const centralheader&)’: ../src/decompress.cpp:300:28: error: ‘runtime_error’ is not a member of ‘std’ 300 | throw std::runtime_error("Symbolic link stored compressed. Not supported."); | ^~~~~~~~~~~~~ ../src/decompress.cpp:300:28: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? ../src/decompress.cpp: In function ‘filetype {anonymous}::do_unpack(const localheader&, const centralheader&, const unsigned char*, uint64_t, const std::string&, const TaskControl&)’: ../src/decompress.cpp:343:20: error: ‘runtime_error’ is not a member of ‘std’ 343 | throw std::runtime_error("Unknown file type."); | ^~~~~~~~~~~~~ ../src/decompress.cpp:343:20: note: ‘std::runtime_error’ is defined in header ‘’; did you forget to ‘#include ’? [5/18] g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/compress.cpp.o -MF src/libparzcore.a.p/compress.cpp.o.d -o src/libparzcore.a.p/compress.cpp.o -c ../src/compress.cpp FAILED: src/libparzcore.a.p/compress.cpp.o g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/compress.cpp.o -MF src/libparzcore.a.p/compress.cpp.o.d -o src/libparzcore.a.p/compress.cpp.o -c ../src/compress.cpp In file included from ../src/compress.h:20, from ../src/compress.cpp:18: ../src/file.h:56:5: error: ‘uint64_t’ does not name a type 56 | uint64_t size() const; | ^~~~~~~~ ../src/file.h:22:1: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? 21 | #include +++ |+#include 22 | ../src/file.h:60:5: error: ‘uint8_t’ does not name a type 60 | uint8_t read8(); | ^~~~~~~ ../src/file.h:60:5: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:61:5: error: ‘uint16_t’ does not name a type 61 | uint16_t read16le(); | ^~~~~~~~ ../src/file.h:61:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:62:5: error: ‘uint32_t’ does not name a type 62 | uint32_t read32le(); | ^~~~~~~~ ../src/file.h:62:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:63:5: error: ‘uint64_t’ does not name a type 63 | uint64_t read64le(); | ^~~~~~~~ ../src/file.h:63:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:64:5: error: ‘uint16_t’ does not name a type 64 | uint16_t read16be(); | ^~~~~~~~ ../src/file.h:64:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:65:5: error: ‘uint32_t’ does not name a type 65 | uint32_t read32be(); | ^~~~~~~~ ../src/file.h:65:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:66:5: error: ‘uint64_t’ does not name a type 66 | uint64_t read64be(); | ^~~~~~~~ ../src/file.h:66:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:69:17: error: ‘uint8_t’ has not been declared 69 | void write8(uint8_t i); | ^~~~~~~ ../src/file.h:70:20: error: ‘uint16_t’ has not been declared 70 | void write16le(uint16_t i); | ^~~~~~~~ ../src/file.h:71:20: error: ‘uint32_t’ has not been declared 71 | void write32le(uint32_t i); | ^~~~~~~~ ../src/file.h:72:20: error: ‘uint64_t’ has not been declared 72 | void write64le(uint64_t i); | ^~~~~~~~ ../src/file.h:73:20: error: ‘uint16_t’ has not been declared 73 | void write16be(uint16_t i); | ^~~~~~~~ ../src/file.h:74:20: error: ‘uint32_t’ has not been declared 74 | void write32be(uint32_t i); | ^~~~~~~~ ../src/file.h:75:20: error: ‘uint64_t’ has not been declared 75 | void write64be(uint64_t); | ^~~~~~~~ ../src/file.h:77:40: error: ‘uint64_t’ has not been declared 77 | void write(const unsigned char *s, uint64_t size); | ^~~~~~~~ ../src/file.h:78:31: error: ‘uint64_t’ has not been declared 78 | void write(const char *s, uint64_t size); | ^~~~~~~~ [6/18] g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/zipfile.cpp.o -MF src/libparzcore.a.p/zipfile.cpp.o.d -o src/libparzcore.a.p/zipfile.cpp.o -c ../src/zipfile.cpp FAILED: src/libparzcore.a.p/zipfile.cpp.o g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/zipfile.cpp.o -MF src/libparzcore.a.p/zipfile.cpp.o.d -o src/libparzcore.a.p/zipfile.cpp.o -c ../src/zipfile.cpp In file included from ../src/zipfile.h:20, from ../src/zipfile.cpp:18: ../src/file.h:56:5: error: ‘uint64_t’ does not name a type 56 | uint64_t size() const; | ^~~~~~~~ ../src/file.h:22:1: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? 21 | #include +++ |+#include 22 | ../src/file.h:60:5: error: ‘uint8_t’ does not name a type 60 | uint8_t read8(); | ^~~~~~~ ../src/file.h:60:5: note: ‘uint8_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:61:5: error: ‘uint16_t’ does not name a type 61 | uint16_t read16le(); | ^~~~~~~~ ../src/file.h:61:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:62:5: error: ‘uint32_t’ does not name a type 62 | uint32_t read32le(); | ^~~~~~~~ ../src/file.h:62:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:63:5: error: ‘uint64_t’ does not name a type 63 | uint64_t read64le(); | ^~~~~~~~ ../src/file.h:63:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:64:5: error: ‘uint16_t’ does not name a type 64 | uint16_t read16be(); | ^~~~~~~~ ../src/file.h:64:5: note: ‘uint16_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:65:5: error: ‘uint32_t’ does not name a type 65 | uint32_t read32be(); | ^~~~~~~~ ../src/file.h:65:5: note: ‘uint32_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:66:5: error: ‘uint64_t’ does not name a type 66 | uint64_t read64be(); | ^~~~~~~~ ../src/file.h:66:5: note: ‘uint64_t’ is defined in header ‘’; did you forget to ‘#include ’? ../src/file.h:69:17: error: ‘uint8_t’ has not been declared 69 | void write8(uint8_t i); | ^~~~~~~ ../src/file.h:70:20: error: ‘uint16_t’ has not been declared 70 | void write16le(uint16_t i); | ^~~~~~~~ ../src/file.h:71:20: error: ‘uint32_t’ has not been declared 71 | void write32le(uint32_t i); | ^~~~~~~~ ../src/file.h:72:20: error: ‘uint64_t’ has not been declared 72 | void write64le(uint64_t i); | ^~~~~~~~ ../src/file.h:73:20: error: ‘uint16_t’ has not been declared 73 | void write16be(uint16_t i); | ^~~~~~~~ ../src/file.h:74:20: error: ‘uint32_t’ has not been declared 74 | void write32be(uint32_t i); | ^~~~~~~~ ../src/file.h:75:20: error: ‘uint64_t’ has not been declared 75 | void write64be(uint64_t); | ^~~~~~~~ ../src/file.h:77:40: error: ‘uint64_t’ has not been declared 77 | void write(const unsigned char *s, uint64_t size); | ^~~~~~~~ ../src/file.h:78:31: error: ‘uint64_t’ has not been declared 78 | void write(const char *s, uint64_t size); | ^~~~~~~~ ../src/zipfile.cpp: In function ‘localheader {anonymous}::read_local_entry(File&)’: ../src/zipfile.cpp:111:26: error: ‘class File’ has no member named ‘read16le’ 111 | h.needed_version = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:112:22: error: ‘class File’ has no member named ‘read16le’ 112 | h.gp_bitflag = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:113:23: error: ‘class File’ has no member named ‘read16le’ 113 | h.compression = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:114:25: error: ‘class File’ has no member named ‘read16le’ 114 | h.last_mod_time = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:115:25: error: ‘class File’ has no member named ‘read16le’ 115 | h.last_mod_date = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:116:17: error: ‘class File’ has no member named ‘read32le’ 116 | h.crc32 = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:117:27: error: ‘class File’ has no member named ‘read32le’ 117 | h.compressed_size = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:118:29: error: ‘class File’ has no member named ‘read32le’ 118 | h.uncompressed_size = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:119:22: error: ‘class File’ has no member named ‘read16le’ 119 | fname_length = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:120:22: error: ‘class File’ has no member named ‘read16le’ 120 | extra_length = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp: In function ‘centralheader {anonymous}::read_central_entry(File&)’: ../src/zipfile.cpp:134:27: error: ‘class File’ has no member named ‘read16le’ 134 | c.version_made_by = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:135:26: error: ‘class File’ has no member named ‘read16le’ 135 | c.version_needed = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:136:20: error: ‘class File’ has no member named ‘read16le’ 136 | c.bit_flag = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:137:30: error: ‘class File’ has no member named ‘read16le’ 137 | c.compression_method = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:138:25: error: ‘class File’ has no member named ‘read16le’ 138 | c.last_mod_time = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:139:25: error: ‘class File’ has no member named ‘read16le’ 139 | c.last_mod_date = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:140:17: error: ‘class File’ has no member named ‘read32le’ 140 | c.crc32 = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:141:27: error: ‘class File’ has no member named ‘read32le’ 141 | c.compressed_size = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:142:29: error: ‘class File’ has no member named ‘read32le’ 142 | c.uncompressed_size = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:143:22: error: ‘class File’ has no member named ‘read16le’ 143 | fname_length = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:144:22: error: ‘class File’ has no member named ‘read16le’ 144 | extra_length = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:145:24: error: ‘class File’ has no member named ‘read16le’ 145 | comment_length = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:146:29: error: ‘class File’ has no member named ‘read16le’ 146 | c.disk_number_start = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:147:36: error: ‘class File’ has no member named ‘read16le’ 147 | c.internal_file_attributes = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:148:36: error: ‘class File’ has no member named ‘read32le’ 148 | c.external_file_attributes = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:149:35: error: ‘class File’ has no member named ‘read32le’ 149 | c.local_header_rel_offset = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp: In function ‘zip64endrecord {anonymous}::read_z64_central_end(File&)’: ../src/zipfile.cpp:159:23: error: ‘class File’ has no member named ‘read64le’ 159 | er.recordsize = f.read64le(); | ^~~~~~~~ ../src/zipfile.cpp:160:28: error: ‘class File’ has no member named ‘read16le’ 160 | er.version_made_by = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:161:27: error: ‘class File’ has no member named ‘read16le’ 161 | er.version_needed = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:162:24: error: ‘class File’ has no member named ‘read32le’ 162 | er.disk_number = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:163:34: error: ‘class File’ has no member named ‘read32le’ 163 | er.dir_start_disk_number = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:164:34: error: ‘class File’ has no member named ‘read64le’ 164 | er.this_disk_num_entries = f.read64le(); | ^~~~~~~~ ../src/zipfile.cpp:165:26: error: ‘class File’ has no member named ‘read64le’ 165 | er.total_entries = f.read64le(); | ^~~~~~~~ ../src/zipfile.cpp:166:21: error: ‘class File’ has no member named ‘read64le’ 166 | er.dir_size = f.read64le(); | ^~~~~~~~ ../src/zipfile.cpp:167:23: error: ‘class File’ has no member named ‘read64le’ 167 | er.dir_offset = f.read64le(); | ^~~~~~~~ ../src/zipfile.cpp: In function ‘zip64locator {anonymous}::read_z64_locator(File&)’: ../src/zipfile.cpp:175:37: error: ‘class File’ has no member named ‘read32le’ 175 | loc.central_dir_disk_number = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:176:32: error: ‘class File’ has no member named ‘read64le’ 176 | loc.central_dir_offset = f.read64le(); | ^~~~~~~~ ../src/zipfile.cpp:177:23: error: ‘class File’ has no member named ‘read32le’ 177 | loc.num_disks = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp: In function ‘endrecord {anonymous}::read_end_record(File&)’: ../src/zipfile.cpp:183:24: error: ‘class File’ has no member named ‘read16le’ 183 | el.disk_number = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:184:36: error: ‘class File’ has no member named ‘read16le’ 184 | el.central_dir_disk_number = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:185:34: error: ‘class File’ has no member named ‘read16le’ 185 | el.this_disk_num_entries = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:186:26: error: ‘class File’ has no member named ‘read16le’ 186 | el.total_entries = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp:187:21: error: ‘class File’ has no member named ‘read32le’ 187 | el.dir_size = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:188:34: error: ‘class File’ has no member named ‘read32le’ 188 | el.dir_offset_start_disk = f.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:189:20: error: ‘class File’ has no member named ‘read16le’ 189 | auto csize = f.read16le(); | ^~~~~~~~ ../src/zipfile.cpp: In constructor ‘ZipFile::ZipFile(const char*)’: ../src/zipfile.cpp:249:23: error: ‘class File’ has no member named ‘read32le’ 249 | auto id = zipfile.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:256:22: error: ‘class File’ has no member named ‘read32le’ 256 | id = zipfile.read32le(); | ^~~~~~~~ ../src/zipfile.cpp:259:26: error: ‘class File’ has no member named ‘read32le’ 259 | id = zipfile.read32le(); | ^~~~~~~~ ../src/zipfile.cpp: In member function ‘void ZipFile::readLocalFileHeaders()’: ../src/zipfile.cpp:282:33: error: ‘class File’ has no member named ‘read32le’ 282 | uint32_t head = zipfile.read32le(); | ^~~~~~~~ ../src/zipfile.cpp: In member function ‘void ZipFile::readCentralDirectory()’: ../src/zipfile.cpp:303:33: error: ‘class File’ has no member named ‘read32le’ 303 | uint32_t head = zipfile.read32le(); | ^~~~~~~~ [7/18] g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/fileutils.cpp.o -MF src/libparzcore.a.p/fileutils.cpp.o.d -o src/libparzcore.a.p/fileutils.cpp.o -c ../src/fileutils.cpp [8/18] g++ -Isrc/libparzcore.a.p -Isrc -I../src -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -pthread -MD -MQ src/libparzcore.a.p/zipcreator.cpp.o -MF src/libparzcore.a.p/zipcreator.cpp.o.d -o src/libparzcore.a.p/zipcreator.cpp.o -c ../src/zipcreator.cpp ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/parzip-1.3.0/redhat-linux-build -j 8 -v error: Bad exit status from /var/tmp/rpm-tmp.JThzYn (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.JThzYn (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/parzip.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/parzip.spec