Date: Sun, 26 Oct 2014 22:21:24 -0700 From: Cy Schubert <Cy.Schubert@komquats.com> To: Matthias Apitz <guru@unixarea.de>, Cy Schubert <Cy.Schubert@komquats.com>, Olli Hauer <ohauer@gmx.de>, cy@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: security/krb5 fails to build Message-ID: <201410270521.s9R5LOto023232@slippy.cwsent.com> In-Reply-To: Message from Matthias Apitz <guru@unixarea.de> of "Sun, 26 Oct 2014 10:38:45 %2B0100." <20141026093845.GA2290@unixarea.DDR.dd>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <Cy.Schubert=40komquats.com> FreeBSD UNIX: <cy=40FreeBSD.org> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. --==_Exmh_1414386552_45470--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410270521.s9R5LOto023232>