From owner-freebsd-ports@FreeBSD.ORG Thu Jan 23 04:50:00 2014 Return-Path: Delivered-To: freebsd-ports@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 2DBAFEEB; Thu, 23 Jan 2014 04:50:00 +0000 (UTC) Received: from smtpin1.utoledo.edu (smtpin1.utoledo.edu [131.183.2.213]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 958651B78; Thu, 23 Jan 2014 04:49:59 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhUBAEKe4FKDtwIWl2dsb2JhbABbg0RWgn66BxYOAQEBAQEIFgc8gk8VGzsgAgUWCwILAwIBAgFLAQwIAQEFh3wFCKg+lx2EfxeBKYEzi16DOIFJBIlHkA2FFY1AgVyBTEA X-IronPort-AV: E=Sophos;i="4.95,704,1384318800"; d="scan'208";a="308139471" Received: from dlpint00.utoledo.edu ([131.183.2.22]) by smtpin1.utoledo.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Jan 2014 23:49:58 -0500 Received: from MSGAPP12.utad.utoledo.edu (msgapp12.utad.utoledo.edu [131.183.3.8]) by dlpint00.utoledo.edu (RSA Interceptor); Wed, 22 Jan 2014 23:49:46 -0500 Received: from [192.168.1.79] (76.238.196.183) by Email.Utoledo.Edu (131.183.3.18) with Microsoft SMTP Server (TLS) id 14.3.169.1; Wed, 22 Jan 2014 23:49:46 -0500 Message-ID: <52E09F68.8020804@UToledo.edu> Date: Wed, 22 Jan 2014 23:49:44 -0500 From: Robert Burmeister User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: , Subject: Lessons learned from source upgrade from FreeBSD i386 9.2 Stable to FreeBSD i386 10.0 Release. X-Priority: 1 (Highest) Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [76.238.196.183] X-RSA-Inspected: yes X-RSA-Classifications: public X-RSA-Action: allow 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: Thu, 23 Jan 2014 04:50:00 -0000 Lessons learned from source upgrade from FreeBSD i386 9.2 Stable to FreeBSD i386 10.0 Release. A) Clang is needed to compile FreeBSD 10 due to use of the updated libstdc++ in world. My workaround was to upgrade FreeBSD 9.2 to Clang 3.3 in the base system and remove GCC 4.2.1 from base 9.2. This was accomplished by using /etc/src.conf flags WITH_CLANG=yes WITH_LIBCPLUSPLUS=yes WITH_CLANG_EXTRAS=yes WITH_CLANG_IS_CC=yes WITHOUT_GCC=yes and recompiling world and FreeBSD as per http://www.freebsd.org/doc/handbook/makeworld.html B) FreeBSD 10's change to pkg(8) (a.k.a. PKGNG) affects the portupgrade tools as well as the package tools. Even if you are not using packages, before upgrading to FreeBSD 10 install pkg(8) as described in: http://www5.us.freebsd.org/doc/handbook/pkgng-intro.html and be sure to run pkg2ng. C) FreeBSD 10 moves converters/libiconv into the base system, which directly or indirectly affects many ports. This migration has largely been taken care of for the official packages, however, if you are rebuilding from the ports tree "pkg_delete libiconv" must be run, or converters/libiconv must be deinstalled, before your post OS recompile of all your ports. Most of the iconv hardcodes have been addressed in the ports tree, but this is still being worked on. I have suggested that this information be noted in the FreeBSD 10 release notes.