Bug 247824 - net/samba410: 4.10.17 fails to build: undefined reference to `gnutls_*`
Summary: net/samba410: 4.10.17 fails to build: undefined reference to `gnutls_*`
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Timur I. Bakeyev
URL:
Keywords: needs-qa, regression
Depends on:
Blocks:
 
Reported: 2020-07-07 13:00 UTC by Oleg Shabashov
Modified: 2020-07-07 13:43 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback? (timur)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Shabashov 2020-07-07 13:00:05 UTC
I have a problem with upgrading samba 4.10.15 to 4.10.17 with portmaster.

This is the options that I've set:

OPTIONS_FILE_SET+=GSSAPI_BUILTIN
OPTIONS_FILE_SET+=ZEROCONF_NONE

Last part of the build log:

[1389/3565] Compiling auth/credentials/credentials.c
runner ['cc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-O2', '-pipe', '-DLIBICONV_PLUG', '-fno-color-diagnostics', '-fstack-protector-strong', '-isystem', '/usr/local/include', '-fno-strict-aliasing', '-fno-omit-frame-pointer', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIC', '-D_REENTRANT', '-fstack-protector-strong', '-DSTATIC_samba_credentials_MODULES=NULL', '-DSTATIC_samba_credentials_MODULES_PROTO=extern void __samba_credentials_dummy_module_proto(void)', '-Iauth/credentials', '-I../../auth/credentials', '-Iinclude/public', '-I../../include/public', '-Isource4', '-I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib', '-I../../source4/lib', '-Isource4/include', '-I../../source4/include', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-I.', '-I../..', '-Ilibrpc', '-I../../librpc', '-Isource4/lib/stream', '-I../../source4/lib/stream', '-Isource3', '-I../../source3', '-Isource3/include', '-I../../source3/include', '-Isource3/lib', '-I../../source3/lib', '-Isource4/heimdal/lib/com_err', '-I../../source4/heimdal/lib/com_err', '-Isource4/heimdal/lib/krb5', '-I../../source4/heimdal/lib/krb5', '-Isource4/heimdal/lib/gssapi', '-I../../source4/heimdal/lib/gssapi', '-Isource4/heimdal_build', '-I../../source4/heimdal_build', '-Ibin/default/source4/heimdal/lib/asn1', '-Isource4/heimdal/lib/asn1', '-Isource3/usr/local/include', '-I../../source3/usr/local/include', '-Isource4/heimdal/lib/hx509', '-I../../source4/heimdal/lib/hx509', '-Idynconfig', '-I../../dynconfig', '-Ilibcli/auth', '-I../../libcli/auth', '-Ilibcli/lsarpc', '-I../../libcli/lsarpc', '-Isource4/lib/events', '-I../../source4/lib/events', '-Ilib/param', '-I../../lib/param', '-Ilib/tsocket', '-I../../lib/tsocket', '-Isource4/libcli', '-I../../source4/libcli', '-Ilib/dbwrap', '-I../../lib/dbwrap', '-Isource4/heimdal/lib/asn1', '-I../../source4/heimdal/lib/asn1', '-Isource4/param', '-I../../source4/param', '-Isource3/librpc/usr/local/include', '-I../../source3/librpc/usr/local/include', '-Isource3/librpc', '-I../../source3/librpc', '-Isource4/dsdb', '-I../../source4/dsdb', '-Isource4/heimdal/base', '-I../../source4/heimdal/base', '-Isource4/heimdal/include', '-I../../source4/heimdal/include', '-Ilib/crypto', '-I../../lib/crypto', '-Ilib/krb5_wrap', '-I../../lib/krb5_wrap', '-Isource4/auth/kerberos', '-I../../source4/auth/kerberos', '-Ilib/socket', '-I../../lib/socket', '-Ilibds/common', '-I../../libds/common', '-Isource4/heimdal/lib/wind', '-I../../source4/heimdal/lib/wind', '-Ilib/ldb-samba', '-I../../lib/ldb-samba', '-Ilib/ldb/include', '-I../../lib/ldb/include', '-Ilib/ldb', '-I../../lib/ldb', '-Isource4/lib/messaging', '-I../../source4/lib/messaging', '-Ilibcli/nbt', '-I../../libcli/nbt', '-Iauth', '-I../../auth', '-Iauth/kerberos', '-I../../auth/kerberos', '-Ilib/util/charset', '-I../../lib/util/charset', '-Ilibcli/util', '-I../../libcli/util', '-Ilib/audit_logging', '-I../../lib/audit_logging', '-Isource4/heimdal/lib/roken', '-I../../source4/heimdal/lib/roken', '-Isource4/cluster', '-I../../source4/cluster', '-Isource4/heimdal/lib/gssapi/gssapi', '-I../../source4/heimdal/lib/gssapi/gssapi', '-Isource4/heimdal/lib/gssapi/spnego', '-I../../source4/heimdal/lib/gssapi/spnego', '-Isource4/heimdal/lib/gssapi/krb5', '-I../../source4/heimdal/lib/gssapi/krb5', '-Isource4/heimdal/lib/gssapi/mech', '-I../../source4/heimdal/lib/gssapi/mech', '-Isource4/heimdal/lib/hcrypto', '-I../../source4/heimdal/lib/hcrypto', '-Isource4/heimdal/lib', '-I../../source4/heimdal/lib', '-Ilibcli/security', '-I../../libcli/security', '-Ilib/pthreadpool', '-I../../lib/pthreadpool', '-Isource4/lib/socket', '-I../../source4/lib/socket', '-Isource4/heimdal/lib/hcrypto/libtommath', '-I../../source4/heimdal/lib/hcrypto/libtommath', '-Ilib/compression', '-I../../lib/compression', '-Ilibcli/ldap', '-I../../libcli/ldap', '-Isource4/lib/tls', '-I../../source4/lib/tls', '-I../../../../../../../local/include', '../../auth/credentials/credentials.c', '-c', '-o/usr/ports/net/samba410/work/samba-4.10.17/bin/default/auth/credentials/credentials.c.1.o', '-DLIBICONV_PLUG', '-isystem', '/usr/local/include']
source4/lib/tls/tls.c.1.o: In function `tls_initialise':
tls.c:(.text+0x1d6): undefined reference to `gnutls_global_init'
tls.c:(.text+0x1e6): undefined reference to `gnutls_certificate_allocate_credentials'
tls.c:(.text+0x204): undefined reference to `gnutls_certificate_set_x509_trust_file'
tls.c:(.text+0x22a): undefined reference to `gnutls_certificate_set_x509_crl_file'
tls.c:(.text+0x249): undefined reference to `gnutls_certificate_set_x509_key_file'
tls.c:(.text+0x260): undefined reference to `gnutls_dh_params_init'
tls.c:(.text+0x2c5): undefined reference to `gnutls_dh_params_import_pkcs3'
tls.c:(.text+0x38e): undefined reference to `gnutls_dh_params_generate2'
tls.c:(.text+0x3a9): undefined reference to `gnutls_certificate_set_dh_params'
tls.c:(.text+0x4b1): undefined reference to `gnutls_strerror'
source4/lib/tls/tls.c.1.o: In function `tls_init_server':
tls.c:(.text+0x61d): undefined reference to `gnutls_init'
tls.c:(.text+0x642): undefined reference to `gnutls_priority_set_direct'
tls.c:(.text+0x6ec): undefined reference to `gnutls_credentials_set'
tls.c:(.text+0x6fe): undefined reference to `gnutls_certificate_server_set_request'
tls.c:(.text+0x70c): undefined reference to `gnutls_dh_set_prime_bits'
tls.c:(.text+0x718): undefined reference to `gnutls_transport_set_ptr'
tls.c:(.text+0x728): undefined reference to `gnutls_transport_set_pull_function'
tls.c:(.text+0x738): undefined reference to `gnutls_transport_set_push_function'
tls.c:(.text+0x7a7): undefined reference to `gnutls_strerror'
tls.c:(.text+0x7e1): undefined reference to `gnutls_strerror'
tls.c:(.text+0x81e): undefined reference to `gnutls_strerror'
tls.c:(.text+0x866): undefined reference to `gnutls_strerror'
source4/lib/tls/tls.c.1.o: In function `tls_destructor':
tls.c:(.text+0x8a0): undefined reference to `gnutls_bye'
tls.c:(.text+0x8e0): undefined reference to `gnutls_strerror'
source4/lib/tls/tls.c.1.o: In function `tls_socket_recv':
tls.c:(.text+0xc5a): undefined reference to `gnutls_record_get_direction'
tls.c:(.text+0xc6c): undefined reference to `gnutls_record_send'
tls.c:(.text+0xc92): undefined reference to `gnutls_record_recv'
tls.c:(.text+0xcb5): undefined reference to `gnutls_record_recv'
tls.c:(.text+0xcc8): undefined reference to `gnutls_record_get_direction'
source4/lib/tls/tls.c.1.o: In function `tls_socket_send':
tls.c:(.text+0xd78): undefined reference to `gnutls_record_get_direction'
tls.c:(.text+0xd8a): undefined reference to `gnutls_record_send'
tls.c:(.text+0xdad): undefined reference to `gnutls_record_recv'
tls.c:(.text+0xdd9): undefined reference to `gnutls_record_send'
tls.c:(.text+0xdf1): undefined reference to `gnutls_record_get_direction'
tls.c:(.text+0xe83): undefined reference to `gnutls_strerror'
source4/lib/tls/tls.c.1.o: In function `tls_socket_pending':
tls.c:(.text+0xedd): undefined reference to `gnutls_record_check_pending'
source4/lib/tls/tls.c.1.o: In function `tls_handshake':
tls.c:(.text+0x1019): undefined reference to `gnutls_handshake'
tls.c:(.text+0x102f): undefined reference to `gnutls_record_get_direction'
tls.c:(.text+0x1099): undefined reference to `gnutls_strerror'
source4/lib/tls/tlscert.c.1.o: In function `tls_cert_generate':
tlscert.c:(.text+0xb5): undefined reference to `gnutls_global_init'
tlscert.c:(.text+0x11b): undefined reference to `gnutls_x509_privkey_init'
tlscert.c:(.text+0x13b): undefined reference to `gnutls_x509_privkey_generate'
tlscert.c:(.text+0x161): undefined reference to `gnutls_x509_privkey_init'
tlscert.c:(.text+0x181): undefined reference to `gnutls_x509_privkey_generate'
tlscert.c:(.text+0x1a7): undefined reference to `gnutls_x509_crt_init'
tlscert.c:(.text+0x1d1): undefined reference to `gnutls_x509_crt_set_dn_by_oid'
tlscert.c:(.text+0x1fb): undefined reference to `gnutls_x509_crt_set_dn_by_oid'
tlscert.c:(.text+0x22c): undefined reference to `gnutls_x509_crt_set_dn_by_oid'
tlscert.c:(.text+0x247): undefined reference to `gnutls_x509_crt_set_key'
tlscert.c:(.text+0x267): undefined reference to `gnutls_x509_crt_set_serial'
tlscert.c:(.text+0x27e): undefined reference to `gnutls_x509_crt_set_activation_time'
tlscert.c:(.text+0x29c): undefined reference to `gnutls_x509_crt_set_expiration_time'
tlscert.c:(.text+0x2b5): undefined reference to `gnutls_x509_crt_set_ca_status'
tlscert.c:(.text+0x2ce): undefined reference to `gnutls_x509_crt_set_key_usage'
tlscert.c:(.text+0x2e7): undefined reference to `gnutls_x509_crt_set_version'
tlscert.c:(.text+0x30b): undefined reference to `gnutls_x509_crt_get_key_id'
tlscert.c:(.text+0x32d): undefined reference to `gnutls_x509_crt_set_subject_key_id'
tlscert.c:(.text+0x353): undefined reference to `gnutls_x509_crt_sign2'
tlscert.c:(.text+0x379): undefined reference to `gnutls_x509_crt_init'
tlscert.c:(.text+0x3a3): undefined reference to `gnutls_x509_crt_set_dn_by_oid'
tlscert.c:(.text+0x3cd): undefined reference to `gnutls_x509_crt_set_dn_by_oid'
tlscert.c:(.text+0x3fb): undefined reference to `gnutls_x509_crt_set_dn_by_oid'
tlscert.c:(.text+0x416): undefined reference to `gnutls_x509_crt_set_key'
tlscert.c:(.text+0x436): undefined reference to `gnutls_x509_crt_set_serial'
tlscert.c:(.text+0x451): undefined reference to `gnutls_x509_crt_set_activation_time'
tlscert.c:(.text+0x468): undefined reference to `gnutls_x509_crt_set_expiration_time'
tlscert.c:(.text+0x47e): undefined reference to `gnutls_x509_crt_set_ca_status'
tlscert.c:(.text+0x49b): undefined reference to `gnutls_x509_crt_set_key_purpose_oid'
tlscert.c:(.text+0x4b4): undefined reference to `gnutls_x509_crt_set_version'
tlscert.c:(.text+0x4d8): undefined reference to `gnutls_x509_crt_get_key_id'
tlscert.c:(.text+0x4fa): undefined reference to `gnutls_x509_crt_set_subject_key_id'
tlscert.c:(.text+0x520): undefined reference to `gnutls_x509_crt_sign2'
tlscert.c:(.text+0x54a): undefined reference to `gnutls_x509_crt_sign2'
tlscert.c:(.text+0x58e): undefined reference to `gnutls_x509_crt_export'
tlscert.c:(.text+0x5e2): undefined reference to `gnutls_x509_crt_export'
tlscert.c:(.text+0x636): undefined reference to `gnutls_x509_privkey_export'
tlscert.c:(.text+0x66d): undefined reference to `gnutls_x509_privkey_deinit'
tlscert.c:(.text+0x679): undefined reference to `gnutls_x509_privkey_deinit'
tlscert.c:(.text+0x685): undefined reference to `gnutls_x509_crt_deinit'
tlscert.c:(.text+0x691): undefined reference to `gnutls_x509_crt_deinit'
tlscert.c:(.text+0x696): undefined reference to `gnutls_global_deinit'
tlscert.c:(.text+0x706): undefined reference to `gnutls_strerror'
tlscert.c:(.text+0x75a): undefined reference to `gnutls_strerror'
tlscert.c:(.text+0x798): undefined reference to `gnutls_strerror'
tlscert.c:(.text+0x7e2): undefined reference to `gnutls_strerror'
tlscert.c:(.text+0x823): undefined reference to `gnutls_strerror'
source4/lib/tls/tlscert.c.1.o:tlscert.c:(.text+0x86d): more undefined references to `gnutls_strerror' follow
source4/lib/tls/tls_tstream.c.1.o: In function `tstream_tls_params_client':
tls_tstream.c:(.text+0x95): undefined reference to `gnutls_global_init'
tls_tstream.c:(.text+0x15e): undefined reference to `gnutls_certificate_allocate_credentials'
tls_tstream.c:(.text+0x1b8): undefined reference to `gnutls_certificate_set_x509_trust_file'
tls_tstream.c:(.text+0x22f): undefined reference to `gnutls_certificate_set_x509_crl_file'
tls_tstream.c:(.text+0x2fd): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x341): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x496): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x50d): undefined reference to `gnutls_strerror'
source4/lib/tls/tls_tstream.c.1.o: In function `tstream_tls_params_destructor':
tls_tstream.c:(.text+0x5b2): undefined reference to `gnutls_certificate_free_credentials'
tls_tstream.c:(.text+0x5c7): undefined reference to `gnutls_dh_params_deinit'
source4/lib/tls/tls_tstream.c.1.o: In function `_tstream_tls_connect_send':
tls_tstream.c:(.text+0x72b): undefined reference to `gnutls_init'
tls_tstream.c:(.text+0x763): undefined reference to `gnutls_priority_set_direct'
tls_tstream.c:(.text+0x796): undefined reference to `gnutls_credentials_set'
tls_tstream.c:(.text+0x807): undefined reference to `gnutls_transport_set_ptr'
tls_tstream.c:(.text+0x81b): undefined reference to `gnutls_transport_set_pull_function'
tls_tstream.c:(.text+0x82f): undefined reference to `gnutls_transport_set_push_function'
tls_tstream.c:(.text+0x881): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x8c4): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x90b): undefined reference to `gnutls_strerror'
source4/lib/tls/tls_tstream.c.1.o: In function `tstream_tls_destructor':
tls_tstream.c:(.text+0x953): undefined reference to `gnutls_deinit'
source4/lib/tls/tls_tstream.c.1.o: In function `tstream_tls_retry_handshake':
tls_tstream.c:(.text+0xd0e): undefined reference to `gnutls_handshake'
tls_tstream.c:(.text+0xd49): undefined reference to `gnutls_error_is_fatal'
tls_tstream.c:(.text+0xe32): undefined reference to `gnutls_certificate_verify_peers2'
tls_tstream.c:(.text+0xe91): undefined reference to `gnutls_certificate_get_peers'
tls_tstream.c:(.text+0xea8): undefined reference to `gnutls_x509_crt_init'
tls_tstream.c:(.text+0xf07): undefined reference to `gnutls_x509_crt_import'
tls_tstream.c:(.text+0xf26): undefined reference to `gnutls_x509_crt_deinit'
tls_tstream.c:(.text+0xf46): undefined reference to `gnutls_x509_crt_check_hostname'
tls_tstream.c:(.text+0xf5a): undefined reference to `gnutls_x509_crt_deinit'
tls_tstream.c:(.text+0xfc1): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x1007): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x109d): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x11c6): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x120d): undefined reference to `gnutls_strerror'
source4/lib/tls/tls_tstream.c.1.o: In function `tstream_tls_params_server':
tls_tstream.c:(.text+0x13f5): undefined reference to `gnutls_global_init'
tls_tstream.c:(.text+0x1519): undefined reference to `gnutls_certificate_allocate_credentials'
tls_tstream.c:(.text+0x156a): undefined reference to `gnutls_certificate_set_x509_trust_file'
tls_tstream.c:(.text+0x1599): undefined reference to `gnutls_certificate_set_x509_crl_file'
tls_tstream.c:(.text+0x15c0): undefined reference to `gnutls_certificate_set_x509_key_file'
tls_tstream.c:(.text+0x166b): undefined reference to `gnutls_dh_params_init'
tls_tstream.c:(.text+0x172e): undefined reference to `gnutls_dh_params_import_pkcs3'
tls_tstream.c:(.text+0x175d): undefined reference to `gnutls_dh_params_generate2'
tls_tstream.c:(.text+0x17a7): undefined reference to `gnutls_certificate_set_dh_params'
tls_tstream.c:(.text+0x182c): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x1877): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x18bb): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x1902): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x1946): undefined reference to `gnutls_strerror'
source4/lib/tls/tls_tstream.c.1.o:tls_tstream.c:(.text+0x1986): more undefined references to `gnutls_strerror' follow
source4/lib/tls/tls_tstream.c.1.o: In function `_tstream_tls_accept_send':
tls_tstream.c:(.text+0x1b90): undefined reference to `gnutls_init'
tls_tstream.c:(.text+0x1bc8): undefined reference to `gnutls_priority_set_direct'
tls_tstream.c:(.text+0x1bfb): undefined reference to `gnutls_credentials_set'
tls_tstream.c:(.text+0x1c6a): undefined reference to `gnutls_certificate_server_set_request'
tls_tstream.c:(.text+0x1c7c): undefined reference to `gnutls_dh_set_prime_bits'
tls_tstream.c:(.text+0x1c90): undefined reference to `gnutls_transport_set_ptr'
tls_tstream.c:(.text+0x1ca4): undefined reference to `gnutls_transport_set_pull_function'
tls_tstream.c:(.text+0x1cb8): undefined reference to `gnutls_transport_set_push_function'
tls_tstream.c:(.text+0x1d0a): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x1d4d): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x1d94): undefined reference to `gnutls_strerror'
source4/lib/tls/tls_tstream.c.1.o: In function `tstream_tls_pending_bytes':
tls_tstream.c:(.text+0x1e81): undefined reference to `gnutls_record_check_pending'
source4/lib/tls/tls_tstream.c.1.o: In function `tstream_tls_retry_read':
tls_tstream.c:(.text+0x254f): undefined reference to `gnutls_record_recv'
tls_tstream.c:(.text+0x257c): undefined reference to `gnutls_error_is_fatal'
tls_tstream.c:(.text+0x2602): undefined reference to `gnutls_strerror'
source4/lib/tls/tls_tstream.c.1.o: In function `tstream_tls_retry_write':
tls_tstream.c:(.text+0x2812): undefined reference to `gnutls_record_send'
tls_tstream.c:(.text+0x2834): undefined reference to `gnutls_error_is_fatal'
tls_tstream.c:(.text+0x292f): undefined reference to `gnutls_strerror'
source4/lib/tls/tls_tstream.c.1.o: In function `tstream_tls_retry_disconnect':
tls_tstream.c:(.text+0x29ab): undefined reference to `gnutls_bye'
tls_tstream.c:(.text+0x29d6): undefined reference to `gnutls_error_is_fatal'
tls_tstream.c:(.text+0x2a61): undefined reference to `gnutls_strerror'
tls_tstream.c:(.text+0x2aa8): undefined reference to `gnutls_strerror'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Waf: Leaving directory `/usr/ports/net/samba410/work/samba-4.10.17/bin/default'
Build failed
 -> task in 'authkrb5' failed with exit status 1:
        {task 34535982544: cshlib tls.c.1.o,tlscert.c.1.o,tls_tstream.c.1.o,packet.c.1.o,gssapi_pac.c.1.o,kerberos_pac.c.1.o,gssapi_helper.c.1.o,krb5_init_context.c.1.o,kerberos_pac.c.2.o -> libauthkrb5-samba4.so}
