From owner-freebsd-ports@FreeBSD.ORG Mon Oct 27 05:21:28 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5B62AE9; Mon, 27 Oct 2014 05:21:28 +0000 (UTC) Received: from smtp-out-04.shaw.ca (smtp-out-04.shaw.ca [64.59.134.12]) by mx1.freebsd.org (Postfix) with ESMTP id 71681A26; Mon, 27 Oct 2014 05:21:28 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=/24PZDiXryEUsaYH72AX4ulVzqSXihAXfE7Ql5lDP0I= c=1 sm=1 a=BLceEmwcHowA:10 a=ICAaq7hcmGcA:10 a=IbtKDeXwb2+SRU442/pi3A==:17 a=o1UGb2uy2W14Wj0A7kEA:9 a=wPNLvfGTeEIA:10 a=ApYkQ6Fw29vUfpU3h2sA:9 a=BWvPGDcYAAAA:8 a=6I5d2MoRAAAA:8 a=vZoGgzP0pyKfTN_ogUkA:9 a=w3VIBR3K5DEA:10 a=rh0Q7tNTUcUA:10 a=vXdFDvSJeccA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO slippy.cwsent.com) ([96.50.7.119]) by smtp-out-04.shaw.ca with ESMTP; 26 Oct 2014 23:21:27 -0600 Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.14.9/8.14.9) with ESMTP id s9R5LQEN023235; Sun, 26 Oct 2014 22:21:26 -0700 (PDT) (envelope-from Cy.Schubert@komquats.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.14.9/8.14.8/Submit) with ESMTP id s9R5LOto023232; Sun, 26 Oct 2014 22:21:26 -0700 (PDT) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201410270521.s9R5LOto023232@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: Matthias Apitz , Cy Schubert , Olli Hauer , cy@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: security/krb5 fails to build In-Reply-To: Message from Matthias Apitz of "Sun, 26 Oct 2014 10:38:45 +0100." <20141026093845.GA2290@unixarea.DDR.dd> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_1414386552_45470" Date: Sun, 26 Oct 2014 22:21:24 -0700 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 05:21:28 -0000 This is a multipart MIME message. --==_Exmh_1414386552_45470 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable In message <20141026093845.GA2290=40unixarea.DDR.dd>, Matthias Apitz writ= es: > El d=C3=ADa Monday, October 20, 2014 a las 12:40:22AM -0700, Cy Schuber= t escribi=C3=B3: >=20 > > Unfortunately I'm not able to reproduce this locally, nor in my poudr= iere=20 > > jail, nor on redports (such as it is). Another person discovered the = issue=20 > > if READLINE support is specified -- which too I am unable to reproduc= e=20 > > locally. > >=20 > > Can you try exporting LDFLAGS=3D--tag=3DCC prior to building the port= ? I'm=20 > > curious to see if that makes a difference to you. >=20 > I tried this, but with this the port fails during ./configure >=20 > > Also, what options are you using? > >=20 > > ... >=20 > Attached below you will see a small change in the Makefile (the > CPPFLAGS have been specified wrong) and the complete log of building > the port in poudriere, containing also the OPTIONS of your port. It will fail to link without it. This was true at one time and may very=20 well still be true. >=20 > my change re/ CPPFLAGS removes some warning of the art 'clang > unused value -L....', but does not resolve the libtool error/problem; >=20 > let me know if you want me to test tweakings. It builds successfully on everything but 11-CURRENT as CURRENT now includ= es=20 readline support which appears incompatible with GNU readline. Try this=20 patch. The proper fix is to get it working with libtool in 11-CURRENT.=20 Unfortunately libtool has some gas with non-libtool built libraries. The = patch is a bit of a hack but it should address the 11-CURRENT issue. Can = you test it for me please? --==_Exmh_1414386552_45470 Content-Type: text/plain ; name="krb5-gas.diff"; charset=iso-8859-1 Content-Description: krb5-gas.diff Content-Disposition: attachment; filename="krb5-gas.diff" Content-Transfer-Encoding: quoted-printable Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile (revision 371299) +++ Makefile (working copy) =40=40 -67,7 +67,13 =40=40 .endif =20 .if =24=7BPORT_OPTIONS:MREADLINE=7D +.if =24=7BOSVERSION=7D >=3D 1100000 +=23 libtool has some gas with libreadline in 11-CURRENT. +BUILD_DEPENDS+=3D =24=7BLOCALBASE=7D/lib/libreadline.so.6:=24=7BPORTSDI= R=7D/devel/readline +LIB_DEPENDS+=3D =24=7BLOCALBASE=7D/lib/libreadline.so.6:=24=7BPORTSDIR= =7D/devel/readline +.else USES+=3D readline:port +.endif CONFIGURE_ARGS+=3D --with-readline .endif =20 --==_Exmh_1414386552_45470 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. --==_Exmh_1414386552_45470--