From owner-svn-ports-head@FreeBSD.ORG Sun Dec 15 20:28:04 2013 Return-Path: Delivered-To: svn-ports-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 ESMTPS id 3382A418; Sun, 15 Dec 2013 20:28:04 +0000 (UTC) Received: from winston.madpilot.net (winston.madpilot.net [78.47.75.155]) by mx1.freebsd.org (Postfix) with ESMTP id DDABA1FA8; Sun, 15 Dec 2013 20:28:03 +0000 (UTC) Received: from winston.madpilot.net (localhost [127.0.0.1]) by winston.madpilot.net (Postfix) with ESMTP id 3djHHJ1WYkzFTBf; Sun, 15 Dec 2013 21:27:56 +0100 (CET) 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 HF_WZPdusR1e; Sun, 15 Dec 2013 21:27:50 +0100 (CET) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by winston.madpilot.net (Postfix) with ESMTPSA; Sun, 15 Dec 2013 21:27:50 +0100 (CET) Message-ID: <52AE10C5.2070800@FreeBSD.org> Date: Sun, 15 Dec 2013 21:27:49 +0100 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Eygene Ryabinkin Subject: Re: svn commit: r326307 - in head: . Mk Mk/Uses archivers/rpm archivers/unrar archivers/unrar-iconv archivers/unzip audio/julius audio/mp3unicode audio/mpc audio/mpiosh audio/mpiosh/files audio/osd-lyr... References: <201309041806.r84I680e048857@svn.freebsd.org> <52AC6B4A.2080407@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2013 20:28:04 -0000 On 12/15/13 16:34, Eygene Ryabinkin wrote: > Sat, Dec 14, 2013 at 03:29:30PM +0100, Guido Falsi wrote: >> That said, Your solution of renaming iconv.h could be a good idea I did >> not think about. >> >> Let me understand exactly; you used a procedure like this: >> >> 1) mv /usr/local/include/iconv.h /usr/local/include/iconv.h.old >> 2a) portupgrade -af (I'm not using portupgrade, please confirm correct >> syntax) >> 2b) portmaster -af > > Actually, it was a bit different one: > - get a fresh copy of ports tree; > - 'portupgrade -a' to get the latest versions of all ports; > was patched libiconv's Makefile to omit IGNORE; > - mv /usr/local/include/iconv.h /usr/local/include/iconv.h.old > - 'portupgrade -fa -x libiconv' > - pkg delete libiconv > > First two phases were done to make sure that "portupgrade -fa" won't > really upgrade anything, but will just reinstall with all port being > up to date (so there are no unbuildable ports). I am often sync the > ports tree to upgrade just one or two ports, so it could be just my > local dance that isn't nessessary. > > I'll try to upgrade my primary workstation with just > - mv /usr/local/include/iconv.h /usr/local/include/iconv.h.old > - 'portupgrade -fa -x libiconv' > - pkg delete libiconv > and will report the outcome. A better way to preserve old iconv is to save it in /usr/local/lib/compat/pkg then remove the port. It' almost the same as removing the iconv.h file imho. so doing: - cp /usr/local/lib/libiconv* /usr/local/lib/compat/pkg/ - pkg delete -f libiconv - portupgrade -fa -x libiconv should work the same, and should avoid references to the libiconv port from surviving in the pkgng database. Are you able to test this procedure too? I can try building a test jail for this, but that wouldn't be a good testcase, a live system which has been updated for months/years with hundreds of ports is quite different from a test jail with just a bunch of freshly installed ports. -- Guido Falsi