['cc', '-Wl,--version-script=/usr/ports/net/samba410/work/samba-4.10.17/bin/default/source4/auth/kerberos/authkrb5.vscript', '-shared', 'source4/lib/tls/tls.c.1.o', 'source4/lib/tls/tlscert.c.1.o', 'source4/lib/tls/tls_tstream.c.1.o', 'source4/lib/stream/packet.c.1.o', 'auth/kerberos/gssapi_pac.c.1.o', 'auth/kerberos/kerberos_pac.c.1.o', 'auth/kerberos/gssapi_helper.c.1.o', 'source4/auth/kerberos/krb5_init_context.c.1.o', 'source4/auth/kerberos/kerberos_pac.c.2.o', '-o/usr/ports/net/samba410/work/samba-4.10.17/bin/default/source4/auth/kerberos/libauthkrb5-samba4.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/lib/dbwrap', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/source3', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/source4/cluster', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/lib/tdb_wrap', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/source4/lib/messaging', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/libcli/security', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/lib/socket', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/source4/lib/events', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/lib/ldb', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/lib/krb5_wrap', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/libcli/util', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/lib/param', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/source4/heimdal_build', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/lib/replace', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/auth', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/lib/util', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/librpc', '-L/usr/ports/net/samba410/work/samba-4.10.17/bin/default/lib', '-L/usr/local/lib', '-L/usr/local/lib', '-L/usr/local/lib', '-L/usr/local/lib', '-lsamba-sockets-samba4', '-lndr-krb5pac', '-ltevent-util', '-lcommon-auth-samba4', '-lreplace-samba4', '-lgssapi-samba4', '-lasn1-samba4', '-lsamba-hostconfig', '-lndr-nbt', '-lndr', '-lsamba-errors', '-lkrb5samba-samba4', '-lldb', '-lroken-samba4', '-lsocket-blocking-samba4', '-levents-samba4', '-lsamba-util', '-linterfaces-samba4', '-liov-buf-samba4', '-lndr-standard', '-lsamba-security-samba4', '-lsamba-debug-samba4', '-lserver-id-db-samba4', '-lndr-samba-samba4', '-lMESSAGING-SEND-samba4', '-lcom_err-samba4', '-lwind-samba4', '-lkrb5-samba4', '-lhcrypto-samba4', '-lserver-role-samba4', '-lgenrand-samba4', '-lutil-setid-samba4', '-ltime-basic-samba4', '-lsys-rw-samba4', '-lutil-tdb-samba4', '-ltdb-wrap-samba4', '-lasn1util-samba4', '-lcluster-samba4', '-lmessages-dgm-samba4', '-lmessages-util-samba4', '-lheimbase-samba4', '-lhx509-samba4', '-ldbwrap-samba4', '-lmsghdr-samba4', '-lz', '-lexecinfo', '-lpthread', '-lmd', '-liconv', '-lcrypt', '-lutil', '-ltalloc', '-ljansson', '-ltevent', '-ltalloc', '-ltdb', '-lgcrypt', '-fstack-protector-strong', '-L/usr/local/lib', '-Wl,-z,relro,-z,now', '-Wl,-no-undefined', '-Wl,--export-dynamic', '-Wl,--as-needed']
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/samba410
*** Error code 1

Stop.
make: stopped in /usr/ports/net/samba410

===>>> make build failed for net/samba410
===>>> Aborting update
Comment 1 Oleg Shabashov 2020-07-07 13:43:01 UTC
Rebuilded gnutls and the problem was gone.