* Package: net-vpn/vpnc-0.5.3_p550 * Repository: gentoo * Maintainer: lorand.jakab@schweiz.ch mmokrejs@gmail.com,proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc gnutls kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/4.12.1-gentoo/build * Found sources for kernel version: * 4.12.1-gentoo * Checking for suitable kernel configuration options... * CONFIG_TUN: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. >>> Unpacking source... >>> Unpacking vpnc-0.5.3_p550.tar.xz to /var/tmp/portage/net-vpn/vpnc-0.5.3_p550/work >>> Source unpacked in /var/tmp/portage/net-vpn/vpnc-0.5.3_p550/work >>> Preparing source in /var/tmp/portage/net-vpn/vpnc-0.5.3_p550/work/vpnc-0.5.3_p550 ... * Will build with GnuTLS (default) instead of OpenSSL so you may even redistribute binaries. * See the Makefile itself and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318 >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-vpn/vpnc-0.5.3_p550/work/vpnc-0.5.3_p550 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-vpn/vpnc-0.5.3_p550/work/vpnc-0.5.3_p550 ... make -j1 LC_ALL=C perl -w ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h x86_64-pc-linux-gnu-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 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" > .depend x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o sysdep.o sysdep.c sysdep.c: In function ‘tun_close’: sysdep.c:517:29: warning: parameter ‘dev’ set but not used [-Wunused-but-set-parameter] int tun_close(int fd, char *dev) ^~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o vpnc-debug.o vpnc-debug.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o isakmp-pkt.o isakmp-pkt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o tunip.o tunip.c tunip.c: In function ‘vpnc_doit’: tunip.c:1041:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o config.o config.c config.c: In function ‘do_config’: config.c:982:4: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&prompt, "Enter IPSec secret for %s@%s: ", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config[CONFIG_IPSEC_ID], config[CONFIG_IPSEC_GATEWAY]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:989:4: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&prompt, "Enter password for %s@%s: ", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config[CONFIG_XAUTH_USERNAME], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config[CONFIG_IPSEC_GATEWAY]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c: In function ‘config_def_app_version’: config.c:359:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&version, "Cisco Systems VPN Client %s:%s", VERSION, uts.sysname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c: In function ‘get_config_filename’: config.c:661:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "/etc/vpnc/", name, add_dot_conf ? ".conf" : ""); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c: In function ‘vpnc_getpass’: config.c:253:6: warning: ‘pass’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (buf == NULL) ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o dh.o dh.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o math_group.o math_group.c math_group.c: In function ‘modp_getraw’: math_group.c:243:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] int ret; ^~~ math_group.c: In function ‘modp_setraw’: math_group.c:259:38: warning: parameter ‘grp’ set but not used [-Wunused-but-set-parameter] static int modp_setraw(struct group *grp, gcry_mpi_t d, unsigned char *s, int l) ^~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o supp.o supp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o decrypt-utils.o decrypt-utils.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o crypto.o crypto.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o crypto-gnutls.o crypto-gnutls.c crypto-gnutls.c: In function ‘crypto_read_cert’: crypto-gnutls.c:80:2: warning: ‘gnutls_datum’ is deprecated [-Wdeprecated-declarations] gnutls_datum dt; ^~~~~~~~~~~~ In file included from crypto-gnutls.h:21:0, from crypto.h:40, from crypto-gnutls.c:26: /usr/include/gnutls/gnutls.h:881:9: note: declared here typedef struct { ^~~~~~ crypto-gnutls.c: In function ‘crypto_push_cert’: crypto-gnutls.c:124:2: warning: ‘gnutls_datum’ is deprecated [-Wdeprecated-declarations] gnutls_datum dt; ^~~~~~~~~~~~ In file included from crypto-gnutls.h:21:0, from crypto.h:40, from crypto-gnutls.c:26: /usr/include/gnutls/gnutls.h:881:9: note: declared here typedef struct { ^~~~~~ crypto-gnutls.c: In function ‘load_one_ca_file’: crypto-gnutls.c:228:2: warning: ‘gnutls_datum’ is deprecated [-Wdeprecated-declarations] gnutls_datum dt; ^~~~~~~~~~~~ In file included from crypto-gnutls.h:21:0, from crypto.h:40, from crypto-gnutls.c:26: /usr/include/gnutls/gnutls.h:881:9: note: declared here typedef struct { ^~~~~~ crypto-gnutls.c: In function ‘load_ca_list_file’: crypto-gnutls.c:269:2: warning: ‘gnutls_datum’ is deprecated [-Wdeprecated-declarations] gnutls_datum dt = { NULL, 0 }; ^~~~~~~~~~~~ In file included from crypto-gnutls.h:21:0, from crypto.h:40, from crypto-gnutls.c:26: /usr/include/gnutls/gnutls.h:881:9: note: declared here typedef struct { ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o vpnc.o vpnc.c vpnc.c: In function ‘do_phase1_am_packet2’: vpnc.c:1901: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] memset(dh_shared_secret, 0, sizeof(dh_shared_secret)); ^ vpnc.c: In function ‘setup_tunnel’: vpnc.c:339:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(config[CONFIG_SCRIPT]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:373:4: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf, "%d", mtu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c: In function ‘do_phase2_xauth’: vpnc.c:2332:6: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&prompt, "%s for VPN %s@%s: ", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (ap->type == ISAKMP_XAUTH_06_ATTRIB_ANSWER) ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Answer" : ~~~~~~~~~~ (ap->type == ISAKMP_XAUTH_06_ATTRIB_USER_PASSWORD) ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Password" : "Passcode", ~~~~~~~~~~~~~~~~~~~~~~~~ config[CONFIG_XAUTH_USERNAME], ntop_buf); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c: In function ‘do_config_to_env’: vpnc.c:977:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf, "%d", mask_to_masklen(*((struct in_addr *)a->u.lots.data))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1054:4: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf, "%d", a->u.acl.count); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1062:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf, "CISCO_SPLIT_INC_%d_ADDR", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1063:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf2, "%s", inet_ntoa(a->u.acl.acl_ent[i].addr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1068:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf, "CISCO_SPLIT_INC_%d_MASK", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1069:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf2, "%s", inet_ntoa(a->u.acl.acl_ent[i].mask)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1075:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf, "CISCO_SPLIT_INC_%d_MASKLEN", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1076:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf2, "%d", mask_to_masklen(a->u.acl.acl_ent[i].mask)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1081:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf, "CISCO_SPLIT_INC_%d_PROTOCOL", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1082:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf2, "%hu", a->u.acl.acl_ent[i].protocol); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1087:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf, "CISCO_SPLIT_INC_%d_SPORT", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1088:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf2, "%hu", a->u.acl.acl_ent[i].sport); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1093:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf, "CISCO_SPLIT_INC_%d_DPORT", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c:1094:5: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&strbuf2, "%hu", a->u.acl.acl_ent[i].dport); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c: In function ‘config_tunnel’: vpnc.c:392:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(config[CONFIG_SCRIPT]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vpnc.c: In function ‘close_tunnel’: vpnc.c:400:2: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(config[CONFIG_SCRIPT]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -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 -lgcrypt -lgpg-error -lgnutls x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o cisco-decrypt.o cisco-decrypt.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o cisco-decrypt cisco-decrypt.o decrypt-utils.o -lgcrypt -lgpg-error -lgnutls x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -W -Wall -Wmissing-declarations -Wwrite-strings -DCRYPTO_GNUTLS -DVERSION=\"0.5.3\" -c -o test-crypto.o test-crypto.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o test-crypto sysdep.o test-crypto.o crypto.o crypto-gnutls.o -lgcrypt -lgpg-error -lgnutls ./makeman.pl >>> Source compiled. >>> Test phase: net-vpn/vpnc-0.5.3_p550 make -j1 test ./test-crypto test/sig_data.bin test/dec_data.bin test/ca_list.pem \ test/cert3.pem test/cert2.pem test/cert1.pem Error decrypting signature: unexpected decrypted size 512 (expected 256) make: *** [Makefile:117: test] Error 1 * ERROR: net-vpn/vpnc-0.5.3_p550::gentoo failed (test phase): * Make test failed. See above for details. * * Call stack: * ebuild.sh, line 115: Called src_test * environment, line 2689: Called default * phase-functions.sh, line 808: Called default_src_test * phase-functions.sh, line 837: Called __eapi0_src_test * phase-helpers.sh, line 767: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} test || \ * die "Make test failed. See above for details." * * If you need support, post the output of `emerge --info '=net-vpn/vpnc-0.5.3_p550::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-vpn/vpnc-0.5.3_p550::gentoo'`. * The complete build log is located at '/var/log/portage/net-vpn:vpnc-0.5.3_p550:20170717-170821.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-vpn/vpnc-0.5.3_p550/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-vpn/vpnc-0.5.3_p550/temp/environment'. * Working directory: '/var/tmp/portage/net-vpn/vpnc-0.5.3_p550/work/vpnc-0.5.3_p550' * S: '/var/tmp/portage/net-vpn/vpnc-0.5.3_p550/work/vpnc-0.5.3_p550'