Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/pptp.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-139475-51778/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/pptp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/pptp-1.10.0-4.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/pptp.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-139475-51778/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/pptp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IhEzVM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pptp-1.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pptp-1.10.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pptp-1.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.Yhl33V + umask 022 + cd /builddir/build/BUILD + cd pptp-1.10.0 + OUR_CFLAGS='-Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes' + make -j4 'CFLAGS=-Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' IP=/sbin/ip ( \ echo "/* text added by Makefile target config.h */"; \ echo "#define PPTP_LINUX_VERSION \"1.10.0\""; \ echo "#define PPPD_BINARY \"/usr/sbin/pppd\""; \ echo "#define IP_BINARY \"/sbin/ip\"" \ ) > config.h gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_gre.o pptp_gre.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o ppp_fcs.o ppp_fcs.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_ctrl.o pptp_ctrl.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o dirutil.o dirutil.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o vector.o vector.c pptp_ctrl.c:329:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] int randci () ^~~~~~ gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o util.o util.c util.c: In function '_log': util.c:29:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 245 [-Wformat-truncation=] snprintf(string, sizeof(string), "%s %s[%s:%s:%d]: %s", \ ^~~~~~~~~~~~~~~~~~~~~ log_string, label, func, file, line, buf); \ ~~~ util.c:47:5: note: in expansion of macro 'MAKE_STRING' MAKE_STRING("log"); ^~~~~~~~~~~ util.c:29:1: note: 'snprintf' output 12 or more bytes (assuming 267) into a destination of size 256 snprintf(string, sizeof(string), "%s %s[%s:%s:%d]: %s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_string, label, func, file, line, buf); \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:47:5: note: in expansion of macro 'MAKE_STRING' MAKE_STRING("log"); ^~~~~~~~~~~ util.c: In function '_warn': util.c:29:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 244 [-Wformat-truncation=] snprintf(string, sizeof(string), "%s %s[%s:%s:%d]: %s", \ ^~~~~~~~~~~~~~~~~~~~~ log_string, label, func, file, line, buf); \ ~~~ util.c:54:5: note: in expansion of macro 'MAKE_STRING' MAKE_STRING("warn"); ^~~~~~~~~~~ util.c:29:1: note: 'snprintf' output 13 or more bytes (assuming 268) into a destination of size 256 snprintf(string, sizeof(string), "%s %s[%s:%s:%d]: %s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_string, label, func, file, line, buf); \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:54:5: note: in expansion of macro 'MAKE_STRING' MAKE_STRING("warn"); ^~~~~~~~~~~ util.c: In function '_fatal': util.c:29:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 243 [-Wformat-truncation=] snprintf(string, sizeof(string), "%s %s[%s:%s:%d]: %s", \ ^~~~~~~~~~~~~~~~~~~~~ log_string, label, func, file, line, buf); \ ~~~ util.c:62:5: note: in expansion of macro 'MAKE_STRING' MAKE_STRING("fatal"); ^~~~~~~~~~~ util.c:29:1: note: 'snprintf' output 14 or more bytes (assuming 269) into a destination of size 256 snprintf(string, sizeof(string), "%s %s[%s:%s:%d]: %s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_string, label, func, file, line, buf); \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:62:5: note: in expansion of macro 'MAKE_STRING' MAKE_STRING("fatal"); ^~~~~~~~~~~ gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o version.o version.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o test-redirections.o test-redirections.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_quirks.o pptp_quirks.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o orckit_quirks.o orckit_quirks.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pqueue.o pqueue.c pptp_ctrl.c: In function 'pptp_call_open': pptp_ctrl.c:393:9: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy((char *)packet.phone_num, phonenr, sizeof(packet.phone_num)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_callmgr.o pptp_callmgr.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o routing.o routing.c gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp_compat.o pptp_compat.c pod2man --section=8 pptpsetup > pptpsetup.8 gcc -Wall -O2 -g -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes -c -o pptp.o pptp.c pptp.c: In function 'open_callmgr': pptp.c:520:21: warning: this statement may fall through [-Wimplicit-fallthrough=] launch_callmgr(inetaddr, phonenr, argc, argv, envp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pptp.c:522:17: note: here default: /* parent */ ^~~~~~~ gcc -o pptp pptp.o pptp_gre.o ppp_fcs.o pptp_ctrl.o dirutil.o vector.o util.o version.o test-redirections.o pptp_quirks.o orckit_quirks.o pqueue.o pptp_callmgr.o routing.o pptp_compat.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lutil + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oytPAZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64 + cd pptp-1.10.0 + rm -rf /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64 + make DESTDIR=/builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64 install mkdir -p /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/sbin install -m 755 pptp /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/sbin install -m 755 pptpsetup /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/sbin mkdir -p /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/man/man8 install -m 644 pptp.8 /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/man/man8 install -m 644 pptpsetup.8 /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/man/man8 mkdir -p /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/etc/ppp install -m 644 options.pptp /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/etc/ppp + install -d -m 750 /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/var/run/pptp + install -d -m 755 /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/lib/tmpfiles.d + install -p -m 644 /builddir/build/SOURCES/pptp-tmpfs.conf /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/lib/tmpfiles.d/pptp.conf + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.10.0-4.0.1.an8 --unique-debug-suffix -1.10.0-4.0.1.an8.loongarch64 --unique-debug-src-base pptp-1.10.0-4.0.1.an8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pptp-1.10.0 extracting debug info from /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/sbin/pptp /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 322 blocks + /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.10.0-4.0.1.an8.loongarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pptp-1.10.0-4.0.1.an8.loongarch64 Provides: /usr/sbin/pptp config(pptp) = 1.10.0-4.0.1.an8 pptp = 1.10.0-4.0.1.an8 pptp(loongarch-64) = 1.10.0-4.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) Processing files: pptp-setup-1.10.0-4.0.1.an8.loongarch64 Provides: pptp-setup = 1.10.0-4.0.1.an8 pptp-setup(loongarch-64) = 1.10.0-4.0.1.an8 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) Processing files: pptp-doc-1.10.0-4.0.1.an8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Hi55XS + umask 022 + cd /builddir/build/BUILD + cd pptp-1.10.0 + DOCDIR=/builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr AUTHORS /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr COPYING /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr DEVELOPERS /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr NEWS /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr README /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr TODO /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr USING /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr ChangeLog /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr Documentation/DESIGN.PPTP /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + cp -pr PROTOCOL-SECURITY /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64/usr/share/doc/pptp-doc + exit 0 Provides: pptp-doc = 1.10.0-4.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pptp-debugsource-1.10.0-4.0.1.an8.loongarch64 Provides: pptp-debugsource = 1.10.0-4.0.1.an8 pptp-debugsource(loongarch-64) = 1.10.0-4.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pptp-debuginfo-1.10.0-4.0.1.an8.loongarch64 Provides: debuginfo(build-id) = 68c52aba156c10361e5ede3d00debb46dbc02a0c pptp-debuginfo = 1.10.0-4.0.1.an8 pptp-debuginfo(loongarch-64) = 1.10.0-4.0.1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pptp-debugsource(loongarch-64) = 1.10.0-4.0.1.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64 Wrote: /builddir/build/RPMS/pptp-1.10.0-4.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/pptp-setup-1.10.0-4.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/pptp-doc-1.10.0-4.0.1.an8.noarch.rpm Wrote: /builddir/build/RPMS/pptp-debugsource-1.10.0-4.0.1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/pptp-debuginfo-1.10.0-4.0.1.an8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2bFn65 + umask 022 + cd /builddir/build/BUILD + cd pptp-1.10.0 + rm -rf /builddir/build/BUILDROOT/pptp-1.10.0-4.0.1.an8.loongarch64 + exit 0 Child return code was: 0