From owner-svn-src-head@FreeBSD.ORG Sun Aug 18 22:51:28 2013 Return-Path: Delivered-To: svn-src-head@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 D729FB8C for ; Sun, 18 Aug 2013 22:51:28 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A13BA21A1 for ; Sun, 18 Aug 2013 22:51:28 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id kq13so3899298pab.11 for ; Sun, 18 Aug 2013 15:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type; bh=z7I6FvlyZxgnSSdmnpZisynYeZw0pRS0BKRrxBcbDCY=; b=uHQOOHbs9ReZHyiWPMzFbcs7BEzMn4OpGICB+3lbSeYhTFwXScLgTJglXIR9v3S+f3 QoCErQ/sBFb3E8lRfxgU2ZRuu0lsCGbC+Fiq01gqLedeylq7hod5kxbJoeTOO7U24k45 NFTLO1a+PNg5emFfFXxRIAHsH+gC0Q12VTblw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type; bh=z7I6FvlyZxgnSSdmnpZisynYeZw0pRS0BKRrxBcbDCY=; b=A7+vfbqQSOAZFW8ZoZwljI918JB3nsjwiW0tu38gr0U5MuYaPitwf2LVTt1oO/v0fM 5OQOTeC/WA/TJHVcuxkIfiY4HYraXeIEDZfQ1qg/9biWc5mIc2AB5KJO0cT4NiPaUdhA WAaFQtFUlUVBxJlO9MDDVSN0SSnXuhVEDNi7nqlz8kwlPQxuHoYMiDBPNkjHWqHfNQww ge4BEkiI3omEyhJgIBdpk+thFdRjMOYC5l8McHyN0w/rdHItGQSC6dOTy0czKmchXzLw LK6PsPKs9LIH9yAtPYbdXVpWQbla1RNarNUKm4osTBt2bThofsAIIL3huriGyZ+v2LxK LvKA== X-Gm-Message-State: ALoCoQlP7KDdyDyjGUnxlSMe3NyIpPoIC5jALvWQKQh2srsDmtnOv9GenQUNL7I+7WbmH8o/WUOR X-Received: by 10.67.23.227 with SMTP id id3mr10227285pad.101.1376866288296; Sun, 18 Aug 2013 15:51:28 -0700 (PDT) Received: from hackintosh.wemm.org (c-71-198-8-135.hsd1.ca.comcast.net. [71.198.8.135]) by mx.google.com with ESMTPSA id jf4sm11179695pbb.19.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 18 Aug 2013 15:51:27 -0700 (PDT) Message-ID: <52114FED.3010106@wemm.org> Date: Sun, 18 Aug 2013 15:51:25 -0700 From: Peter Wemm Organization: World Domination in progress. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Jilles Tjoelker Subject: Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk References: <201308130715.r7D7F1nu076335@svn.freebsd.org> <3887D7C7-D766-40DF-B154-D05768B86AA6@FreeBSD.org> <20130818195304.GA81160@devbox.vnode.local> <20130818224244.GA59141@stack.nl> In-Reply-To: <20130818224244.GA59141@stack.nl> X-Enigmail-Version: 1.5.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CWQUSkf6tljNnRBk6efShnljn6Biwcs9I" Cc: src-committers@freebsd.org, Peter Wemm , svn-src-all@freebsd.org, Dimitry Andric , gabor@freebsd.org, Joel Dahl , svn-src-head@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Aug 2013 22:51:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CWQUSkf6tljNnRBk6efShnljn6Biwcs9I Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 8/18/13 3:42 PM, Jilles Tjoelker wrote: > On Sun, Aug 18, 2013 at 09:53:04PM +0200, Joel Dahl wrote: >> On Sun, Aug 18, 2013 at 12:34:30AM +0200, Dimitry Andric wrote: >>> On Aug 13, 2013, at 09:15, Peter Wemm wrote: >>>> Author: peter >>>> Date: Tue Aug 13 07:15:01 2013 >>>> New Revision: 254273 >>>> URL: http://svnweb.freebsd.org/changeset/base/254273 >=20 >>>> Log: >>>> The iconv in libc did two things - implement the standard APIs, the= GNU >>>> extensions and also tried to be link time compatible with ports lib= iconv. >>>> This splits that functionality and enables the parts that shouldn't= >>>> interfere with the port by default. >=20 >>>> WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc. >>>> WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc AP= I, linker >>>> symbols and even a stub libiconv.so.3 that are good enough to be ab= le >>>> to 'pkg delete -f libiconv' on a running system and reasonably expe= ct it >>>> to work. >=20 >>>> I have tortured many machines over the last few days to try and red= uce >>>> the possibilities of foot-shooting as much as I can. I've successf= ully >>>> recompiled to enable and disable the libiconv_compat modes, ports t= hat use >>>> libiconv alongside system iconv etc. If you don't enable the >>>> WITH_LIBICONV_COMPAT switch, they don't share symbol space. >=20 >>>> This is an extension of behavior on other system. iconv(3) is a st= andard >>>> libc interface and libiconv port expects to be able to run alongsid= e it on >>>> systems that have it. >=20 >>> Unfortunately I expect this will break many ports, when the libiconv >>> port is installed. A simple example is the following: >> >=20 >> It also breaks installworld when /usr/src and /usr/obj are NFS exporte= d >> read-only. >=20 > I think it has to do with share/i18n/csmapper and share/i18n/esdb using= > directories as make targets. This apparently causes these files to be > rebuilt at 'make installworld' time, which is always bad but is only > detected when /usr/obj is read-only. >=20 > A hack that works is to enclose the four targets depending on ${SUBDIR}= > in .if !make(install) . >=20 > Unfortunately, the Makefiles were written to depend on the directories > as make targets fairly deeply, so a real fix is harder. I was looking at this yesterday, but was tied up with other things. I'll= take a look at it today after getting a few other things done. It should= be easy enough to replicate by changing /usr/obj to readonly on test systems= =2E --=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6F= JV UTF-8: for when a ' just won\342\200\231t do. ZFS must be the bacon of file systems. "everything's better with ZFS" --CWQUSkf6tljNnRBk6efShnljn6Biwcs9I Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlIRT+0ACgkQFRKuUnJ3cX+eHwCeNmqX55iCjJFkKy/yY1aj4+rI /CYAn3qzTFYfTJFTAfWd3HSQmFFrWjjD =LfC8 -----END PGP SIGNATURE----- --CWQUSkf6tljNnRBk6efShnljn6Biwcs9I--