From owner-freebsd-ports@FreeBSD.ORG Tue Jun 24 15:20:06 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C2EC66F for ; Tue, 24 Jun 2014 15:20:06 +0000 (UTC) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 017772562 for ; Tue, 24 Jun 2014 15:20:05 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id l18so560520wgh.16 for ; Tue, 24 Jun 2014 08:19:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=CxoaVXnhmRprCO3BTXkd6oZurhfI/KsVvn2bnaUuSpE=; b=GQYV/vgXKYWSqRuaYWxEE8OczAvDUWcbrZ81Uj68BlSIcB1b47xgTkGMJam5jeAII9 qLvvRRm5P1Q3uxHEdztvlLhoI2m7kwsFWJzYT1uhrzYDPr3npplshQOEEr143vjpdRcu Xr8DzF8HM3Z+uJycVtpAgAiAuhM/cOYW1GDLMfOpP8jJUa1oQMg4/i145hWbf88pu4C4 yoyOwm7tGwv1Q13cDh47dk56BH9x8pT3VTWbWfS5IOJO4kThpEUcaY9SCJ/GFLkdJhMH B/iKyNvpCBOGOPISY2priGqTMLk9QopTck0OB1Ze1/6txjobBxfdovQCw+co2+SyVG8C ZYsg== X-Gm-Message-State: ALoCoQn8m7phezIluLmHftogGiAs8HYIKGvPsaiXESatZk0Sv2MB5Kn6O9pt7F5gJ3tqoxxLlwsL X-Received: by 10.194.178.7 with SMTP id cu7mr2278756wjc.54.1403623197979; Tue, 24 Jun 2014 08:19:57 -0700 (PDT) MIME-Version: 1.0 Sender: timur@bat.ru Received: by 10.194.42.6 with HTTP; Tue, 24 Jun 2014 08:19:36 -0700 (PDT) In-Reply-To: <1EFE239F82F279488E86A61C92D5E2DE091A351B@DENBGAT9EI2MSX.ww902.siemens.net> References: <1EFE239F82F279488E86A61C92D5E2DE091A351B@DENBGAT9EI2MSX.ww902.siemens.net> From: "Timur I. Bakeyev" Date: Tue, 24 Jun 2014 17:19:36 +0200 X-Google-Sender-Auth: vJoHAoY43UzDB6FfgDImYI_4VOk Message-ID: Subject: Re: Port net/samba36-3.6.24 has problems To: "Schuendehuette, Matthias" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2014 15:20:06 -0000 Hi! Looks like you have one of the Kerberos ports installed, while still having base system Kerberos. That greatly confuses Samba configure :( You may try to set KRB5_HOME=3D/usr/local for MIT or HEIMDAL_HOME=3D/usr/lo= cal for Heimdal in /etc/make.conf, but I have no idea, would it really help. Other option is to remove port version of Kerberos. Or you can try to go through configure.log and find out where does it pick the wrong headers and libs. With regards, Timur. On Tue, Jun 24, 2014 at 2:33 PM, Schuendehuette, Matthias < matthias.schuendehuette@siemens.com> wrote: > Hello, > > I tried to upgrade from samba36-3.6.23 to samba36-3.6.24 using > 'portupgrade net/samba36' and got the following problem: > > ************************* > libsmb/clikrb5.c: In function 'get_krb5_smb_session_key': > libsmb/clikrb5.c:942: warning: 'krb5_auth_con_getremotesubkey' is > deprecated (declared at /usr/local/include/krb5/krb5.h:5906) > libsmb/clikrb5.c:945: warning: 'krb5_auth_con_getlocalsubkey' is > deprecated (declared at /usr/local/include/krb5/krb5.h:5901) > libsmb/clikrb5.c:1691:2: error: #error > UNKNOWN_KRB5_ENCTYPE_TO_STRING_FUNCTION > The following command failed: > cc -O2 -pipe -fno-strict-aliasing -DLDAP_DEPRECATED -I. > -I/usr/ports/net/samba36/work/samba-3.6.24/source3 > -I/usr/ports/net/samba36/work/samba-3.6.24/source3/../lib/iniparser/src > -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. > -DHAVE_CONFIG_H -Iinclude -I./include -I. -I. -I./../lib/replace > -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED > -I/usr/ports/net/samba36/work/samba-3.6.24/source3/lib -I.. > -D_SAMBA_BUILD_=3D3 -I/usr/local/include -D_SAMBA_BUILD_=3D3 -fPIC -DPIC = -c > libsmb/clikrb5.c -o libsmb/clikrb5.o > gmake: *** [libsmb/clikrb5.o] Fehler 1 > gmake: *** Warte auf noch nicht beendete Prozesse... > =3D=3D=3D> Compilation failed unexpectedly. > ************************* > > This error occurs with Heimdal as well as with MIT Kerberos. > > > Revision of the portstree is '359060' > > My system is: 'FreeBSD blnn719x.ww004.siemens.net 9.3-BETA3 FreeBSD > 9.3-BETA3 #36 r267564: Tue Jun 17 13:14:47 CEST 2014' > > What should I do to avoid this? > > > > with best regards > > Matthias Sch=C3=BCndeh=C3=BCtte > >