+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xl2tpd.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.TmgRma + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xl2tpd-5619e1771048e74b729804e8602f409af0f3faea + /usr/bin/gzip -dc /builddir/build/SOURCES/xl2tpd-5619e1771048e74b729804e8602f409af0f3faea.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xl2tpd-5619e1771048e74b729804e8602f409af0f3faea + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (xl2tpd-1.3.6-conf.patch):' Patch #1 (xl2tpd-1.3.6-conf.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file examples/ppp-options.xl2tpd patching file examples/README + echo 'Patch #2 (xl2tpd-1.3.6-md5-fips.patch):' Patch #2 (xl2tpd-1.3.6-md5-fips.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file aaa.c patching file aaa.h patching file Makefile patching file md5.c patching file md5.h patching file xl2tpd.c + echo 'Patch #3 (xl2tpd-1.3.6-saref.patch):' Patch #3 (xl2tpd-1.3.6-saref.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file file.c patching file network.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.K0VwgO + umask 022 + cd /builddir/build/BUILD + cd xl2tpd-5619e1771048e74b729804e8602f409af0f3faea + export 'CFLAGS= -fPIC -Wall -DTRUST_PPPD_TO_DIE' + CFLAGS=' -fPIC -Wall -DTRUST_PPPD_TO_DIE' + export 'DFLAGS=-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 -g ' + DFLAGS='-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 -g ' + export 'LDFLAGS= -pie -Wl,-z,relro -Wl,-z,now' + LDFLAGS=' -pie -Wl,-z,relro -Wl,-z,now' + make cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o xl2tpd.o xl2tpd.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from xl2tpd.c:23: /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" ^~~~~~~ xl2tpd.c: In function 'child_handler': xl2tpd.c:253:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!kernel_support) ^~ xl2tpd.c:256:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' c->fd = -1; ^ In file included from l2tp.h:31:0, from xl2tpd.c:53: xl2tpd.c: At top level: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o pty.o pty.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from pty.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 l2tp.h:31:0, from pty.c:28: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o misc.o misc.c cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o control.o control.c control.c:1574:26: warning: 'wbuf' is static but declared in inline function 'write_packet' which is not static static unsigned char wbuf[MAX_RECV_SIZE]; ^~~~ In file included from l2tp.h:31:0, from control.c:23: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o avp.o avp.c In file included from l2tp.h:31:0, from avp.c:19: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o call.o call.c In file included from l2tp.h:31:0, from call.c:27: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o network.o network.c In file included from l2tp.h:31:0, from network.c:29: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o avpsend.o avpsend.c In file included from l2tp.h:31:0, from avpsend.c:19: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o scheduler.o scheduler.c In file included from l2tp.h:31:0, from scheduler.c:18: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o file.o file.c In file included from l2tp.h:31:0, from file.c:26: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o aaa.o aaa.c In file included from l2tp.h:31:0, from aaa.c:22: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -pie -Wl,-z,relro -Wl,-z,now -o xl2tpd xl2tpd.o pty.o misc.o control.o avp.o call.o network.o avpsend.o scheduler.o file.o aaa.o -lcrypto cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c contrib/pfc.c cc -pie -Wl,-z,relro -Wl,-z,now -o pfc pfc.o -lpcap cc -fPIC -Wall -DTRUST_PPPD_TO_DIE -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 -g -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -pie -Wl,-z,relro -Wl,-z,now xl2tpd-control.c -o xl2tpd-control In file included from l2tp.h:31:0, from xl2tpd-control.c:22: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7F4U7n + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64 + cd xl2tpd-5619e1771048e74b729804e8602f409af0f3faea + rm -rf /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64 PREFIX=/usr install install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/sbin install -m 0755 xl2tpd /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/sbin/xl2tpd install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/man/man5 install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/man/man8 install -m 0644 doc/xl2tpd.8 /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/man/man8/ install -m 0644 doc/xl2tpd.conf.5 doc/l2tp-secrets.5 \ /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/man/man5/ # pfc install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/bin install -m 0755 pfc /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/bin/pfc install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/man/man1 install -m 0644 contrib/pfc.1 /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/man/man1/ # control exec install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/sbin install -m 0755 xl2tpd-control /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/sbin/xl2tpd-control + install -d 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/lib/systemd/system + install -m 0644 /builddir/build/SOURCES/xl2tpd.service /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/lib/systemd/system/xl2tpd.service + mkdir -p /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/lib/tmpfiles.d/ + install -m 0644 /builddir/build/SOURCES/tmpfiles-xl2tpd.conf /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/lib/tmpfiles.d/xl2tpd.conf + install -p -D -m644 examples/xl2tpd.conf /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/etc/xl2tpd/xl2tpd.conf + install -p -D -m644 examples/ppp-options.xl2tpd /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/etc/ppp/options.xl2tpd + install -p -D -m600 doc/l2tp-secrets.sample /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/etc/xl2tpd/l2tp-secrets + install -p -D -m600 examples/chapsecrets.sample /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/etc/ppp/chap-secrets.sample + install -p -D -m755 -d /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/var/run/xl2tpd + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.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: xl2tpd-1.3.6-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JjHGFx + umask 022 + cd /builddir/build/BUILD + cd xl2tpd-5619e1771048e74b729804e8602f409af0f3faea + DOCDIR=/builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + cp -pr BUGS /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + cp -pr CHANGES /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + cp -pr CREDITS /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + cp -pr LICENSE /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + cp -pr README.xl2tpd /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + cp -pr TODO /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + cp -pr doc/rfc2661.txt /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + cp -pr doc/README.patents /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + cp -pr examples/chapsecrets.sample /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64/usr/share/doc/xl2tpd + exit 0 Provides: config(xl2tpd) = 1.3.6-10.fc28 xl2tpd = 1.3.6-10.fc28 xl2tpd(riscv-64) = 1.3.6-10.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(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) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.fc28.riscv64 Wrote: /builddir/build/SRPMS/xl2tpd-1.3.6-10.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xl2tpd-1.3.6-10.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.P9hzq1 + umask 022 + cd /builddir/build/BUILD + cd xl2tpd-5619e1771048e74b729804e8602f409af0f3faea + /usr/bin/rm -rf /builddir/build/BUILDROOT/xl2tpd-1.3.6-10.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