+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/cntlm.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.0HXgbR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cntlm-0.92.3 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/cntlm-0.92.3.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cntlm-0.92.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (cntlm_makefile.patch):' Patch #0 (cntlm_makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d5HLuE + umask 022 + cd /builddir/build/BUILD + cd cntlm-0.92.3 + 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 Using /usr/bin/gcc to compile Cntlm Checking endian... little endian Checking strdup... yes Checking socklen_t... yes Checking gethostname... stage4-builder + make -j4 SYSCONFDIR=/etc Compiling utils.c Compiling xcrypt.c Compiling ntlm.c Compiling config.c In file included from /usr/include/sys/types.h:25:0, from utils.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from config.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from ntlm.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25:0, from xcrypt.c:41: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Compiling socket.c In file included from /usr/include/sys/types.h:25:0, from socket.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Compiling acl.c In file included from /usr/include/sys/types.h:25:0, from acl.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Compiling auth.c Compiling http.c Compiling forward.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from auth.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25:0, from http.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25:0, from forward.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Compiling direct.c forward.c: In function 'forward_request': forward.c:319:9: warning: variable 'w' set but not used [-Wunused-but-set-variable] int i, w, loop, plugin, retry = 0; ^ http.c: In function 'chunked_data_send': http.c:371:9: warning: variable 'w' set but not used [-Wunused-but-set-variable] int i, w, csize; ^ In file included from /usr/include/sys/types.h:25:0, from direct.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ direct.c: In function 'direct_request': direct.c:183:6: warning: variable 'w' set but not used [-Wunused-but-set-variable] int w, loop, sd; ^ Compiling scanner.c In file included from /usr/include/sys/types.h:25:0, from scanner.c:20: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ Compiling pages.c scanner.c: In function 'scanner_hook': scanner.c:43:34: warning: variable 'w' set but not used [-Wunused-but-set-variable] int bsize, lsize, size, len, i, w, nc; ^ Compiling main.c In file included from /usr/include/pthread.h:21:0, from utils.h:28, from pages.c:25: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/sys/types.h:25:0, from main.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ main.c: In function 'socks5_thread': main.c:412:20: warning: variable 'w' set but not used [-Wunused-but-set-variable] int ver, r, c, i, w; ^ main.c: In function 'main': main.c:673:9: warning: variable 'w' set but not used [-Wunused-but-set-variable] int i, w; ^ main.c:1388:4: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(ngid); ^~~~~~~~~~~~ Linking cntlm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NqJlqs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64 + cd cntlm-0.92.3 + make BINDIR=/builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/sbin MANDIR=/builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/man SYSCONFDIR=/builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc install # Special handling for install(1) if [ "`uname -s`" = "AIX" ]; then \ install -M 755 -f /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/sbin cntlm; \ install -M 644 -f /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/man/man1 doc/cntlm.1; \ install -M 600 -c /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc doc/cntlm.conf; \ elif [ "`uname -s`" = "Darwin" ]; then \ install -d -m 755 cntlm /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/sbin/cntlm; \ install -d -m 644 doc/cntlm.1 /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/man/man1/cntlm.1; \ [ -f /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc/cntlm.conf -o -z "/builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc" ] \ || install -d -m 600 doc/cntlm.conf /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc/cntlm.conf; \ else \ install -D -m 755 cntlm /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/sbin/cntlm; \ install -D -m 644 doc/cntlm.1 /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/man/man1/cntlm.1; \ [ -f /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc/cntlm.conf -o -z "/builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc" ] \ || install -D -m 600 doc/cntlm.conf /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc/cntlm.conf; \ fi Cntlm will look for configuration in /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc/cntlm.conf + install -D -m 0644 rpm/cntlm.sysconfig /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/etc/sysconfig/cntlmd + install -D -m 0644 /builddir/build/SOURCES/cntlm.tmpfiles /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/lib/tmpfiles.d/cntlm.conf + install -D -m 0644 /builddir/build/SOURCES/cntlm.service /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/lib/systemd/system/cntlm.service + install -D -d -m 0755 /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/run/cntlm/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/cntlm-0.92.3-12.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 Processing files: cntlm-0.92.3-12.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PdY4xr + umask 022 + cd /builddir/build/BUILD + cd cntlm-0.92.3 + DOCDIR=/builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/doc/cntlm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/doc/cntlm + cp -pr README /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/doc/cntlm + cp -pr COPYRIGHT /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/doc/cntlm + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.q09s5F + umask 022 + cd /builddir/build/BUILD + cd cntlm-0.92.3 + LICENSEDIR=/builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/licenses/cntlm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/licenses/cntlm + cp -pr LICENSE /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64/usr/share/licenses/cntlm + exit 0 Provides: cntlm = 0.92.3-12.fc28 cntlm(riscv-64) = 0.92.3-12.fc28 config(cntlm) = 0.92.3-12.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cntlm-0.92.3-12.fc28.riscv64 Wrote: /builddir/build/SRPMS/cntlm-0.92.3-12.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/cntlm-0.92.3-12.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZV1PEi + umask 022 + cd /builddir/build/BUILD + cd cntlm-0.92.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cntlm-0.92.3-12.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