Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtrash.spec'], chrootPath='/var/lib/mock/f31-build-100598-33267/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtrash.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/libtrash-3.3-13.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libtrash.spec'], chrootPath='/var/lib/mock/f31-build-100598-33267/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libtrash.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sEWbDJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtrash-3.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/libtrash-3.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtrash-3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libtrash-3.2-defaults.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (libtrash-3.2-makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (libtrash-3.3-license.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + sed -e 's|print \(.*\)$|print(\1)|' -i scripts/get_symbol_versions.py + sed -e 's|python|python3|' -i src/Makefile + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (libtrash-3.2-defaults.patch): patching file libtrash.conf Patch #1 (libtrash-3.2-makefile.patch): patching file src/Makefile Patch #2 (libtrash-3.3-license.patch): patching file COPYING Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QjT0eK + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.3 + make '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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_REENTRANT' BUILDSTDERR: linking-helper.c: In function 'main': BUILDSTDERR: linking-helper.c:10:4: warning: ignoring return value of 'fopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 10 | fopen("", "r"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: linking-helper.c:11:4: warning: ignoring return value of 'fopen64', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 11 | fopen64("", "r"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: linking-helper.c:12:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 12 | freopen("", "r", NULL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: linking-helper.c:13:4: warning: ignoring return value of 'freopen64', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 13 | freopen64("", "r", NULL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: helpers.c: In function 'read_config_from_file': BUILDSTDERR: helpers.c:1054:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1054 | conf_file_path = filepath; BUILDSTDERR: | ^ BUILDSTDERR: helpers.c: In function 'make_absolute_path_from_dirfd_relpath': BUILDSTDERR: helpers.c:2130:9: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2130 | return arg_pathname; BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: unlink.c:26: warning: "__USE_ATFILE" redefined BUILDSTDERR: 26 | #define __USE_ATFILE /* for access to AT_REMOVEDIR/AT_FDCWD macros inside fcntl.h */ BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from unlink.c:20: BUILDSTDERR: /usr/include/features.h:373: note: this is the location of the previous definition BUILDSTDERR: 373 | # define __USE_ATFILE 1 BUILDSTDERR: | BUILDSTDERR: unlink.c: In function 'unlink': BUILDSTDERR: unlink.c:91:50: warning: nonnull argument 'pathname' compared to NULL [-Wnonnull-compare] BUILDSTDERR: 91 | if (cfg.libtrash_off || !cfg.intercept_unlink || pathname == NULL) BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c: In function 'do_fopen_or_freopen_or_open': BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:601:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 601 | RETURN_REAL_FUNCTION(); /* we don't need to call libtrash_fini() here. */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:601:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 601 | RETURN_REAL_FUNCTION(); /* we don't need to call libtrash_fini() here. */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 390 | retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:601:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 601 | RETURN_REAL_FUNCTION(); /* we don't need to call libtrash_fini() here. */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:618:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 618 | RETURN_REAL_FUNCTION(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:618:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 618 | RETURN_REAL_FUNCTION(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 390 | retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:618:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 618 | RETURN_REAL_FUNCTION(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 413 | RETURN_REAL_FUNCTION() \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:629:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 629 | DO_HANDLE_ERROR(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 413 | RETURN_REAL_FUNCTION() \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:629:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 629 | DO_HANDLE_ERROR(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 390 | retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 413 | RETURN_REAL_FUNCTION() \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:629:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 629 | DO_HANDLE_ERROR(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:456:5: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 456 | RETURN_REAL_FUNCTION(); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:641:4: note: in expansion of macro 'TEST_FILE_EXISTENCE' BUILDSTDERR: 641 | TEST_FILE_EXISTENCE(); /* Invokes libtrash_fini() by itself if it decides to return. */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:456:5: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 456 | RETURN_REAL_FUNCTION(); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:641:4: note: in expansion of macro 'TEST_FILE_EXISTENCE' BUILDSTDERR: 641 | TEST_FILE_EXISTENCE(); /* Invokes libtrash_fini() by itself if it decides to return. */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 390 | retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:456:5: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 456 | RETURN_REAL_FUNCTION(); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:641:4: note: in expansion of macro 'TEST_FILE_EXISTENCE' BUILDSTDERR: 641 | TEST_FILE_EXISTENCE(); /* Invokes libtrash_fini() by itself if it decides to return. */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 413 | RETURN_REAL_FUNCTION() \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:663:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 663 | DO_HANDLE_ERROR(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 413 | RETURN_REAL_FUNCTION() \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:663:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 663 | DO_HANDLE_ERROR(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 390 | retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 413 | RETURN_REAL_FUNCTION() \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:663:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 663 | DO_HANDLE_ERROR(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:689:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 689 | RETURN_REAL_FUNCTION(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:689:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 689 | RETURN_REAL_FUNCTION(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 390 | retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:689:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 689 | RETURN_REAL_FUNCTION(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 413 | RETURN_REAL_FUNCTION() \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:731:7: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 731 | DO_HANDLE_ERROR(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 413 | RETURN_REAL_FUNCTION() \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:731:7: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 731 | DO_HANDLE_ERROR(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 390 | retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 413 | RETURN_REAL_FUNCTION() \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:731:7: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 731 | DO_HANDLE_ERROR(); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:744:7: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 744 | RETURN_REAL_FUNCTION(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: 371 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: | ^~ BUILDSTDERR: 372 | (function == OPEN ? \ BUILDSTDERR: | BUILDSTDERR: open-funs.c:744:7: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 744 | RETURN_REAL_FUNCTION(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:390:12: warning: assignment to 'int' from 'FILE *' {aka 'struct _IO_FILE *'} makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 390 | retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:744:7: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 744 | RETURN_REAL_FUNCTION(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:751:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 751 | } BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:373:30: warning: 'mode' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 373 | (flags & O_CREAT ? (*real_open) (path, flags, mode) : \ BUILDSTDERR: | ^ BUILDSTDERR: open-funs.c:535:11: note: 'mode' was declared here BUILDSTDERR: 535 | mode_t mode; /* used only by open() */ BUILDSTDERR: | ^~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 set -e; cd src; make all; make[1]: Entering directory '/builddir/build/BUILD/libtrash-3.3/src' echo CHECKING FOR A WORKING PROC FILESYSTEM... CHECKING FOR A WORKING PROC FILESYSTEM... ls -d /proc/self/fd /proc/self/fd echo GOOD, YOU SEEM TO HAVE A PROC FS GOOD, YOU SEEM TO HAVE A PROC FS 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_REENTRANT -o linking-helper linking-helper.c perl -w ../scripts/trimheader.pl perl -w ../scripts/genheader.pl python3 ../scripts/get_symbol_versions.py rm -f linking-helper perl -w ../scripts/genconf.pl 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_REENTRANT main.c helpers.c unlink.c rename.c open-funs.c -nostartfiles -shared -fPIC -Wl,-soname,libtrash.so.3 \ -o libtrash.so.3.3 -ldl make[1]: Leaving directory '/builddir/build/BUILD/libtrash-3.3/src' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BKTcbK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64 + cd libtrash-3.3 + rm -rf /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64 + install -d /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/lib64 /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/etc + make install INSTLIBDIR=/builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/lib64 SYSCONFFILE=/builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/etc/libtrash.conf + rm -f /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64//usr/lib64/libattr.so.3 + ln -sf libtrash.so.3.3 /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64//usr/lib64/libtrash.so.3 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.3-13.fc31 --unique-debug-suffix -3.3-13.fc31.riscv64 --unique-debug-src-base libtrash-3.3-13.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libtrash-3.3 BUILDSTDERR: 305 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs set -e; cd src; make install; make[1]: Entering directory '/builddir/build/BUILD/libtrash-3.3/src' TRASH_OFF=YES install libtrash.so.3.3 /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/lib64/libtrash.so.3.3 TRASH_OFF=YES ln -sf libtrash.so.3.3 /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/lib64/libtrash.so TRASH_OFF=YES install libtrash.conf.sys --mode a=r /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/etc/libtrash.conf make[1]: Leaving directory '/builddir/build/BUILD/libtrash-3.3/src' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/lib64/libtrash.so.3.3 extracting debug info from /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/lib64/libtrash.so.3.3 original debug info size: 128kB, size after compression: 120kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: libtrash-3.3-13.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DCLoPI + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.3 + DOCDIR=/builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash + cp -pr README /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash + cp -pr TODO /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash + cp -pr COPYING /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash + cp -pr CHANGE.LOG /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash + cp -pr config.txt /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: warning: File listed twice: /etc/libtrash.conf Provides: config(libtrash) = 3.3-13.fc31 libtrash = 3.3-13.fc31 libtrash(riscv-64) = 3.3-13.fc31 libtrash.so.3()(64bit) 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) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libtrash-devel-3.3-13.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zEwDnH + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.3 + DOCDIR=/builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash-devel + cp -pr README /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash-devel + cp -pr TODO /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash-devel + cp -pr COPYING /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash-devel + cp -pr CHANGE.LOG /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash-devel + cp -pr config.txt /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64/usr/share/doc/libtrash-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libtrash-devel = 3.3-13.fc31 libtrash-devel(riscv-64) = 3.3-13.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libtrash.so.3()(64bit) Processing files: libtrash-debugsource-3.3-13.fc31.riscv64 Provides: libtrash-debugsource = 3.3-13.fc31 libtrash-debugsource(riscv-64) = 3.3-13.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libtrash-debuginfo-3.3-13.fc31.riscv64 Provides: debuginfo(build-id) = 3aeee8367dd2d3dbba7cbf602d7306b4e6ff370a libtrash-debuginfo = 3.3-13.fc31 libtrash-debuginfo(riscv-64) = 3.3-13.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libtrash-debugsource(riscv-64) = 3.3-13.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64 Wrote: /builddir/build/RPMS/libtrash-devel-3.3-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libtrash-3.3-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libtrash-debuginfo-3.3-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/libtrash-debugsource-3.3-13.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GXqpQJ + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libtrash-3.3-13.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0