From owner-freebsd-ports@FreeBSD.ORG Fri Jan 10 15:25:15 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 83B70880 for ; Fri, 10 Jan 2014 15:25:15 +0000 (UTC) Received: from mail.egr.msu.edu (dauterive.egr.msu.edu [35.9.37.168]) by mx1.freebsd.org (Postfix) with ESMTP id 5573014DF for ; Fri, 10 Jan 2014 15:25:14 +0000 (UTC) Received: from dauterive (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id 07DDD28448 for ; Fri, 10 Jan 2014 10:25:08 -0500 (EST) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by dauterive (dauterive.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MhJUrYxMPlBt for ; Fri, 10 Jan 2014 10:25:07 -0500 (EST) Received: from EGR authenticated sender Message-ID: <52D010D3.4010204@egr.msu.edu> Date: Fri, 10 Jan 2014 10:25:07 -0500 From: Adam McDougall User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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, 10 Jan 2014 15:25:15 -0000 On 01/10/2014 10:02, CeDeROM wrote: > # uname -a > FreeBSD hexagon 10.0-RC5 FreeBSD 10.0-RC5 #0 r260430: Wed Jan 8 > 05:10:04 UTC 2014 > root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > # pkg delete -f gcc46 > ... > > # pkg upgrade > Updating repository catalogue > Upgrades have been requested for the following 347 packages: > ... > Reinstalling pdftk-2.02 (direct dependency changed) > Conflict found on path /usr/local/info/gcc46/dir between > gcc-4.6.4(lang/gcc) and gcc46-4.6.4_1,1(lang/gcc46) > (...) > Try temporarily removing pdftk since I know it brings in one of the gcc versions and see if your pkg upgrade finishes. If it does, try removing (without -f) the gcc that got installed and pkg will reveal one or more other packages that caused gcc to install. The problem is the new set of packages that your upgrade brings in contains packages that have a gcc 4.6 dependency but sourced from two different ports which conflict. Changes in ports will probably be needed to resolve this properly, unless you can do without one of them. As a local, temporary workaround (hack), you could probably use pkg set -o with the proper arguments to remap dependencies from one gcc 4.6 to the other so you only need one.