+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/netpgp-20140220nb10/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/netpgp-20140220nb10/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for netpgp-20140220nb10
Making all in include
Making all in src
Making all in libmj
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/lib  -I../../include -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libmj_la-mj.lo -MD -MP -MF .deps/libmj_la-mj.Tpo -c -o libmj_la-mj.lo `test -f 'mj.c' || echo './'`mj.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/lib -I../../include -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libmj_la-mj.lo -MD -MP -MF .deps/libmj_la-mj.Tpo -c mj.c  -fPIC -DPIC -o .libs/libmj_la-mj.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/lib -I../../include -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libmj_la-mj.lo -MD -MP -MF .deps/libmj_la-mj.Tpo -c mj.c -o libmj_la-mj.o >/dev/null 2>&1
mv -f .deps/libmj_la-mj.Tpo .deps/libmj_la-mj.Plo
/usr/bin/bash ../../libtool --tag=CC    --mode=link gcc -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include   -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o libmj.la -rpath /opt/pkg/lib libmj_la-mj.lo  -lcrypto -lbz2 -lz
libtool: link: gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libmj.so.0 -o .libs/libmj.so.0.0.0  .libs/libmj_la-mj.o   -R/home/pbulk/build/security/netpgp/work/.buildlink/lib -R/home/pbulk/build/security/netpgp/work/.buildlink/lib -L/home/pbulk/build/security/netpgp/work/.buildlink/lib -lcrypto /home/pbulk/build/security/netpgp/work/.buildlink/lib/libbz2.so /home/pbulk/build/security/netpgp/work/.buildlink/lib/libz.so  -O2 -msave-args -Wl,-rpath -Wl,/opt/pkg/lib  
libtool: link: (cd ".libs" && rm -f "libmj.so.0" && ln -s "libmj.so.0.0.0" "libmj.so.0")
libtool: link: (cd ".libs" && rm -f "libmj.so" && ln -s "libmj.so.0.0.0" "libmj.so")
libtool: link: ar cr .libs/libmj.a  libmj_la-mj.o
libtool: link: ranlib .libs/libmj.a
libtool: link: ( cd ".libs" && rm -f "libmj.la" && ln -s "../libmj.la" "libmj.la" )
Making all in lib
/opt/pkg/bin/bmake  all-am
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-bufgap.lo -MD -MP -MF .deps/libnetpgp_la-bufgap.Tpo -c -o libnetpgp_la-bufgap.lo `test -f 'bufgap.c' || echo './'`bufgap.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-bufgap.lo -MD -MP -MF .deps/libnetpgp_la-bufgap.Tpo -c bufgap.c  -fPIC -DPIC -o .libs/libnetpgp_la-bufgap.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-bufgap.lo -MD -MP -MF .deps/libnetpgp_la-bufgap.Tpo -c bufgap.c -o libnetpgp_la-bufgap.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-bufgap.Tpo .deps/libnetpgp_la-bufgap.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-compress.lo -MD -MP -MF .deps/libnetpgp_la-compress.Tpo -c -o libnetpgp_la-compress.lo `test -f 'compress.c' || echo './'`compress.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-compress.lo -MD -MP -MF .deps/libnetpgp_la-compress.Tpo -c compress.c  -fPIC -DPIC -o .libs/libnetpgp_la-compress.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-compress.lo -MD -MP -MF .deps/libnetpgp_la-compress.Tpo -c compress.c -o libnetpgp_la-compress.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-compress.Tpo .deps/libnetpgp_la-compress.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-create.lo -MD -MP -MF .deps/libnetpgp_la-create.Tpo -c -o libnetpgp_la-create.lo `test -f 'create.c' || echo './'`create.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-create.lo -MD -MP -MF .deps/libnetpgp_la-create.Tpo -c create.c  -fPIC -DPIC -o .libs/libnetpgp_la-create.o
create.c: In function 'write_seckey_body':
create.c:373:32: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
  373 |                         size = MIN(needed, hashsize);
      |                                ^~~
create.c: At top level:
create.c:824:62: warning: argument 2 of type 'uint8_t[2]' {aka 'unsigned char[2]'} with mismatched bound [-Warray-parameter=]
  824 | pgp_calc_sesskey_checksum(pgp_pk_sesskey_t *sesskey, uint8_t cs[2])
      |                                                      ~~~~~~~~^~~~~
In file included from create.c:81:
create.h:79:56: note: previously declared as 'uint8_t *' {aka 'unsigned char *'}
   79 | unsigned pgp_calc_sesskey_checksum(pgp_pk_sesskey_t *, uint8_t *);
      |                                                        ^~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-create.lo -MD -MP -MF .deps/libnetpgp_la-create.Tpo -c create.c -o libnetpgp_la-create.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-create.Tpo .deps/libnetpgp_la-create.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-crypto.lo -MD -MP -MF .deps/libnetpgp_la-crypto.Tpo -c -o libnetpgp_la-crypto.lo `test -f 'crypto.c' || echo './'`crypto.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-crypto.lo -MD -MP -MF .deps/libnetpgp_la-crypto.Tpo -c crypto.c  -fPIC -DPIC -o .libs/libnetpgp_la-crypto.o
crypto.c: In function 'pgp_decrypt_file':
crypto.c:493:32: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  493 |                         (void) strncpy(filename, infile, filenamelen);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto.c:482:51: note: length computed here
  482 |                 const char     *suffix = infile + strlen(infile) - suffixlen;
      |                                                   ^~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-crypto.lo -MD -MP -MF .deps/libnetpgp_la-crypto.Tpo -c crypto.c -o libnetpgp_la-crypto.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-crypto.Tpo .deps/libnetpgp_la-crypto.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-keyring.lo -MD -MP -MF .deps/libnetpgp_la-keyring.Tpo -c -o libnetpgp_la-keyring.lo `test -f 'keyring.c' || echo './'`keyring.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-keyring.lo -MD -MP -MF .deps/libnetpgp_la-keyring.Tpo -c keyring.c  -fPIC -DPIC -o .libs/libnetpgp_la-keyring.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-keyring.lo -MD -MP -MF .deps/libnetpgp_la-keyring.Tpo -c keyring.c -o libnetpgp_la-keyring.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-keyring.Tpo .deps/libnetpgp_la-keyring.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-misc.lo -MD -MP -MF .deps/libnetpgp_la-misc.Tpo -c -o libnetpgp_la-misc.lo `test -f 'misc.c' || echo './'`misc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-misc.lo -MD -MP -MF .deps/libnetpgp_la-misc.Tpo -c misc.c  -fPIC -DPIC -o .libs/libnetpgp_la-misc.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-misc.lo -MD -MP -MF .deps/libnetpgp_la-misc.Tpo -c misc.c -o libnetpgp_la-misc.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-misc.Tpo .deps/libnetpgp_la-misc.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-netpgp.lo -MD -MP -MF .deps/libnetpgp_la-netpgp.Tpo -c -o libnetpgp_la-netpgp.lo `test -f 'netpgp.c' || echo './'`netpgp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-netpgp.lo -MD -MP -MF .deps/libnetpgp_la-netpgp.Tpo -c netpgp.c  -fPIC -DPIC -o .libs/libnetpgp_la-netpgp.o
netpgp.c: In function 'conffile':
netpgp.c:107:33: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
  107 |                                 MIN((unsigned)(matchv[1].rm_eo -
      |                                 ^~~
netpgp.c: In function 'netpgp_generate_key':
netpgp.c:1218:67: warning: '/pubring.gpg' directive output may be truncated writing 12 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
 1218 |         (void) snprintf(ringfile = filename, sizeof(filename), "%s/pubring.gpg", dir);
      |                                                                   ^~~~~~~~~~~~
netpgp.c:1218:16: note: 'snprintf' output between 13 and 1036 bytes into a destination of size 1024
 1218 |         (void) snprintf(ringfile = filename, sizeof(filename), "%s/pubring.gpg", dir);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
netpgp.c:1227:67: warning: '/secring.gpg' directive output may be truncated writing 12 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
 1227 |         (void) snprintf(ringfile = filename, sizeof(filename), "%s/secring.gpg", dir);
      |                                                                   ^~~~~~~~~~~~
netpgp.c:1227:16: note: 'snprintf' output between 13 and 1036 bytes into a destination of size 1024
 1227 |         (void) snprintf(ringfile = filename, sizeof(filename), "%s/secring.gpg", dir);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-netpgp.lo -MD -MP -MF .deps/libnetpgp_la-netpgp.Tpo -c netpgp.c -o libnetpgp_la-netpgp.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-netpgp.Tpo .deps/libnetpgp_la-netpgp.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-openssl_crypto.lo -MD -MP -MF .deps/libnetpgp_la-openssl_crypto.Tpo -c -o libnetpgp_la-openssl_crypto.lo `test -f 'openssl_crypto.c' || echo './'`openssl_crypto.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-openssl_crypto.lo -MD -MP -MF .deps/libnetpgp_la-openssl_crypto.Tpo -c openssl_crypto.c  -fPIC -DPIC -o .libs/libnetpgp_la-openssl_crypto.o
openssl_crypto.c: In function 'takeRSA':
openssl_crypto.c:97:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   97 |         RSA_get0_key(orsa, &n, &e, &d);
      |         ^~~~~~~~~~~~
In file included from openssl_crypto.c:68:
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
openssl_crypto.c:98:9: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   98 |         RSA_get0_factors(orsa, &q, &p);
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:231:28: note: declared here
  231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
openssl_crypto.c: In function 'makeRSA':
openssl_crypto.c:123:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  123 |         orsa = RSA_new();
      |         ^~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
openssl_crypto.c:136:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  136 |         RSA_set0_key(orsa, n, e, d);
      |         ^~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:218:27: note: declared here
  218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
openssl_crypto.c:137:9: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  137 |         RSA_set0_factors(orsa, p, q);
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:219:27: note: declared here
  219 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                           ^~~~~~~~~~~~~~~~
openssl_crypto.c: In function 'makeDSA':
openssl_crypto.c:187:9: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  187 |         odsa = DSA_new();
      |         ^~~~
In file included from openssl_crypto.c:64:
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
openssl_crypto.c:196:9: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  196 |         DSA_set0_key(odsa, y, x);
      |         ^~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/dsa.h:211:27: note: declared here
  211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
      |                           ^~~~~~~~~~~~
openssl_crypto.c:185:33: warning: variable 'g' set but not used [-Wunused-but-set-variable]
  185 |         BIGNUM         *p, *q, *g, *y, *x;
      |                                 ^
openssl_crypto.c:185:29: warning: variable 'q' set but not used [-Wunused-but-set-variable]
  185 |         BIGNUM         *p, *q, *g, *y, *x;
      |                             ^
openssl_crypto.c:185:25: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  185 |         BIGNUM         *p, *q, *g, *y, *x;
      |                         ^
openssl_crypto.c: In function 'takeDSA':
openssl_crypto.c:219:9: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  219 |         DSA_get0_key(odsa, NULL, &x);
      |         ^~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/dsa.h:209:28: note: declared here
  209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~~
openssl_crypto.c: In function 'test_seckey':
openssl_crypto.c:231:9: warning: 'RSA_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  231 |         if (RSA_check_key(test) != 1) {
      |         ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:289:27: note: declared here
  289 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *);
      |                           ^~~~~~~~~~~~~
openssl_crypto.c:235:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  235 |         RSA_free(test);
      |         ^~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
openssl_crypto.c: In function 'md5_init':
openssl_crypto.c:248:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  248 |         MD5_Init(hash->data);
      |         ^~~~~~~~
In file included from netpgpdigest.h:35,
                 from openssl_crypto.c:89:
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/md5.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
      |                           ^~~~~~~~
openssl_crypto.c: In function 'md5_add':
openssl_crypto.c:255:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  255 |         MD5_Update(hash->data, data, length);
      |         ^~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/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);
      |                           ^~~~~~~~~~
openssl_crypto.c: In function 'md5_finish':
openssl_crypto.c:261:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  261 |         MD5_Final(out, hash->data);
      |         ^~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/md5.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
      |                           ^~~~~~~~~
openssl_crypto.c: In function 'sha1_init':
openssl_crypto.c:298:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  298 |         SHA1_Init(hash->data);
      |         ^~~~~~~~~
In file included from /home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/x509.h:41,
                 from /home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:23,
                 from openssl_crypto.c:75:
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
openssl_crypto.c: In function 'sha1_add':
openssl_crypto.c:308:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  308 |         SHA1_Update(hash->data, data, length);
      |         ^~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
openssl_crypto.c: In function 'sha1_finish':
openssl_crypto.c:314:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  314 |         SHA1_Final(out, hash->data);
      |         ^~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
openssl_crypto.c: In function 'sha256_init':
openssl_crypto.c:354:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  354 |         SHA256_Init(hash->data);
      |         ^~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
openssl_crypto.c: In function 'sha256_add':
openssl_crypto.c:364:9: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  364 |         SHA256_Update(hash->data, data, length);
      |         ^~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
openssl_crypto.c: In function 'sha256_finish':
openssl_crypto.c:370:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  370 |         SHA256_Final(out, hash->data);
      |         ^~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
openssl_crypto.c: In function 'sha384_init':
openssl_crypto.c:408:9: warning: 'SHA384_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  408 |         SHA384_Init(hash->data);
      |         ^~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:120:27: note: declared here
  120 | OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c);
      |                           ^~~~~~~~~~~
openssl_crypto.c: In function 'sha384_add':
openssl_crypto.c:418:9: warning: 'SHA384_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  418 |         SHA384_Update(hash->data, data, length);
      |         ^~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:121:27: note: declared here
  121 | OSSL_DEPRECATEDIN_3_0 int SHA384_Update(SHA512_CTX *c,
      |                           ^~~~~~~~~~~~~
openssl_crypto.c: In function 'sha384_finish':
openssl_crypto.c:424:9: warning: 'SHA384_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  424 |         SHA384_Final(out, hash->data);
      |         ^~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:123:27: note: declared here
  123 | OSSL_DEPRECATEDIN_3_0 int SHA384_Final(unsigned char *md, SHA512_CTX *c);
      |                           ^~~~~~~~~~~~
openssl_crypto.c: In function 'sha512_init':
openssl_crypto.c:462:9: warning: 'SHA512_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  462 |         SHA512_Init(hash->data);
      |         ^~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:124:27: note: declared here
  124 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
      |                           ^~~~~~~~~~~
openssl_crypto.c: In function 'sha512_add':
openssl_crypto.c:472:9: warning: 'SHA512_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  472 |         SHA512_Update(hash->data, data, length);
      |         ^~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:125:27: note: declared here
  125 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
      |                           ^~~~~~~~~~~~~
openssl_crypto.c: In function 'sha512_finish':
openssl_crypto.c:478:9: warning: 'SHA512_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  478 |         SHA512_Final(out, hash->data);
      |         ^~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:127:27: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c);
      |                           ^~~~~~~~~~~~
openssl_crypto.c: In function 'sha224_init':
openssl_crypto.c:517:9: warning: 'SHA224_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  517 |         SHA224_Init(hash->data);
      |         ^~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:69:27: note: declared here
   69 | OSSL_DEPRECATEDIN_3_0 int SHA224_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
openssl_crypto.c: In function 'sha224_add':
openssl_crypto.c:527:9: warning: 'SHA224_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  527 |         SHA224_Update(hash->data, data, length);
      |         ^~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:70:27: note: declared here
   70 | OSSL_DEPRECATEDIN_3_0 int SHA224_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
openssl_crypto.c: In function 'sha224_finish':
openssl_crypto.c:533:9: warning: 'SHA224_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  533 |         SHA224_Final(out, hash->data);
      |         ^~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/sha.h:72:27: note: declared here
   72 | OSSL_DEPRECATEDIN_3_0 int SHA224_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
openssl_crypto.c: In function 'pgp_dsa_verify':
openssl_crypto.c:575:9: warning: 'DSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  575 |         ret = DSA_do_verify(hash, (int)hash_length, osig, odsa);
      |         ^~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/dsa.h:120:27: note: declared here
  120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len,
      |                           ^~~~~~~~~~~~~
openssl_crypto.c:584:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  584 |         DSA_free(odsa);
      |         ^~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
openssl_crypto.c: In function 'pgp_rsa_public_decrypt':
openssl_crypto.c:608:9: warning: 'RSA_public_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  608 |         ret = RSA_public_decrypt((int)length, in, out, orsa, RSA_NO_PADDING);
      |         ^~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:299:5: note: declared here
  299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
openssl_crypto.c:610:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  610 |         RSA_free(orsa);
      |         ^~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
openssl_crypto.c: In function 'pgp_rsa_private_encrypt':
openssl_crypto.c:639:9: warning: 'RSA_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  639 |         if (RSA_check_key(orsa) != 1) {
      |         ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:289:27: note: declared here
  289 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *);
      |                           ^~~~~~~~~~~~~
openssl_crypto.c:645:9: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  645 |         ret = RSA_private_encrypt((int)length, in, out, orsa, RSA_NO_PADDING);
      |         ^~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:296:5: note: declared here
  296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
openssl_crypto.c:647:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  647 |         RSA_free(orsa);
      |         ^~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
openssl_crypto.c: In function 'pgp_rsa_private_decrypt':
openssl_crypto.c:673:9: warning: 'RSA_check_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  673 |         if (RSA_check_key(keypair) != 1) {
      |         ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:289:27: note: declared here
  289 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *);
      |                           ^~~~~~~~~~~~~
openssl_crypto.c:679:9: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  679 |         n = RSA_private_decrypt((int)length, in, out, keypair, RSA_NO_PADDING);
      |         ^
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:302:5: note: declared here
  302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~~
openssl_crypto.c:692:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  692 |         RSA_free(keypair);
      |         ^~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
openssl_crypto.c: In function 'pgp_rsa_public_encrypt':
openssl_crypto.c:719:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  719 |         n = RSA_public_encrypt((int)length, in, out, orsa, RSA_NO_PADDING);
      |         ^
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:293:5: note: declared here
  293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
openssl_crypto.c:727:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  727 |         RSA_free(orsa);
      |         ^~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
openssl_crypto.c: In function 'rsa_generate_keypair':
openssl_crypto.c:795:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  795 |         rsa = RSA_new();
      |         ^~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
openssl_crypto.c:796:9: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  796 |         RSA_generate_key_ex(rsa, numbits, bne, NULL);
      |         ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:271:27: note: declared here
  271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
openssl_crypto.c:824:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  824 |         RSA_free(rsa);
      |         ^~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
openssl_crypto.c: In function 'pgp_dsa_sign':
openssl_crypto.c:912:9: warning: 'DSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  912 |         dsasig = DSA_do_sign(hashbuf, (int)hashsize, odsa);
      |         ^~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/dsa.h:118:32: note: declared here
  118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen,
      |                                ^~~~~~~~~~~
openssl_crypto.c:914:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  914 |         DSA_free(odsa);
      |         ^~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
openssl_crypto.c: In function 'openssl_read_pem_seckey':
openssl_crypto.c:938:17: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  938 |                 if ((rsa = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL)) == NULL) {
      |                 ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:74:11: note: declared here
   74 |     type *PEM_##readname##_##name(INTYPE *out, type **x,                \
      |           ^~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:238:10: note: in expansion of macro 'PEM_read_cb_fnsig'
  238 |     attr PEM_read_cb_fnsig(name, type, FILE, read);
      |          ^~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:337:5: note: in expansion of macro 'DECLARE_PEM_read_fp_attr'
  337 |     DECLARE_PEM_read_fp_attr(attr, name, type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:363:5: note: in expansion of macro 'DECLARE_PEM_read_attr'
  363 |     DECLARE_PEM_read_attr(attr, name, type)                                 \
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:451:1: note: in expansion of macro 'DECLARE_PEM_rw_cb_attr'
  451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
openssl_crypto.c:942:33: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  942 |                                 rsa = PEM_read_RSAPrivateKey(fp, NULL, NULL, pass);
      |                                 ^~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:74:11: note: declared here
   74 |     type *PEM_##readname##_##name(INTYPE *out, type **x,                \
      |           ^~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:238:10: note: in expansion of macro 'PEM_read_cb_fnsig'
  238 |     attr PEM_read_cb_fnsig(name, type, FILE, read);
      |          ^~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:337:5: note: in expansion of macro 'DECLARE_PEM_read_fp_attr'
  337 |     DECLARE_PEM_read_fp_attr(attr, name, type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:363:5: note: in expansion of macro 'DECLARE_PEM_read_attr'
  363 |     DECLARE_PEM_read_attr(attr, name, type)                                 \
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:451:1: note: in expansion of macro 'DECLARE_PEM_rw_cb_attr'
  451 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
openssl_crypto.c:947:17: warning: 'PEM_read_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  947 |                 if ((dsa = PEM_read_DSAPrivateKey(fp, NULL, NULL, NULL)) == NULL) {
      |                 ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:74:11: note: declared here
   74 |     type *PEM_##readname##_##name(INTYPE *out, type **x,                \
      |           ^~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:238:10: note: in expansion of macro 'PEM_read_cb_fnsig'
  238 |     attr PEM_read_cb_fnsig(name, type, FILE, read);
      |          ^~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:337:5: note: in expansion of macro 'DECLARE_PEM_read_fp_attr'
  337 |     DECLARE_PEM_read_fp_attr(attr, name, type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:363:5: note: in expansion of macro 'DECLARE_PEM_read_attr'
  363 |     DECLARE_PEM_read_attr(attr, name, type)                                 \
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/pem.h:457:1: note: in expansion of macro 'DECLARE_PEM_rw_cb_attr'
  457 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-openssl_crypto.lo -MD -MP -MF .deps/libnetpgp_la-openssl_crypto.Tpo -c openssl_crypto.c -o libnetpgp_la-openssl_crypto.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-openssl_crypto.Tpo .deps/libnetpgp_la-openssl_crypto.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-packet-parse.lo -MD -MP -MF .deps/libnetpgp_la-packet-parse.Tpo -c -o libnetpgp_la-packet-parse.lo `test -f 'packet-parse.c' || echo './'`packet-parse.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-packet-parse.lo -MD -MP -MF .deps/libnetpgp_la-packet-parse.Tpo -c packet-parse.c  -fPIC -DPIC -o .libs/libnetpgp_la-packet-parse.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-packet-parse.lo -MD -MP -MF .deps/libnetpgp_la-packet-parse.Tpo -c packet-parse.c -o libnetpgp_la-packet-parse.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-packet-parse.Tpo .deps/libnetpgp_la-packet-parse.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-packet-print.lo -MD -MP -MF .deps/libnetpgp_la-packet-print.Tpo -c -o libnetpgp_la-packet-print.lo `test -f 'packet-print.c' || echo './'`packet-print.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-packet-print.lo -MD -MP -MF .deps/libnetpgp_la-packet-print.Tpo -c packet-print.c  -fPIC -DPIC -o .libs/libnetpgp_la-packet-print.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-packet-print.lo -MD -MP -MF .deps/libnetpgp_la-packet-print.Tpo -c packet-print.c -o libnetpgp_la-packet-print.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-packet-print.Tpo .deps/libnetpgp_la-packet-print.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-packet-show.lo -MD -MP -MF .deps/libnetpgp_la-packet-show.Tpo -c -o libnetpgp_la-packet-show.lo `test -f 'packet-show.c' || echo './'`packet-show.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-packet-show.lo -MD -MP -MF .deps/libnetpgp_la-packet-show.Tpo -c packet-show.c  -fPIC -DPIC -o .libs/libnetpgp_la-packet-show.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-packet-show.lo -MD -MP -MF .deps/libnetpgp_la-packet-show.Tpo -c packet-show.c -o libnetpgp_la-packet-show.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-packet-show.Tpo .deps/libnetpgp_la-packet-show.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-reader.lo -MD -MP -MF .deps/libnetpgp_la-reader.Tpo -c -o libnetpgp_la-reader.lo `test -f 'reader.c' || echo './'`reader.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-reader.lo -MD -MP -MF .deps/libnetpgp_la-reader.Tpo -c reader.c  -fPIC -DPIC -o .libs/libnetpgp_la-reader.o
reader.c: In function 'read_partial_data':
reader.c:147:13: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
  147 |         n = MIN(stream->virtualc - stream->virtualoff, (unsigned)length);
      |             ^~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-reader.lo -MD -MP -MF .deps/libnetpgp_la-reader.Tpo -c reader.c -o libnetpgp_la-reader.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-reader.Tpo .deps/libnetpgp_la-reader.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-signature.lo -MD -MP -MF .deps/libnetpgp_la-signature.Tpo -c -o libnetpgp_la-signature.lo `test -f 'signature.c' || echo './'`signature.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-signature.lo -MD -MP -MF .deps/libnetpgp_la-signature.Tpo -c signature.c  -fPIC -DPIC -o .libs/libnetpgp_la-signature.o
signature.c:865:47: warning: argument 2 of type 'const uint8_t[8]' {aka 'const unsigned char[8]'} with mismatched bound [-Warray-parameter=]
  865 |                                 const uint8_t keyid[PGP_KEY_ID_SIZE])
      |                                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from signature.c:80:
signature.h:107:25: note: previously declared as 'const uint8_t *' {aka 'const unsigned char *'}
  107 |                         const uint8_t *);
      |                         ^~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-signature.lo -MD -MP -MF .deps/libnetpgp_la-signature.Tpo -c signature.c -o libnetpgp_la-signature.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-signature.Tpo .deps/libnetpgp_la-signature.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-ssh2pgp.lo -MD -MP -MF .deps/libnetpgp_la-ssh2pgp.Tpo -c -o libnetpgp_la-ssh2pgp.lo `test -f 'ssh2pgp.c' || echo './'`ssh2pgp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-ssh2pgp.lo -MD -MP -MF .deps/libnetpgp_la-ssh2pgp.Tpo -c ssh2pgp.c  -fPIC -DPIC -o .libs/libnetpgp_la-ssh2pgp.o
ssh2pgp.c: In function 'pgp_ssh2seckey':
ssh2pgp.c:383:24: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
  383 |                 size = MIN(needed, PGP_SHA1_HASH_SIZE);
      |                        ^~~
ssh2pgp.c: In function 'pgp_ssh2pubkey':
ssh2pgp.c:316:70: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 250 [-Wformat-truncation=]
  316 |                         (void) snprintf(owner, sizeof(owner), "<root@%s>",
      |                                                                      ^~
  317 |                                         hostname);
      |                                         ~~~~~~~~                      
ssh2pgp.c:316:32: note: 'snprintf' output between 8 and 263 bytes into a destination of size 256
  316 |                         (void) snprintf(owner, sizeof(owner), "<root@%s>",
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  317 |                                         hostname);
      |                                         ~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-ssh2pgp.lo -MD -MP -MF .deps/libnetpgp_la-ssh2pgp.Tpo -c ssh2pgp.c -o libnetpgp_la-ssh2pgp.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-ssh2pgp.Tpo .deps/libnetpgp_la-ssh2pgp.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-symmetric.lo -MD -MP -MF .deps/libnetpgp_la-symmetric.Tpo -c -o libnetpgp_la-symmetric.lo `test -f 'symmetric.c' || echo './'`symmetric.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-symmetric.lo -MD -MP -MF .deps/libnetpgp_la-symmetric.Tpo -c symmetric.c  -fPIC -DPIC -o .libs/libnetpgp_la-symmetric.o
symmetric.c: In function 'cast5_init':
symmetric.c:139:9: warning: 'CAST_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  139 |         CAST_set_key(crypt->encrypt_key, (int)crypt->keysize, crypt->key);
      |         ^~~~~~~~~~~~
In file included from symmetric.c:66:
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/cast.h:44:6: note: declared here
   44 | void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data);
      |      ^~~~~~~~~~~~
symmetric.c:144:9: warning: 'CAST_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  144 |         CAST_set_key(crypt->decrypt_key, (int)crypt->keysize, crypt->key);
      |         ^~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/cast.h:44:6: note: declared here
   44 | void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data);
      |      ^~~~~~~~~~~~
symmetric.c: In function 'cast5_block_encrypt':
symmetric.c:151:9: warning: 'CAST_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  151 |         CAST_ecb_encrypt(in, out, crypt->encrypt_key, CAST_ENCRYPT);
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/cast.h:46:6: note: declared here
   46 | void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~~
