From owner-freebsd-ports@FreeBSD.ORG Tue Sep 10 09:41:56 2013 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 ESMTP id 18624133; Tue, 10 Sep 2013 09:41:56 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from winston.madpilot.net (winston.madpilot.net [78.47.75.155]) by mx1.freebsd.org (Postfix) with ESMTP id 909D82864; Tue, 10 Sep 2013 09:41:55 +0000 (UTC) Received: from winston.madpilot.net (localhost [127.0.0.1]) by winston.madpilot.net (Postfix) with ESMTP id 3cZ1VB4nMDzFVBB; Tue, 10 Sep 2013 11:41:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at madpilot.net Received: from winston.madpilot.net ([127.0.0.1]) by winston.madpilot.net (winston.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z1aNO0qNDHQ6; Tue, 10 Sep 2013 11:41:52 +0200 (CEST) Received: from marvin.madpilot.net (micro.madpilot.net [88.149.173.206]) by winston.madpilot.net (Postfix) with ESMTPSA; Tue, 10 Sep 2013 11:41:52 +0200 (CEST) Message-ID: <522EE960.5040600@FreeBSD.org> Date: Tue, 10 Sep 2013 11:41:52 +0200 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130902 Thunderbird/17.0.8 MIME-Version: 1.0 To: hiren panchasara Subject: Re: AFFECTS: 10-CURRENT users with any port depending on converters/libiconv References: <522985C7.2010303@passap.ru> <20130906173203.6423556d@munin.geoinf.fu-berlin.de> <5229F5B5.1040303@FreeBSD.org> <20130906174448.1680d23c@munin.geoinf.fu-berlin.de> <5229FE1B.3050104@passap.ru> <20130906184444.46418838@munin.geoinf.fu-berlin.de> <522A0CBE.8010905@passap.ru> <20130906235132.0efd9fca@munin.geoinf.fu-berlin.de> <522A52EA.80900@passap.ru> <522A5430.8050001@FreeBSD.org> <20130907130350.0c13cfa1@thor.walstatt.dyndns.org> <522B0F41.1030306@FreeBSD.org> <522B17AC.5060503@gmx.de> <522EC2A3.8000403@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: olli hauer , freebsd-current , FreeBSD ports list 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: Tue, 10 Sep 2013 09:41:56 -0000 On 09/10/13 10:16, hiren panchasara wrote: > > > > On Tue, Sep 10, 2013 at 12:28 AM, hiren panchasara > > wrote: > > > > > On Mon, Sep 9, 2013 at 11:56 PM, Guido Falsi > wrote: > > On 09/10/13 07:20, hiren panchasara wrote: > > > > > On Sat, Sep 7, 2013 at 5:10 AM, olli hauer > >> wrote: > > There are 13 ports using --with-iconv=${LOCALBASE} > devel/apr1 > devel/apr2 > devel/git > irc/epic5 > lang/gauche > net-mgmt/ettercap > net/ssltunnel-client > net/yaz > net/zebra-server > textproc/libxml2 > textproc/py-libxml2 > www/apache22 > www/apache24 > > > and devel/glib20, print/ghostscript8, > print/ghostscript9 using > --with-libiconv=gnu > --with-libiconv=native > --with-libiconv=no > --with-libiconv=no > > > I am hitting following failure while building devel/glib20 > > gconvert.c:66:2: error: GNU libiconv not in use but > included iconv.h > is from libiconv > #error GNU libiconv not in use but included iconv.h is from > libiconv > > How do I get past this? > > > Looks like you have some leftovers from the libiconv port. Have > you removed it? can you give the output of ls > /usr/local/include/iconv.h? > > > I still have the port installed. > > % pkg info | grep iconv > libiconv-1.14_1 A character set conversion library > > Should I remove the port? > > Removed the port and now reinstalling almost everything :-) > Unluckily some configure scripts and build systems get confused by two implementations of iconv present on the system and fail in various manners, this one is just an example. This is the main reason why the ports tree was patched to only use the system provided iconv implementation now that it is the default. This requires a lot of work to "fix" installed pieces to adapt to this new world order. -- Guido Falsi