+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pptp.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.eIhr7d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pptp-1.8.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pptp-1.8.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pptp-1.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pptp-1.7.2-pptpsetup-mppe.patch):' Patch #0 (pptp-1.7.2-pptpsetup-mppe.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mppe --fuzz=0 patching file pptpsetup + echo 'Patch #1 (pptp-1.8.0-vector-remove-fix.patch):' Patch #1 (pptp-1.8.0-vector-remove-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .vector-remove-fix --fuzz=0 patching file vector.c + echo 'Patch #2 (pptp-1.8.0-call-use-after-free-fix.patch):' Patch #2 (pptp-1.8.0-call-use-after-free-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .call-use-after-free-fix --fuzz=0 patching file pptp_ctrl.c + perl -pi -e 's/install -o root -m 555 pptp/install -m 755 pptp/;' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TMhy44 + umask 022 + cd /builddir/build/BUILD + cd pptp-1.8.0 + OUR_CFLAGS='-Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes' + make -j4 'CFLAGS=-Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes' IP=/sbin/ip ( \ echo "/* text added by Makefile target config.h */"; \ echo "#define PPTP_LINUX_VERSION \"1.8.0\""; \ echo "#define PPPD_BINARY \"/usr/sbin/pppd\""; \ echo "#define IP_BINARY \"/sbin/ip\"" \ ) > config.h gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_gre.o pptp_gre.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o ppp_fcs.o ppp_fcs.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_ctrl.o pptp_ctrl.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o dirutil.o dirutil.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o vector.o vector.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o inststr.o inststr.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o util.o util.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o version.o version.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o test.o test.c util.c: In function 'sigpipe_handler': util.c:121:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sigpipe[1], &signum, sizeof(signum)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'sigpipe_read': util.c:145:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sigpipe[0], &signum, sizeof(signum)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_quirks.o pptp_quirks.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o orckit_quirks.o orckit_quirks.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pqueue.o pqueue.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_callmgr.o pptp_callmgr.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o routing.o routing.c gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_compat.o pptp_compat.c routing.c: In function 'routing_init': routing.c:118:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 255, p); ^~~~~~~~~~~~~~~~~~ pptp_callmgr.c: In function 'call_callback': pptp_callmgr.c:76:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lci->unix_sock, &call_id, sizeof(call_id)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pod2man pptpsetup > pptpsetup.8 pptp_callmgr.c: In function 'callmgr_main': pptp_callmgr.c:225:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(s, &lci->pid[0], sizeof(lci->pid[0])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pptp_callmgr.c:226:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(s, &lci->pid[1], sizeof(lci->pid[1])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -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 -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp.o pptp.c pptp.c: In function 'open_callmgr': pptp.c:496:21: warning: this statement may fall through [-Wimplicit-fallthrough=] launch_callmgr(inetaddr, phonenr, argc, argv, envp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pptp.c:498:17: note: here default: /* parent */ ^~~~~~~ gcc -o pptp pptp.o pptp_gre.o ppp_fcs.o pptp_ctrl.o dirutil.o vector.o inststr.o util.o version.o test.o pptp_quirks.o orckit_quirks.o pqueue.o pptp_callmgr.o routing.o pptp_compat.o -lutil + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.941vVe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64 + cd pptp-1.8.0 + rm -rf /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64 install mkdir -p /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/sbin install -m 755 pptp /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/sbin install -m 755 pptpsetup /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/sbin mkdir -p /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/man/man8 install -m 644 pptp.8 /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/man/man8 install -m 644 pptpsetup.8 /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/man/man8 mkdir -p /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/etc/ppp install -m 644 options.pptp /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/etc/ppp + install -d -m 750 /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/var/run/pptp + install -d -m 755 /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/lib/tmpfiles.d + install -p -m 644 /builddir/build/SOURCES/pptp-tmpfs.conf /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/lib/tmpfiles.d/pptp.conf + install -Dpm 0644 /builddir/build/SOURCES/modules-load.conf /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/lib/modules-load.d/pptp.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/pptp-1.8.0-9.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: pptp-1.8.0-9.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XYt8L4 + umask 022 + cd /builddir/build/BUILD + cd pptp-1.8.0 + DOCDIR=/builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr AUTHORS /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr COPYING /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr DEVELOPERS /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr NEWS /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr README /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr TODO /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr USING /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr ChangeLog /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr Documentation/DESIGN.PPTP /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + cp -pr PROTOCOL-SECURITY /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64/usr/share/doc/pptp + exit 0 Provides: config(pptp) = 1.8.0-9.fc28 pptp = 1.8.0-9.fc28 pptp(riscv-64) = 1.8.0-9.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) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: pptp-setup-1.8.0-9.fc28.riscv64 Provides: pptp-setup = 1.8.0-9.fc28 pptp-setup(riscv-64) = 1.8.0-9.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(Getopt::Long) perl(strict) perl(vars) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pptp-1.8.0-9.fc28.riscv64 Wrote: /builddir/build/SRPMS/pptp-1.8.0-9.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pptp-1.8.0-9.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/pptp-setup-1.8.0-9.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qKQqnI + umask 022 + cd /builddir/build/BUILD + cd pptp-1.8.0 + rm -rf /builddir/build/BUILDROOT/pptp-1.8.0-9.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