From owner-freebsd-ports@FreeBSD.ORG Fri Mar 21 16:15:05 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD58FA7E for ; Fri, 21 Mar 2014 16:15:05 +0000 (UTC) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 81CC2EAF for ; Fri, 21 Mar 2014 16:15:05 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id up15so2592857pbc.34 for ; Fri, 21 Mar 2014 09:15:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=MRy8Y2oC83awfki1dQr/DhCqlPNE2trs8aXV1W6D1Ec=; b=Q+X5VuGOvHtx/GHBz+eygRZpjZ/VgEAYASUonC/4YwBQEOElNw8My+EYskM62jAeSG q8/KaBDAue0iznDuYirMlYzA0cYlJZrC5Z4WDWbY66BchI5TfqHCdk2JZvICglbdtGuZ eXSeQ7ajkEK65NiWV9ke9oed5SsCF167VpInWDplZfg+esernpdOCcYfX0K3METPThaB ewCr3XN5W2I8kK+qVy/q9C0y1e6VFg/WqY4cKjGRo3fYsQCvWnWqQvi4g4Ob5dGkZU6j TYkVVutunoXpNmJEuiGG1N9/0w2Z6n+wg17EaTMFB2VupvJzip6WI+ckaIIgNqNsxyFu uYgA== MIME-Version: 1.0 X-Received: by 10.68.237.99 with SMTP id vb3mr55019458pbc.76.1395418505172; Fri, 21 Mar 2014 09:15:05 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.0.164 with HTTP; Fri, 21 Mar 2014 09:15:05 -0700 (PDT) In-Reply-To: <532B027C.1040706@gmail.com> References: <20140320153935.474c9d3d@tiger2008.drpetervoigt.private> <532B027C.1040706@gmail.com> Date: Fri, 21 Mar 2014 09:15:05 -0700 X-Google-Sender-Auth: yltjPt6N7WMZ-Yw8o1jjCeL2NYA Message-ID: Subject: Re: Libiconv confusion on 10.0-RELEASE From: Kevin Oberman To: Johan Hendriks Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD , "Dr. Peter Voigt" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 16:15:05 -0000 On Thu, Mar 20, 2014 at 8:00 AM, Johan Hendriks wrote: > Dr. Peter Voigt schreef: > > I am running a fresh installation of 10.0-RELEASE since its >> publication at the end of January this year. I have installed many >> ports since then and all dependencies are OK. >> >> Yesterday I have stumbled across several posts in the forum making me >> aware of a major change in handling port converters/libiconv: >> 10.0-RELEASE ships with its own version of iconv so that there is no >> need to install port converters/libiconv anymore. >> >> Some of these posts are: >> https://forums.freebsd.org/viewtopic.php?f=5&t=44658 >> https://forums.freebsd.org/viewtopic.php?f=5&t=44644 >> https://forums.freebsd.org/viewtopic.php?f=5&t=44659 >> >> Immediately I have studied /usr/ports/UPDATING and have found this >> confirmed with the 20130904 entry telling me at the same time how to >> remove converters/libiconv from the system. >> >> First I checked dependencies from converters/libiconv: >> # pkg query %ro libiconv >> devel/glib20 >> sysutils/polkit >> graphics/liblqr-1 >> sysutils/upower >> x11-toolkits/pango >> astro/xplanet >> editors/vim >> ftp/proftpd >> converters/php5-iconv >> mail/claws-mail >> lang/vala-vapigen >> >> Then I've issued as proposed: >> # pkg query %ro libiconv >ports_to_update >> # pkg delete -f libiconv >> # cat ports_to_update | xargs portmaster >> >> All ports depending on converters/libiconv have been rebuilt but >> converters/libiconv has been reinstalled with all the above ports >> depending on it again: >> # pkg info -o libiconv >> libiconv-1.14_2 converters/libiconv >> >> At the same time /usr/ports/UPDATING tells me that some ports still >> need converters/libiconv. At this point I am completely lost and need >> some advice: >> >> 1.) Should I try to get rid of converters/libiconv with respect to the >> above dependencies? >> >> 2.) If 1.) = "YES": How can I achieve it, because the proposed way >> in /usr/ports/UPDATING does not work. >> In one of the above links following is proposed: >> portmaster -Raf >> which should rebuild all ports. >> Is there any switch needed in /etc/make.conf to convice ports of >> not using converters/libiconv? >> >> 3.) Is there a list of known ports that definitely >> need converters/libiconv? >> >> I do appreciate any advice on this topic. >> >> Regards, >> Peter >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > > As far as I know, there is some libiconv functionality missing in the base > libiconv implementation. > That is the reason some ports installed converters/libiconv from ports. > > regards > Johan > The FreeBSD iconv support is fully posix compliant, but the ports libiconv includes seeveral extension not in the standard and not in the base iconv. As a result, a few ports that use these extensions still need to use the ports version. Those include glib20 and php5-iconv. If you use any of the ports requiring these extensions, converters/iconv will e installed and must be installed. (Actually, glib20 will build and run without it unless you install librawtherepee.) Unlike some other cases of base system vs. ports, having the ports version installed will NOT cause ports other then those requiring the GNU extensions to link against the ports version nor will it produce rtld errors about conflicting shareable versions that many ran into with things like openssl. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com