+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tcl-signal.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.5tpiDU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf signal_ext1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/signal_ext1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd signal_ext1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (signal_ext-tclpath.patch):' Patch #0 (signal_ext-tclpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tclpath --fuzz=0 patching file configure + echo 'Patch #1 (signal_ext-destdir.patch):' Patch #1 (signal_ext-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .destdir --fuzz=0 patching file Makefile.in + echo 'Patch #2 (signal_ext-lib64.patch):' Patch #2 (signal_ext-lib64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lib64 --fuzz=0 patching file configure + echo 'Patch #3 (signal_ext-libtclsignal.patch):' Patch #3 (signal_ext-libtclsignal.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libtclsignal --fuzz=0 patching file configure patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AZrdy1 + umask 022 + cd /builddir/build/BUILD + cd signal_ext1.4 + export TCL_INC_DIR=/usr/include + TCL_INC_DIR=/usr/include + 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 + '[' 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 creating cache ./config.cache checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for unistd.h... yes checking for working const... yes checking for strdup... yes checking for strerror... yes checking for a BSD compatible install... /usr/bin/install -c updating cache ./config.cache creating ./config.status creating Makefile + make -j4 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 -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_TOMMATH=1 -DMP_PREC=4 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -DUSE_DTRACE=1 -fPIC -I/usr/include -I/usr/include -I/usr/include -c signal_ext.c signal_ext.c: In function 'Signal_ext_Init': signal_ext.c:199:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Tcl_CreateFileHandler((ClientData)fds[0], TCL_READABLE, HandleSignalPipe, ^ signal_ext.c:199:27: warning: passing argument 1 of 'Tcl_CreateFileHandler' makes integer from pointer without a cast [-Wint-conversion] In file included from /usr/include/tcl.h:2445:0, from signal_ext.c:26: /usr/include/tclDecls.h:68:14: note: expected 'int' but argument is of type 'void *' EXTERN void Tcl_CreateFileHandler(int fd, int mask, ^~~~~~~~~~~~~~~~~~~~~ signal_ext.c:203:41: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] Tcl_CreateCommand(interp, "signal", DoSignalHandler, 0, 0); ^~~~~~~~~~~~~~~ In file included from /usr/include/tcl.h:2445:0, from signal_ext.c:26: /usr/include/tclDecls.h:302:20: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **) {aka int (*)(void *, struct Tcl_Interp *, int, const char **)}' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **) {aka int (*)(void *, struct Tcl_Interp *, int, char **)}' EXTERN Tcl_Command Tcl_CreateCommand(Tcl_Interp *interp, ^~~~~~~~~~~~~~~~~ signal_ext.c: In function 'AddSignalHandler': signal_ext.c:319:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( signal_handlers[sig].signal_proc = (char *)ckalloc(strlen(procname)+1) ) ^~~~~~~~~~~~~~~ signal_ext.c:330:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] signal_handlers[sig].async = Tcl_AsyncCreate(handle_async,(ClientData)sig); ^ signal_ext.c: In function 'handle_async': signal_ext.c:477:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int sig = (int)clientData; ^ signal_ext.c: In function 'Signal_ext_Init': signal_ext.c:196:5: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(fds); ^~~~~~~~~ signal_ext.c: In function 'handle_sig': signal_ext.c:457:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fds[1], &signo, sizeof(signo)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -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 -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_TOMMATH=1 -DMP_PREC=4 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -DUSE_DTRACE=1 -fPIC -I/usr/include -I/usr/include -I/usr/include -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC -Wl,-soname,libtclsignal-1.4.so signal_ext.o -o libtclsignal-1.4.so -L/usr/lib64 -ltcl8.6 rm -f signal_ext.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L3OWRu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64 + cd signal_ext1.4 + rm -rf /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64 mkdir -p /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64/usr/lib64/tcl8.6/signal /usr/bin/install -c libtclsignal-1.4.so /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64/usr/lib64 /usr/bin/install -c pkgIndex.tcl /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64/usr/lib64/tcl8.6/signal + sed -i -e s,signal.so,/usr/lib64/libtclsignal-1.4.so, /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64/usr/lib64/tcl8.6/signal/pkgIndex.tcl + chmod 644 /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64/usr/lib64/tcl8.6/signal/pkgIndex.tcl + /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: tcl-signal-1.4-14.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tyY9Yx + umask 022 + cd /builddir/build/BUILD + cd signal_ext1.4 + DOCDIR=/builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64/usr/share/doc/tcl-signal + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64/usr/share/doc/tcl-signal + cp -pr README /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64/usr/share/doc/tcl-signal + cp -pr sig.announce.1.4 /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64/usr/share/doc/tcl-signal + exit 0 Provides: libtclsignal-1.4.so()(64bit) tcl-signal = 1.4-14.fc28 tcl-signal(riscv-64) = 1.4-14.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) libtcl8.6.so()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64 Wrote: /builddir/build/SRPMS/tcl-signal-1.4-14.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/tcl-signal-1.4-14.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Eq7Nhx + umask 022 + cd /builddir/build/BUILD + cd signal_ext1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tcl-signal-1.4-14.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff