D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/vmfs-tools-0.2.5-9.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nXagMx
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZuA2m3
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build
+ rm -rf vmfs-tools-0.2.5
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/vmfs-tools-0.2.5.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd vmfs-tools-0.2.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YRSsCP
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build
+ 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'
+ export CFLAGS
+ 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'
+ export CXXFLAGS
+ FFLAGS='-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 '
+ export FFLAGS
+ FCFLAGS='-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 '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-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'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd vmfs-tools-0.2.5
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ 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'
+ export CFLAGS
+ 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'
+ export CXXFLAGS
+ FFLAGS='-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 '
+ export FFLAGS
+ FCFLAGS='-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 '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-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'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
Checking for pkg-config...yes
Checking for uuid...yes
Checking for fuse...yes
Checking for asciidoc...yes
Checking for xsltproc...yes
Checking for docbook.xsl...yes
Checking for strndup...yes
Checking for dlopen in -ldl...yes
Checking for posix_memalign...yes
gmake: 'config.cache' is up to date.
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/scsi.o libvmfs/scsi.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_host.o libvmfs/vmfs_host.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_metadata.o libvmfs/vmfs_metadata.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/utils.o libvmfs/utils.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_volume.o libvmfs/vmfs_volume.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibreadcmd     -c -o libreadcmd/readcmd.o libreadcmd/readcmd.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_fs.o libvmfs/vmfs_fs.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_lvm.o libvmfs/vmfs_lvm.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_heartbeat.o libvmfs/vmfs_heartbeat.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_file.o libvmfs/vmfs_file.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_block.o libvmfs/vmfs_block.c
libvmfs/vmfs_block.c: In function 'vmfs_block_set_status':
libvmfs/vmfs_block.c:117:52: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare]
  117 |                            buf,buf_len,&entry.mdh) == -1)
      |                                                    ^~
libvmfs/vmfs_block.c:117:52: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
libvmfs/vmfs_block.c:116:8: note: add parentheses around left hand side expression to silence this warning
  116 |    if (!vmfs_metadata_lock((vmfs_fs_t *)fs,entry.mdh.pos,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        (
  117 |                            buf,buf_len,&entry.mdh) == -1)
      |                            ~~~~~~~~~~~~~~~~~~~~~~~
      |                                                   )
ar -r libreadcmd/libreadcmd.a libreadcmd/readcmd.o
ar: creating libreadcmd/libreadcmd.a
ranlib libreadcmd/libreadcmd.a
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_dirent.o libvmfs/vmfs_dirent.c
libvmfs/vmfs_dirent.c: In function 'vmfs_dir_read':
libvmfs/vmfs_dirent.c:258:4: warning: dangling pointer 'buf' to '_buf' may be used [-Wdangling-pointer=]
  258 |    vmfs_dirent_read(&d->dirent,buf);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvmfs/vmfs_dirent.c:251:14: note: '_buf' declared here
  251 |       u_char _buf[VMFS_DIRENT_SIZE];
      |              ^~~~
In function 'vmfs_dirent_read',
    inlined from 'vmfs_dir_read' at libvmfs/vmfs_dirent.c:258:4:
libvmfs/vmfs_dirent.c:34:26: warning: dangling pointer 'buf' to '_buf' may be used [-Wdangling-pointer=]
   34 |    memcpy(entry->name,buf+VMFS_DIRENT_OFS_NAME,VMFS_DIRENT_OFS_NAME_SIZE);
libvmfs/vmfs_dirent.c: In function 'vmfs_dir_read':
libvmfs/vmfs_dirent.c:251:14: note: '_buf' declared here
  251 |       u_char _buf[VMFS_DIRENT_SIZE];
      |              ^~~~
In file included from libvmfs/vmfs.h:53,
                 from libvmfs/vmfs_dirent.c:26:
In function 'read_le32',
    inlined from 'vmfs_dirent_read' at libvmfs/vmfs_dirent.c:33:23,
    inlined from 'vmfs_dir_read' at libvmfs/vmfs_dirent.c:258:4:
libvmfs/utils.h:61:11: warning: dangling pointer 'buf' to '_buf' may be used [-Wdangling-pointer=]
   61 |    return(*((uint32_t *)&p[offset]));
      |          ~^~~~~~~~~~~~~~~~~~~~~~~~~~
libvmfs/vmfs_dirent.c: In function 'vmfs_dir_read':
libvmfs/vmfs_dirent.c:251:14: note: '_buf' declared here
  251 |       u_char _buf[VMFS_DIRENT_SIZE];
      |              ^~~~
In function 'read_le32',
    inlined from 'vmfs_dirent_read' at libvmfs/vmfs_dirent.c:32:23,
    inlined from 'vmfs_dir_read' at libvmfs/vmfs_dirent.c:258:4:
libvmfs/utils.h:61:11: warning: dangling pointer 'buf' to '_buf' may be used [-Wdangling-pointer=]
   61 |    return(*((uint32_t *)&p[offset]));
      |          ~^~~~~~~~~~~~~~~~~~~~~~~~~~
