D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/qt-fsarchiver-2.8.8.0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2rDiMG sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Iw1M6g + umask 022 + cd /home/pterjan/rpmbuild/BUILD/qt-fsarchiver-2.8.8.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/qt-fsarchiver-2.8.8.0-build + rm -rf qt-fsarchiver + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/qt-fsarchiver-2.8.8-0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd qt-fsarchiver + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e 's/\ | ^~~~~~~ compilation terminated. make: *** [Makefile:884: build/comp_lz4.o] Error 1 make: *** Waiting for unfinished jobs.... 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/fsarchiver.o src/fsarchiver.c In file included from src/fsarchiver.c:33: src/oper_probe.h:22:29: warning: 'struct s_devinfo' declared inside parameter list will not be visible outside of this definition or declaration 22 | int partlist_getlist(struct s_devinfo *blkdev, int maxblkdev, int *diskcount, int *partcount); | ^~~~~~~~~ src/oper_probe.h:23:58: warning: 'struct s_devinfo' declared inside parameter list will not be visible outside of this definition or declaration 23 | char *partlist_getinfo(char *bufdat, int bufsize, struct s_devinfo *blkdev, int item); | ^~~~~~~~~ In file included from src/fsarchiver.c:37: src/comp_lz4.h:24:10: fatal error: lz4.h: No such file or directory 24 | #include | ^~~~~~~ compilation terminated. make: *** [Makefile:1107: build/fsarchiver.o] Error 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/archinfo.o src/archinfo.c src/archinfo.c: In function 'archinfo_show_mainhead': src/archinfo.c:61:10: warning: unused variable 'home' [-Wunused-variable] 61 | char home[100]; | ^~~~ src/archinfo.c: In function 'archinfo_show_fshead': src/archinfo.c:99:10: warning: unused variable 'home' [-Wunused-variable] 99 | char home[100]; | ^~~~ 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/connect_c_cpp.o src/connect_c_cpp.c src/connect_c_cpp.c: In function 'createar': src/connect_c_cpp.c:75:9: warning: unused variable 'probedetailed' [-Wunused-variable] 75 | bool probedetailed = 0; //=True Anzeige Label zB C-System | ^~~~~~~~~~~~~ src/connect_c_cpp.c: In function 'df': src/connect_c_cpp.c:222:16: warning: unused parameter 'device' [-Wunused-parameter] 222 | float df(char *device, const char *mountPoint, int flag ) | ~~~~~~^~~~~~ src/connect_c_cpp.c: In function 'meldungen_uebergeben': src/connect_c_cpp.c:206:10: warning: '__builtin_strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 206 | strncpy(fsuuid,meldung,100); | ^ src/connect_c_cpp.c: In function 'df': src/connect_c_cpp.c:248:32: warning: 'blocks_percent_used' may be used uninitialized [-Wmaybe-uninitialized] 248 | case 1: return (blocks_percent_used); | ^ src/connect_c_cpp.c:226:14: note: 'blocks_percent_used' was declared here 226 | long blocks_percent_used; | ^~~~~~~~~~~~~~~~~~~ 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/fs_vfat.o src/fs_vfat.c src/fs_vfat.c: In function 'vfat_mount': src/fs_vfat.c:160:77: warning: unused parameter 'mntinfo' [-Wunused-parameter] 160 | 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:165:23: warning: unused parameter 'partition' [-Wunused-parameter] 165 | int vfat_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_vfat.c: In function 'vfat_get_reqmntopt': src/fs_vfat.c:199:30: warning: unused parameter 'partition' [-Wunused-parameter] 199 | 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/fs_btrfs.o src/fs_btrfs.c src/fs_btrfs.c: In function 'btrfs_mount': src/fs_btrfs.c:185:78: warning: unused parameter 'mntinfo' [-Wunused-parameter] 185 | 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:190:24: warning: unused parameter 'partition' [-Wunused-parameter] 190 | int btrfs_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_btrfs.c: In function 'btrfs_get_reqmntopt': src/fs_btrfs.c:222:31: warning: unused parameter 'partition' [-Wunused-parameter] 222 | 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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:970, 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:68:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 256 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/fs_ntfs.o src/fs_ntfs.c src/fs_ntfs.c: In function 'ntfs_mkfs': src/fs_ntfs.c:37:82: warning: unused parameter 'mkfsuuid' [-Wunused-parameter] 37 | int ntfs_mkfs(cdico *d, char *partition, char *fsoptions, char *mkfslabel, char *mkfsuuid) | ~~~~~~^~~~~~~~ src/fs_ntfs.c: In function 'ntfs_mount': src/fs_ntfs.c:135:53: warning: unused parameter 'fsbuf' [-Wunused-parameter] 135 | int ntfs_mount(char *partition, char *mntbuf, char *fsbuf, int flags, char *mntinfo) | ~~~~~~^~~~~ src/fs_ntfs.c: In function 'ntfs_umount': src/fs_ntfs.c:207:23: warning: unused parameter 'partition' [-Wunused-parameter] 207 | int ntfs_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_ntfs.c: In function 'ntfs_get_reqmntopt': src/fs_ntfs.c:247:30: warning: unused parameter 'partition' [-Wunused-parameter] 247 | int ntfs_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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/fs_xfs.o src/fs_xfs.c src/fs_xfs.c: In function 'xfs_mount': src/fs_xfs.c:396:76: warning: unused parameter 'mntinfo' [-Wunused-parameter] 396 | int xfs_mount(char *partition, char *mntbuf, char *fsbuf, int flags, char *mntinfo) | ~~~~~~^~~~~~~ src/fs_xfs.c: In function 'xfs_umount': src/fs_xfs.c:401:22: warning: unused parameter 'partition' [-Wunused-parameter] 401 | int xfs_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_xfs.c: In function 'xfs_get_reqmntopt': src/fs_xfs.c:435:29: warning: unused parameter 'partition' [-Wunused-parameter] 435 | int xfs_get_reqmntopt(char *partition, cstrlist *reqopt, cstrlist *badopt) | ~~~~~~^~~~~~~~~ src/fs_xfs.c: In function 'xfs_mkfs': src/fs_xfs.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:970, from src/fs_xfs.c:23: In function 'snprintf', inlined from 'xfs_mkfs' at src/fs_xfs.c:227:9: /usr/include/bits/stdio2.h:68:10: note: '__builtin_snprintf' output between 1 and 2048 bytes into a destination of size 64 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/archwriter.o src/archwriter.c src/archwriter.c: In function 'archwriter_incvolume': src/archwriter.c:241:48: warning: unused parameter 'waitkeypress' [-Wunused-parameter] 241 | 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/archreader.o src/archreader.c src/archreader.c: In function 'archreader_incvolume': src/archreader.c:144:48: warning: unused parameter 'waitkeypress' [-Wunused-parameter] 144 | int archreader_incvolume(carchreader *ai, bool waitkeypress) | ~~~~~^~~~~~~~~~~~ src/archreader.c: In function 'archreader_close': src/archreader.c:130:5: warning: ignoring return value of 'lockf' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/fs_ext2.o src/fs_ext2.c src/fs_ext2.c: In function 'extfs_getinfo': src/fs_ext2.c:461: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] 461 | strncpy(label, super->s_volume_name, sizeof(super->s_volume_name)); | ^ src/fs_ext2.c: In function 'extfs_mount': src/fs_ext2.c:544:78: warning: unused parameter 'mntinfo' [-Wunused-parameter] 544 | 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:574:24: warning: unused parameter 'partition' [-Wunused-parameter] 574 | int extfs_umount(char *partition, char *mntbuf) | ~~~~~~^~~~~~~~~ src/fs_ext2.c: In function 'extfs_get_reqmntopt': src/fs_ext2.c:614:31: warning: unused parameter 'partition' [-Wunused-parameter] 614 | int extfs_get_reqmntopt(char *partition, cstrlist *reqopt, cstrlist *badopt) | ~~~~~~^~~~~~~~~ src/fs_ext2.c: In function 'extfs_mkfs': src/fs_ext2.c:230:39: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size 64 [-Wformat-truncation=] 230 | snprintf(uuid, sizeof(uuid), "%s", buffer); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:970, from src/fs_ext2.c:22: In function 'snprintf', inlined from 'extfs_mkfs' at src/fs_ext2.c:230:9: /usr/include/bits/stdio2.h:68:10: note: '__builtin_snprintf' output between 1 and 2048 bytes into a destination of size 64 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/common.o src/common.c src/common.c: In function 'exec_command': src/common.c:328:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 328 | for(i=0; (i < p.we_wordc) && (i= QT_VERSION_CHECK(5, 0, 0)) | ^~~~~~~~ : note: this is the location of the previous definition In file included from src/main.cc:42: src/main.cc: In function 'int main(int, char**)': src/gettext.h:78:34: warning: statement has no effect [-Wunused-value] 78 | # define textdomain(Domainname) ((const char *) (Domainname)) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/main.cc:71:4: note: in expansion of macro 'textdomain' 71 | textdomain ("qt-fsarchiver"); | ^~~~~~~~~~ src/main.cc:130:46: warning: 'static QString QLibraryInfo::location(LibraryLocation)' is deprecated: Use path() [-Wdeprecated-declarations] 130 | QString sLocPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt6/QtCore/QLibraryInfo:1, from src/main.cc:30: /usr/include/qt6/QtCore/qlibraryinfo.h:49:20: note: declared here 49 | static QString location(LibraryLocation location) | ^~~~~~~~ src/main.cc:133:26: warning: ignoring return value of 'bool QTranslator::load(const QString&, const QString&, const QString&, const QString&)', declared with attribute 'nodiscard' [-Wunused-result] 133 | translator->load(QString("qt-fsarchiver_"+QLocale::system().name()), sLocPath); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt6/QtCore/QTranslator:1, from src/main.cc:28: /usr/include/qt6/QtCore/qtranslator.h:33:24: note: declared here 33 | [[nodiscard]] bool load(const QString & filename, | ^~~~ src/main.cc:135:26: warning: ignoring return value of 'bool QTranslator::load(const QString&, const QString&, const QString&, const QString&)', declared with attribute 'nodiscard' [-Wunused-result] 135 | translator->load(language_, sLocPath); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qtranslator.h:33:24: note: declared here 33 | [[nodiscard]] bool load(const QString & filename, | ^~~~ 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/filedialog.o src/filedialog.cpp src/filedialog.cpp: In member function 'void FileDialog::file_save()': src/filedialog.cpp:101:39: warning: ignoring return value of 'QByteArray QString::toUtf8() &&', declared with attribute 'nodiscard' [-Wunused-result] 101 | textEdit->toPlainText().toUtf8(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt6/QtCore/qobject.h:11, from /usr/include/qt6/QtCore/qabstractanimation.h:7, from /usr/include/qt6/QtCore/QtCore:17, from /usr/include/qt6/QtGui/QtGuiDepends:3, from /usr/include/qt6/QtGui/QtGui:3, from src/filedialog.cpp:17: /usr/include/qt6/QtCore/qstring.h:644:30: note: declared here 644 | [[nodiscard]] QByteArray toUtf8() && | ^~~~~~ 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/dir.o src/dir.cpp 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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strict-aliasing -DPIC -fPIC -Wall -Wextra -D_REENTRANT -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DHAVE_QT5 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -I. -I. -I. -Isrc -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/e2p -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore5Compat -I/usr/include/qt6/QtCore -Ibuild -Ibuild -I/usr/lib64/qt6/mkspecs/linux-g++ -o build/mainWindow.o src/mainWindow.cpp error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gmVBaM (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gmVBaM (%build) I: [iurt_root_command] ERROR: chroot