Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2013 11:41:52 +0200
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        olli hauer <ohauer@gmx.de>, freebsd-current <freebsd-current@freebsd.org>, FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   Re: AFFECTS: 10-CURRENT users with any port depending on converters/libiconv
Message-ID:  <522EE960.5040600@FreeBSD.org>
In-Reply-To: <CALCpEUGWaT-ruDgQTxVaqg1mbs6Tchwtvb1SBGsd_m96oBwsKQ@mail.gmail.com>
References:  <alpine.BSF.2.00.1309052239330.54835@mail.neu.net> <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> <CALCpEUE9Nvwp6XWm3KtrMJOqtiS7knFkeDcqkWH_pEj=jxgT%2BA@mail.gmail.com> <522EC2A3.8000403@FreeBSD.org> <CALCpEUEnzm69EPHAALGHD9k=h6qr--Hb5Km_RW5qD_1gP6UB1w@mail.gmail.com> <CALCpEUGWaT-ruDgQTxVaqg1mbs6Tchwtvb1SBGsd_m96oBwsKQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/10/13 10:16, hiren panchasara wrote:
>
>
>
> On Tue, Sep 10, 2013 at 12:28 AM, hiren panchasara
> <hiren.panchasara@gmail.com <mailto:hiren.panchasara@gmail.com>> wrote:
>
>
>
>
>     On Mon, Sep 9, 2013 at 11:56 PM, Guido Falsi <madpilot@freebsd.org
>     <mailto:madpilot@freebsd.org>> wrote:
>
>         On 09/10/13 07:20, hiren panchasara wrote:
>
>
>
>
>             On Sat, Sep 7, 2013 at 5:10 AM, olli hauer <ohauer@gmx.de
>             <mailto:ohauer@gmx.de>
>             <mailto:ohauer@gmx.de <mailto:ohauer@gmx.de>>> 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 <madpilot@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?522EE960.5040600>