+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pam_radius.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.6pe7dD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_radius-1.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pam_radius-1.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_radius-1.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (pam_radius_auth-conffile-location.patch):' Patch #1 (pam_radius_auth-conffile-location.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/pam_radius_auth.h Hunk #1 succeeded at 130 (offset 33 lines). + echo 'Patch #2 (radius-conffile-location.patch):' Patch #2 (radius-conffile-location.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/radius.h Hunk #1 succeeded at 175 (offset -4 lines). + echo 'Patch #3 (pam_radius_auth-conf-inlinedoc.patch):' Patch #3 (pam_radius_auth-conf-inlinedoc.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file pam_radius_auth.conf + echo 'Patch #4 (INSTALL-doc.patch):' Patch #4 (INSTALL-doc.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file INSTALL + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jeAUDw + umask 022 + cd /builddir/build/BUILD + cd pam_radius-1.4.0 + 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 --enable-werror configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc needs -traditional... no checking whether we are using SUNPro C... no checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking if compiler is clang... no checking for the compiler flag "-Qunused-arguments"... no checking whether byte ordering is bigendian... no checking for inet_aton in -lresolv... yes checking for inet_ntoa in -lnsl... no checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no checking security/pam_modules.h usability... yes checking security/pam_modules.h presence... yes checking for security/pam_modules.h... yes checking pam/pam_modules.h usability... no checking pam/pam_modules.h presence... no checking for pam/pam_modules.h... no checking for net/if.h... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for snprintf... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for strlcat... no checking for strlcpy... no checking for struct in6_addr... yes checking whether byte ordering is bigendian... (cached) no checking for an ANSI C-conforming const... yes checking for the compiler flag "-Wdocumentation"... no checking if building with -DNDEBUG... no configure: creating ./config.status config.status: creating src/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 '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 -Wall -fPIC -Wno-unused-but-set-variable -Wno-strict-aliasing' cc -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 -Wall -fPIC -Wno-unused-but-set-variable -Wno-strict-aliasing -c src/pam_radius_auth.c -o pam_radius_auth.o cc -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 -Wall -fPIC -Wno-unused-but-set-variable -Wno-strict-aliasing -c src/md5.c -o md5.o cc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared pam_radius_auth.o md5.o -lpam -o pam_radius_auth.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WD25PY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64 + cd pam_radius-1.4.0 + mkdir -p /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/lib64/security + install -p pam_radius_auth.so /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/lib64/security + mkdir -p /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/etc + install -p pam_radius_auth.conf /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/etc/pam_radius.conf + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/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 *** WARNING: ./etc/pam_radius.conf is executable but has empty or no shebang, removing executable bit Processing files: pam_radius-1.4.0-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oudBbs + umask 022 + cd /builddir/build/BUILD + cd pam_radius-1.4.0 + DOCDIR=/builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/usr/share/doc/pam_radius + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/usr/share/doc/pam_radius + cp -pr README.rst /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/usr/share/doc/pam_radius + cp -pr INSTALL /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/usr/share/doc/pam_radius + cp -pr USAGE /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/usr/share/doc/pam_radius + cp -pr LICENSE /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/usr/share/doc/pam_radius + cp -pr Changelog /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64/usr/share/doc/pam_radius + exit 0 Provides: config(pam_radius) = 1.4.0-2.fc28 pam_radius = 1.4.0-2.fc28 pam_radius(riscv-64) = 1.4.0-2.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) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_radius-1.4.0-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/pam_radius-1.4.0-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pam_radius-1.4.0-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f3dXAO + umask 022 + cd /builddir/build/BUILD + cd pam_radius-1.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pam_radius-1.4.0-2.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