From owner-freebsd-ports@FreeBSD.ORG Sat Aug 31 13:00:30 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3F1AB3CD; Sat, 31 Aug 2013 13:00:30 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9ECFF201F; Sat, 31 Aug 2013 13:00:29 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id l12so384479wiv.7 for ; Sat, 31 Aug 2013 06:00:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=iwN5/XVnPQj44lS4yhJ40CCF9irKGL1JTldls1cHh6g=; b=Y1yHuKyWuXXF6Ijh9X1THOQW7y8Ady8ILdEUIAyMNNxg/7cRHJUTbvDXnr/kloftok 2aY3mIO47Mdy6aHfnL2j3Kxtf4dvtx2T8XZvk3shMMbv2Y48EcRjVVkDrMrj1dIfrjRK rLmqcwlQMZ9M5yljASyLzELhhGJPW2CbmKnC3q6kuz1ofxktObVOnK83DUdC0FtgaCZW lawPsiEE3OagGDJd78h56c0M+DUj+rFDYowAJO5Qxufkg70Onc6jUaC6S1KzDmCHDEnG pmcZRpWE+J5cqd7SQp/lj/v8+tA4XjhRlc5q+5oC0a/Zi8QSaFsKEHkbE/P+Nks8xwrI 2GBw== X-Received: by 10.180.37.173 with SMTP id z13mr6406883wij.9.1377954027915; Sat, 31 Aug 2013 06:00:27 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id i3sm4256596wiw.7.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 31 Aug 2013 06:00:27 -0700 (PDT) Sender: Baptiste Daroussin Date: Sat, 31 Aug 2013 15:00:24 +0200 From: Baptiste Daroussin To: Boris Samorodov Subject: Re: svn commit: r325668 - head/x11-toolkits/open-motif Message-ID: <20130831130024.GZ12101@ithaqua.etoilebsd.net> References: <201308300952.r7U9qKsF026518@svn.freebsd.org> <52206DF8.1000401@FreeBSD.org> <5221CEB4.7090109@passap.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4YatIo8qwOC8yTX3" Content-Disposition: inline In-Reply-To: <5221CEB4.7090109@passap.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Guido Falsi , FreeBSD ports list , Peter Wemm X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2013 13:00:30 -0000 --4YatIo8qwOC8yTX3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 31, 2013 at 03:08:36PM +0400, Boris Samorodov wrote: > (moving the discussion to ports@) >=20 > 30.08.2013 14:03, Guido Falsi =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 > > On 08/30/13 11:52, Boris Samorodov wrote: > >> Author: bsam > >> Date: Fri Aug 30 09:52:20 2013 > >> New Revision: 325668 > >> URL: http://svnweb.freebsd.org/changeset/ports/325668 > >> > >> Log: > >> Fix build at 10.x after recent changes at /usr/bin/ld. Error log: > >> ---- > >> ./../lib/Xm/.libs/libXm.so: undefined reference to `libiconv' > >> ./../lib/Xm/.libs/libXm.so: undefined reference to `libiconv_close' > >> ./../lib/Xm/.libs/libXm.so: undefined reference to `libiconv_open' > >> ----- > >> > >> PR: ports/181579 > >> Submitted by: bsam (me) > >> Approved by: Mikhail Tsatsenko (maintainer) > >> > >> Modified: > >> head/x11-toolkits/open-motif/Makefile > >> > >> Modified: head/x11-toolkits/open-motif/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=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > >> --- head/x11-toolkits/open-motif/Makefile Fri Aug 30 08:19:28 2013 (r3= 25667) > >> +++ head/x11-toolkits/open-motif/Makefile Fri Aug 30 09:52:20 2013 (r3= 25668) > >> @@ -30,6 +30,7 @@ GNU_CONFIGURE=3D yes > >> USE_LDCONFIG=3D yes > >> MAKE_ENV=3D LANG=3DC > >> CPPFLAGS+=3D -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I${= PREFIX}/include > >> +LDFLAGS+=3D -L${PREFIX}/lib -liconv > >> USE_CSTD=3D gnu89 > >> > >> DEMOS_SRC=3D ${WRKSRC}/demos/programs > >=20 > > I'm having a lot of failures too related to libiconv symbols. These see= m=20 > > related by enabling iconv in libc on latest current. > >=20 > > I'm not sure that forcing them to link against gnu libiconv is a good= =20 > > long term solution. >=20 > Agreed. But this commit is not a log term solution. It's just a fix > which: > . preservs current status-quo (the port always depended upon libiconv); > . allow other ports which require this one to be build. >=20 > Thus it's just a bandaid. >=20 > > I think that making them work with just the libc=20 > > iconv implementation is a better solution, even if a little harder. It > > would allow us to not depend anymore on the libiconv port too. >=20 > I agree with a long term solution but we _need_ ports to work now. > So some of us patch the current tree, while others work on > infrastructure changes. >=20 > > I'm experimenting with making Uses/iconv.mk a noop for current where=20 > > libc includes iconv functions and making other ports compile using=20 > > system provided iconv. It looks doable, most ports need just trivial fi= xes. > > > > I was planning to ask an exp-run for this as soon as I am happy with my= =20 > > findings. >=20 > If your changes may hit the portstree in a couple of days then it's OK > to wait. But if it takes longer, then broken ports should be patched > (like at this commit). And then please do whatever you think is needed. > BTW, one of those victims has almost 500(!) dependent ports: > http://pb2.nyi.freebsd.org/bulk/nogcc-default/2013-08-30_22h26m46s/ >=20 This last build with with libc++ activated by default, it has fallout from = both iconv in libc and and libc++. regards, Bapt --4YatIo8qwOC8yTX3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlIh6OgACgkQ8kTtMUmk6ExgXACgvvjj5kfm8Y9mSFEOE0t8elAi kvoAnRI//g/4vaRd3ov01o/cfPcO0rik =V/GF -----END PGP SIGNATURE----- --4YatIo8qwOC8yTX3--