Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 15:21:50 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        CeDeROM <cederom@tlen.pl>, Gerald Pfeifer <gerald@pfeifer.com>
Cc:        freebsd-stable@freebsd.org, freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46
Message-ID:  <52D1294E.4090107@passap.ru>
In-Reply-To: <CAFYkXjmzr1nM52vXU9wb9XD2-%2B4Wksq57ieKB1JwFRBBwtt_JQ@mail.gmail.com>
References:  <CAFYkXjmxQOs9Rj3exmjXRwFvSCSn-fx1bM2t3-tNchuyJqoBJQ@mail.gmail.com> <c58b9c7d-5acc-43ca-992c-abc34aea5cdc@email.android.com> <CAFYkXjnPZsPdKkqQS-v4Qnk1smuAwrUg=wq995XGnw97otbu6A@mail.gmail.com> <CAFYkXjmzr1nM52vXU9wb9XD2-%2B4Wksq57ieKB1JwFRBBwtt_JQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
11.01.2014 14:37, CeDeROM пишет:
> On Sat, Jan 11, 2014 at 11:29 AM, CeDeROM <cederom@tlen.pl> wrote:
>> On Sat, Jan 11, 2014 at 3:18 AM, Gerald Pfeifer <gerald@pfeifer.com> wrote:
>>> Wait a minute: is one of yoir ports hard coding lang/gcc46 instead of doing USE_GCC? If so, here is the bug.
>>> Gerald
> 
> Here goes the full ouput of the "pkg upgrade" maybe it will help you
> find the solution :-)
> 
> http://tny.cz/c8b678b2

It's not a solution but a workaround which helped me. Run the following
command to find out which installed packages need gcc46 (note it's a
one line command):
-----
% for o in `pkg info -aoq`; do \[ \! -z `pkg query %dn-%dv -o $o | grep
gcc46` \] && echo $o; done
-----

In my case opera and one more (may be virtualbox) packages used gcc46.
Just remove them, then remove gcc46 and upgrade packages.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D1294E.4090107>