libvmfs/vmfs_dirent.c: In function 'vmfs_dir_read':
libvmfs/vmfs_dirent.c:251:14: note: '_buf' declared here
  251 |       u_char _buf[VMFS_DIRENT_SIZE];
      |              ^~~~
In function 'read_le32',
    inlined from 'vmfs_dirent_read' at libvmfs/vmfs_dirent.c:31:23,
    inlined from 'vmfs_dir_read' at libvmfs/vmfs_dirent.c:258:4:
libvmfs/utils.h:61:11: warning: dangling pointer 'buf' to '_buf' may be used [-Wdangling-pointer=]
   61 |    return(*((uint32_t *)&p[offset]));
      |          ~^~~~~~~~~~~~~~~~~~~~~~~~~~
libvmfs/vmfs_dirent.c: In function 'vmfs_dir_read':
libvmfs/vmfs_dirent.c:251:14: note: '_buf' declared here
  251 |       u_char _buf[VMFS_DIRENT_SIZE];
      |              ^~~~
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_bitmap.o libvmfs/vmfs_bitmap.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ivmfs-lvm -Ilibvmfs -I/usr/include/uuid -Ilibreadcmd  -include version   -c -o vmfs-lvm/vmfs-lvm.o vmfs-lvm/vmfs-lvm.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ilibvmfs -I/usr/include/uuid    -c -o libvmfs/vmfs_inode.o libvmfs/vmfs_inode.c
libvmfs/vmfs_inode.c: In function 'vmfs_inode_aggregate_pb':
libvmfs/vmfs_inode.c:451:53: warning: comparison of constant '-1' with boolean expression is always false [-Wbool-compare]
  451 |    if (vmfs_bitmap_set_item(fs->pbc,entry,item,buf) == -1) {
      |                                                     ^~
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Idebugvmfs -Ilibvmfs -I/usr/include/uuid -Ilibreadcmd  -include version   -c -o debugvmfs/debugvmfs.o debugvmfs/debugvmfs.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Idebugvmfs -Ilibvmfs -I/usr/include/uuid -Ilibreadcmd     -c -o debugvmfs/variables.o debugvmfs/variables.c
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ifsck.vmfs -Ilibvmfs -I/usr/include/uuid -include version   -c -o fsck.vmfs/vmfs_fsck.o fsck.vmfs/vmfs_fsck.c
ar -r libvmfs/libvmfs.a libvmfs/scsi.o libvmfs/utils.o libvmfs/vmfs_bitmap.o libvmfs/vmfs_block.o libvmfs/vmfs_dirent.o libvmfs/vmfs_file.o libvmfs/vmfs_fs.o libvmfs/vmfs_heartbeat.o libvmfs/vmfs_host.o libvmfs/vmfs_inode.o libvmfs/vmfs_lvm.o libvmfs/vmfs_metadata.o libvmfs/vmfs_volume.o
ar: creating libvmfs/libvmfs.a
ranlib libvmfs/libvmfs.a
gcc -o vmfs-lvm/vmfs-lvm vmfs-lvm/vmfs-lvm.o libvmfs/libvmfs.a libreadcmd/libreadcmd.a -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  -ldl -luuid 
gcc -o fsck.vmfs/fsck.vmfs fsck.vmfs/vmfs_fsck.o libvmfs/libvmfs.a -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  -luuid
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Iimager     -c -o imager/imager.o imager/imager.c
imager/imager.c:111:21: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  111 | static const u_char const zero_blk[BLK_SIZE] = {0,};
      |                     ^~~~~
imager/imager.c: In function 'do_init_image':
imager/imager.c:274:17: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  274 |    const u_char const buf[8] =
      |                 ^~~~~
imager/imager.c: In function 'skip_zero_blocks':
imager/imager.c:165:4: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
  165 |    ftruncate(1, pos);
      |    ^~~~~~~~~~~~~~~~~
gcc -o debugvmfs/debugvmfs debugvmfs/debugvmfs.o debugvmfs/variables.o libvmfs/libvmfs.a libreadcmd/libreadcmd.a -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  -ldl -luuid 
gcc -o imager/imager imager/imager.o -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  
gcc -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 -Wall -D_FILE_OFFSET_BITS=64 -Ivmfs-fuse -Ilibvmfs -I/usr/include/uuid -I/usr/include/fuse -D_FILE_OFFSET_BITS=64    -c -o vmfs-fuse/vmfs-fuse.o vmfs-fuse/vmfs-fuse.c
gcc -o vmfs-fuse/vmfs-fuse vmfs-fuse/vmfs-fuse.o libvmfs/libvmfs.a -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  -luuid -lfuse -pthread
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.C8ZePi
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build
+ mkdir /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT
+ 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'
+ export CFLAGS
+ 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'
+ export CXXFLAGS
+ FFLAGS='-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 '
+ export FFLAGS
+ FCFLAGS='-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 '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-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'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd vmfs-tools-0.2.5
+ '[' 1 -eq 1 ']'
+ echo 'warning: %makeinstall is deprecated, try %make_install instead'
warning: %makeinstall is deprecated, try %make_install instead
+ /usr/bin/make prefix=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr exec_prefix=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr bindir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/bin sbindir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/sbin sysconfdir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/etc datadir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/share includedir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/include libdir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/lib64 libexecdir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/libexec localstatedir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/var sharedstatedir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/var/lib mandir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/share/man infodir=/home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/share/info install NO_STRIP=1
install -d -m 0755 /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/sbin
install -m 0755 debugvmfs/debugvmfs /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/sbin/
install -m 0755 fsck.vmfs/fsck.vmfs /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/sbin/
install -m 0755 vmfs-fuse/vmfs-fuse /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/sbin/
install -m 0755 vmfs-lvm/vmfs-lvm /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/sbin/
install -d -m 0755 /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/share/man/man8
/usr/bin/asciidoc -a manversion=0.2.5 -a manmanual=vmfs-tools -b docbook -d manpage -o debugvmfs/debugvmfs.xml debugvmfs/debugvmfs.txt
/usr/bin/xsltproc -o debugvmfs/debugvmfs.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl debugvmfs/debugvmfs.xml
Note: Writing debugvmfs.8
install -m 0755 debugvmfs/debugvmfs.8 /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/share/man/man8/
/usr/bin/asciidoc -a manversion=0.2.5 -a manmanual=vmfs-tools -b docbook -d manpage -o fsck.vmfs/fsck.vmfs.xml fsck.vmfs/fsck.vmfs.txt
/usr/bin/xsltproc -o fsck.vmfs/fsck.vmfs.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl fsck.vmfs/fsck.vmfs.xml
Note: Writing fsck.vmfs.8
install -m 0755 fsck.vmfs/fsck.vmfs.8 /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/share/man/man8/
/usr/bin/asciidoc -a manversion=0.2.5 -a manmanual=vmfs-tools -b docbook -d manpage -o vmfs-fuse/vmfs-fuse.xml vmfs-fuse/vmfs-fuse.txt
/usr/bin/xsltproc -o vmfs-fuse/vmfs-fuse.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl vmfs-fuse/vmfs-fuse.xml
Note: Writing vmfs-fuse.8
install -m 0755 vmfs-fuse/vmfs-fuse.8 /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/share/man/man8/
/usr/bin/asciidoc -a manversion=0.2.5 -a manmanual=vmfs-tools -b docbook -d manpage -o vmfs-lvm/vmfs-lvm.xml vmfs-lvm/vmfs-lvm.txt
/usr/bin/xsltproc -o vmfs-lvm/vmfs-lvm.8 --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl vmfs-lvm/vmfs-lvm.xml
Note: Writing vmfs-lvm.8
install -m 0755 vmfs-lvm/vmfs-lvm.8 /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT/usr/share/man/man8/
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.2.5-9.mga10 --unique-debug-suffix -0.2.5-9.mga10.x86_64 --unique-debug-src-base vmfs-tools-0.2.5-9.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/vmfs-tools-0.2.5
find-debuginfo: starting

Extracting debug info from 4 files
DWARF-compressing 4 files
sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/vmfs-tools-0.2.5-9.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** WARNING: ./usr/src/debug/vmfs-tools-0.2.5-9.mga10.x86_64/vmfs-lvm/vmfs-lvm.c is executable but has no shebang, removing executable bit
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: vmfs-tools-0.2.5-9.mga10.x86_64
Provides: vmfs-tools = 0.2.5-9.mga10 vmfs-tools(x86-64) = 0.2.5-9.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libfuse.so.2()(64bit) libfuse.so.2(FUSE_2.4)(64bit) libfuse.so.2(FUSE_2.5)(64bit) libfuse.so.2(FUSE_2.6)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit)
Processing files: vmfs-tools-debugsource-0.2.5-9.mga10.x86_64
Provides: vmfs-tools-debugsource = 0.2.5-9.mga10 vmfs-tools-debugsource(x86-64) = 0.2.5-9.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: vmfs-tools-debuginfo-0.2.5-9.mga10.x86_64
Provides: debuginfo(build-id) = 490d790d95ecc9cf53e448428827b5d301c72155 debuginfo(build-id) = 54f15b0c0caa96577f50edc98aadc00e6eb6c72f debuginfo(build-id) = 7f48fe8cf41dbe53fbceacc679b0b62ef0ba4319 debuginfo(build-id) = 85ba8e9b519253ada6178a98ae26a5085995e896 vmfs-tools-debuginfo = 0.2.5-9.mga10 vmfs-tools-debuginfo(x86-64) = 0.2.5-9.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: vmfs-tools-debugsource(x86-64) = 0.2.5-9.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/vmfs-tools-debugsource-0.2.5-9.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/vmfs-tools-0.2.5-9.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/vmfs-tools-debuginfo-0.2.5-9.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.O5HftE
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build
+ test -d /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/vmfs-tools-0.2.5-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!