D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/qt-fsarchiver-terminal-0.8.6.7-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HTkB9S + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf qt-fsarchiver-terminal + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/qt-fsarchiver-terminal-0.8.6-7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd qt-fsarchiver-terminal + rm -rf /home/pterjan/rpmbuild/BUILD/qt-fsarchiver-terminal-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/qt-fsarchiver-terminal-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Add-EXT4-orphan_file-feature.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 /home/pterjan/rpmbuild/tmp/rpm-tmp.HVIrYJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd qt-fsarchiver-terminal + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/lib64/qt5/bin/qmake libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'QMAKE_LFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' QMAKE_STRIP= + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/comp_bzip2.o src/comp_bzip2.c src/comp_bzip2.c: In function 'compress_block_bzip2': src/comp_bzip2.c:29:102: warning: unused parameter 'level' [-Wunused-parameter] 29 | int compress_block_bzip2(u64 origsize, u64 *compsize, u8 *origbuf, u8 *compbuf, u64 compbufsize, int level) | ~~~~^~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/comp_gzip.o src/comp_gzip.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/comp_lz4.o src/comp_lz4.c src/comp_lz4.c: In function 'compress_block_lz4': src/comp_lz4.c:30:100: warning: unused parameter 'level' [-Wunused-parameter] 30 | int compress_block_lz4(u64 origsize, u64 *compsize, u8 *origbuf, u8 *compbuf, u64 compbufsize, int level) | ~~~~^~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/comp_lzma.o src/comp_lzma.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/comp_lzo.o src/comp_lzo.c src/comp_lzo.c: In function 'compress_block_lzo': src/comp_lzo.c:28:100: warning: unused parameter 'level' [-Wunused-parameter] 28 | int compress_block_lzo(u64 origsize, u64 *compsize, u8 *origbuf, u8 *compbuf, u64 compbufsize, int level) | ~~~~^~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/archinfo.o src/archinfo.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/comp_zstd.o src/comp_zstd.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/crypto.o src/crypto.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/datafile.o src/datafile.c src/datafile.c: In function 'datafile_is_block_zero': src/datafile.c:105:39: warning: unused parameter 'f' [-Wunused-parameter] 105 | int datafile_is_block_zero(cdatafile *f, char *data, u64 len) | ~~~~~~~~~~~^ src/datafile.c: In function 'datafile_write': src/datafile.c:140:47: warning: comparison of integer expressions of different signedness: 's64' {aka 'long int'} and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 140 | if ((lres=write(f->fd, data, len))!=len) // error | ^~ src/datafile.c:142:59: warning: comparison of integer expressions of different signedness: 's64' {aka 'long int'} and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 142 | if ((errno==ENOSPC) || ((lres>0) && (lres < len))) | ^ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/error.o src/error.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/archwriter.o src/archwriter.c src/archwriter.c: In function 'archwriter_incvolume': src/archwriter.c:246:48: warning: unused parameter 'waitkeypress' [-Wunused-parameter] 246 | int archwriter_incvolume(carchwriter *ai, bool waitkeypress) | ^ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/archreader.o src/archreader.c src/archreader.c: In function 'archreader_incvolume': src/archreader.c:143:48: warning: unused parameter 'waitkeypress' [-Wunused-parameter] 143 | int archreader_incvolume(carchreader *ai, bool waitkeypress) | ^ src/archreader.c: In function 'archreader_close': src/archreader.c:129:5: warning: ignoring return value of 'lockf' declared with attribute 'warn_unused_result' [-Wunused-result] 129 | lockf(ai->archfd, F_ULOCK, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/dichl.o src/dichl.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/fs_btrfs.o src/fs_btrfs.c src/fs_btrfs.c: In function 'btrfs_mount': src/fs_btrfs.c:180:78: warning: unused parameter 'mntinfo' [-Wunused-parameter] 180 | int btrfs_mount(char *partition, char *mntbuf, char *fsbuf, int flags, char *mntinfo) | ~~~~~~^~~~~~~ src/fs_btrfs.c: In function 'btrfs_umount': src/fs_btrfs.c:185:24: warning: unused parameter 'partition' [-Wunused-parameter] 185 | int btrfs_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_btrfs.c: In function 'btrfs_get_reqmntopt': src/fs_btrfs.c:217:31: warning: unused parameter 'partition' [-Wunused-parameter] 217 | int btrfs_get_reqmntopt(char *partition, cstrlist *reqopt, cstrlist *badopt) | ~~~~~~^~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/fs_jfs.o src/fs_jfs.c src/fs_jfs.c: In function 'jfs_mount': src/fs_jfs.c:139:76: warning: unused parameter 'mntinfo' [-Wunused-parameter] 139 | int jfs_mount(char *partition, char *mntbuf, char *fsbuf, int flags, char *mntinfo) | ~~~~~~^~~~~~~ src/fs_jfs.c: In function 'jfs_umount': src/fs_jfs.c:144:22: warning: unused parameter 'partition' [-Wunused-parameter] 144 | int jfs_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_jfs.c: In function 'jfs_get_reqmntopt': src/fs_jfs.c:176:29: warning: unused parameter 'partition' [-Wunused-parameter] 176 | int jfs_get_reqmntopt(char *partition, cstrlist *reqopt, cstrlist *badopt) | ~~~~~~^~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/devinfo.o src/devinfo.c src/devinfo.c: In function 'get_devinfo': src/devinfo.c:81:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 81 | (major(statbuf.st_rdev)==maj) && (minor(statbuf.st_rdev)==min)) | ^~ src/devinfo.c:81:73: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 81 | (major(statbuf.st_rdev)==maj) && (minor(statbuf.st_rdev)==min)) | ^~ src/devinfo.c:92:52: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 92 | ((outdev->devsize=lseek64(fd, 0, SEEK_END))<0) || | ^ src/devinfo.c:106:42: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 106 | for (i=0; (sysblkdevname[i]!=0) && (ilongname, sizeof(outdev->longname), "%s", temp); | ^~ ~~~~ In file included from /usr/include/stdio.h:980, from src/common.h:21, from src/devinfo.c:36: In function 'snprintf', inlined from 'get_devinfo' at src/devinfo.c:83:17: /usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/logfile.o src/logfile.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/dico.o src/dico.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/fs_reiser4.o src/fs_reiser4.c src/fs_reiser4.c: In function 'reiser4_mount': src/fs_reiser4.c:152:80: warning: unused parameter 'mntinfo' [-Wunused-parameter] 152 | int reiser4_mount(char *partition, char *mntbuf, char *fsbuf, int flags, char *mntinfo) | ~~~~~~^~~~~~~ src/fs_reiser4.c: In function 'reiser4_umount': src/fs_reiser4.c:157:26: warning: unused parameter 'partition' [-Wunused-parameter] 157 | int reiser4_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_reiser4.c: In function 'reiser4_get_reqmntopt': src/fs_reiser4.c:189:33: warning: unused parameter 'partition' [-Wunused-parameter] 189 | int reiser4_get_reqmntopt(char *partition, cstrlist *reqopt, cstrlist *badopt) | ~~~~~~^~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/fs_reiserfs.o src/fs_reiserfs.c src/fs_reiserfs.c: In function 'reiserfs_mount': src/fs_reiserfs.c:145:81: warning: unused parameter 'mntinfo' [-Wunused-parameter] 145 | int reiserfs_mount(char *partition, char *mntbuf, char *fsbuf, int flags, char *mntinfo) | ~~~~~~^~~~~~~ src/fs_reiserfs.c: In function 'reiserfs_umount': src/fs_reiserfs.c:150:27: warning: unused parameter 'partition' [-Wunused-parameter] 150 | int reiserfs_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_reiserfs.c: In function 'reiserfs_get_reqmntopt': src/fs_reiserfs.c:183:34: warning: unused parameter 'partition' [-Wunused-parameter] 183 | int reiserfs_get_reqmntopt(char *partition, cstrlist *reqopt, cstrlist *badopt) | ~~~~~~^~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/filesys.o src/filesys.c src/filesys.c: In function 'generic_get_spacestats': src/filesys.c:78:45: warning: unused parameter 'mnt' [-Wunused-parameter] 78 | int generic_get_spacestats(char *dev, char *mnt, char *text, int textlen) | ~~~~~~^~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/fs_vfat.o src/fs_vfat.c src/fs_vfat.c: In function 'vfat_mkfs': src/fs_vfat.c:37:82: warning: unused parameter 'mkfsuuid' [-Wunused-parameter] 37 | int vfat_mkfs(cdico *d, char *partition, char *fsoptions, char *mkfslabel, char *mkfsuuid) | ~~~~~~^~~~~~~~ src/fs_vfat.c: In function 'vfat_mount': src/fs_vfat.c:158:77: warning: unused parameter 'mntinfo' [-Wunused-parameter] 158 | int vfat_mount(char *partition, char *mntbuf, char *fsbuf, int flags, char *mntinfo) | ~~~~~~^~~~~~~ src/fs_vfat.c: In function 'vfat_umount': src/fs_vfat.c:163:23: warning: unused parameter 'partition' [-Wunused-parameter] 163 | int vfat_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_vfat.c: In function 'vfat_get_reqmntopt': src/fs_vfat.c:197:30: warning: unused parameter 'partition' [-Wunused-parameter] 197 | int vfat_get_reqmntopt(char *partition, cstrlist *reqopt, cstrlist *badopt) | ~~~~~~^~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/options.o src/options.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/oper_restore.o src/oper_restore.c src/oper_restore.c: In function 'extractar_listing_print_file': src/oper_restore.c:184:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'double' [-Wformat=] 184 | snprintf(strprogress, sizeof(strprogress), "[%3d%%]", progress); | ~~^ ~~~~~~~~ | | | | int double | %3f src/oper_restore.c: In function 'extractar_restore_attr_xattr': src/oper_restore.c:232:13: error: implicit declaration of function 'wert_save' [-Wimplicit-function-declaration] 232 | wert_save (108,"d"); | ^~~~~~~~~ src/oper_restore.c:200:46: warning: unused parameter 'exar' [-Wunused-parameter] 200 | int extractar_restore_attr_xattr(cextractar *exar, u32 objtype, char *fullpath, char *relpath, cdico *dicoattr) | ~~~~~~~~~~~~^~~~ src/oper_restore.c:200:56: warning: unused parameter 'objtype' [-Wunused-parameter] 200 | int extractar_restore_attr_xattr(cextractar *exar, u32 objtype, char *fullpath, char *relpath, cdico *dicoattr) | ~~~~^~~~~~~ src/oper_restore.c: In function 'extractar_restore_attr_windows': src/oper_restore.c:243:48: warning: unused parameter 'exar' [-Wunused-parameter] 243 | int extractar_restore_attr_windows(cextractar *exar, u32 objtype, char *fullpath, char *relpath, cdico *dicoattr) | ~~~~~~~~~~~~^~~~ src/oper_restore.c:243:58: warning: unused parameter 'objtype' [-Wunused-parameter] 243 | int extractar_restore_attr_windows(cextractar *exar, u32 objtype, char *fullpath, char *relpath, cdico *dicoattr) | ~~~~^~~~~~~ src/oper_restore.c: In function 'extractar_restore_attr_std': src/oper_restore.c:286:44: warning: unused parameter 'exar' [-Wunused-parameter] 286 | int extractar_restore_attr_std(cextractar *exar, u32 objtype, char *fullpath, char *relpath, cdico *dicoattr) | ~~~~~~~~~~~~^~~~ src/oper_restore.c: In function 'extractar_restore_obj_symlink': src/oper_restore.c:356:90: warning: unused parameter 'destdir' [-Wunused-parameter] 356 | int extractar_restore_obj_symlink(cextractar *exar, char *fullpath, char *relpath, char *destdir, cdico *d, int objtype, int fstype) | ~~~~~~^~~~~~~ src/oper_restore.c: In function 'extractar_restore_obj_hardlink': src/oper_restore.c:444:127: warning: unused parameter 'fstype' [-Wunused-parameter] 444 | int extractar_restore_obj_hardlink(cextractar *exar, char *fullpath, char *relpath, char *destdir, cdico *d, int objtype, int fstype) | ~~~~^~~~~~ src/oper_restore.c: In function 'extractar_restore_obj_devfile': src/oper_restore.c:502:90: warning: unused parameter 'destdir' [-Wunused-parameter] 502 | int extractar_restore_obj_devfile(cextractar *exar, char *fullpath, char *relpath, char *destdir, cdico *d, int objtype, int fstype) | ~~~~~~^~~~~~~ src/oper_restore.c:502:126: warning: unused parameter 'fstype' [-Wunused-parameter] 502 | int extractar_restore_obj_devfile(cextractar *exar, char *fullpath, char *relpath, char *destdir, cdico *d, int objtype, int fstype) | ~~~~^~~~~~ src/oper_restore.c: In function 'extractar_restore_obj_directory': src/oper_restore.c:556:92: warning: unused parameter 'destdir' [-Wunused-parameter] 556 | int extractar_restore_obj_directory(cextractar *exar, char *fullpath, char *relpath, char *destdir, cdico *d, int objtype, int fstype) | ~~~~~~^~~~~~~ src/oper_restore.c:556:128: warning: unused parameter 'fstype' [-Wunused-parameter] 556 | int extractar_restore_obj_directory(cextractar *exar, char *fullpath, char *relpath, char *destdir, cdico *d, int objtype, int fstype) | ~~~~^~~~~~ src/oper_restore.c: In function 'extractar_restore_obj_regfile_multi': src/oper_restore.c:640:17: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 640 | for (i=1; i < filescount; i++) // first header was a special case (received from calling function) | ^ src/oper_restore.c:670:17: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 670 | for (i=0; i < filescount; i++) | ^ src/oper_restore.c:601:113: warning: unused parameter 'fstype' [-Wunused-parameter] 601 | int extractar_restore_obj_regfile_multi(cextractar *exar, char *destdir, cdico *dicofirstfile, int objtype, int fstype) // d = obj-header of first small file | ~~~~^~~~~~ src/oper_restore.c: In function 'extractar_restore_obj_regfile_unique': src/oper_restore.c:759:97: warning: unused parameter 'destdir' [-Wunused-parameter] 759 | int extractar_restore_obj_regfile_unique(cextractar *exar, char *fullpath, char *relpath, char *destdir, cdico *d, int objtype, int fstype) // large or empty files | ~~~~~~^~~~~~~ src/oper_restore.c:759:133: warning: unused parameter 'fstype' [-Wunused-parameter] 759 | int extractar_restore_obj_regfile_unique(cextractar *exar, char *fullpath, char *relpath, char *destdir, cdico *d, int objtype, int fstype) // large or empty files | ~~~~^~~~~~ src/oper_restore.c: In function 'extractar_read_mainhead': src/oper_restore.c:1174:39: warning: the comparison will always evaluate as 'false' for the address of 'encryptpass' will never be NULL [-Waddress] 1174 | passlen=(g_options.encryptpass==NULL)?(0):(strlen((char*)g_options.encryptpass)); | ^~ In file included from src/oper_restore.c:38: src/options.h:43:14: note: 'encryptpass' declared here 43 | u8 encryptpass[FSA_MAX_PASSLEN+1]; | ^~~~~~~~~~~ src/oper_restore.c:1175:35: warning: the comparison will always evaluate as 'false' for the address of 'encryptpass' will never be NULL [-Waddress] 1175 | if ((g_options.encryptpass==NULL) || (passlenFSA_MAX_PASSLEN)) | ^~ src/options.h:43:14: note: 'encryptpass' declared here 43 | u8 encryptpass[FSA_MAX_PASSLEN+1]; | ^~~~~~~~~~~ src/oper_restore.c: In function 'oper_restore': src/oper_restore.c:1496:39: warning: comparison of integer expressions of different signedness: 'int' and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 1496 | if ((dicoargv[i]!=NULL) && (i >= exar.ai.fscount)) | ^~ src/oper_restore.c:1503:62: warning: comparison of integer expressions of different signedness: 'int' and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 1503 | for (i=0; (exar.ai.archtype==ARCHTYPE_FILESYSTEMS) && (i < exar.ai.fscount) && (imaxitems; i++) | ^ src/regmulti.c: In function 'regmulti_count': src/regmulti.c:63:41: warning: unused parameter 'header' [-Wunused-parameter] 63 | int regmulti_count(cregmulti *m, cdico *header, char *data, u32 datsize) | ~~~~~~~^~~~~~ src/regmulti.c:63:55: warning: unused parameter 'data' [-Wunused-parameter] 63 | int regmulti_count(cregmulti *m, cdico *header, char *data, u32 datsize) | ~~~~~~^~~~ src/regmulti.c:63:65: warning: unused parameter 'datsize' [-Wunused-parameter] 63 | int regmulti_count(cregmulti *m, cdico *header, char *data, u32 datsize) | ~~~~^~~~~~~ src/regmulti.c: In function 'regmulti_save_enqueue': src/regmulti.c:129:17: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 129 | for (i=0; i < m->count; i++) | ^ src/regmulti.c: In function 'regmulti_rest_getfile': src/regmulti.c:226:15: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 226 | if (index >= m->count) | ^~ src/regmulti.c:216:100: warning: unused parameter 'bufsize' [-Wunused-parameter] 216 | int regmulti_rest_getfile(cregmulti *m, int index, cdico **filehead, char *data, u64 *datsize, u32 bufsize) | ~~~~^~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/fs_ext2.o src/fs_ext2.c src/fs_ext2.c: In function 'extfs_getinfo': src/fs_ext2.c:455:52: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 455 | strncpy(label, super->s_volume_name, sizeof(super->s_volume_name)); | ^ src/fs_ext2.c: In function 'extfs_mount': src/fs_ext2.c:538:78: warning: unused parameter 'mntinfo' [-Wunused-parameter] 538 | int extfs_mount(char *partition, char *mntbuf, char *fsbuf, int flags, char *mntinfo) | ~~~~~~^~~~~~~ src/fs_ext2.c: In function 'extfs_umount': src/fs_ext2.c:568:24: warning: unused parameter 'partition' [-Wunused-parameter] 568 | int extfs_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_ext2.c: In function 'extfs_get_reqmntopt': src/fs_ext2.c:608:31: warning: unused parameter 'partition' [-Wunused-parameter] 608 | int extfs_get_reqmntopt(char *partition, cstrlist *reqopt, cstrlist *badopt) | ~~~~~~^~~~~~~~~ src/fs_ext2.c: In function 'extfs_mkfs': src/fs_ext2.c:227:39: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 64 [-Wformat-truncation=] 227 | snprintf(uuid, sizeof(uuid), "%s", buffer); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:980, from src/fs_ext2.c:22: In function 'snprintf', inlined from 'extfs_mkfs' at src/fs_ext2.c:227:9: /usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 1 and 2048 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/strdico.o src/strdico.c src/strdico.c: In function 'strdico_parse_string': src/strdico.c:120:59: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 120 | for (i=0; (result[i]!=0) && (result[i]!='=') && (i9) | ^ src/fsarchiver.c:401:68: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 401 | snprintf((char*)g_options.encryptpass, FSA_MAX_PASSLEN, "%s", passtmp); | ^ In file included from /usr/include/stdio.h:980, from src/common.h:21, from src/fsarchiver.c:30: In function 'snprintf', inlined from 'process_cmdline' at src/fsarchiver.c:401:9: /usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 7 and 65 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/strlist.o src/strlist.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/thread_archio.o src/thread_archio.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/thread_comp.o src/thread_comp.c src/thread_comp.c: In function 'thread_comp_fct': src/thread_comp.c:334:29: warning: unused parameter 'args' [-Wunused-parameter] 334 | void *thread_comp_fct(void *args) | ~~~~~~^~~~ src/thread_comp.c: In function 'thread_decomp_fct': src/thread_comp.c:342:31: warning: unused parameter 'args' [-Wunused-parameter] 342 | void *thread_decomp_fct(void *args) | ~~~~~~^~~~ gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/queue.o src/queue.c gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/oper_save.o src/oper_save.c src/oper_save.c: In function 'createar_obj_regfile_multi': src/oper_save.c:107:12: warning: comparison of integer expressions of different signedness: 'int' and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 107 | if (res!=filesize) | ^~ src/oper_save.c:109:26: warning: comparison of integer expressions of different signedness: 'int' and 'u64' {aka 'long unsigned int'} [-Wsign-compare] 109 | if (res>=0 && res=0 && resobjectid,progress); | ~~~~~^ ~~~~~~~~~~~~~~ | | | | long long int u64 {aka long unsigned int} | %.5ld src/oper_save.c:447:34: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'u64' {aka 'long unsigned int'} [-Wformat=] 447 | printf(" %.5lld %.0f%% \r ",save->objectid,progress); | ~~~~~^ ~~~~~~~~~~~~~~ | | | | long long int u64 {aka long unsigned int} | %.5ld src/oper_save.c: In function 'filesystem_mount_partition': src/oper_save.c:956:74: warning: unused parameter 'fsid' [-Wunused-parameter] 956 | int filesystem_mount_partition(cdevinfo *devinfo, cdico *dicofsinfo, u16 fsid) | ~~~~^~~~ src/oper_save.c: In function 'oper_save': src/oper_save.c:1390:56: warning: the comparison will always evaluate as 'true' for the address of 'devpath' will never be NULL [-Waddress] 1390 | for (i=0; (i < argc) && (devinfo[i].devpath!=NULL) && (get_interrupted()==false); i++) | ^~ src/oper_save.c:80:17: note: 'devpath' declared here 80 | { char devpath[PATH_MAX]; | ^~~~~~~ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/ext2fs -I/usr/include/e2p -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/usr/lib64/qt5/mkspecs/linux-g++ -o build/main.o src/main.cc In file included from /usr/include/qt5/QtCore/qfuture.h:45, from /usr/include/qt5/QtCore/QtCore:97, from /usr/include/qt5/QtGui/QtGuiDepends:3, from /usr/include/qt5/QtGui/QtGui:3, from src/main.cc:15: /usr/include/qt5/QtCore/qfutureinterface.h:284:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 284 | explicit QFutureInterface(State initialState = NoState) | ^~~~~ /usr/include/qt5/QtCore/qfutureinterface.h:284:37: note: remove the '< >' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HVIrYJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HVIrYJ (%build) I: [iurt_root_command] ERROR: chroot