+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/dcfldd.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MrnPjO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dcfldd-1.3.4-1 + /usr/bin/gzip -dc /builddir/build/SOURCES/dcfldd-1.3.4-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dcfldd-1.3.4-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5FONm7 + umask 022 + cd /builddir/build/BUILD + cd dcfldd-1.3.4-1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking whether strtol is declared... yes checking whether strtoul is declared... yes checking whether strtoumax is declared... yes checking whether strndup is declared... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -j4 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/dcfldd-1.3.4-1' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c dcfldd.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c md5.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c sha1.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c sha2.c sha1.c:57:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = ^~~~~ In file included from hash.h:27:0, from md5.h:49, from md5.c:35: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ In file included from dcfldd.c:63:0: util.h:44:8: warning: type defaults to 'int' in declaration of 'pclose2' [-Wimplicit-int] extern pclose2(FILE *); ^~~~~~~ dcfldd.c: In function 'scanargs': dcfldd.c:687:9: warning: implicit declaration of function 'init_hashlist' [-Wimplicit-function-declaration] init_hashlist(&ihashlist, hashops[VERIFY_HASH].flag); ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c human.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c long-options.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c safe-read.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c xstrtol.c human.c: In function 'human_readable_inexact': human.c:267:24: warning: 'power' may be used uninitialized in this function [-Wmaybe-uninitialized] *p = suffixes[power + 1]; ~~~~~~^~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c version-etc.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c argmatch.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c xstrtoul.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c full-write.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c xstrtoumax.c In file included from argmatch.c:21:0: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c copy.c In file included from full-write.c:21:0: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c hash.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c verify.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c translate.c In file included from copy.c:34:0: util.h:44:8: warning: type defaults to 'int' in declaration of 'pclose2' [-Wimplicit-int] extern pclose2(FILE *); ^~~~~~~ copy.c: In function 'write_output': copy.c:56:37: warning: pointer targets in passing argument 1 of 'outputlist_write' differ in signedness [-Wpointer-sign] int nwritten = outputlist_write(obuf, output_blocksize); ^~~~ In file included from copy.c:36:0: output.h:53:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int outputlist_write(const char *, size_t); ^~~~~~~~~~~~~~~~ copy.c: In function 'dd_copy': copy.c:214:36: warning: pointer targets in passing argument 2 of 'replicate_pattern' differ in signedness [-Wpointer-sign] replicate_pattern(pattern, ibuf, input_blocksize); ^~~~ In file included from copy.c:33:0: pattern.h:35:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void replicate_pattern(char *, char *, size_t); ^~~~~~~~~~~~~~~~~ copy.c:225:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uintmax_t {aka long unsigned int}' [-Wformat=] fprintf(stderr, "\r%llu blocks (%lluMb) written.", ~~~^ %lu copy.c:225:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t {aka long int}' [-Wformat=] fprintf(stderr, "\r%llu blocks (%lluMb) written.", ~~~^ %lu copy.c:239:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t {aka long int}' [-Wformat=] fprintf(stderr, "\r[%d%% of %lluMb] %llu blocks (%lluMb) written. %s", ~~~^ %lu copy.c:239:56: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uintmax_t {aka long unsigned int}' [-Wformat=] fprintf(stderr, "\r[%d%% of %lluMb] %llu blocks (%lluMb) written. %s", ~~~^ %lu copy.c:239:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'off_t {aka long int}' [-Wformat=] fprintf(stderr, "\r[%d%% of %lluMb] %llu blocks (%lluMb) written. %s", ~~~^ %lu copy.c:306:45: warning: pointer targets in passing argument 1 of 'outputlist_write' differ in signedness [-Wpointer-sign] int nwritten = outputlist_write(obuf, n_bytes_read); ^~~~ In file included from copy.c:36:0: output.h:53:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int outputlist_write(const char *, size_t); ^~~~~~~~~~~~~~~~ copy.c:364:41: warning: pointer targets in passing argument 1 of 'outputlist_write' differ in signedness [-Wpointer-sign] int nwritten = outputlist_write(obuf, oc); ^~~~ In file included from copy.c:36:0: output.h:53:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int outputlist_write(const char *, size_t); ^~~~~~~~~~~~~~~~ In file included from copy.c:23:0: copy.c: At top level: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ In file included from verify.c:34:0: util.h:44:8: warning: type defaults to 'int' in declaration of 'pclose2' [-Wimplicit-int] extern pclose2(FILE *); ^~~~~~~ verify.c: In function 'dd_verify': verify.c:181:36: warning: pointer targets in passing argument 2 of 'replicate_pattern' differ in signedness [-Wpointer-sign] replicate_pattern(pattern, ibuf, input_blocksize); ^~~~ In file included from verify.c:33:0: pattern.h:35:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void replicate_pattern(char *, char *, size_t); ^~~~~~~~~~~~~~~~~ verify.c:194:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uintmax_t {aka long unsigned int}' [-Wformat=] fprintf(stderr, "\r%llu blocks (%lluMb) written.", ~~~^ %lu verify.c:194:52: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t {aka long int}' [-Wformat=] fprintf(stderr, "\r%llu blocks (%lluMb) written.", ~~~^ %lu verify.c:209:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t {aka long int}' [-Wformat=] "\r[%d%% of %lluMb] %llu blocks (%lluMb) written. %s", ~~~^ %lu verify.c:209:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uintmax_t {aka long unsigned int}' [-Wformat=] "\r[%d%% of %lluMb] %llu blocks (%lluMb) written. %s", ~~~^ %lu verify.c:209:61: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'off_t {aka long int}' [-Wformat=] "\r[%d%% of %lluMb] %llu blocks (%lluMb) written. %s", ~~~^ %lu verify.c:226:40: warning: pointer targets in passing argument 2 of 'replicate_pattern' differ in signedness [-Wpointer-sign] replicate_pattern(pattern, ibuf, v_nread); ^~~~ In file included from verify.c:33:0: pattern.h:35:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void replicate_pattern(char *, char *, size_t); ^~~~~~~~~~~~~~~~~ verify.c:146:11: warning: variable 'v_hashstr_buf' set but not used [-Wunused-but-set-variable] char *v_hashstr_buf; ^~~~~~~~~~~~~ verify.c:145:11: warning: variable 'i_hashstr_buf' set but not used [-Wunused-but-set-variable] char *i_hashstr_buf; ^~~~~~~~~~~~~ verify.c:144:12: warning: unused variable 'n_bytes_read' [-Wunused-variable] size_t n_bytes_read; ^~~~~~~~~~~~ In file included from verify.c:28:0: verify.c: At top level: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ translate.c: In function 'apply_translations': translate.c:159:16: warning: implicit declaration of function 'bit_count' [-Wimplicit-function-declaration] #define MX(a) (bit_count (conversions_mask & (a))) ^ translate.c:160:10: note: in expansion of macro 'MX' if ((MX (C_ASCII | C_EBCDIC | C_IBM) > 1) ^~ In file included from translate.c:24:0: translate.c: At top level: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ hash.c: In function 'add_hash': hash.c:173:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ In file included from hash.c:24:0: hash.c: At top level: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ hash.c: In function 'hashl_init': hash.c:227:20: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] (hptr->hash->init)(ctx); ~~~~~~~~~~~^~~~~~~~~~~~ hash.c: In function 'hashl_update': hash.c:256:20: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] (hptr->hash->update)(ctx, buf, len); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ hash.c: In function 'hashl_final': hash.c:289:20: warning: 'ctx' may be used uninitialized in this function [-Wmaybe-uninitialized] (hptr->hash->final)(ctx, hptr->hash->hashstr_buf); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c sizeprobe.c copy.c: In function 'dd_copy': copy.c:153:13: warning: 'nread' may be used uninitialized in this function [-Wmaybe-uninitialized] ssize_t nread; /* Bytes read in the current block. */ ^~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c pattern.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c util.c gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c log.c In file included from sizeprobe.c:24:0: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ sizeprobe.c: In function 'get_dev_size': sizeprobe.c:71:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: sizeprobe.c:45:14: warning: 'midpoint' defined but not used [-Wunused-function] static off_t midpoint(off_t a, off_t b, long blksize) ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c output.c In file included from pattern.c:24:0: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ util.c: In function 'skip2': util.c:85:29: warning: implicit declaration of function 'safe_read'; did you mean 'fread'? [-Wimplicit-function-declaration] ssize_t nread = safe_read(fdesc, buf, blocksize); ^~~~~~~~~ fread util.c: In function 'skip_via_lseek': util.c:138:9: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error (0, 0, _("warning: working around lseek kernel bug for file (%s)\n\ ^~~~~ perror util.c: In function 'pclose2': util.c:424:9: warning: implicit declaration of function 'waitpid'; did you mean 'getpid'? [-Wimplicit-function-declaration] pid = waitpid(cur->pid, &pstat, 0); ^~~~~~~ getpid In file included from util.c:33:0: util.c: At top level: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c split.c In file included from log.c:24:0: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c hashformat.c In file included from output.c:37:0: util.h:44:8: warning: type defaults to 'int' in declaration of 'pclose2' [-Wimplicit-int] extern pclose2(FILE *); ^~~~~~~ output.c: In function 'outputlist_add': output.c:124:5: warning: enumeration value 'NONE' not handled in switch [-Wswitch] switch (type) { ^~~~~~ output.c: In function 'outputlist_write': output.c:150:9: warning: enumeration value 'NONE' not handled in switch [-Wswitch] switch (ptr->type) { ^~~~~~ In file included from output.c:24:0: output.c: At top level: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ split.c: In function 'open_split': split.c:102:5: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] asprintf(&fname, "%s.%s", split->name, ext); ^~~~~~~~ vsprintf In file included from split.c:23:0: split.c: At top level: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ split.c:79:12: warning: 'maxsplits' defined but not used [-Wunused-function] static int maxsplits(char *fmt) ^~~~~~~~~ In file included from hashformat.c:27:0: util.h:44:8: warning: type defaults to 'int' in declaration of 'pclose2' [-Wimplicit-int] extern pclose2(FILE *); ^~~~~~~ In file included from hashformat.c:24:0: dcfldd.h:162:20: warning: inline function 'quit' declared but never defined extern inline void quit(int); ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dcfldd dcfldd.o md5.o sha1.o sha2.o human.o long-options.o safe-read.o xstrtol.o version-etc.o argmatch.o xstrtoul.o full-write.o xstrtoumax.o copy.o hash.o verify.o translate.o sizeprobe.o pattern.o util.o log.o output.o split.o hashformat.o make[1]: Leaving directory '/builddir/build/BUILD/dcfldd-1.3.4-1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BI2JCf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64 + cd dcfldd-1.3.4-1 + rm -rf /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64 'INSTALL=install -p' make[1]: Entering directory '/builddir/build/BUILD/dcfldd-1.3.4-1' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/bin" install -p 'dcfldd' '/builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/bin/dcfldd' test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/share/man/man1" install -p -m 644 './dcfldd.1' '/builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/share/man/man1/dcfldd.1' make[1]: Leaving directory '/builddir/build/BUILD/dcfldd-1.3.4-1' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dcfldd-1.3.4.1-16.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NYi8nF + umask 022 + cd /builddir/build/BUILD + cd dcfldd-1.3.4-1 + DOCDIR=/builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/share/doc/dcfldd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/share/doc/dcfldd + cp -pr AUTHORS /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/share/doc/dcfldd + cp -pr ChangeLog /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/share/doc/dcfldd + cp -pr COPYING /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/share/doc/dcfldd + cp -pr INSTALL /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/share/doc/dcfldd + cp -pr README /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64/usr/share/doc/dcfldd + exit 0 Provides: dcfldd = 1.3.4.1-16.fc28 dcfldd(riscv-64) = 1.3.4.1-16.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64 Wrote: /builddir/build/SRPMS/dcfldd-1.3.4.1-16.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/dcfldd-1.3.4.1-16.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WnYH6g + umask 022 + cd /builddir/build/BUILD + cd dcfldd-1.3.4-1 + rm -rf /builddir/build/BUILDROOT/dcfldd-1.3.4.1-16.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff