On 8/23/19 9:55 PM, John Cox wrote: > Hi > > Whilst I know it doesn't help you I just git cloned that URL and the > tag checkout just worked for me. What happens if you make another new > (temporary) repo with clone and try again? > > Regards > > John Cox >
Using a new clone, as suggested: The tag "opensmtpd-6.4.2p1" is available, but it doesn't build on Debian sid (openssl 1.1.1c). Full build.log is attached. : : gcc -DHAVE_CONFIG_H -I. -I../.. -I../../smtpd -I../../openbsd-compat -I../../openbsd-compat/err_h -I../../openbsd-compat/paths_h -I. -I/usr/include -DSMTPD_CONFDIR=\"/usr/local/etc\" -DPATH_CHROOT=\"/var/empty\" -DPATH_SMTPCTL=\"/usr/local/sbin/smtpctl\" -DPATH_MAILLOCAL=\"/usr/local/libexec/opensmtpd/mail.local\" -DPATH_LIBEXEC=\"/usr/local/libexec/opensmtpd\" -DHAVE_CONFIG_H -DIO_SSL -DCA_FILE=\"/etc/ssl/cert.pem\" -g -O2 -fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -DNEED_EVENT_ASR_RUN -c -o ../../smtpd/smtpd-ca.o `test -f '../../smtpd/ca.c' || echo './'`../../smtpd/ca.c ../../smtpd/ca.c: In function 'ca_X509_verify': ../../smtpd/ca.c:204:47: error: dereferencing pointer to incomplete type 'X509_STORE_CTX' {aka 'struct x509_store_ctx_s'} 204 | *errstr = X509_verify_cert_error_string(xsc->error); | ^~ ../../smtpd/ca.c: At top level: ../../smtpd/ca.c:307:1: error: variable 'rsae_method' has initializer but incomplete type 307 | static RSA_METHOD rsae_method = { | ^~~~~~ ../../smtpd/ca.c:308:2: warning: excess elements in struct initializer 308 | "RSA privsep engine", | ^~~~~~~~~~~~~~~~~~~~ ../../smtpd/ca.c:308:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:309:2: warning: excess elements in struct initializer 309 | rsae_pub_enc, | ^~~~~~~~~~~~ ../../smtpd/ca.c:309:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:310:2: warning: excess elements in struct initializer 310 | rsae_pub_dec, | ^~~~~~~~~~~~ ../../smtpd/ca.c:310:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:311:2: warning: excess elements in struct initializer 311 | rsae_priv_enc, | ^~~~~~~~~~~~~ ../../smtpd/ca.c:311:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:312:2: warning: excess elements in struct initializer 312 | rsae_priv_dec, | ^~~~~~~~~~~~~ ../../smtpd/ca.c:312:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:313:2: warning: excess elements in struct initializer 313 | rsae_mod_exp, | ^~~~~~~~~~~~ ../../smtpd/ca.c:313:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:314:2: warning: excess elements in struct initializer 314 | rsae_bn_mod_exp, | ^~~~~~~~~~~~~~~ ../../smtpd/ca.c:314:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:315:2: warning: excess elements in struct initializer 315 | rsae_init, | ^~~~~~~~~ ../../smtpd/ca.c:315:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:316:2: warning: excess elements in struct initializer 316 | rsae_finish, | ^~~~~~~~~~~ ../../smtpd/ca.c:316:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:317:2: warning: excess elements in struct initializer 317 | 0, | ^ ../../smtpd/ca.c:317:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:318:2: warning: excess elements in struct initializer 318 | NULL, | ^~~~ ../../smtpd/ca.c:318:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:319:2: warning: excess elements in struct initializer 319 | NULL, | ^~~~ ../../smtpd/ca.c:319:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:320:2: warning: excess elements in struct initializer 320 | NULL, | ^~~~ ../../smtpd/ca.c:320:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c:321:2: warning: excess elements in struct initializer 321 | rsae_keygen | ^~~~~~~~~~~ ../../smtpd/ca.c:321:2: note: (near initialization for 'rsae_method') ../../smtpd/ca.c: In function 'rsae_pub_enc': ../../smtpd/ca.c:407:21: error: dereferencing pointer to incomplete type 'RSA_METHOD' {aka 'const struct rsa_meth_st'} 407 | return (rsa_default->rsa_pub_enc(flen, from, to, rsa, padding)); | ^~ ../../smtpd/ca.c: In function 'ca_engine_init': ../../smtpd/ca.c:493:38: error: invalid use of incomplete typedef 'RSA_METHOD' {aka 'struct rsa_meth_st'} 493 | if (!ENGINE_set_name(e, rsae_method.name)) { | ^ ../../smtpd/ca.c:511:27: error: 'RSA_FLAG_SIGN_VER' undeclared (first use in this function) 511 | if (rsa_default->flags & RSA_FLAG_SIGN_VER) | ^~~~~~~~~~~~~~~~~ ../../smtpd/ca.c:511:27: note: each undeclared identifier is reported only once for each function it appears in ../../smtpd/ca.c:515:14: error: invalid use of incomplete typedef 'RSA_METHOD' {aka 'struct rsa_meth_st'} 515 | rsae_method.rsa_mod_exp = NULL; | ^ ../../smtpd/ca.c:517:14: error: invalid use of incomplete typedef 'RSA_METHOD' {aka 'struct rsa_meth_st'} 517 | rsae_method.bn_mod_exp = NULL; | ^ ../../smtpd/ca.c:519:14: error: invalid use of incomplete typedef 'RSA_METHOD' {aka 'struct rsa_meth_st'} 519 | rsae_method.rsa_keygen = NULL; | ^ ../../smtpd/ca.c:520:13: error: invalid use of incomplete typedef 'RSA_METHOD' {aka 'struct rsa_meth_st'} 520 | rsae_method.flags = rsa_default->flags | | ^ ../../smtpd/ca.c:522:13: error: invalid use of incomplete typedef 'RSA_METHOD' {aka 'struct rsa_meth_st'} 522 | rsae_method.app_data = rsa_default->app_data; | ^ ../../smtpd/ca.c: At top level: ../../smtpd/ca.c:307:19: error: storage size of 'rsae_method' isn't known 307 | static RSA_METHOD rsae_method = { | ^~~~~~~~~~~ make[3]: *** [Makefile:744: ../../smtpd/smtpd-ca.o] Error 1 make[3]: Leaving directory '/home/harri/tmp1/OpenSMTPD/mk/smtpd' make[2]: *** [Makefile:373: all-recursive] Error 1 make[2]: Leaving directory '/home/harri/tmp1/OpenSMTPD/mk' make[1]: *** [Makefile:420: all-recursive] Error 1 make[1]: Leaving directory '/home/harri/tmp1/OpenSMTPD' make: *** [Makefile:352: all] Error 2 Regards Harri
build.log.txt.gz
Description: application/gzip