Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xl2tpd.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-99973-60540/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xl2tpd.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/xl2tpd-1.3.17-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/xl2tpd.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-99973-60540/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/xl2tpd.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 warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OxIp6i + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xl2tpd-1.3.17 + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/xl2tpd-1.3.17.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/xl2tpd-1.3.17.tar.gz' | /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/ -rw-rw-r-- root/root 50 2022-01-21 03:45 xl2tpd-1.3.17/.gitignore -rw-rw-r-- root/root 634 2022-01-21 03:45 xl2tpd-1.3.17/.travis.yml -rw-rw-r-- root/root 75 2022-01-21 03:45 xl2tpd-1.3.17/BUGS -rw-rw-r-- root/root 24447 2022-01-21 03:45 xl2tpd-1.3.17/CHANGES -rw-rw-r-- root/root 1212 2022-01-21 03:45 xl2tpd-1.3.17/COMPATIBILITY_ISSUES -rw-rw-r-- root/root 1860 2022-01-21 03:45 xl2tpd-1.3.17/CONTRIBUTION.md -rw-rw-r-- root/root 1942 2022-01-21 03:45 xl2tpd-1.3.17/CREDITS -rw-rw-r-- root/root 18092 2022-01-21 03:45 xl2tpd-1.3.17/LICENSE -rw-rw-r-- root/root 5561 2022-01-21 03:45 xl2tpd-1.3.17/Makefile -rw-rw-r-- root/root 21 2022-01-21 03:45 xl2tpd-1.3.17/Makefile.ver -rw-rw-r-- root/root 1858 2022-01-21 03:45 xl2tpd-1.3.17/README.md -rw-rw-r-- root/root 1228 2022-01-21 03:45 xl2tpd-1.3.17/TODO -rw-rw-r-- root/root 15088 2022-01-21 03:45 xl2tpd-1.3.17/aaa.c -rw-rw-r-- root/root 1532 2022-01-21 03:45 xl2tpd-1.3.17/aaa.h -rw-rw-r-- root/root 52153 2022-01-21 03:45 xl2tpd-1.3.17/avp.c -rw-rw-r-- root/root 6018 2022-01-21 03:45 xl2tpd-1.3.17/avp.h -rw-rw-r-- root/root 8342 2022-01-21 03:45 xl2tpd-1.3.17/avpsend.c -rw-rw-r-- root/root 19114 2022-01-21 03:45 xl2tpd-1.3.17/call.c -rw-rw-r-- root/root 5047 2022-01-21 03:45 xl2tpd-1.3.17/call.h -rw-rw-r-- root/root 450 2022-01-21 03:45 xl2tpd-1.3.17/common.h drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/contrib/ -rw-rw-r-- root/root 2185 2022-01-21 03:45 xl2tpd-1.3.17/contrib/pfc.1 -rw-rw-r-- root/root 447 2022-01-21 03:45 xl2tpd-1.3.17/contrib/pfc.README -rw-rw-r-- root/root 1254 2022-01-21 03:45 xl2tpd-1.3.17/contrib/pfc.c -rw-rw-r-- root/root 177 2022-01-21 03:45 xl2tpd-1.3.17/contrib/pppol2tp-2.6.23.README -rw-rw-r-- root/root 89251 2022-01-21 03:45 xl2tpd-1.3.17/contrib/pppol2tp-linux-2.4.27.patch -rw-rw-r-- root/root 87 2022-01-21 03:45 xl2tpd-1.3.17/contrib/pppol2tp-linux-2.4.27.patch.README drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/contrib/system_tray/ -rw-rw-r-- root/root 1052 2022-01-21 03:45 xl2tpd-1.3.17/contrib/system_tray/REAME.txt -rw-rw-r-- root/root 2522 2022-01-21 03:45 xl2tpd-1.3.17/contrib/system_tray/connect.png -rw-rw-r-- root/root 2442 2022-01-21 03:45 xl2tpd-1.3.17/contrib/system_tray/disconnect.png -rw-rw-r-- root/root 4504 2022-01-21 03:45 xl2tpd-1.3.17/contrib/system_tray/main.cpp -rw-rw-r-- root/root 1047 2022-01-21 03:45 xl2tpd-1.3.17/contrib/system_tray/offline.png -rw-rw-r-- root/root 857 2022-01-21 03:45 xl2tpd-1.3.17/contrib/system_tray/online.png -rw-rw-r-- root/root 62735 2022-01-21 03:45 xl2tpd-1.3.17/control.c -rw-rw-r-- root/root 2282 2022-01-21 03:45 xl2tpd-1.3.17/control.h drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/debian/ -rw-rw-r-- root/root 8009 2022-01-21 03:45 xl2tpd-1.3.17/debian/changelog -rw-rw-r-- root/root 887 2022-01-21 03:45 xl2tpd-1.3.17/debian/control -rw-rw-r-- root/root 652 2022-01-21 03:45 xl2tpd-1.3.17/debian/copyright -rw-rw-r-- root/root 137 2022-01-21 03:45 xl2tpd-1.3.17/debian/lintian-overrides drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/debian/patches/ -rw-rw-r-- root/root 2 2022-01-21 03:45 xl2tpd-1.3.17/debian/patches/series -rwxrwxr-x root/root 784 2022-01-21 03:45 xl2tpd-1.3.17/debian/repack.sh -rwxrwxr-x root/root 2232 2022-01-21 03:45 xl2tpd-1.3.17/debian/rules drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/debian/source/ -rw-rw-r-- root/root 12 2022-01-21 03:45 xl2tpd-1.3.17/debian/source/format -rw-rw-r-- root/root 27 2022-01-21 03:45 xl2tpd-1.3.17/debian/source/options -rw-rw-r-- root/root 142 2022-01-21 03:45 xl2tpd-1.3.17/debian/watch -rw-rw-r-- root/root 307 2022-01-21 03:45 xl2tpd-1.3.17/debian/xl2tpd.default -rw-rw-r-- root/root 48 2022-01-21 03:45 xl2tpd-1.3.17/debian/xl2tpd.dirs -rw-rw-r-- root/root 68 2022-01-21 03:45 xl2tpd-1.3.17/debian/xl2tpd.docs -rw-rw-r-- root/root 11 2022-01-21 03:45 xl2tpd-1.3.17/debian/xl2tpd.examples -rw-rw-r-- root/root 1871 2022-01-21 03:45 xl2tpd-1.3.17/debian/xl2tpd.init -rw-rw-r-- root/root 958 2022-01-21 03:45 xl2tpd-1.3.17/debian/xl2tpd.postinst -rw-rw-r-- root/root 931 2022-01-21 03:45 xl2tpd-1.3.17/debian/xl2tpd.postrm -rw-rw-r-- root/root 878 2022-01-21 03:45 xl2tpd-1.3.17/debian/xl2tpd.prerm -rw-rw-r-- root/root 478 2022-01-21 03:45 xl2tpd-1.3.17/debian/xl2tpd.service drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/doc/ -rw-rw-r-- root/root 75 2022-01-21 03:45 xl2tpd-1.3.17/doc/README.passwordfd -rw-rw-r-- root/root 1866 2022-01-21 03:45 xl2tpd-1.3.17/doc/README.patents -rw-rw-r-- root/root 163587 2022-01-21 03:45 xl2tpd-1.3.17/doc/ipsecsaref.png -rw-rw-r-- root/root 1762 2022-01-21 03:45 xl2tpd-1.3.17/doc/l2tp-secrets.5 -rw-rw-r-- root/root 109 2022-01-21 03:45 xl2tpd-1.3.17/doc/l2tp-secrets.sample -rw-rw-r-- root/root 128819 2022-01-21 03:45 xl2tpd-1.3.17/doc/l2tp.png -rw-rw-r-- root/root 363421 2022-01-21 03:45 xl2tpd-1.3.17/doc/l2tp.svg -rw-rw-r-- root/root 2401 2022-01-21 03:45 xl2tpd-1.3.17/doc/l2tpd-RPM.README -rw-rw-r-- root/root 4159 2022-01-21 03:45 xl2tpd-1.3.17/doc/l2tpd.conf.sample -rw-rw-r-- root/root 5032 2022-01-21 03:45 xl2tpd-1.3.17/doc/origREADME -rw-rw-r-- root/root 3408 2022-01-21 03:45 xl2tpd-1.3.17/doc/xl2tpd-control.8 -rw-rw-r-- root/root 3399 2022-01-21 03:45 xl2tpd-1.3.17/doc/xl2tpd.8 -rw-rw-r-- root/root 8780 2022-01-21 03:45 xl2tpd-1.3.17/doc/xl2tpd.conf.5 drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/examples/ -rw-rw-r-- root/root 138 2022-01-21 03:45 xl2tpd-1.3.17/examples/README -rw-rw-r-- root/root 324 2022-01-21 03:45 xl2tpd-1.3.17/examples/chapsecrets.sample -rw-rw-r-- root/root 218 2022-01-21 03:45 xl2tpd-1.3.17/examples/ppp-options.xl2tpd -rw-rw-r-- root/root 588 2022-01-21 03:45 xl2tpd-1.3.17/examples/xl2tpd-L2TP-CERT-orgWIN2KXP.conf -rw-rw-r-- root/root 1082 2022-01-21 03:45 xl2tpd-1.3.17/examples/xl2tpd-L2TP-CERT.conf -rw-rw-r-- root/root 475 2022-01-21 03:45 xl2tpd-1.3.17/examples/xl2tpd-L2TP-PSK-orgWIN2KXP.conf -rw-rw-r-- root/root 944 2022-01-21 03:45 xl2tpd-1.3.17/examples/xl2tpd-L2TP-PSK.conf -rw-rw-r-- root/root 1400 2022-01-21 03:45 xl2tpd-1.3.17/examples/xl2tpd.conf -rw-rw-r-- root/root 43833 2022-01-21 03:45 xl2tpd-1.3.17/file.c -rw-rw-r-- root/root 7785 2022-01-21 03:45 xl2tpd-1.3.17/file.h -rw-rw-r-- root/root 322 2022-01-21 03:45 xl2tpd-1.3.17/ipsecmast.h -rw-rw-r-- root/root 9155 2022-01-21 03:45 xl2tpd-1.3.17/l2tp.h -rw-rw-r-- root/root 8724 2022-01-21 03:45 xl2tpd-1.3.17/md5.c -rw-rw-r-- root/root 620 2022-01-21 03:45 xl2tpd-1.3.17/md5.h -rw-rw-r-- root/root 7537 2022-01-21 03:45 xl2tpd-1.3.17/misc.c -rw-rw-r-- root/root 1784 2022-01-21 03:45 xl2tpd-1.3.17/misc.h -rw-rw-r-- root/root 23367 2022-01-21 03:45 xl2tpd-1.3.17/network.c -rw-rw-r-- root/root 1419 2022-01-21 03:45 xl2tpd-1.3.17/osport.h drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/packaging/ drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/packaging/fedora/ -rw-rw-r-- root/root 1884 2022-01-21 03:45 xl2tpd-1.3.17/packaging/fedora/xl2tpd.init -rw-rw-r-- root/root 12878 2022-01-21 03:45 xl2tpd-1.3.17/packaging/fedora/xl2tpd.spec drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/packaging/openwrt/ -rw-rw-r-- root/root 252 2022-01-21 03:45 xl2tpd-1.3.17/packaging/openwrt/Config.in -rw-rw-r-- root/root 1501 2022-01-21 03:45 xl2tpd-1.3.17/packaging/openwrt/Makefile -rw-rw-r-- root/root 493 2022-01-21 03:45 xl2tpd-1.3.17/packaging/openwrt/README drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/packaging/openwrt/ipkg/ -rw-rw-r-- root/root 48 2022-01-21 03:45 xl2tpd-1.3.17/packaging/openwrt/ipkg/xl2tpd.conffiles -rw-rw-r-- root/root 119 2022-01-21 03:45 xl2tpd-1.3.17/packaging/openwrt/ipkg/xl2tpd.control -rwxrwxr-x root/root 218 2022-01-21 03:45 xl2tpd-1.3.17/packaging/openwrt/xl2tpd.init drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/packaging/suse/ -rw-rw-r-- root/root 1131 2022-01-21 03:45 xl2tpd-1.3.17/packaging/suse/Makefile.patch -rw-rw-r-- root/root 161 2022-01-21 03:45 xl2tpd-1.3.17/packaging/suse/README -rw-rw-r-- root/root 12307 2022-01-21 03:45 xl2tpd-1.3.17/packaging/suse/sles10.spec -rw-rw-r-- root/root 17037 2022-01-21 03:45 xl2tpd-1.3.17/packaging/suse/xl2tpd.changes -rw-rw-r-- root/root 5393 2022-01-21 03:45 xl2tpd-1.3.17/packaging/suse/xl2tpd.init -rw-rw-r-- root/root 3034 2022-01-21 03:45 xl2tpd-1.3.17/packaging/suse/xl2tpd.init.patch -rw-rw-r-- root/root 5523 2022-01-21 03:45 xl2tpd-1.3.17/packaging/suse/xl2tpd.spec -rw-rw-r-- root/root 3248 2022-01-21 03:45 xl2tpd-1.3.17/pty.c -rw-rw-r-- root/root 3874 2022-01-21 03:45 xl2tpd-1.3.17/scheduler.c -rw-rw-r-- root/root 1848 2022-01-21 03:45 xl2tpd-1.3.17/scheduler.h drwxrwxr-x root/root 0 2022-01-21 03:45 xl2tpd-1.3.17/scripts/ -rw-rw-r-- root/root 4767 2022-01-21 03:45 xl2tpd-1.3.17/scripts/init.suse -rw-rw-r-- root/root 13609 2022-01-21 03:45 xl2tpd-1.3.17/xl2tpd-control.c -rw-rw-r-- root/root 54700 2022-01-21 03:45 xl2tpd-1.3.17/xl2tpd.c + STATUS=0 + '[' 0 -ne 0 ']' + cd xl2tpd-1.3.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (xl2tpd-1.3.14-conf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #1 (xl2tpd-1.3.14-conf.patch): patching file examples/ppp-options.xl2tpd Patch #2 (xl2tpd-1.3.14-md5-fips.patch): + echo 'Patch #2 (xl2tpd-1.3.14-md5-fips.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #3 (xl2tpd-1.3.14-kernelmode.patch): + echo 'Patch #3 (xl2tpd-1.3.14-kernelmode.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xl2tpd.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3QcQ8c + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xl2tpd-1.3.17 + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE' + export 'DFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g ' + DFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g ' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -pie -Wl,-z,relro -Wl,-z,now' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -pie -Wl,-z,relro -Wl,-z,now' + sed -i 's/crtscts/#obsolete: crtscts/' examples/ppp-options.xl2tpd + sed -i 's/lock/#obsolete: lock/' examples/ppp-options.xl2tpd + /usr/bin/make -O -j32 V=1 VERBOSE=1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o scheduler.o scheduler.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o pty.o pty.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c contrib/pfc.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -pie -Wl,-z,relro -Wl,-z,now -o pfc pfc.o -lpcap gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o avpsend.o avpsend.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o misc.o misc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o call.o call.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o aaa.o aaa.c aaa.c: In function 'handle_challenge': aaa.c:278:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 278 | MD5_Init (&chal->md5); | ^~~~~~~~ In file included from aaa.h:18, from l2tp.h:38, from aaa.c:22: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ aaa.c:279:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 279 | MD5_Update (&chal->md5, &chal->ss, 1); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:280:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 280 | MD5_Update (&chal->md5, chal->secret, strlen ((char *)chal->secret)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:281:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 281 | MD5_Update (&chal->md5, chal->challenge, chal->chal_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:282:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 282 | MD5_Final (chal->response, &chal->md5); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ aaa.c: In function 'encrypt_avp': aaa.c:397:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | MD5_Init (&t->chal_them.md5); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ aaa.c:398:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 398 | MD5_Update (&t->chal_them.md5, (void *) &attr, 2); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:399:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 399 | MD5_Update (&t->chal_them.md5, t->chal_them.secret, | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:401:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 401 | MD5_Update (&t->chal_them.md5, t->chal_them.vector, VECTOR_SIZE); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:402:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | MD5_Final (digest, &t->chal_them.md5); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ aaa.c:426:13: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 426 | MD5_Init (&t->chal_them.md5); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ aaa.c:427:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 427 | MD5_Update (&t->chal_them.md5, t->chal_them.secret, | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:429:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 429 | MD5_Update (&t->chal_them.md5, previous_segment, MD_SIG_SIZE); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:430:13: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 430 | MD5_Final (digest, &t->chal_them.md5); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ aaa.c: In function 'decrypt_avp': aaa.c:463:5: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 463 | MD5_Init (&t->chal_us.md5); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ aaa.c:464:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 464 | MD5_Update (&t->chal_us.md5, (void *) &attr, 2); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:465:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 465 | MD5_Update (&t->chal_us.md5, t->chal_us.secret, | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:467:5: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 467 | MD5_Update (&t->chal_us.md5, t->chal_us.vector, t->chal_us.vector_len); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:468:5: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 468 | MD5_Final (digest, &t->chal_us.md5); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ aaa.c:479:13: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 479 | MD5_Init (&t->chal_us.md5); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ aaa.c:480:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 480 | MD5_Update (&t->chal_us.md5, t->chal_us.secret, | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:482:13: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 482 | MD5_Update (&t->chal_us.md5, saved_segment, MD_SIG_SIZE); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ aaa.c:483:13: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 483 | MD5_Final (digest, &t->chal_us.md5); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o network.o network.c network.c: In function 'connect_pppol2tp': network.c:810:31: warning: converting a packed 'struct sockaddr_pppol2tp' pointer (alignment 1) to a 'const struct sockaddr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 810 | if ((connect(fd2, (struct sockaddr *)&sax, sizeof(sax))) < 0) { | ^~~~~~~~ In file included from l2tp.h:263, from network.c:29: /usr/include/linux/if_pppox.h:79:8: note: defined here 79 | struct sockaddr_pppol2tp { | ^~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -pie -Wl,-z,relro -Wl,-z,now xl2tpd-control.c -o xl2tpd-control gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o control.o control.c control.c: In function 'control_finish': control.c:253:24: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress] 253 | if (t->lac && t->lac->hostname && t->lac->hostname[0]) | ^~ In file included from l2tp.h:34, from control.c:23: file.h:122:10: note: 'hostname' declared here 122 | char hostname[STRLEN]; /* Hostname to report */ | ^~~~~~~~ control.c:255:29: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress] 255 | else if (t->lns && t->lns->hostname && t->lns->hostname[0]) | ^~ file.h:80:10: note: 'hostname' declared here 80 | char hostname[STRLEN]; /* Hostname to report */ | ^~~~~~~~ control.c:471:20: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress] 471 | if (t->lac && t->lac->hostname && t->lac->hostname[0]) | ^~ file.h:122:10: note: 'hostname' declared here 122 | char hostname[STRLEN]; /* Hostname to report */ | ^~~~~~~~ control.c:473:25: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress] 473 | else if (t->lns && t->lns->hostname && t->lns->hostname[0]) | ^~ file.h:80:10: note: 'hostname' declared here 80 | char hostname[STRLEN]; /* Hostname to report */ | ^~~~~~~~ control.c: In function 'expand_payload': control.c:1424:5: warning: converting a packed 'struct payload_hdr' pointer (alignment 1) to a '_u16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 1424 | _u16 *r = (_u16 *) h; /* Nice to have raw word pointers */ | ^~~~ l2tp.h:95:8: note: defined here 95 | struct payload_hdr | ^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o file.o file.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o avp.o avp.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -DTRUST_PPPD_TO_DIE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -Os -Wall -Wextra -DSANITY -DLINUX -I./linux/include/ -DUSE_KERNEL -DIP_ALLOCATION -c -o xl2tpd.o xl2tpd.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 In function 'strncat', inlined from 'getPtyMaster_ptmx' at pty.c:110:5, inlined from 'getPtyMaster' at pty.c:142:10, inlined from 'start_pppd.isra' at xl2tpd.c:463:22: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 512 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sZ5zc3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64 + cd xl2tpd-1.3.17 + make DESTDIR=/builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64 PREFIX=/usr install install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/sbin install -m 0755 xl2tpd /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/sbin/xl2tpd install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/man/man5 install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/man/man8 install -m 0644 doc/xl2tpd.8 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/man/man8/ install -m 0644 doc/xl2tpd-control.8 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/man/man8/ install -m 0644 doc/xl2tpd.conf.5 doc/l2tp-secrets.5 \ /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/man/man5/ # pfc install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/bin install -m 0755 pfc /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/bin/pfc install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/man/man1 install -m 0644 contrib/pfc.1 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/man/man1/ # control exec install -d -m 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/sbin install -m 0755 xl2tpd-control /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/sbin/xl2tpd-control + install -d 0755 /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/lib/systemd/system + install -m 0644 /builddir/build/SOURCES/xl2tpd.service /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/lib/systemd/system/xl2tpd.service + mkdir -p /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64//usr/lib/tmpfiles.d + install -m 0644 /builddir/build/SOURCES/tmpfiles-xl2tpd.conf /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64//usr/lib/tmpfiles.d/xl2tpd.conf + install -p -D -m644 examples/xl2tpd.conf /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/etc/xl2tpd/xl2tpd.conf + install -p -D -m644 examples/ppp-options.xl2tpd /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/etc/ppp/options.xl2tpd + install -p -D -m600 doc/l2tp-secrets.sample /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/etc/xl2tpd/l2tp-secrets + install -p -D -m600 examples/chapsecrets.sample /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/etc/ppp/chap-secrets.sample + install -p -D -m755 -d /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/run/xl2tpd + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.3.17-1.oc9 --unique-debug-suffix -1.3.17-1.oc9.x86_64 --unique-debug-src-base xl2tpd-1.3.17-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/xl2tpd-1.3.17 extracting debug info from /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/bin/pfc extracting debug info from /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/sbin/xl2tpd-control extracting debug info from /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/sbin/xl2tpd 675 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: xl2tpd-1.3.17-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.13X7vp + umask 022 + cd /builddir/build/BUILD + cd xl2tpd-1.3.17 + DOCDIR=/builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/doc/xl2tpd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/doc/xl2tpd + cp -pr BUGS /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/doc/xl2tpd + cp -pr CHANGES /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/doc/xl2tpd + cp -pr CREDITS /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/doc/xl2tpd + cp -pr README.md /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/doc/xl2tpd + cp -pr TODO /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/doc/xl2tpd + cp -pr doc/README.patents /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/doc/xl2tpd + cp -pr examples/chapsecrets.sample /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/doc/xl2tpd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fNavHi + umask 022 + cd /builddir/build/BUILD + cd xl2tpd-1.3.17 + LICENSEDIR=/builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/licenses/xl2tpd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/licenses/xl2tpd + cp -pr LICENSE /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64/usr/share/licenses/xl2tpd + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(xl2tpd) = 1.3.17-1.oc9 xl2tpd = 1.3.17-1.oc9 xl2tpd(x86-64) = 1.3.17-1.oc9 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.22)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Suggests: kernel-modules-extra Processing files: xl2tpd-debugsource-1.3.17-1.oc9.x86_64 Provides: xl2tpd-debugsource = 1.3.17-1.oc9 xl2tpd-debugsource(x86-64) = 1.3.17-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xl2tpd-debuginfo-1.3.17-1.oc9.x86_64 Provides: debuginfo(build-id) = 0ee8de3add04bf6b2415b688d5d274b096375ee2 debuginfo(build-id) = a35efc199931dd5afb573ecde4b59c6f1c58f695 debuginfo(build-id) = c3a8d2d70cfe59fa6842369ee6c6617b2207d883 xl2tpd-debuginfo = 1.3.17-1.oc9 xl2tpd-debuginfo(x86-64) = 1.3.17-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xl2tpd-debugsource(x86-64) = 1.3.17-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xl2tpd-1.3.17-1.oc9.x86_64 Wrote: /builddir/build/RPMS/xl2tpd-1.3.17-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/xl2tpd-debuginfo-1.3.17-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/xl2tpd-debugsource-1.3.17-1.oc9.x86_64.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0