From owner-freebsd-current@FreeBSD.ORG Wed Feb 19 07:57:45 2014 Return-Path: Delivered-To: freebsd-current@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 ESMTPS id 31B1311D for ; Wed, 19 Feb 2014 07:57:45 +0000 (UTC) Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 068911663 for ; Wed, 19 Feb 2014 07:57:45 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id v10so44486pde.28 for ; Tue, 18 Feb 2014 23:57:44 -0800 (PST) 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=OAUlMsbHWUpY2BYUZndldnPwItbKlCZ/bxoghUGpWdQ=; b=PbOs5ofO4jC9rhnWEyIeivqw2xV70/j0fwT/HC13P2ok6/OvxWs1PM8POUDt7dTguR /7Py/j28FjUMUUTGb/lWt4ai3u105dpnQATvhm1Im1FTfjKHDblMu34mqLTvtaGdNhHz kiNxldhyYLPh+RPZsEn3WRH3g7pamClHQdcl4YvICKhv4kol0sZ6JyCW+Lv7qTZVYhIL emGWzWhxBUacy+1NtlJqBeiyUz/TYIjXnMRj+WzjoDQYCIgSQhUa8VY3jp3h7cy+R5PB ZibXjumprw0wG7z9yPMBaiSptIcRC5RdRfQze4+x6aK5+2Sug8MoOrE0qFN7KL4Iv8l5 AYDQ== MIME-Version: 1.0 X-Received: by 10.68.218.65 with SMTP id pe1mr37922311pbc.1.1392796664497; Tue, 18 Feb 2014 23:57:44 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.67.30.1 with HTTP; Tue, 18 Feb 2014 23:57:44 -0800 (PST) In-Reply-To: <1392661158563-5886786.post@n5.nabble.com> References: <1392661158563-5886786.post@n5.nabble.com> Date: Tue, 18 Feb 2014 23:57:44 -0800 X-Google-Sender-Auth: 6JhtGmUtbUL016GJVEQeVRAwmlk Message-ID: Subject: Re: Base iconv (sort of) replaces libiconv in FreeBSD 10 From: Kevin Oberman To: Robert_Burmeister Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 07:57:45 -0000 On Mon, Feb 17, 2014 at 10:19 AM, Robert_Burmeister < robert.burmeister@utoledo.edu> wrote: > While base iconv replaces libiconv in FreeBSD 10, > base iconv doesn't do utf-8 -> wchar_t, > which is required by glib20, thus impacts thousands of ports. > > An entry in the FreeBSD 10 Errata stating that iconv is now in the base > system, > however, that it does not include all the functionality of libiconv from > ports, > would help make port maintainers aware of iconv issues. > Support for wchar_t is only one of the differences. The base iconv is fully posix compliant, but the port (GNU) library has several extra capabilities including wchat_t. Since the base iconv is in the kernel, not a shared library, it is not clear (to me) that that it is necessary to re-build ports that depend on ports that need libiconv. E.g. It does not appear that building glib20 with libiconv forces a rebuild of glibmm even though the wchar_t calls are triggered by rawtherapee to glibmm which actually makes the call to glib that tries to do the wchar_t operation. This is very different from a libtrary that had been in ports being moved to base such as openssl. This does force lots of rebuilds to prevent library version collisions that will cause load failures. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com