Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/dcfldd.spec'], chrootPath='/var/lib/mock/f42-build-56672826-6545461/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os18aibw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os18aibw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3d5e6f46431c4b048998cf6e01b6a3a0', '-D', '/var/lib/mock/f42-build-56672826-6545461/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os18aibw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/dcfldd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/dcfldd-1.9.1-5.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dcfldd.spec'], chrootPath='/var/lib/mock/f42-build-56672826-6545461/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os18aibw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os18aibw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1608fadc517f4a2dae162636307241a1', '-D', '/var/lib/mock/f42-build-56672826-6545461/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.os18aibw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dcfldd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.DuVtA7 + umask 022 + cd /builddir/build/BUILD/dcfldd-1.9.1-build + test -d /builddir/build/BUILD/dcfldd-1.9.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/dcfldd-1.9.1-build + /usr/bin/rm -rf /builddir/build/BUILD/dcfldd-1.9.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/dcfldd-1.9.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/dcfldd-1.9.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wzJmol + umask 022 + cd /builddir/build/BUILD/dcfldd-1.9.1-build + cd /builddir/build/BUILD/dcfldd-1.9.1-build + rm -rf dcfldd-1.9.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dcfldd-1.9.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dcfldd-1.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.euwM7b + umask 022 + cd /builddir/build/BUILD/dcfldd-1.9.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dcfldd-1.9.1 + autoreconf -i configure.ac:33: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:33: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:33: the top level configure.ac:46: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:46: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:46: the top level configure.ac:31: installing './compile' configure.ac:29: installing './config.guess' configure.ac:29: installing './config.sub' configure.ac:26: installing './install-sh' configure.ac:26: installing './missing' src/Makefile.am: installing './depcomp' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 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 xargs -n works... yes checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking for aarch64-redhat-linux-gnu-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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for an ANSI C-conforming const... yes 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 whether byte ordering is bigendian... no checking for off_t... yes checking for size_t... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether strtol is declared... yes checking whether strtoul is declared... yes checking whether strtoumax is declared... yes checking whether strndup is declared... 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 config.h config.status: executing depfiles commands + /usr/bin/make -O -j12 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o long-options.o long-options.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' long-options.c:51:1: error: conflicting types for ‘parse_long_options’; have ‘void(int, char **, const char *, const char *, const char *, const char *, void (*)(void))’ 51 | parse_long_options (int argc, | ^~~~~~~~~~~~~~~~~~ In file included from long-options.c:30: long-options.h:29:3: note: previous declaration of ‘parse_long_options’ with type ‘void(int, char **, const char *, const char *, const char *, const char *, void (*)(int))’ 29 | parse_long_options PARAMS ((int _argc, | ^~~~~~~~~~~~~~~~~~ long-options.c: In function ‘parse_long_options’: long-options.c:73:12: error: too many arguments to function ‘usage_func’; expected 0, have 1 73 | (*usage_func) (0); | ~^~~~~~~~~~~~ ~ make[2]: *** [Makefile:457: long-options.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o version-etc.o version-etc.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xstrtol.o xstrtol.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' xstrtol.c:82:10: error: conflicting types for ‘strtol’; have ‘long int(void)’ 82 | long int strtol (); | ^~~~~~ In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from xstrtol.c:32: /usr/include/stdlib.h:215:17: note: previous declaration of ‘strtol’ with type ‘long int(const char * restrict, char ** restrict, int)’ 215 | extern long int __REDIRECT_NTH (strtol, (const char *__restrict __nptr, | ^~~~~~~~~~~~~~ xstrtol.c:86:19: error: conflicting types for ‘strtoul’; have ‘long unsigned int(void)’ 86 | unsigned long int strtoul (); | ^~~~~~~ /usr/include/stdlib.h:219:26: note: previous declaration of ‘strtoul’ with type ‘long unsigned int(const char * restrict, char ** restrict, int)’ 219 | extern unsigned long int __REDIRECT_NTH (strtoul, | ^~~~~~~~~~~~~~ xstrtol.c:90:11: error: conflicting types for ‘strtoumax’; have ‘uintmax_t(void)’ {aka ‘long unsigned int(void)’} 90 | uintmax_t strtoumax (); | ^~~~~~~~~ /usr/include/inttypes.h:382:18: note: previous declaration of ‘strtoumax’ with type ‘uintmax_t(const char * restrict, char ** restrict, int)’ {aka ‘long unsigned int(const char * restrict, char ** restrict, int)’} 382 | extern uintmax_t __REDIRECT_NTH (strtoumax, (const char *__restrict __nptr, | ^~~~~~~~~~~~~~ xstrtol.c: In function ‘xstrtol’: xstrtol.c:25:19: error: too many arguments to function ‘strtol’; expected 0, have 3 25 | # define __strtol strtol | ^~~~~~ xstrtol.c:137:9: note: in expansion of macro ‘__strtol’ 137 | tmp = __strtol (s, p, strtol_base); | ^~~~~~~~ xstrtol.c:82:10: note: declared here 82 | long int strtol (); | ^~~~~~ make[2]: *** [Makefile:457: xstrtol.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o safe-read.o safe-read.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xstrtoul.o xstrtoul.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' In file included from xstrtoul.c:9: xstrtol.c:82:10: error: conflicting types for ‘strtol’; have ‘long int(void)’ 82 | long int strtol (); | ^~~~~~ In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from xstrtol.c:32: /usr/include/stdlib.h:215:17: note: previous declaration of ‘strtol’ with type ‘long int(const char * restrict, char ** restrict, int)’ 215 | extern long int __REDIRECT_NTH (strtol, (const char *__restrict __nptr, | ^~~~~~~~~~~~~~ xstrtol.c:86:19: error: conflicting types for ‘strtoul’; have ‘long unsigned int(void)’ 86 | unsigned long int strtoul (); | ^~~~~~~ /usr/include/stdlib.h:219:26: note: previous declaration of ‘strtoul’ with type ‘long unsigned int(const char * restrict, char ** restrict, int)’ 219 | extern unsigned long int __REDIRECT_NTH (strtoul, | ^~~~~~~~~~~~~~ xstrtol.c:90:11: error: conflicting types for ‘strtoumax’; have ‘uintmax_t(void)’ {aka ‘long unsigned int(void)’} 90 | uintmax_t strtoumax (); | ^~~~~~~~~ /usr/include/inttypes.h:382:18: note: previous declaration of ‘strtoumax’ with type ‘uintmax_t(const char * restrict, char ** restrict, int)’ {aka ‘long unsigned int(const char * restrict, char ** restrict, int)’} 382 | extern uintmax_t __REDIRECT_NTH (strtoumax, (const char *__restrict __nptr, | ^~~~~~~~~~~~~~ xstrtol.c: In function ‘xstrtoul’: xstrtoul.c:6:18: error: too many arguments to function ‘strtoul’; expected 0, have 3 6 | #define __strtol strtoul | ^~~~~~~ xstrtol.c:137:9: note: in expansion of macro ‘__strtol’ 137 | tmp = __strtol (s, p, strtol_base); | ^~~~~~~~ xstrtol.c:86:19: note: declared here 86 | unsigned long int strtoul (); | ^~~~~~~ make[2]: *** [Makefile:457: xstrtoul.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o full-write.o full-write.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' In file included from system.h:268, from dcfldd.h:42, from full-write.c:23: sys2.h:297:7: error: conflicting types for ‘ttyname’; have ‘char *(void)’ 297 | char *ttyname (); | ^~~~~~~ In file included from system.h:33: /usr/include/unistd.h:799:14: note: previous declaration of ‘ttyname’ with type ‘char *(int)’ 799 | extern char *ttyname (int __fd) __THROW; | ^~~~~~~ full-write.c: In function ‘full_write’: full-write.c:57:22: error: too many arguments to function ‘safe_read’; expected 0, have 3 57 | int rlen = safe_read(desc, rptr, len); | ^~~~~~~~~ ~~~~ In file included from full-write.c:30: safe-read.h:10:1: note: declared here 10 | safe_read PARAMS ((int desc, void *ptr, size_t len)); | ^~~~~~~~~ make[2]: *** [Makefile:457: full-write.o] Error 1 In file included from system.h:268, from dcfldd.h:42, from argmatch.c:22: sys2.h:297:7: error: conflicting types for ‘ttyname’; have ‘char *(void)’ 297 | char *ttyname (); | ^~~~~~~ In file included from system.h:33: /usr/include/unistd.h:799:14: note: previous declaration of ‘ttyname’ with type ‘char *(int)’ 799 | extern char *ttyname (int __fd) __THROW; | ^~~~~~~ argmatch.c:136:1: error: conflicting types for ‘argmatch’; have ‘int(const char *, const char * const*, const char *, size_t)’ {aka ‘int(const char *, const char * const*, const char *, long unsigned int)’} 136 | argmatch (const char *arg, const char *const *arglist, | ^~~~~~~~ In file included from argmatch.c:23: argmatch.h:54:5: note: previous declaration of ‘argmatch’ with type ‘int(void)’ 54 | int argmatch | ^~~~~~~~ argmatch.c:144:1: error: conflicting types for ‘argcasematch’; have ‘int(const char *, const char * const*, const char *, size_t)’ {aka ‘int(const char *, const char * const*, const char *, long unsigned int)’} 144 | argcasematch (const char *arg, const char *const *arglist, | ^~~~~~~~~~~~ argmatch.h:57:5: note: previous declaration of ‘argcasematch’ with type ‘int(void)’ 57 | int argcasematch | ^~~~~~~~~~~~ argmatch.c:156:1: error: conflicting types for ‘argmatch_invalid’; have ‘void(const char *, const char *, int)’ 156 | argmatch_invalid (const char *context, const char *value, int problem) | ^~~~~~~~~~~~~~~~ argmatch.h:75:6: note: previous declaration of ‘argmatch_invalid’ with type ‘void(void)’ 75 | void argmatch_invalid | ^~~~~~~~~~~~~~~~ argmatch.c:170:1: error: conflicting types for ‘argmatch_valid’; have ‘void(const char * const*, const char *, size_t)’ {aka ‘void(const char * const*, const char *, long unsigned int)’} 170 | argmatch_valid (const char *const *arglist, | ^~~~~~~~~~~~~~ argmatch.h:87:6: note: previous declaration of ‘argmatch_valid’ with type ‘void(void)’ 87 | void argmatch_valid | ^~~~~~~~~~~~~~ argmatch.c:200:1: error: conflicting types for ‘__xargmatch_internal’; have ‘int(const char *, const char *, const char * const*, const char *, size_t, int, void (*)(void))’ {aka ‘int(const char *, const char *, const char * const*, const char *, long unsigned int, int, void (*)(void))’} 200 | __xargmatch_internal (const char *context, | ^~~~~~~~~~~~~~~~~~~~ argmatch.h:99:5: note: previous declaration of ‘__xargmatch_internal’ with type ‘int(void)’ 99 | int __xargmatch_internal | ^~~~~~~~~~~~~~~~~~~~ argmatch.c:224:1: error: conflicting types for ‘argmatch_to_argument’; have ‘const char *(const char *, const char * const*, const char *, size_t)’ {aka ‘const char *(const char *, const char * const*, const char *, long unsigned int)’} 224 | argmatch_to_argument (const char *value, | ^~~~~~~~~~~~~~~~~~~~ argmatch.h:121:13: note: previous declaration of ‘argmatch_to_argument’ with type ‘const char *(void)’ 121 | const char *argmatch_to_argument | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:457: argmatch.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o argmatch.o argmatch.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o dcfldd.o dcfldd.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' In file included from system.h:268, from dcfldd.h:42, from dcfldd.c:29: sys2.h:297:7: error: conflicting types for ‘ttyname’; have ‘char *(void)’ 297 | char *ttyname (); | ^~~~~~~ In file included from system.h:33: /usr/include/unistd.h:799:14: note: previous declaration of ‘ttyname’ with type ‘char *(int)’ 799 | extern char *ttyname (int __fd) __THROW; | ^~~~~~~ dcfldd.c: In function ‘print_stats’: dcfldd.c:225:13: error: too many arguments to function ‘human_readable’; expected 0, have 4 225 | human_readable (r_full, buf[0], 1, 1), | ^~~~~~~~~~~~~~ ~~~~~~ In file included from dcfldd.c:56: human.h:33:7: note: declared here 33 | char *human_readable PARAMS ((uintmax_t, char *, int, int)); | ^~~~~~~~~~~~~~ dcfldd.c:226:13: error: too many arguments to function ‘human_readable’; expected 0, have 4 226 | human_readable (r_partial, buf[1], 1, 1)); | ^~~~~~~~~~~~~~ ~~~~~~~~~ human.h:33:7: note: declared here 33 | char *human_readable PARAMS ((uintmax_t, char *, int, int)); | ^~~~~~~~~~~~~~ dcfldd.c:228:13: error: too many arguments to function ‘human_readable’; expected 0, have 4 228 | human_readable (w_full, buf[0], 1, 1), | ^~~~~~~~~~~~~~ ~~~~~~ human.h:33:7: note: declared here 33 | char *human_readable PARAMS ((uintmax_t, char *, int, int)); | ^~~~~~~~~~~~~~ dcfldd.c:229:13: error: too many arguments to function ‘human_readable’; expected 0, have 4 229 | human_readable (w_partial, buf[1], 1, 1)); | ^~~~~~~~~~~~~~ ~~~~~~~~~ human.h:33:7: note: declared here 33 | char *human_readable PARAMS ((uintmax_t, char *, int, int)); | ^~~~~~~~~~~~~~ dcfldd.c:232:17: error: too many arguments to function ‘human_readable’; expected 0, have 4 232 | human_readable (r_truncate, buf[0], 1, 1), | ^~~~~~~~~~~~~~ ~~~~~~~~~~ human.h:33:7: note: declared here 33 | char *human_readable PARAMS ((uintmax_t, char *, int, int)); | ^~~~~~~~~~~~~~ dcfldd.c: In function ‘parse_integer’: dcfldd.c:384:20: error: too many arguments to function ‘xstrtoumax’; expected 0, have 5 384 | # define __strtol xstrtoumax | ^~~~~~~~~~ dcfldd.c:397:27: note: in expansion of macro ‘__strtol’ 397 | enum strtol_error e = __strtol(str, &suffix, 10, &n, "bcEGkMPTwYZ0"); | ^~~~~~~~ In file included from dcfldd.c:59: xstrtol.h:30:19: note: declared here 30 | _DECLARE_XSTRTOL (xstrtoumax, uintmax_t) | ^~~~~~~~~~ xstrtol.h:26:5: note: in definition of macro ‘_DECLARE_XSTRTOL’ 26 | name PARAMS ((const char *s, char **ptr, int base, \ | ^~~~ dcfldd.c: In function ‘main’: dcfldd.c:708:5: error: too many arguments to function ‘parse_long_options’; expected 0, have 7 708 | parse_long_options(argc, argv, PROGRAM_NAME, PACKAGE, VERSION, | ^~~~~~~~~~~~~~~~~~ ~~~~ In file included from dcfldd.c:57: long-options.h:29:3: note: declared here 29 | parse_long_options PARAMS ((int _argc, | ^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:457: dcfldd.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o md5.o md5.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' In file included from system.h:268, from dcfldd.h:42, from hash.h:28, from md5.h:49, from md5.c:35: sys2.h:297:7: error: conflicting types for ‘ttyname’; have ‘char *(void)’ 297 | char *ttyname (); | ^~~~~~~ In file included from system.h:33: /usr/include/unistd.h:799:14: note: previous declaration of ‘ttyname’ with type ‘char *(int)’ 799 | extern char *ttyname (int __fd) __THROW; | ^~~~~~~ md5.c: In function ‘MD5Init’: md5.c:83:6: warning: old-style function definition [-Wold-style-definition] 83 | void MD5Init (mdContext) | ^~~~~~~ md5.c: In function ‘MD5Update’: md5.c:96:6: warning: old-style function definition [-Wold-style-definition] 96 | void MD5Update (mdContext, inBuf, inLen) | ^~~~~~~~~ md5.c:125:7: error: too many arguments to function ‘Transform’; expected 0, have 2 125 | Transform (mdContext->buf, in); | ^~~~~~~~~ ~~~~~~~~~~~~~~ md5.c:38:13: note: declared here 38 | static void Transform (); | ^~~~~~~~~ md5.c: In function ‘MD5Final’: md5.c:131:6: warning: old-style function definition [-Wold-style-definition] 131 | void MD5Final (mdContext, buf) | ^~~~~~~~ md5.c:157:3: error: too many arguments to function ‘Transform’; expected 0, have 2 157 | Transform (mdContext->buf, in); | ^~~~~~~~~ ~~~~~~~~~~~~~~ md5.c:38:13: note: declared here 38 | static void Transform (); | ^~~~~~~~~ md5.c: In function ‘MD5Sprint’: md5.c:175:6: warning: old-style function definition [-Wold-style-definition] 175 | void MD5Sprint (mdContext, buf) | ^~~~~~~~~ md5.c: In function ‘Transform’: md5.c:187:13: warning: old-style function definition [-Wold-style-definition] 187 | static void Transform (buf, in) | ^~~~~~~~~ make[2]: *** [Makefile:457: md5.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o human.o human.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' human.c: In function ‘human_readable_inexact’: human.c:265:23: warning: ‘power’ may be used uninitialized [-Wmaybe-uninitialized] 265 | if (amt == base && power < sizeof suffixes - 1) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ human.c:129:7: note: ‘power’ was declared here 129 | int power; | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sha1.o sha1.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' sha1.c:57:19: warning: ‘rcsid’ defined but not used [-Wunused-const-variable=] 57 | static const char rcsid[] = | ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o sha2.o sha2.c make[2]: Leaving directory '/builddir/build/BUILD/dcfldd-1.9.1-build/dcfldd-1.9.1/src' sha2.c:568:50: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=] 568 | void SHA256_Final(SHA256_CTX* context, sha2_byte digest[]) { | ~~~~~~~~~~^~~~~~~~ In file included from sha2.c:37: sha2.h:154:32: note: previously declared as ‘u_int8_t[32]’ {aka ‘unsigned char[32]’} 154 | void SHA256_Final(SHA256_CTX*, u_int8_t[SHA256_DIGEST_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha2.c: In function ‘SHA256_Final’: sha2.c:627:37: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 627 | MEMSET_BZERO(context, sizeof(context)); | ^ sha2.c:176:49: note: in definition of macro ‘MEMSET_BZERO’ 176 | #define MEMSET_BZERO(p,l) memset((p), 0, (l)) | ^ sha2.c: At top level: sha2.c:631:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=] 631 | char *SHA256_End(SHA256_CTX* context, char buffer[]) { | ~~~~~^~~~~~~~ sha2.h:155:31: note: previously declared as ‘char[65]’ 155 | char* SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha2.c: In function ‘SHA256_End’: sha2.c:648:45: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 648 | MEMSET_BZERO(context, sizeof(context)); | ^ sha2.c:176:49: note: in definition of macro ‘MEMSET_BZERO’ 176 | #define MEMSET_BZERO(p,l) memset((p), 0, (l)) | ^ sha2.c: At top level: sha2.c:931:50: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=] 931 | void SHA512_Final(SHA512_CTX* context, sha2_byte digest[]) { | ~~~~~~~~~~^~~~~~~~ sha2.h:166:32: note: previously declared as ‘u_int8_t[64]’ {aka ‘unsigned char[64]’} 166 | void SHA512_Final(SHA512_CTX*, u_int8_t[SHA512_DIGEST_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha2.c: In function ‘SHA512_Final’: sha2.c:957:37: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 957 | MEMSET_BZERO(context, sizeof(context)); | ^ sha2.c:176:49: note: in definition of macro ‘MEMSET_BZERO’ 176 | #define MEMSET_BZERO(p,l) memset((p), 0, (l)) | ^ sha2.c: At top level: sha2.c:960:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=] 960 | char *SHA512_End(SHA512_CTX* context, char buffer[]) { | ~~~~~^~~~~~~~ sha2.h:167:31: note: previously declared as ‘char[129]’ 167 | char* SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha2.c: In function ‘SHA512_End’: sha2.c:977:45: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 977 | MEMSET_BZERO(context, sizeof(context)); | ^ sha2.c:176:49: note: in definition of macro ‘MEMSET_BZERO’ 176 | #define MEMSET_BZERO(p,l) memset((p), 0, (l)) | ^ sha2.c: At top level: sha2.c:1006:50: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=] 1006 | void SHA384_Final(SHA384_CTX* context, sha2_byte digest[]) { | ~~~~~~~~~~^~~~~~~~ sha2.h:160:32: note: previously declared as ‘u_int8_t[48]’ {aka ‘unsigned char[48]’} 160 | void SHA384_Final(SHA384_CTX*, u_int8_t[SHA384_DIGEST_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha2.c: In function ‘SHA384_Final’: sha2.c:1032:37: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1032 | MEMSET_BZERO(context, sizeof(context)); | ^ sha2.c:176:49: note: in definition of macro ‘MEMSET_BZERO’ 176 | #define MEMSET_BZERO(p,l) memset((p), 0, (l)) | ^ sha2.c: At top level: sha2.c:1035:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=] 1035 | char *SHA384_End(SHA384_CTX* context, char buffer[]) { | ~~~~~^~~~~~~~ sha2.h:161:31: note: previously declared as ‘char[97]’ 161 | char* SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sha2.c: In function ‘SHA384_End’: sha2.c:1052:45: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 1052 | MEMSET_BZERO(context, sizeof(context)); | ^ sha2.c:176:49: note: in definition of macro ‘MEMSET_BZERO’ 176 | #define MEMSET_BZERO(p,l) memset((p), 0, (l)) | ^ make[1]: *** [Makefile:470: all-recursive] Error 1 make: *** [Makefile:368: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.euwM7b (%build) Bad exit status from /var/tmp/rpm-tmp.euwM7b (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 1608fadc517f4a2dae162636307241a1 -D /var/lib/mock/f42-build-56672826-6545461/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.os18aibw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dcfldd.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 1608fadc517f4a2dae162636307241a1 -D /var/lib/mock/f42-build-56672826-6545461/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.os18aibw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dcfldd.spec'