From nobody@FreeBSD.org  Wed Mar 12 14:51:40 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 7D056181
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Mar 2014 14:51:40 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 68967677
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Mar 2014 14:51:40 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2CEpeae026356
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Mar 2014 14:51:40 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2CEpev1026352;
	Wed, 12 Mar 2014 14:51:40 GMT
	(envelope-from nobody)
Message-Id: <201403121451.s2CEpev1026352@cgiserv.freebsd.org>
Date: Wed, 12 Mar 2014 14:51:40 GMT
From: Nunzio Ilari <nunzio.ilari@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Compilation error on samba 4.1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         187482
>Category:       ports
>Synopsis:       net/samba41: Compilation error on samba 4.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    timur
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 12 15:00:00 UTC 2014
>Closed-Date:    Fri Apr 18 11:34:36 UTC 2014
>Last-Modified:  Fri Apr 18 11:34:36 UTC 2014
>Originator:     Nunzio Ilari
>Release:        10 r0
>Organization:
>Environment:
FreeBSD spirit 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Compilation error on samba. Previous version of samba compilation works fine.

make install
===>  Building for samba41-4.1.6
Waf: Entering directory `/usr/ports/net/samba41/work/samba-4.1.6/bin'
        Selected embedded Heimdal build
[ 156/3756] Generating smbd/build_options.c
[3495/3756] Linking default/source3/rpcclient/rpcclient
[3496/3756] Linking default/source4/lib/policy/py-policy.so
cc: warning: argument unused during compilation: '-undefined dynamic_lookup'
[3504/3756] Linking default/source3/auth/libauth.so
[3511/3756] Linking default/source3/libnet_keytab.so
[3515/3756] Linking default/source4/kdc/libservice-kdc.so
[3517/3756] Linking default/source4/web_server/libservice-web.so
[3518/3756] Linking default/source4/dsdb/libservice-kcc.so
[3520/3756] Linking default/source4/winbind/libservice-winbind.so
[3526/3756] Linking default/source4/cldap_server/libservice-cldap.so
[3530/3756] Linking default/source4/utils/ntlm_auth4
[3532/3756] Linking default/source3/winbindd/libidmap-hash.so
cc: warning: argument unused during compilation: '-undefined dynamic_lookup'
[3542/3756] Linking default/source3/winbindd/libidmap-rfc2307.so
cc: warning: argument unused during compilation: '-undefined dynamic_lookup'
[3543/3756] Linking default/source4/ldap_server/libservice-ldap.so
/usr/local/lib/libsamdb.so: undefined reference to `sam_rid_crypt@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `ms_suptypes_to_ietf_enctypes@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `gssapi_obtain_pac_blob@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_push_kerb_EncTypes@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `werror_to_ntstatus@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_write_prefixes_from_schema_to_ldb@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_schema_set_el_from_ldb_msg_dups@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_set_private@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `asn1_start_tag@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `socket_get_peer_addr@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `socket_get_fd@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `smb_krb5_keyblock_init_contents@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dom_sid_in_domain@SAMBA_4.1.4'
/usr/local/lib/libndr-krb5pac.so: undefined reference to `ndr_pull_dom_sid2@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `string_tdb_data@SAMBA_4.1.4'
/usr/local/lib/libsamba-util.so: undefined reference to `rep_memalign@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `spnego_read_data@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `msrpc_gen@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `tsocket_address_inet_addr_string@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_push_security_descriptor_revision@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_push_security_descriptor_type@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_class_by_governsID_id@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_expand_nested_groups@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `dsdb_search_one@SAMBA_4.1.4'
/usr/local/lib/libndr.so: undefined reference to `win_errstr@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `global_sid_Builtin_Administrators@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_result_allow_password_change@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `security_token_is_anonymous@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `gendb_search_dn@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_schema_copy_shallow@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dom_sid_dup@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `create_kerberos_key_from_string_direct@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_print_security_descriptor@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_push_AUTHENTICATE_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `_tstream_context_create@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_pull_NL_AUTH_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `security_token_debug@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_result_nttime@SAMBA_4.1.4'
/usr/local/lib/libtevent-util.so: undefined reference to `ntstatus_to_werror@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `tsocket_address_inet_port@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `sec_right_bit@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_schema_pfm_from_drsuapi_pfm@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_set_error_handler@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `asn1_load@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_pull_dom_sid0@SAMBA_4.1.4'
/usr/local/lib/libndr-krb5pac.so: undefined reference to `ndr_print_dom_sid2@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_result_acct_flags@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `tstream_writev_recv@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `tstream_readv_pdu_send@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `SMBencrypt@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_print_AUTHENTICATE_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `ldb_wrap_find@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `security_token_has_builtin_administrators@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `_tstream_context_data@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `security_token_is_system@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `dbwrap_local_open@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_print_CHALLENGE_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libndr-krb5pac.so: undefined reference to `ndr_push_dom_sid2@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `SMBNTLMv2encrypt_hash@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_reference_schema@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_pull_AUTHENTICATE_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `tdb_wrap_open@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `E_md4hash@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_search_dn@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `socket_send@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `socket_recv@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `tdb_change_int32_atomic@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `nt_errstr@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `netsec_outgoing_packet@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `netsec_outgoing_sig_size@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `gendb_search@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dom_sid_equal@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_set_global_schema@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `asn1_free@SAMBA_4.1.4'
/usr/local/lib/libsamba-hostconfig.so: undefined reference to `lp_find_security@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_pull_CHALLENGE_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `E_deshash@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_partitions_dn@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_print_NEGOTIATE_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_recv@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dom_sid_string@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dom_sid_parse@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_pull_security_descriptor@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `gssapi_get_session_key@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_schema_info_cmp@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `ldb_relative_path@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_search@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_push_sec_desc_buf@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_result_guid@SAMBA_4.1.4'[3544/3756] Linking default/source4/dsdb/libservice-dns-update.so

