Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtrash.spec'], chrootPath='/var/lib/mock/f29-build-9872-4441/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libtrash-3.3-10.fc29.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/f29-build-9872-4441/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Br34Wj + 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):' Patch #0 (libtrash-3.2-defaults.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libtrash.conf + echo 'Patch #1 (libtrash-3.2-makefile.patch):' Patch #1 (libtrash-3.2-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Makefile Patch #2 (libtrash-3.3-license.patch): + echo 'Patch #2 (libtrash-3.3-license.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file COPYING + sed -e 's|print \(.*\)$|print(\1)|' -i scripts/get_symbol_versions.py + sed -e 's|python|python3|' -i src/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YsQunw + 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' 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 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: fopen("", "r"); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: linking-helper.c:11:4: warning: ignoring return value of 'fopen64', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fopen64("", "r"); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: linking-helper.c:12:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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: freopen64("", "r", NULL); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ 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 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: 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: return arg_pathname; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: unlink.c:26: warning: "__USE_ATFILE" redefined BUILDSTDERR: #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:372: note: this is the location of the previous definition BUILDSTDERR: # 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: 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: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:601:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 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: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:601:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 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: retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:601:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 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: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:618:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:618:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 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: retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:618:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION() \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:629:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: DO_HANDLE_ERROR(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION() \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:629:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 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: retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION() \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:629:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: DO_HANDLE_ERROR(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:456:5: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION(); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:641:4: note: in expansion of macro 'TEST_FILE_EXISTENCE' BUILDSTDERR: 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: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:456:5: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION(); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:641:4: note: in expansion of macro 'TEST_FILE_EXISTENCE' BUILDSTDERR: 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: retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:456:5: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION(); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:641:4: note: in expansion of macro 'TEST_FILE_EXISTENCE' BUILDSTDERR: 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: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION() \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:663:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: DO_HANDLE_ERROR(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION() \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:663:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 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: retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION() \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:663:2: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: DO_HANDLE_ERROR(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:689:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:689:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 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: retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:689:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION() \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:731:7: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: DO_HANDLE_ERROR(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION() \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:731:7: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: 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: retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:413:2: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION() \ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:731:7: note: in expansion of macro 'DO_HANDLE_ERROR' BUILDSTDERR: DO_HANDLE_ERROR(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:744:7: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:371:77: warning: pointer/integer type mismatch in conditional expression BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:371:77: note: in definition of macro 'REAL_FUNCTION' BUILDSTDERR: (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) :\ BUILDSTDERR: ^~ BUILDSTDERR: (function == OPEN ? \ BUILDSTDERR: BUILDSTDERR: open-funs.c:744:7: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: 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: retval.fd = REAL_FUNCTION(); \ BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:744:7: note: in expansion of macro 'RETURN_REAL_FUNCTION' BUILDSTDERR: RETURN_REAL_FUNCTION(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: open-funs.c:751:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:375:30: warning: 'mode' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: (flags & O_CREAT ? (*real_open64) (path, flags, mode) : \ BUILDSTDERR: ^ BUILDSTDERR: open-funs.c:535:11: note: 'mode' was declared here BUILDSTDERR: mode_t mode; /* used only by open() */ BUILDSTDERR: ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/libtrash-3.3/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0Fmnge + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64 + cd libtrash-3.3 + rm -rf /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64 + install -d /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/lib64 /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/etc + make install INSTLIBDIR=/builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/lib64 SYSCONFFILE=/builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/etc/libtrash.conf 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-10.fc29.riscv64/usr/lib64/libtrash.so.3.3 TRASH_OFF=YES ln -sf libtrash.so.3.3 /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/lib64/libtrash.so TRASH_OFF=YES install libtrash.conf.sys --mode a=r /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/etc/libtrash.conf make[1]: Leaving directory '/builddir/build/BUILD/libtrash-3.3/src' + rm -f /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64//usr/lib64/libattr.so.3 + ln -sf libtrash.so.3.3 /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64//usr/lib64/libtrash.so.3 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.3-10.fc29 --unique-debug-suffix -3.3-10.fc29.riscv64 --unique-debug-src-base libtrash-3.3-10.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libtrash-3.3 extracting debug info from /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/lib64/libtrash.so.3.3 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 305 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /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: libtrash-3.3-10.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EzfXXU + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.3 + DOCDIR=/builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash + cp -pr README /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash + cp -pr TODO /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash + cp -pr COPYING /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash + cp -pr CHANGE.LOG /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash + cp -pr config.txt /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash + exit 0 BUILDSTDERR: warning: File listed twice: /etc/libtrash.conf Provides: config(libtrash) = 3.3-10.fc29 libtrash = 3.3-10.fc29 libtrash(riscv-64) = 3.3-10.fc29 libtrash.so.3()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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-10.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.R9H58U + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.3 + DOCDIR=/builddir/build/BUILDROOT/libtrash-3.3-10.fc29.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-10.fc29.riscv64/usr/share/doc/libtrash-devel + cp -pr README /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash-devel + cp -pr TODO /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash-devel + cp -pr COPYING /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash-devel + cp -pr CHANGE.LOG /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash-devel + cp -pr config.txt /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64/usr/share/doc/libtrash-devel + exit 0 Provides: libtrash-devel = 3.3-10.fc29 libtrash-devel(riscv-64) = 3.3-10.fc29 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-10.fc29.riscv64 Provides: libtrash-debugsource = 3.3-10.fc29 libtrash-debugsource(riscv-64) = 3.3-10.fc29 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-10.fc29.riscv64 Provides: debuginfo(build-id) = a45a285425d7a16bb7eda57f33b336e2807b9ec8 libtrash-debuginfo = 3.3-10.fc29 libtrash-debuginfo(riscv-64) = 3.3-10.fc29 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-10.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64 Wrote: /builddir/build/RPMS/libtrash-3.3-10.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libtrash-devel-3.3-10.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libtrash-debugsource-3.3-10.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libtrash-debuginfo-3.3-10.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1Mux4X + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libtrash-3.3-10.fc29.riscv64 + exit 0 Child return code was: 0