symmetric.c: In function 'cast5_block_decrypt':
symmetric.c:157:9: warning: 'CAST_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  157 |         CAST_ecb_encrypt(in, out, crypt->encrypt_key, CAST_DECRYPT);
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/cast.h:46:6: note: declared here
   46 | void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~~
symmetric.c: In function 'cast5_cfb_encrypt':
symmetric.c:163:9: warning: 'CAST_cfb64_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  163 |         CAST_cfb64_encrypt(in, out, (long)count,
      |         ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/cast.h:57:6: note: declared here
   57 | void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~~~~
symmetric.c: In function 'cast5_cfb_decrypt':
symmetric.c:171:9: warning: 'CAST_cfb64_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  171 |         CAST_cfb64_encrypt(in, out, (long)count,
      |         ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/cast.h:57:6: note: declared here
   57 | void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~~~~
symmetric.c: In function 'idea_init':
symmetric.c:213:9: warning: 'IDEA_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  213 |         idea_set_encrypt_key(crypt->key, crypt->encrypt_key);
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from symmetric.c:70:
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/idea.h:45:28: note: declared here
   45 | OSSL_DEPRECATEDIN_3_0 void IDEA_set_encrypt_key(const unsigned char *key,
      |                            ^~~~~~~~~~~~~~~~~~~~
symmetric.c:223:9: warning: 'IDEA_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  223 |         idea_set_decrypt_key(crypt->encrypt_key, crypt->decrypt_key);
      |         ^~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/idea.h:47:28: note: declared here
   47 | OSSL_DEPRECATEDIN_3_0 void IDEA_set_decrypt_key(IDEA_KEY_SCHEDULE *ek,
      |                            ^~~~~~~~~~~~~~~~~~~~
symmetric.c: In function 'idea_block_encrypt':
symmetric.c:230:9: warning: 'IDEA_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  230 |         idea_ecb_encrypt(in, out, crypt->encrypt_key);
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/idea.h:42:28: note: declared here
   42 | OSSL_DEPRECATEDIN_3_0 void IDEA_ecb_encrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~
symmetric.c: In function 'idea_block_decrypt':
symmetric.c:236:9: warning: 'IDEA_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  236 |         idea_ecb_encrypt(in, out, crypt->decrypt_key);
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/idea.h:42:28: note: declared here
   42 | OSSL_DEPRECATEDIN_3_0 void IDEA_ecb_encrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~
symmetric.c: In function 'idea_cfb_encrypt':
symmetric.c:242:9: warning: 'IDEA_cfb64_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  242 |         idea_cfb64_encrypt(in, out, (long)count,
      |         ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/idea.h:53:28: note: declared here
   53 | OSSL_DEPRECATEDIN_3_0 void IDEA_cfb64_encrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~~~
symmetric.c: In function 'idea_cfb_decrypt':
symmetric.c:250:9: warning: 'IDEA_cfb64_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  250 |         idea_cfb64_encrypt(in, out, (long)count,
      |         ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/idea.h:53:28: note: declared here
   53 | OSSL_DEPRECATEDIN_3_0 void IDEA_cfb64_encrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~~~
symmetric.c: In function 'aes128_init':
symmetric.c:287:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  287 |         if (AES_set_encrypt_key(crypt->key, KEYBITS_AES128,
      |         ^~
In file included from symmetric.c:74:
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
symmetric.c:299:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  299 |         if (AES_set_decrypt_key(crypt->key, KEYBITS_AES128,
      |         ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/aes.h:54:5: note: declared here
   54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
symmetric.c: In function 'aes_block_encrypt':
symmetric.c:309:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  309 |         AES_encrypt(in, out, crypt->encrypt_key);
      |         ^~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/aes.h:57:6: note: declared here
   57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
symmetric.c: In function 'aes_block_decrypt':
symmetric.c:315:9: warning: 'AES_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  315 |         AES_decrypt(in, out, crypt->decrypt_key);
      |         ^~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/aes.h:60:6: note: declared here
   60 | void AES_decrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
symmetric.c: In function 'aes_cfb_encrypt':
symmetric.c:321:9: warning: 'AES_cfb128_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  321 |         AES_cfb128_encrypt(in, out, (unsigned)count,
      |         ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/aes.h:70:6: note: declared here
   70 | void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~~~~
symmetric.c: In function 'aes_cfb_decrypt':
symmetric.c:329:9: warning: 'AES_cfb128_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  329 |         AES_cfb128_encrypt(in, out, (unsigned)count,
      |         ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/aes.h:70:6: note: declared here
   70 | void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~~~~
symmetric.c: In function 'aes256_init':
symmetric.c:365:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  365 |         if (AES_set_encrypt_key(crypt->key, KEYBITS_AES256,
      |         ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
symmetric.c:381:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  381 |         if (AES_set_decrypt_key(crypt->key, KEYBITS_AES256,
      |         ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/aes.h:54:5: note: declared here
   54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
symmetric.c: In function 'tripledes_init':
symmetric.c:426:17: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  426 |                 DES_set_key((DES_cblock *)(void *)(crypt->key + n * 8),
      |                 ^~~~~~~~~~~
In file included from symmetric.c:78:
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/des.h:186:5: note: declared here
  186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule);
      |     ^~~~~~~~~~~
symmetric.c: In function 'tripledes_block_encrypt':
symmetric.c:437:9: warning: 'DES_ecb3_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  437 |         DES_ecb3_encrypt(__UNCONST(in), out, &keys[0], &keys[1], &keys[2],
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/des.h:78:6: note: declared here
   78 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
      |      ^~~~~~~~~~~~~~~~
symmetric.c: In function 'tripledes_block_decrypt':
symmetric.c:446:9: warning: 'DES_ecb3_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  446 |         DES_ecb3_encrypt(__UNCONST(in), out, &keys[0], &keys[1], &keys[2],
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/des.h:78:6: note: declared here
   78 | void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output,
      |      ^~~~~~~~~~~~~~~~
symmetric.c: In function 'tripledes_cfb_encrypt':
symmetric.c:456:9: warning: 'DES_ede3_cfb64_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  456 |         DES_ede3_cfb64_encrypt(in, out, (long)count,
      |         ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/des.h:147:6: note: declared here
  147 | void DES_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~~~~~~~~
symmetric.c: In function 'tripledes_cfb_decrypt':
symmetric.c:467:9: warning: 'DES_ede3_cfb64_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  467 |         DES_ede3_cfb64_encrypt(in, out, (long)count,
      |         ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/des.h:147:6: note: declared here
  147 | void DES_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~~~~~~~~
symmetric.c: In function 'camellia128_init':
symmetric.c:504:9: warning: 'Camellia_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  504 |         if (Camellia_set_key(crypt->key, KEYBITS_CAMELLIA128, crypt->encrypt_key)) {
      |         ^~
In file included from symmetric.c:82:
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/camellia.h:58:27: note: declared here
   58 | OSSL_DEPRECATEDIN_3_0 int Camellia_set_key(const unsigned char *userKey,
      |                           ^~~~~~~~~~~~~~~~
symmetric.c:514:9: warning: 'Camellia_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  514 |         if (Camellia_set_key(crypt->key, KEYBITS_CAMELLIA128, crypt->decrypt_key)) {
      |         ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/camellia.h:58:27: note: declared here
   58 | OSSL_DEPRECATEDIN_3_0 int Camellia_set_key(const unsigned char *userKey,
      |                           ^~~~~~~~~~~~~~~~
symmetric.c: In function 'camellia_block_encrypt':
symmetric.c:523:9: warning: 'Camellia_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  523 |         Camellia_encrypt(in, out, crypt->encrypt_key);
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/camellia.h:61:28: note: declared here
   61 | OSSL_DEPRECATEDIN_3_0 void Camellia_encrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~
symmetric.c: In function 'camellia_block_decrypt':
symmetric.c:529:9: warning: 'Camellia_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  529 |         Camellia_decrypt(in, out, crypt->decrypt_key);
      |         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/camellia.h:64:28: note: declared here
   64 | OSSL_DEPRECATEDIN_3_0 void Camellia_decrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~
symmetric.c: In function 'camellia_cfb_encrypt':
symmetric.c:535:9: warning: 'Camellia_cfb128_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  535 |         Camellia_cfb128_encrypt(in, out, (unsigned)count,
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/camellia.h:77:28: note: declared here
   77 | OSSL_DEPRECATEDIN_3_0 void Camellia_cfb128_encrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~
symmetric.c: In function 'camellia_cfb_decrypt':
symmetric.c:543:9: warning: 'Camellia_cfb128_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  543 |         Camellia_cfb128_encrypt(in, out, (unsigned)count,
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/camellia.h:77:28: note: declared here
   77 | OSSL_DEPRECATEDIN_3_0 void Camellia_cfb128_encrypt(const unsigned char *in,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~
symmetric.c: In function 'camellia256_init':
symmetric.c:579:9: warning: 'Camellia_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  579 |         if (Camellia_set_key(crypt->key, KEYBITS_CAMELLIA256, crypt->encrypt_key)) {
      |         ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/camellia.h:58:27: note: declared here
   58 | OSSL_DEPRECATEDIN_3_0 int Camellia_set_key(const unsigned char *userKey,
      |                           ^~~~~~~~~~~~~~~~
symmetric.c:589:9: warning: 'Camellia_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  589 |         if (Camellia_set_key(crypt->key, KEYBITS_CAMELLIA256, crypt->decrypt_key)) {
      |         ^~
/home/pbulk/build/security/netpgp/work/.buildlink/include/openssl/camellia.h:58:27: note: declared here
   58 | OSSL_DEPRECATEDIN_3_0 int Camellia_set_key(const unsigned char *userKey,
      |                           ^~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-symmetric.lo -MD -MP -MF .deps/libnetpgp_la-symmetric.Tpo -c symmetric.c -o libnetpgp_la-symmetric.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-symmetric.Tpo .deps/libnetpgp_la-symmetric.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-validate.lo -MD -MP -MF .deps/libnetpgp_la-validate.Tpo -c -o libnetpgp_la-validate.lo `test -f 'validate.c' || echo './'`validate.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-validate.lo -MD -MP -MF .deps/libnetpgp_la-validate.Tpo -c validate.c  -fPIC -DPIC -o .libs/libnetpgp_la-validate.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-validate.lo -MD -MP -MF .deps/libnetpgp_la-validate.Tpo -c validate.c -o libnetpgp_la-validate.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-validate.Tpo .deps/libnetpgp_la-validate.Plo
/usr/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I../../include -I../libmj -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT libnetpgp_la-writer.lo -MD -MP -MF .deps/libnetpgp_la-writer.Tpo -c -o libnetpgp_la-writer.lo `test -f 'writer.c' || echo './'`writer.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-writer.lo -MD -MP -MF .deps/libnetpgp_la-writer.Tpo -c writer.c  -fPIC -DPIC -o .libs/libnetpgp_la-writer.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT libnetpgp_la-writer.lo -MD -MP -MF .deps/libnetpgp_la-writer.Tpo -c writer.c -o libnetpgp_la-writer.o >/dev/null 2>&1
mv -f .deps/libnetpgp_la-writer.Tpo .deps/libnetpgp_la-writer.Plo
/usr/bin/bash ../../libtool --tag=CC    --mode=link gcc -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include   -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o libnetpgp.la -rpath /opt/pkg/lib libnetpgp_la-bufgap.lo  libnetpgp_la-compress.lo libnetpgp_la-create.lo  libnetpgp_la-crypto.lo  libnetpgp_la-keyring.lo libnetpgp_la-misc.lo  libnetpgp_la-netpgp.lo libnetpgp_la-openssl_crypto.lo  libnetpgp_la-packet-parse.lo libnetpgp_la-packet-print.lo  libnetpgp_la-packet-show.lo libnetpgp_la-reader.lo  libnetpgp_la-signature.lo libnetpgp_la-ssh2pgp.lo  libnetpgp_la-symmetric.lo libnetpgp_la-validate.lo  libnetpgp_la-writer.lo ../libmj/libmj.la -lcrypto -lbz2 -lz
libtool: link: gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libnetpgp.so.0 -o .libs/libnetpgp.so.0.0.0  .libs/libnetpgp_la-bufgap.o .libs/libnetpgp_la-compress.o .libs/libnetpgp_la-create.o .libs/libnetpgp_la-crypto.o .libs/libnetpgp_la-keyring.o .libs/libnetpgp_la-misc.o .libs/libnetpgp_la-netpgp.o .libs/libnetpgp_la-openssl_crypto.o .libs/libnetpgp_la-packet-parse.o .libs/libnetpgp_la-packet-print.o .libs/libnetpgp_la-packet-show.o .libs/libnetpgp_la-reader.o .libs/libnetpgp_la-signature.o .libs/libnetpgp_la-ssh2pgp.o .libs/libnetpgp_la-symmetric.o .libs/libnetpgp_la-validate.o .libs/libnetpgp_la-writer.o   -R/home/pbulk/build/security/netpgp/work/netpgp-20140220/src/libmj/.libs -R/home/pbulk/build/security/netpgp/work/.buildlink/lib -R/opt/pkg/lib -R/home/pbulk/build/security/netpgp/work/.buildlink/lib -L/home/pbulk/build/security/netpgp/work/.buildlink/lib ../libmj/.libs/libmj.so -lcrypto /home/pbulk/build/security/netpgp/work/.buildlink/lib/libbz2.so /home/pbulk/build/security/netpgp/work/.buildlink/lib/libz.so  -O2 -msave-args -Wl,-rpath -Wl,/opt/pkg/lib  
libtool: link: (cd ".libs" && rm -f "libnetpgp.so.0" && ln -s "libnetpgp.so.0.0.0" "libnetpgp.so.0")
libtool: link: (cd ".libs" && rm -f "libnetpgp.so" && ln -s "libnetpgp.so.0.0.0" "libnetpgp.so")
libtool: link: ar cr .libs/libnetpgp.a  libnetpgp_la-bufgap.o libnetpgp_la-compress.o libnetpgp_la-create.o libnetpgp_la-crypto.o libnetpgp_la-keyring.o libnetpgp_la-misc.o libnetpgp_la-netpgp.o libnetpgp_la-openssl_crypto.o libnetpgp_la-packet-parse.o libnetpgp_la-packet-print.o libnetpgp_la-packet-show.o libnetpgp_la-reader.o libnetpgp_la-signature.o libnetpgp_la-ssh2pgp.o libnetpgp_la-symmetric.o libnetpgp_la-validate.o libnetpgp_la-writer.o
libtool: link: ranlib .libs/libnetpgp.a
libtool: link: ( cd ".libs" && rm -f "libnetpgp.la" && ln -s "../libnetpgp.la" "libnetpgp.la" )
Making all in netpgp
gcc -DHAVE_CONFIG_H -I. -I../../src/lib  -I../../include -I/opt/pkg/include -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -MT netpgp-netpgp.o -MD -MP -MF .deps/netpgp-netpgp.Tpo -c -o netpgp-netpgp.o `test -f 'netpgp.c' || echo './'`netpgp.c
mv -f .deps/netpgp-netpgp.Tpo .deps/netpgp-netpgp.Po
/usr/bin/bash ../../libtool --tag=CC    --mode=link gcc -Werror -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include   -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o netpgp netpgp-netpgp.o ../lib/libnetpgp.la ../libmj/libmj.la -lcrypto -lbz2 -lz
libtool: link: gcc -Wall -Wpointer-arith -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/home/pbulk/build/security/netpgp/work/.buildlink/include -Wl,-rpath -Wl,/opt/pkg/lib -o .libs/netpgp netpgp-netpgp.o  -L/home/pbulk/build/security/netpgp/work/.buildlink/lib ../lib/.libs/libnetpgp.so /home/pbulk/build/security/netpgp/work/netpgp-20140220/src/libmj/.libs/libmj.so ../libmj/.libs/libmj.so -lcrypto /home/pbulk/build/security/netpgp/work/.buildlink/lib/libbz2.so /home/pbulk/build/security/netpgp/work/.buildlink/lib/libz.so -R/opt/pkg/lib -R/home/pbulk/build/security/netpgp/work/.buildlink/lib
ld: warning: file ../libmj/.libs/libmj.so: linked to /home/pbulk/build/security/netpgp/work/netpgp-20140220/src/libmj/.libs/libmj.so: attempted multiple inclusion of file
Undefined			first referenced
 symbol  			    in file
MIN                                 ../lib/.libs/libnetpgp.so
ld: fatal: symbol referencing errors. No output written to .libs/netpgp
collect2: error: ld returned 1 exit status
*** [netpgp] Error code 1

bmake[2]: stopped in /home/pbulk/build/security/netpgp/work/netpgp-20140220/src/netpgp
1 error

bmake[2]: stopped in /home/pbulk/build/security/netpgp/work/netpgp-20140220/src/netpgp
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/security/netpgp/work/netpgp-20140220/src
1 error

bmake[1]: stopped in /home/pbulk/build/security/netpgp/work/netpgp-20140220/src
*** [all-recursive] Error code 1

bmake: stopped in /home/pbulk/build/security/netpgp/work/netpgp-20140220
1 error

bmake: stopped in /home/pbulk/build/security/netpgp/work/netpgp-20140220
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/netpgp
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/netpgp