Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/vpnc.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.b0A2j4:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b6bd792488814630bd1f784a1b15fdd3', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.b0A2j4:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/vpnc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/vpnc-0.5.3-22.svn457.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/vpnc.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.b0A2j4:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4287b9a8c0144e448dd219577e7f2d75', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.b0A2j4:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/vpnc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BEzs0G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vpnc-0.5.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/vpnc-0.5.3.svn457.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd vpnc-0.5.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (vpnc-0.5.1-dpd.patch):' Patch #1 (vpnc-0.5.1-dpd.patch): + /usr/bin/cat /builddir/build/SOURCES/vpnc-0.5.1-dpd.patch + /usr/bin/patch -p1 -b --suffix .dpd --fuzz=0 patching file vpnc.c Hunk #1 succeeded at 764 (offset 83 lines). Hunk #2 succeeded at 778 (offset 83 lines). patching file tunip.c Hunk #1 succeeded at 869 (offset 4 lines). Hunk #2 succeeded at 929 (offset 4 lines). patching file config.c Hunk #1 succeeded at 148 (offset -94 lines). + echo 'Patch #2 (vpnc-0.5.3-use-autodie.patch):' Patch #2 (vpnc-0.5.3-use-autodie.patch): + /usr/bin/cat /builddir/build/SOURCES/vpnc-0.5.3-use-autodie.patch + /usr/bin/patch -p1 -b --suffix .autodie --fuzz=0 patching file makeman.pl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MjdIkW + umask 022 + cd /builddir/build/BUILD + cd vpnc-0.5.3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE' + LDFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -pie' + make PREFIX=/usr LC_ALL=C perl -w ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h gcc -MM sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c decrypt-utils.c crypto.c crypto-gnutls.c vpnc.c cisco-decrypt.c test-crypto.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" > .depend gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o sysdep.o sysdep.c BUILDSTDERR: sysdep.c: In function 'tun_close': BUILDSTDERR: sysdep.c:517:29: warning: parameter 'dev' set but not used [-Wunused-but-set-parameter] BUILDSTDERR: int tun_close(int fd, char *dev) BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o vpnc-debug.o vpnc-debug.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o isakmp-pkt.o isakmp-pkt.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o tunip.o tunip.c BUILDSTDERR: tunip.c: In function 'encap_esp_recv_peer': BUILDSTDERR: tunip.c:493:27: warning: variable 'eh' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct esp_encap_header *eh; BUILDSTDERR: ^ BUILDSTDERR: tunip.c: In function 'process_non_ip': BUILDSTDERR: tunip.c:654:44: warning: parameter 's' set but not used [-Wunused-but-set-parameter] BUILDSTDERR: static int process_non_ip(struct sa_block *s, uint8_t *frame) BUILDSTDERR: ^ BUILDSTDERR: tunip.c: In function 'vpnc_doit': BUILDSTDERR: tunip.c:1043:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chdir("/"); BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o config.o config.c BUILDSTDERR: config.c: In function 'do_config': BUILDSTDERR: config.c:786:11: warning: ignoring return value of 'getline', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: getline(&s, &s_len, stdin); BUILDSTDERR: ^ BUILDSTDERR: config.c: In function 'config_def_app_version': BUILDSTDERR: config.c:170:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&version, "Cisco Systems VPN Client %s:%s", VERSION, uts.sysname); BUILDSTDERR: ^ BUILDSTDERR: config.c: In function 'get_config_filename': BUILDSTDERR: config.c:459:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "/etc/vpnc/", name, add_dot_conf ? ".conf" : ""); BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o dh.o dh.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o math_group.o math_group.c BUILDSTDERR: math_group.c: In function 'modp_getraw': BUILDSTDERR: math_group.c:243:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int ret; BUILDSTDERR: ^ BUILDSTDERR: math_group.c: In function 'modp_setraw': BUILDSTDERR: math_group.c:259:38: warning: parameter 'grp' set but not used [-Wunused-but-set-parameter] BUILDSTDERR: static int modp_setraw(struct group *grp, gcry_mpi_t d, unsigned char *s, int l) BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o supp.o supp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o decrypt-utils.o decrypt-utils.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o crypto.o crypto.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o crypto-gnutls.o crypto-gnutls.c BUILDSTDERR: crypto-gnutls.c: In function 'crypto_read_cert': BUILDSTDERR: crypto-gnutls.c:80:2: warning: 'gnutls_datum' is deprecated (declared at /usr/include/gnutls/gnutls.h:771) [-Wdeprecated-declarations] BUILDSTDERR: gnutls_datum dt; BUILDSTDERR: ^ BUILDSTDERR: crypto-gnutls.c: In function 'crypto_push_cert': BUILDSTDERR: crypto-gnutls.c:124:2: warning: 'gnutls_datum' is deprecated (declared at /usr/include/gnutls/gnutls.h:771) [-Wdeprecated-declarations] BUILDSTDERR: gnutls_datum dt; BUILDSTDERR: ^ BUILDSTDERR: crypto-gnutls.c: In function 'load_one_ca_file': BUILDSTDERR: crypto-gnutls.c:228:2: warning: 'gnutls_datum' is deprecated (declared at /usr/include/gnutls/gnutls.h:771) [-Wdeprecated-declarations] BUILDSTDERR: gnutls_datum dt; BUILDSTDERR: ^ BUILDSTDERR: crypto-gnutls.c: In function 'load_ca_list_file': BUILDSTDERR: crypto-gnutls.c:269:2: warning: 'gnutls_datum' is deprecated (declared at /usr/include/gnutls/gnutls.h:771) [-Wdeprecated-declarations] BUILDSTDERR: gnutls_datum dt = { NULL, 0 }; BUILDSTDERR: ^ BUILDSTDERR: crypto-gnutls.c:268:35: warning: variable 'old' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gnutls_x509_crt_t *list = NULL, *old; BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o vpnc.o vpnc.c BUILDSTDERR: vpnc.c: In function 'do_phase1_am_packet2': BUILDSTDERR: vpnc.c:1832:38: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] BUILDSTDERR: memset(dh_shared_secret, 0, sizeof(dh_shared_secret)); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1316:7: warning: variable 'seen_natt_vid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int seen_natt_vid = 0, seen_natd = 0, seen_natd_them = 0, seen_natd_us = 0; BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1311:20: warning: variable 'seen_xauth_vid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int seen_sa = 0, seen_xauth_vid = 0; BUILDSTDERR: ^ BUILDSTDERR: vpnc.c: In function 'close_tunnel': BUILDSTDERR: vpnc.c:364:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system(config[CONFIG_SCRIPT]); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c: In function 'setup_tunnel': BUILDSTDERR: vpnc.c:330:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system(config[CONFIG_SCRIPT]); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c: In function 'do_phase2_xauth': BUILDSTDERR: vpnc.c:2261:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&prompt, "%s for VPN %s@%s: ", BUILDSTDERR: ^ BUILDSTDERR: vpnc.c: In function 'do_config_to_env': BUILDSTDERR: vpnc.c:938:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf, "%d", mask_to_masklen(*((struct in_addr *)a->u.lots.data))); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1015:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf, "%d", a->u.acl.count); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1023:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf, "CISCO_SPLIT_INC_%d_ADDR", i); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1024:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf2, "%s", inet_ntoa(a->u.acl.acl_ent[i].addr)); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1029:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf, "CISCO_SPLIT_INC_%d_MASK", i); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1030:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf2, "%s", inet_ntoa(a->u.acl.acl_ent[i].mask)); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1036:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf, "CISCO_SPLIT_INC_%d_MASKLEN", i); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1037:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf2, "%d", mask_to_masklen(a->u.acl.acl_ent[i].mask)); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1042:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf, "CISCO_SPLIT_INC_%d_PROTOCOL", i); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1043:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf2, "%hu", a->u.acl.acl_ent[i].protocol); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1048:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf, "CISCO_SPLIT_INC_%d_SPORT", i); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1049:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf2, "%hu", a->u.acl.acl_ent[i].sport); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1054:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf, "CISCO_SPLIT_INC_%d_DPORT", i); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c:1055:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf(&strbuf2, "%hu", a->u.acl.acl_ent[i].dport); BUILDSTDERR: ^ BUILDSTDERR: vpnc.c: In function 'config_tunnel': BUILDSTDERR: vpnc.c:358:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system(config[CONFIG_SCRIPT]); BUILDSTDERR: ^ gcc -o vpnc sysdep.o vpnc-debug.o isakmp-pkt.o tunip.o config.o dh.o math_group.o supp.o decrypt-utils.o crypto.o crypto-gnutls.o vpnc.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -pie -lgcrypt -ldl -lgpg-error -lgnutls gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o cisco-decrypt.o cisco-decrypt.c gcc -o cisco-decrypt cisco-decrypt.o decrypt-utils.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -pie -lgcrypt -ldl -lgpg-error -lgnutls gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIE -W -Wall -Wmissing-declarations -Wwrite-strings -I/usr/include/p11-kit-1 -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o test-crypto.o test-crypto.c gcc -o test-crypto sysdep.o test-crypto.o crypto.o crypto-gnutls.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -pie -lgcrypt -ldl -lgpg-error -lgnutls ./makeman.pl sed -e 's,@''PREFIX''@,/usr,g' vpnc-script.in > vpnc-script && chmod 755 vpnc-script + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O44V2q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386 + cd vpnc-0.5.3 + make install DESTDIR=/builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386 PREFIX=/usr install -d /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/vpnc /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/bin /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/sbin /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/man/man1 /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/man/man8 /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/doc/vpnc if [ "`uname -s | cut -c-6`" = "CYGWIN" ]; then \ install vpnc-script-win /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/vpnc/vpnc-script; \ install vpnc-script-win.js /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/vpnc; \ else \ install vpnc-script /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/vpnc; \ fi install -m600 vpnc.conf /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/vpnc/default.conf install -m755 vpnc-disconnect /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/sbin install -m755 pcf2vpnc /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/bin install -m644 vpnc.8 /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/man/man8 install -m644 pcf2vpnc.1 /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/man/man1 install -m644 cisco-decrypt.1 /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/man/man1 install -m644 COPYING /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/doc/vpnc install -m755 vpnc /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/sbin install -m755 cisco-decrypt /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/bin + rm -f /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/bin/pcf2vpnc + chmod 0644 pcf2vpnc + rm -f /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/man/man1/pcf2vpnc.1 + chmod 0644 /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/man/man8/vpnc.8 + install -m 0600 /builddir/build/SOURCES/generic-vpnc.conf /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/vpnc/default.conf + install -Dp -m 0644 /builddir/build/SOURCES/vpnc.consolehelper /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/security/console.apps/vpnc + install -Dp -m 0644 /builddir/build/SOURCES/vpnc-disconnect.consolehelper /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/security/console.apps/vpnc-disconnect + install -Dp -m 0644 /builddir/build/SOURCES/vpnc.pam /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/pam.d/vpnc + install -Dp -m 0644 /builddir/build/SOURCES/vpnc.pam /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/pam.d/vpnc-disconnect + install -m 0755 /builddir/build/SOURCES/vpnc-helper /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/sbin/vpnc-helper + install -m 0755 /builddir/build/SOURCES/vpnc-script /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/vpnc/vpnc-script + mkdir -p /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/bin + ln -sf consolehelper /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/bin/vpnc + ln -sf consolehelper /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/bin/vpnc-disconnect + rm -f /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/doc/vpnc/COPYING + mkdir -p /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/tmpfiles.d + install -m 0644 /builddir/build/SOURCES/vpnc-tmpfiles.conf /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/etc/tmpfiles.d/vpnc.conf + mkdir -p /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/var/run/ + install -d -m 0755 /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/var/run/vpnc/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/vpnc-0.5.3 extracting debug info from /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/bin/cisco-decrypt extracting debug info from /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/sbin/vpnc /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 600 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: vpnc-0.5.3-22.svn457.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6WIWDY + umask 022 + cd /builddir/build/BUILD + cd vpnc-0.5.3 + DOCDIR=/builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/doc/vpnc-0.5.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/doc/vpnc-0.5.3 + cp -pr README /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/doc/vpnc-0.5.3 + cp -pr COPYING /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/doc/vpnc-0.5.3 + cp -pr pcf2vpnc /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/doc/vpnc-0.5.3 + cp -pr pcf2vpnc.1 /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386/usr/share/doc/vpnc-0.5.3 + exit 0 Provides: config(vpnc) = 0.5.3-22.svn457.el7 vpnc = 0.5.3-22.svn457.el7 vpnc(x86-32) = 0.5.3-22.svn457.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.8) libdl.so.2 libgcrypt.so.11 libgcrypt.so.11(GCRYPT_1.2) libgnutls.so.28 libgnutls.so.28(GNUTLS_1_4) libgpg-error.so.0 rtld(GNU_HASH) Processing files: vpnc-consoleuser-0.5.3-22.svn457.el7.i686 Provides: config(vpnc-consoleuser) = 0.5.3-22.svn457.el7 vpnc-consoleuser = 0.5.3-22.svn457.el7 vpnc-consoleuser(x86-32) = 0.5.3-22.svn457.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Processing files: vpnc-script-0.5.3-22.svn457.el7.noarch Provides: config(vpnc-script) = 0.5.3-22.svn457.el7 vpnc-script = 0.5.3-22.svn457.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Processing files: vpnc-debuginfo-0.5.3-22.svn457.el7.i686 Provides: vpnc-debuginfo = 0.5.3-22.svn457.el7 vpnc-debuginfo(x86-32) = 0.5.3-22.svn457.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386 Wrote: /builddir/build/RPMS/vpnc-0.5.3-22.svn457.el7.i686.rpm Wrote: /builddir/build/RPMS/vpnc-consoleuser-0.5.3-22.svn457.el7.i686.rpm Wrote: /builddir/build/RPMS/vpnc-script-0.5.3-22.svn457.el7.noarch.rpm Wrote: /builddir/build/RPMS/vpnc-debuginfo-0.5.3-22.svn457.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3wzgYJ + umask 022 + cd /builddir/build/BUILD + cd vpnc-0.5.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/vpnc-0.5.3-22.svn457.el7.i386 + exit 0 Child return code was: 0