D: [iurt_root_command] chroot
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Installing /home/iurt/rpmbuild/SRPMS/partclone-0.3.17-1.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.aIo3Lr
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf partclone-0.3.17
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/partclone-0.3.17.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd partclone-0.3.17
+ /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/iurt/rpmbuild/tmp/rpm-tmp.fGf933
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd partclone-0.3.17
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: autopoint --force
Copying file m4/codeset.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lock.m4
Copying file m4/longdouble.m4
Copying file m4/longlong.m4
Copying file m4/printf-posix.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/ulonglong.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makevars.template
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:4: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:4: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/gettext.m4:367: gt_INTL_MACOSX is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:4: the top level
configure.ac:4: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:4: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:4: the top level
configure.ac:4: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:4: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:4: the top level
configure.ac:65: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:65: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:65: the top level
configure.ac:84: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:84: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:84: the top level
configure.ac:123: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:123: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:123: the top level
configure.ac:150: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:150: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:150: the top level
configure.ac:241: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:241: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:241: the top level
configure.ac:273: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:273: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:273: the top level
configure.ac:280: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:280: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:280: the top level
configure.ac:313: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:313: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:313: the top level
configure.ac:336: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:336: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:336: the top level
configure.ac:359: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:359: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:359: the top level
configure.ac:410: warning: The macro `AC_CHECKING' is obsolete.
configure.ac:410: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.ac:410: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:4: installing './compile'
configure.ac:2: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables '
+ export FCFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ /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=aarch64-mageia-linux-gnu --build=aarch64-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 --disable-rpath --enable-apfs --enable-ncursesw --enable-fs-test --enable-fuse --enable-xfs --enable-hfsp --enable-fat --enable-exfat --enable-ntfs --enable-btrfs --enable-extfs --enable-f2fs --enable-nilfs2 --enable-minix --enable-exfat
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether make supports the include directive... yes (GNU style)
checking for aarch64-mageia-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking build system type... aarch64-mageia-linux-gnu
checking host system type... aarch64-mageia-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for aarch64-mageia-linux-gnu-gcc... gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking dependency style of gcc... none
checking for rm... /usr/bin/rm
checking whether ln -s works... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for UUID... yes
configure: checking  for FUSE Library and Header files ... ...
checking for FUSE... yes
checking for pthread_create in -lpthread... yes
checking for objcopy... /usr/bin/objcopy
configure: checking  for EXT2/3 Library and Header files ... ...
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for ext2fs/ext2fs.h... yes
checking for ext2fs_initialize in -lext2fs... yes
checking version of libextfs... checking for EXT2FS... yes
configure: checking  for NILFS2 header files ... ...
checking for ctype.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for libintl.h... yes
checking for limits.h... yes
checking for linux/magic.h... yes
checking for linux/types.h... yes
checking for locale.h... yes
checking for mntent.h... yes
checking for mqueue.h... yes
checking for paths.h... yes
checking for pwd.h... yes
checking for semaphore.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/mount.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for sys/stat.h... (cached) yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for nilfs.h... yes
checking for nilfs_open in -lnilfs... yes
configure: checking  for NTFS-3g Library and Header files ... ...
checking for ntfs-3g/misc.h... yes
checking for ntfs_mount in -lntfs-3g... yes
configure: checking  for NTFS Library and Header files ... ...
checking for ntfs/version.h... no
configure: WARNING: *** NTFS(ntfsprogs) header not found
checking for ntfs_mount in -lntfs... no
configure: WARNING: *** ntfsprogs library (libntfs) not found
checking for NTFS... yes
checking for blkid/blkid.h... yes
configure: checking  for Ncursesw Library and Header files ... ...
checking for ncurses.h... yes
checking for initscr in -lncursesw... yes
checking for initscr in -ltinfo... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating fail-mbr/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands

Support File System:
ext2/3/4...... yes, 1.46.4
reiserfs...... , 
reiser4....... , 
xfs........... yes, build-in
ntfs.......... yes, 2021.8.22
fat12/16/32... yes, build-in
exfat......... yes, build-in
hfs plus...... yes, build-in
apfs.......... yes, build-in
ufs .......... , 
vmfs ......... , 
jfs .......... , 
btrfs......... yes, unknown
minix......... yes, build-in
f2fs.......... yes, build-in
nilfs2.........yes, unknown, suggest 2.3.2
+ /usr/bin/make -O -j4 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in po
make[2]: Nothing to be done for 'all'.
Making all in src
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -D_FILE_OFFSET_BITS=64  -I/usr/include/ncursesw -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o checksum.o checksum.c
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -D_FILE_OFFSET_BITS=64  -I/usr/include/ncursesw -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o info.o info.c
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -DDD -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o partclone_dd-progress.o `test -f 'progress.c' || echo './'`progress.c
progress.c: In function 'calculate_speed':
progress.c:185:48: warning: ' hrs ' directive output may be truncated writing 5 bytes into a region of size between 2 and 6 [-Wformat-truncation=]
  185 |             snprintf(Eformated, spflen, " > %3i hrs ", ((int)elapsed/3600));
      |                                                ^~~~~
In file included from /usr/include/stdio.h:888,
                 from progress.c:14:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 12 and 16 bytes into a destination of size 12
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
progress.c:163:48: warning: ' hrs ' directive output may be truncated writing 5 bytes into a region of size between 2 and 6 [-Wformat-truncation=]
  163 |             snprintf(Rformated, spflen, " > %3i hrs ", ((int)remained/3600));
      |                                                ^~~~~
In file included from /usr/include/stdio.h:888,
                 from progress.c:14:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 12 and 16 bytes into a destination of size 12
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
progress.c:171:48: warning: ' hrs ' directive output may be truncated writing 5 bytes into a region of size between 2 and 6 [-Wformat-truncation=]
  171 |             snprintf(Eformated, spflen, " > %3i hrs ", ((int)elapsed/3600));
      |                                                ^~~~~
In file included from /usr/include/stdio.h:888,
                 from progress.c:14:
/usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output between 12 and 16 bytes into a destination of size 12
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -DDD -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o partclone_dd-checksum.o `test -f 'checksum.c' || echo './'`checksum.c
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -DDD -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o partclone_dd-torrent_helper.o `test -f 'torrent_helper.c' || echo './'`torrent_helper.c
torrent_helper.c: In function 'torrent_init':
torrent_helper.c:21:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   21 |         SHA1_Init(&torrent->ctx);
      |         ^~~~~~~~~
In file included from torrent_helper.h:25,
                 from torrent_helper.c:14:
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
torrent_helper.c: In function 'torrent_update':
torrent_helper.c:38:25: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   38 |                         SHA1_Final(torrent->hash, &torrent->ctx);
      |                         ^~~~~~~~~~
In file included from torrent_helper.h:25,
                 from torrent_helper.c:14:
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
torrent_helper.c:45:25: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   45 |                         SHA1_Init(&torrent->ctx);
      |                         ^~~~~~~~~
In file included from torrent_helper.h:25,
                 from torrent_helper.c:14:
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
torrent_helper.c:53:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   53 |                         SHA1_Update(&torrent->ctx, buffer + buffer_offset, buffer_remain_length);
      |                         ^~~~~~~~~~~
In file included from torrent_helper.h:25,
                 from torrent_helper.c:14:
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
torrent_helper.c:58:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   58 |                         SHA1_Update(&torrent->ctx, buffer + buffer_offset, sha_remain_length);
      |                         ^~~~~~~~~~~
In file included from torrent_helper.h:25,
                 from torrent_helper.c:14:
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
torrent_helper.c: In function 'torrent_final':
torrent_helper.c:71:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   71 |                 SHA1_Final(torrent->hash, &torrent->ctx);
      |                 ^~~~~~~~~~
In file included from torrent_helper.h:25,
                 from torrent_helper.c:14:
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -DDD -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o partclone_dd-ddclone.o `test -f 'ddclone.c' || echo './'`ddclone.c
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -DDD -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o partclone_dd-main.o `test -f 'main.c' || echo './'`main.c
main.c: In function 'main':
main.c:648:17: warning: ignoring return value of 'posix_memalign' declared with attribute 'warn_unused_result' [-Wunused-result]
  648 |                 posix_memalign((void**)&write_buffer, BSIZE, buffer_capacity * block_size);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:649:41: warning: 'write_buffer' may be used uninitialized in this function [-Wmaybe-uninitialized]
  649 |                 if (read_buffer == NULL || write_buffer == NULL) {
      |                                         ^
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -DDD -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o partclone_dd-partclone.o `test -f 'partclone.c' || echo './'`partclone.c
partclone.c: In function 'log_mesg':
partclone.c:853:42: error: format not a string literal and no format arguments [-Werror=format-security]
  853 |                         wprintw(log_win, tmp_str);
      |                                          ^~~~~~~
partclone.c: In function 'load_image_desc':
partclone.c:955:60: warning: array subscript 'image_desc_v1[0]' is partly outside array bounds of 'image_desc_v2[1]' [-Warray-bounds]
  955 |                 load_image_desc_v1(fs_info, img_opt, buf_v1->head, buf_v1->fs_info, opt);
      |                                                            ^~
partclone.c:929:23: note: while referencing 'buf_v2'
  929 |         image_desc_v2 buf_v2;
      |                       ^~~~~~
partclone.c:955:74: warning: array subscript 'image_desc_v1[0]' is partly outside array bounds of 'image_desc_v2[1]' [-Warray-bounds]
  955 |                 load_image_desc_v1(fs_info, img_opt, buf_v1->head, buf_v1->fs_info, opt);
      |                                                                          ^~
partclone.c:929:23: note: while referencing 'buf_v2'
  929 |         image_desc_v2 buf_v2;
      |                       ^~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:2774: partclone_dd-partclone.o] Error 1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -D_FILE_OFFSET_BITS=64  -I/usr/include/ncursesw -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o partclone.o partclone.c
partclone.c: In function 'log_mesg':
partclone.c:853:42: error: format not a string literal and no format arguments [-Werror=format-security]
  853 |                         wprintw(log_win, tmp_str);
      |                                          ^~~~~~~
partclone.c: In function 'load_image_desc':
partclone.c:955:60: warning: array subscript 'image_desc_v1[0]' is partly outside array bounds of 'image_desc_v2[1]' [-Warray-bounds]
  955 |                 load_image_desc_v1(fs_info, img_opt, buf_v1->head, buf_v1->fs_info, opt);
      |                                                            ^~
partclone.c:929:23: note: while referencing 'buf_v2'
  929 |         image_desc_v2 buf_v2;
      |                       ^~~~~~
partclone.c:955:74: warning: array subscript 'image_desc_v1[0]' is partly outside array bounds of 'image_desc_v2[1]' [-Warray-bounds]
  955 |                 load_image_desc_v1(fs_info, img_opt, buf_v1->head, buf_v1->fs_info, opt);
      |                                                                          ^~
partclone.c:929:23: note: while referencing 'buf_v2'
  929 |         image_desc_v2 buf_v2;
      |                       ^~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:1919: partclone.o] Error 1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -DRESTORE -DDD -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o partclone_restore-main.o `test -f 'main.c' || echo './'`main.c
main.c: In function 'main':
main.c:648:17: warning: ignoring return value of 'posix_memalign' declared with attribute 'warn_unused_result' [-Wunused-result]
  648 |                 posix_memalign((void**)&write_buffer, BSIZE, buffer_capacity * block_size);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:649:41: warning: 'write_buffer' may be used uninitialized in this function [-Wmaybe-uninitialized]
  649 |                 if (read_buffer == NULL || write_buffer == NULL) {
      |                                         ^
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64  -DRESTORE -DDD -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -c -o partclone_restore-partclone.o `test -f 'partclone.c' || echo './'`partclone.c
partclone.c: In function 'log_mesg':
partclone.c:853:42: error: format not a string literal and no format arguments [-Werror=format-security]
  853 |                         wprintw(log_win, tmp_str);
      |                                          ^~~~~~~
partclone.c: In function 'load_image_desc':
partclone.c:955:60: warning: array subscript 'image_desc_v1[0]' is partly outside array bounds of 'image_desc_v2[1]' [-Warray-bounds]
  955 |                 load_image_desc_v1(fs_info, img_opt, buf_v1->head, buf_v1->fs_info, opt);
      |                                                            ^~
partclone.c:929:23: note: while referencing 'buf_v2'
  929 |         image_desc_v2 buf_v2;
      |                       ^~~~~~
partclone.c:955:74: warning: array subscript 'image_desc_v1[0]' is partly outside array bounds of 'image_desc_v2[1]' [-Warray-bounds]
  955 |                 load_image_desc_v1(fs_info, img_opt, buf_v1->head, buf_v1->fs_info, opt);
      |                                                                          ^~
partclone.c:929:23: note: while referencing 'buf_v2'
  929 |         image_desc_v2 buf_v2;
      |                       ^~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:4048: partclone_restore-partclone.o] Error 1
make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/partclone-0.3.17/src'
make[1]: *** [Makefile:402: all-recursive] Error 1
make: *** [Makefile:343: all] Error 2
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fGf933 (%build)


RPM build errors:
    Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
    Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fGf933 (%build)
I: [iurt_root_command] ERROR: chroot