/usr/local/lib/libndr-standard.so: undefined reference to `ndr_print_security_secinfo@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_push_dom_sid@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_print_dom_sid@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_push_dom_sid0@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_setup_sorted_accessors@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_result_force_password_change@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `asn1_peek_full_tag@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `SMBsesskeygen_lm_sess_key@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_set_full_request@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `run_init_functions@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_pull_NEGOTIATE_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: und[3545/3756] Linking default/source4/nbt_server/libservice-nbtd.so
efined reference to `dsdb_create_partial_replica_NC@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_uses_global_schema@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `smb_get_krb5_error_message@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_result_account_expires@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `sid_append_rid@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dom_sid_split_rid@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `socket_create_with_ops@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_pull_kerb_EncTypes@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `smb_krb5_context_remove_event_ctx@SAMBA_4.1.4'
/usr/local/lib/libwbclient.so: undefined reference to `winbindd_priv_request_response@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_set_socket@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `kerberos_kinit_keyblock_cc@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dom_sid_parse_talloc@SAMBA_4.1.4'
/usr/local/lib/libsamba-util.so: undefined reference to `rep_strtoull@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `ndr_pull_dom_sid@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `ldb_wrap_connect@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_pull_sec_desc_buf@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_init@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `global_sid_Enterprise_DCs@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_push_NEGOTIATE_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_push_ntlmssp_VERSION@SAMBA_4.1.4'
/usr/local/lib/libtevent-util.so: undefined reference to `map_nt_error_from_unix_common@SAMBA_4.1.4'
[3546/3756] Linking default/source4/dsdb/libservice-drepl.so
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_print_dom_sid0@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `security_token_set_right_bit@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_load_partition_usn@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `SMBOWFencrypt@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_attribute_by_attributeID_id@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_print_sec_desc_buf@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `kerberos_kinit_password_cc@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `ldap_encode_ndr_GUID@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `gssapi_error_string@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_attribute_by_lDAPDisplayName@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `smb_krb5_send_and_recv_func@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_dn_to_dnshostname@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_get_schema@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_make_schema_global@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_send_callback@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `sec_privilege_id@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `ldap_encode_ndr_dom_sid@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `msrpc_parse@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_push_security_acl@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `socket_pending@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `load_samba_modules@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_print_kerb_EncTypes@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `asn1_check_OID@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `netsec_incoming_packet@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_pull_security_secinfo@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_result_dom_sid@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `schannel_get_creds_state@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `spnego_write_data@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `tstream_writev_send@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `tstream_readv_pdu_recv@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `smb_krb5_context_set_event_ctx@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `kerberos_kinit_s4u2_cc@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `_tsocket_address_copy@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_push_security_secinfo@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `dbwrap_fetch@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_push_security_descriptor@SAMBA_4.1.4'
/usr/local/lib/libndr-standard.so: undefined reference to `ndr_size_dom_sid0@SAMBA_4.1.4'
/usr/local/lib/libsamba-hostconfig.so: undefined reference to `lp_find_server_role@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `smb_krb5_init_context@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `ldb_wrap_add@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_queue_run@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samba_ldb_connect@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `spnego_write_mech_types@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `socket_get_peer_name@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samba_ldb_init@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_set_serialise@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `packet_set_callback@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `smb_krb5_principal_get_realm@SAMBA_4.1.4'
/usr/local/lib/libsamba-credentials.so: undefined reference to `SMBsesskeygen_ntv1@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `tsocket_simple_int_recv@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_result_last_logoff@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_push_NL_AUTH_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `krb5_princ_component@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_attribute_drsuapi_to_ldb@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `asn1_init@SAMBA_4.1.4'
/usr/local/lib/libwbclient.so: undefined reference to `winbindd_free_response@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `socket_get_my_addr@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_find_attribute@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `samdb_result_dn@SAMBA_4.1.4'
/usr/local/lib/libwbclient.so: undefined reference to `winbindd_request_response@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `ndr_push_CHALLENGE_MESSAGE@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `dsdb_get_fsmo_role_info@SAMBA_4.1.4'
/usr/local/lib/libgensec.so: undefined reference to `spnego_free_data@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `security_token_set_privilege@SAMBA_4.1.4'
/usr/local/lib/libsamdb.so: undefined reference to `security_token_initialise@SAMBA_4.1.4'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Waf: Leaving directory `/usr/ports/net/samba41/work/samba-4.1.6/bin'
Build failed:  -> task failed (err #1): 
        {task: cc_link popt_common_5.o,popt_credentials_6.o,ntlm_auth_1.o -> ntlm_auth4}
[: xTry: unexpected operator
*** Error code 1

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

Stop.
make: stopped in /usr/ports/net/samba41
>How-To-Repeat:
Install Samba
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Mar 12 22:03:07 UTC 2014 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187482 
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Wed Mar 12 22:03:41 UTC 2014 
Class-Changed-Why:  
Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187482 
Responsible-Changed-From-To: freebsd-ports-bugs->timur 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Mar 12 22:03:43 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187482 

From: Tim McCormick <tim@timmcc.co.uk>
To: bug-followup@FreeBSD.org, nunzio.ilari@gmail.com
Cc:  
Subject: Re: ports/187482: net/samba41: Compilation error on samba 4.1
Date: Tue, 25 Mar 2014 11:09:16 +0000

 --f46d0444ee9107f26904f56c627d
 Content-Type: text/plain; charset=ISO-8859-1
 
 I'm receiving the very same compile error on FreeBSD 10.0-RELEASE.
 
 Crucially I'm upgrading from 4.1.4 to 4.1.6 (for the security vulnerability
 fix). From the compile error it would seem that the build is linking
 against the libraries installed for 4.1.4, rather than the new libraries it
 has build in the ports tree for 4.1.6...
 
 --f46d0444ee9107f26904f56c627d
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">I&#39;m receiving the very same compile error on FreeBSD 1=
 0.0-RELEASE.<div><br></div><div>Crucially I&#39;m upgrading from 4.1.4 to 4=
 .1.6 (for the security vulnerability fix). From the compile error it would =
 seem that the build is linking against the libraries installed for 4.1.4, r=
 ather than the new libraries it has build in the ports tree for 4.1.6...</d=
 iv>
 </div>
 
 --f46d0444ee9107f26904f56c627d--

From: "Timur I. Bakeyev" <timur@FreeBSD.org>
To: Tim McCormick <tim@timmcc.co.uk>, bug-followup@freebsd.org
Cc:  
Subject: Re: ports/187482: net/samba41: Compilation error on samba 4.1
Date: Wed, 26 Mar 2014 04:20:53 +0100

 --f46d0435c05005e06e04f579f69a
 Content-Type: text/plain; charset=ISO-8859-1
 
 Please, support https://bugzilla.samba.org/show_bug.cgi?id=10515 ticket.
 
 ATM, removing old port during build is the only option...
 
 With regards,
 Timur Bakeyev.
 
 
 
 On Tue, Mar 25, 2014 at 12:20 PM, Tim McCormick <tim@timmcc.co.uk> wrote:
 
 > The following reply was made to PR ports/187482; it has been noted by
 > GNATS.
 >
 > From: Tim McCormick <tim@timmcc.co.uk>
 > To: bug-followup@FreeBSD.org, nunzio.ilari@gmail.com
 > Cc:
 > Subject: Re: ports/187482: net/samba41: Compilation error on samba 4.1
 > Date: Tue, 25 Mar 2014 11:09:16 +0000
 >
 >  --f46d0444ee9107f26904f56c627d
 >  Content-Type: text/plain; charset=ISO-8859-1
 >
 >  I'm receiving the very same compile error on FreeBSD 10.0-RELEASE.
 >
 >  Crucially I'm upgrading from 4.1.4 to 4.1.6 (for the security
 > vulnerability
 >  fix). From the compile error it would seem that the build is linking
 >  against the libraries installed for 4.1.4, rather than the new libraries
 > it
 >  has build in the ports tree for 4.1.6...
 >
 >  --f46d0444ee9107f26904f56c627d
 >  Content-Type: text/html; charset=ISO-8859-1
 >  Content-Transfer-Encoding: quoted-printable
 >
 >  <div dir=3D"ltr">I&#39;m receiving the very same compile error on FreeBSD
 > 1=
 >  0.0-RELEASE.<div><br></div><div>Crucially I&#39;m upgrading from 4.1.4 to
 > 4=
 >  .1.6 (for the security vulnerability fix). From the compile error it
 > would =
 >  seem that the build is linking against the libraries installed for 4.1.4,
 > r=
 >  ather than the new libraries it has build in the ports tree for
 > 4.1.6...</d=
 >  iv>
 >  </div>
 >
 >  --f46d0444ee9107f26904f56c627d--
 >
 
 --f46d0435c05005e06e04f579f69a
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <div dir=3D"ltr">Please, support=A0<a href=3D"https://bugzilla.samba.org/sh=
 ow_bug.cgi?id=3D10515">https://bugzilla.samba.org/show_bug.cgi?id=3D10515</=
 a> ticket.<div><br></div><div>ATM, removing old port during build is the on=
 ly option...</div>
 
 <div><br></div><div>With regards,</div><div>Timur Bakeyev.</div><div><br></=
 div></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On =
 Tue, Mar 25, 2014 at 12:20 PM, Tim McCormick <span dir=3D"ltr">&lt;<a href=
 =3D"mailto:tim@timmcc.co.uk" target=3D"_blank">tim@timmcc.co.uk</a>&gt;</sp=
 an> wrote:<br>
 
 <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
 x #ccc solid;padding-left:1ex">The following reply was made to PR ports/187=
 482; it has been noted by GNATS.<br>
 <br>
 From: Tim McCormick &lt;<a href=3D"mailto:tim@timmcc.co.uk">tim@timmcc.co.u=
 k</a>&gt;<br>
 To: bug-followup@FreeBSD.org, <a href=3D"mailto:nunzio.ilari@gmail.com">nun=
 zio.ilari@gmail.com</a><br>
 Cc:<br>
 Subject: Re: ports/187482: net/samba41: Compilation error on samba 4.1<br>
 Date: Tue, 25 Mar 2014 11:09:16 +0000<br>
 <br>
 =A0--f46d0444ee9107f26904f56c627d<br>
 =A0Content-Type: text/plain; charset=3DISO-8859-1<br>
 <br>
 =A0I&#39;m receiving the very same compile error on FreeBSD 10.0-RELEASE.<b=
 r>
 <br>
 =A0Crucially I&#39;m upgrading from 4.1.4 to 4.1.6 (for the security vulner=
 ability<br>
 =A0fix). From the compile error it would seem that the build is linking<br>
 =A0against the libraries installed for 4.1.4, rather than the new libraries=
  it<br>
 =A0has build in the ports tree for 4.1.6...<br>
 <br>
 =A0--f46d0444ee9107f26904f56c627d<br>
 =A0Content-Type: text/html; charset=3DISO-8859-1<br>
 =A0Content-Transfer-Encoding: quoted-printable<br>
 <br>
 =A0&lt;div dir=3D3D&quot;ltr&quot;&gt;I&amp;#39;m receiving the very same c=
 ompile error on FreeBSD 1=3D<br>
 =A00.0-RELEASE.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Crucially I&amp;=
 #39;m upgrading from 4.1.4 to 4=3D<br>
 =A0.1.6 (for the security vulnerability fix). From the compile error it wou=
 ld =3D<br>
 =A0seem that the build is linking against the libraries installed for 4.1.4=
 , r=3D<br>
 =A0ather than the new libraries it has build in the ports tree for 4.1.6...=
 &lt;/d=3D<br>
 =A0iv&gt;<br>
 =A0&lt;/div&gt;<br>
 <br>
 =A0--f46d0444ee9107f26904f56c627d--<br>
 </blockquote></div><br></div>
 
 --f46d0435c05005e06e04f579f69a--
State-Changed-From-To: open->closed 
State-Changed-By: timur 
State-Changed-When: Fri Apr 18 11:34:36 UTC 2014 
State-Changed-Why:  
I'e put a gross hack(tm) in the port to work around the issue, follow 
the bugzilla error for the real fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187482 
>Unformatted:
