>>> openswan 3.0.0 Extracting gzip -d -c /home/buildroot/instance-0/dl/openswan/openswan-3.0.0.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/openswan-3.0.0 -xf - >>> openswan 3.0.0 Patching Applying 0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch using patch: patching file lib/libopenswan/constants.c >>> openswan 3.0.0 Configuring >>> openswan 3.0.0 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j1 -C /home/buildroot/instance-0/output-1/build/openswan-3.0.0 ARCH="sparc" CC="/home/buildroot/instance-0/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc" POD2MAN="" XMLTO="" USERCOMPILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static " USERLINK=" -static " INC_USRLOCAL=/usr USE_KLIPS=false USE_MAST=false USE_NM=false USE_NOMANINSTALL=true WERROR="" USE_LIBCURL=true programs make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0' Setting up for OBJDIR=OBJ.linux.sparc OBJDIR: OBJ.linux.sparc (cd /home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc && OBJDIRTOP=/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc OBJDIR=/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc /usr/bin/make programs ) make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libopenswan' CC addrtoa.c CC addrtot.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c: In function 'addrtot': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c:124:17: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 124 | strcpy(dst, p); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c:79:15: note: 'p' declared here 79 | char *p; | ^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c: In function 'inet_addrtot': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c:183:17: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 183 | strcpy(dst, p); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/addrtot.c:142:15: note: 'p' declared here 142 | char *p; | ^ CC addrtypeof.c CC anyaddr.c CC atoaddr.c CC atoasr.c CC atosubnet.c CC atoul.c CC constants.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/constants.c: In function 'bitnamesofb.part.0': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/constants.c:1646:55: warning: '%llx' directive output may be truncated writing between 1 and 16 bytes into a region of size 9 [-Wformat-truncation=] 1646 | snprintf(flagbuf, sizeof(flagbuf), "0x%llx", bit); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/constants.c:1646:52: note: directive argument in the range [1, 18446744073709551615] 1646 | snprintf(flagbuf, sizeof(flagbuf), "0x%llx", bit); | ^~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/constants.c:1646:17: note: 'snprintf' output between 4 and 19 bytes into a destination of size 11 1646 | snprintf(flagbuf, sizeof(flagbuf), "0x%llx", bit); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC copyright.c CC datatot.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/datatot.c: In function 'datatot': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/datatot.c:111:17: warning: 'strncpy' output truncated copying between 0 and 1 bytes from a string of length 2 [-Wstringop-truncation] 111 | strncpy(dst, prefix, dstlen - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC alloc.c CC biglset.c CC diag.c CC familytot.c CC goodmask.c CC id.c CC initaddr.c CC initsaid.c CC initsubnet.c CC iprange.c CC keyblobtoid.c CC lex.c CC mpzfuncs.c CC optionsfrom.c CC oswconf.c CC oswtime.c CC oswid.c CC prng.c CC portof.c CC rangetoa.c CC rangetosubnet.c CC sameaddr.c CC satot.c CC secrets.c CC strlcat.c CC subnetof.c CC subnettoa.c CC subnettot.c CC subnettypeof.c CC ttoaddr.c CC ttodata.c CC ttoprotoport.c CC ttosa.c CC ttosubnet.c CC ttoul.c CC ultoa.c CC ultot.c CC sanitizestring.c CC pfkey_print.c CC pfkey_sock.c CC pfkey_error.c CC pfkey_v2_build.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/pfkey_v2_build.c:75:40: warning: argument 1 of type 'struct sadb_ext *[33]' with mismatched bound [-Warray-parameter=] 75 | pfkey_extensions_init(struct sadb_ext *extensions[K_SADB_EXT_MAX + 1]) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/pfkey_v2_build.c:60: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/openswan/pfkey.h:216:52: note: previously declared as 'struct sadb_ext *[]' 216 | extern void pfkey_extensions_init(struct sadb_ext *extensions[]); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libopenswan/pfkey_v2_build.c:85:40: warning: argument 1 of type 'struct sadb_ext *[33]' with mismatched bound [-Warray-parameter=] 85 | pfkey_extensions_free(struct sadb_ext *extensions[K_SADB_EXT_MAX + 1]) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/openswan/pfkey.h:217:52: note: previously declared as 'struct sadb_ext *[]' 217 | extern void pfkey_extensions_free(struct sadb_ext *extensions[]); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ CC pfkey_v2_ext_bits.c CC pfkey_v2_parse.c CC pfkey_v2_debug.c VERSION processing 3.0.0 CC version.c AR libopenswan.a a - addrtoa.o a - addrtot.o a - addrtypeof.o a - anyaddr.o a - atoaddr.o a - atoasr.o a - atosubnet.o a - atoul.o a - constants.o a - copyright.o a - datatot.o a - alloc.o a - biglset.o a - diag.o a - familytot.o a - goodmask.o a - id.o a - initaddr.o a - initsaid.o a - initsubnet.o a - iprange.o a - keyblobtoid.o a - lex.o a - mpzfuncs.o a - optionsfrom.o a - oswconf.o a - oswtime.o a - oswid.o a - prng.o a - portof.o a - rangetoa.o a - rangetosubnet.o a - sameaddr.o a - satot.o a - secrets.o a - strlcat.o a - subnetof.o a - subnettoa.o a - subnettot.o a - subnettypeof.o a - ttoaddr.o a - ttodata.o a - ttoprotoport.o a - ttosa.o a - ttosubnet.o a - ttoul.o a - ultoa.o a - ultot.o a - sanitizestring.o a - pfkey_print.o a - pfkey_sock.o a - pfkey_error.o a - pfkey_v2_build.o a - pfkey_v2_ext_bits.o a - pfkey_v2_parse.o a - pfkey_v2_debug.o a - version.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libopenswan' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libalgoparse' /bin/bash: line 1: test: 14.2.0: integer expression expected CC alg_info.c CC plutoalg.c CC ipsecalg.c CC kernel_alg.c CC klips_interface.c AR libalgoparse.a a - alg_info.o a - plutoalg.o a - ipsecalg.o a - kernel_alg.o a - klips_interface.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libalgoparse' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libpluto' /bin/bash: line 1: test: 14.2.0: integer expression expected CC defs.c CC db_ops.c CC db2_ops.c CC ai2db.c CC spdb_print.c CC pluto_constants.c CC x509support.c CC packet.c CC readwhackmsg.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/readwhackmsg.c: In function 'readwhackmsg': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/readwhackmsg.c:74:40: warning: bitwise comparison always evaluates to true [-Wtautological-compare] 74 | if((m1.magic & 0x80000000) != WHACK_MAGIC_INTVALUE) { | ^~ CC rnd.c CC rndchunk.c CC writewhackmsg.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/writewhackmsg.c: In function 'openwhackrecordfile': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/writewhackmsg.c:119:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 119 | strncpy(whackrecordname, file, sizeof(whackrecordname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC orient.c CC spd_format.c CC endclienttot.c CC setproctitle.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/setproctitle.c: In function 'setproctitle': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/setproctitle.c:63:29: warning: '%s' directive writing up to 2043 bytes into a region of size between 1 and 2044 [-Wformat-overflow=] 63 | sprintf(buf, "%s -- %s", prog, txt); | ^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libpluto/setproctitle.c:63:9: note: 'sprintf' output between 5 and 4091 bytes into a destination of size 2048 63 | sprintf(buf, "%s -- %s", prog, txt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC iface.c AR libpluto.a a - defs.o a - db_ops.o a - db2_ops.o a - ai2db.o a - spdb_print.o a - pluto_constants.o a - x509support.o a - packet.o a - readwhackmsg.o a - rnd.o a - rndchunk.o a - writewhackmsg.o a - orient.o a - spd_format.o a - endclienttot.o a - setproctitle.o a - iface.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libpluto' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libaes' /bin/bash: line 1: test: 14.2.0: integer expression expected CC aes_xcbc_mac.c CC aes_cbc.c CC ike_alg_aes.c CC aes.c AR libaes.a a - aes_xcbc_mac.o a - aes_cbc.o a - ike_alg_aes.o a - aes.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libaes' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libdes' /bin/bash: line 1: test: 14.2.0: integer expression expected CC des_enc.c CC cbc_enc.c CC set_key.c CC ecb_enc.c CC fcrypt_b.c AR libdes.a a - des_enc.o a - cbc_enc.o a - set_key.o a - ecb_enc.o a - fcrypt_b.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libdes' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libmd5' /bin/bash: line 1: test: 14.2.0: integer expression expected CC md5.c AR libmd5.a a - md5.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libmd5' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libsha1' /bin/bash: line 1: test: 14.2.0: integer expression expected CC sha1.c In function 'SHA1Update', inlined from 'SHA1Final' at /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c:175:5: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c:152:13: warning: 'SHA1Transform' reading 64 bytes from a region of size 0 [-Wstringop-overread] 152 | SHA1Transform(context->state, &data[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c:152:13: note: referencing argument 2 of type 'const unsigned char[64]' /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c: In function 'SHA1Final': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c:56:6: note: in a call to function 'SHA1Transform' 56 | void SHA1Transform(u_int32_t state[5], const unsigned char buffer[64]) | ^~~~~~~~~~~~~ In function 'SHA1Update', inlined from 'SHA1Final' at /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c:178:9: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c:152:13: warning: 'SHA1Transform' reading 64 bytes from a region of size 0 [-Wstringop-overread] 152 | SHA1Transform(context->state, &data[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c:152:13: note: referencing argument 2 of type 'const unsigned char[64]' /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c: In function 'SHA1Final': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libcrypto/libsha1/sha1.c:56:6: note: in a call to function 'SHA1Transform' 56 | void SHA1Transform(u_int32_t state[5], const unsigned char buffer[64]) | ^~~~~~~~~~~~~ AR libsha1.a a - sha1.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libsha1' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libsha2' /bin/bash: line 1: test: 14.2.0: integer expression expected CC hmac_sha2.c CC ike_alg_sha2.c CC sha2.c AR libsha2.a a - hmac_sha2.o a - ike_alg_sha2.o a - sha2.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/libsha2' make[5]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/liboswcrypto' /bin/bash: line 1: test: 14.2.0: integer expression expected CC oswcrypto.c CC init.c CC xfrm_plugin.c CC groups.c AR liboswcrypto.a a - oswcrypto.o a - init.o a - xfrm_plugin.o a - groups.o make[5]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto/liboswcrypto' make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libcrypto' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libwhack' CC whacklib.c CC aliascomp.c AR whacklib.o a - whacklib.o a - aliascomp.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libwhack' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libipsecconf' /bin/bash: line 1: test: 14.2.0: integer expression expected CC confread.c CC confwrite.c CC starterwhack.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/starterwhack.c: In function 'send_whack_msg_to_socket': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/starterwhack.c:230:9: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 230 | strncpy(ctl_addr.sun_path, cfg->ctlbase, sizeof(ctl_addr.sun_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC starterlog.c CC cmp.c BISON parser.l CC parser.tab.c LEX parser.tab.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/parser.l:359: warning, rule cannot be matched CC lex.yy.c CC keywords.c CC oeconns.c CC interfaces.c /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/interfaces.c: In function 'starter_find_physical_iface': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/lib/libipsecconf/interfaces.c:83:41: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 83 | strncpy(req.ifr_name, _if, IFNAMSIZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AR libipsecconf.a a - confread.o a - confwrite.o a - starterwhack.o a - starterlog.o a - cmp.o a - parser.tab.o a - lex.yy.o a - keywords.o a - oeconns.o a - interfaces.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/libipsecconf' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/liboswlog' /bin/bash: line 1: test: 14.2.0: integer expression expected CC oswlog.c AR liboswlog.a a - oswlog.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/liboswlog' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/liboswkeys' /bin/bash: line 1: test: 14.2.0: integer expression expected CC asn1.c CC certload.c CC pem.c CC pgp.c CC pkcs.c CC x509dn.c CC ocsp.c CC rsapub.c CC x509cert.c CC x509lists.c CC oid.c CC x509chain.c CC der.c CC signatures.c AR liboswkeys.a a - asn1.o a - certload.o a - pem.o a - pgp.o a - pkcs.o a - x509dn.o a - ocsp.o a - rsapub.o a - x509cert.o a - x509lists.o a - oid.o a - x509chain.o a - der.o a - signatures.o make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib/liboswkeys' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/lib' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/programs' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/programs/proc' /bin/bash: line 1: test: 14.2.0: integer expression expected make[4]: Nothing to be done for 'programs'. make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/programs/proc' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/programs/pluto' CC connections.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:56: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c: In function 'delete_end': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:191:31: warning: unused parameter 'c' [-Wunused-parameter] 191 | delete_end(struct connection *c UNUSED, struct spd_route *sr UNUSED, struct end *e) | ~~~~~~~~~~~~~~~~~~~^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:191:59: warning: unused parameter 'sr' [-Wunused-parameter] 191 | delete_end(struct connection *c UNUSED, struct spd_route *sr UNUSED, struct end *e) | ~~~~~~~~~~~~~~~~~~^~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c: In function 'show_one_sr': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3149:19: warning: unused parameter 'num' [-Wunused-parameter] 3149 | , int num UNUSED | ~~~~^~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c: In function 'show_one_connection': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3252:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 3252 | snprintf(instname, instname_len, "[%lu]", c->instance_serial); | ^ In function 'fmt_connection_inst_name', inlined from 'fmt_connection_inst_name' at /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3246:7, inlined from 'show_one_connection' at /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3265:5: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/connections.c:3252:9: note: 'snprintf' output between 4 and 13 bytes into a destination of size 12 3252 | snprintf(instname, instname_len, "[%lu]", c->instance_serial); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC initiate.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/initiate.c:62: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/initiate.c: In function 'initiate_ondemand_body': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/initiate.c:1274:17: warning: 'next_step' may be used uninitialized [-Wmaybe-uninitialized] 1274 | else if (next_step == fos_done) | ^ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/initiate.c:836:29: note: 'next_step' was declared here 836 | enum find_oppo_step next_step; | ^~~~~~~~~ CC terminate.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/terminate.c:53: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/terminate.c: In function 'terminate_a_connection': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/terminate.c:79:52: warning: unused parameter 'arg' [-Wunused-parameter] 79 | terminate_a_connection(struct connection *c, void *arg UNUSED) | ~~~~~~^~~ CC pending.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pending.c:47: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pending.c: In function 'add_pending': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/pending.c:79:34: warning: unused parameter 'uctx' [-Wunused-parameter] 79 | , struct xfrm_user_sec_ctx_ike * uctx UNUSED | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ CC cookie.c CC crypto.c In file included from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/state.h:30, from /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:31: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_integ': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:127:81: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 127 | return (struct ike_integ_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_INTEG, halg, 0); | ^~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h: In function 'ike_alg_get_prf': /home/buildroot/instance-0/output-1/build/openswan-3.0.0/include/pluto/ike_alg.h:131:81: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 131 | return (struct ike_prf_desc *) ike_alg_ikev2_find(IKEv2_TRANS_TYPE_PRF, prfalg, 0); | ^~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c: At top level: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:92:25: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 92 | algo_v2id: IKEv2_PRF_HMAC_MD5, | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:99:18: error: initialization of 'void (*)(void *, const u_char *, size_t)' {aka 'void (*)(void *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(void *, const unsigned char *, long unsigned int)' [-Wincompatible-pointer-types] 99 | hash_update: osMD5Update, | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:99:18: note: (near initialization for 'crypto_hasher_md5.hash_update') /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:109:25: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 109 | algo_v2id: IKEv2_AUTH_HMAC_MD5_96, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:116:18: error: initialization of 'void (*)(void *, const u_char *, size_t)' {aka 'void (*)(void *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(void *, const unsigned char *, long unsigned int)' [-Wincompatible-pointer-types] 116 | hash_update: osMD5Update, | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:116:18: note: (near initialization for 'crypto_integ_md5.hash_update') /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:126:25: warning: implicit conversion from 'enum ikev2_trans_type_prf' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 126 | algo_v2id: IKEv2_PRF_HMAC_SHA1, | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:133:18: error: initialization of 'void (*)(void *, const u_char *, size_t)' {aka 'void (*)(void *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(void *, const unsigned char *, long unsigned int)' [-Wincompatible-pointer-types] 133 | hash_update: SHA1Update, | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:133:18: note: (near initialization for 'crypto_hasher_sha1.hash_update') /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:143:25: warning: implicit conversion from 'enum ikev2_trans_type_integ' to 'enum ikev2_trans_type_encr' [-Wenum-conversion] 143 | algo_v2id: IKEv2_AUTH_HMAC_SHA1_96, | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:150:18: error: initialization of 'void (*)(void *, const u_char *, size_t)' {aka 'void (*)(void *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(void *, const unsigned char *, long unsigned int)' [-Wincompatible-pointer-types] 150 | hash_update: SHA1Update, | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:150:18: note: (near initialization for 'crypto_integ_sha1.hash_update') make[4]: *** [/home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/pluto/Makefile:260: crypto.o] Error 1 make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/programs/pluto' make[3]: *** [/home/buildroot/instance-0/output-1/build/openswan-3.0.0/programs/Makefile:59: programs] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc/programs' make[2]: *** [Makefile:10: programs] Error 1 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0/OBJ.linux.sparc' make[1]: *** [Makefile:186: programs] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/openswan-3.0.0' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/openswan-3.0.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'