Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-11 Thread CeDeROM
On Sat, Jan 11, 2014 at 12:46 PM, Tijl Coosemans  wrote:
> The problem is pdftk-2.02.  You need pdftk-2.02_1 for which a package
> has been built already so it should be on the pkg mirrors soon.

Bingo! That fixed the problem! Thank you!!! :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-11 Thread CeDeROM
On Sat, Jan 11, 2014 at 12:21 PM, Boris Samorodov  wrote:
> 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
> -

% sh
$ for o in `pkg info -aoq`; do \[ \! -z `pkg query %dn-%dv -o $o |
grep gcc46` \] && echo $o; done
$

no results :-(

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

I did something different - I have removed both gcc and gcc46, then
installed gcc46 to see what depends on it - result list empty - so it
seems nothing on the port list depends on the lang/gcc46, the problem
might be somewhere else..?

Now when GCC is installed I cannot install GCC46. pkg clean does not
help. Where did that GCC46 get from? :-)

Thank you! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-11 Thread Tijl Coosemans
On Sat, 11 Jan 2014 11:37:50 +0100 CeDeROM wrote:
> On Sat, Jan 11, 2014 at 11:29 AM, CeDeROM  wrote:
>> On Sat, Jan 11, 2014 at 3:18 AM, Gerald Pfeifer  wrote:
>>> Wait a minute: is one of yoir ports hard coding lang/gcc46 instead of
>>> doing USE_GCC? If so, here is the bug.
> 
> Here goes the full ouput of the "pkg upgrade" maybe it will help you
> find the solution :-)
> 
> http://tny.cz/c8b678b2

The problem is pdftk-2.02.  You need pdftk-2.02_1 for which a package
has been built already so it should be on the pkg mirrors soon.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-11 Thread Boris Samorodov
11.01.2014 14:37, CeDeROM пишет:
> On Sat, Jan 11, 2014 at 11:29 AM, CeDeROM  wrote:
>> On Sat, Jan 11, 2014 at 3:18 AM, Gerald Pfeifer  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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-11 Thread CeDeROM
On Sat, Jan 11, 2014 at 11:29 AM, CeDeROM  wrote:
> On Sat, Jan 11, 2014 at 3:18 AM, Gerald Pfeifer  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

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-11 Thread CeDeROM
On Sat, Jan 11, 2014 at 3:18 AM, Gerald Pfeifer  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

Yes, it seems so, as I only installed packages from binaries and the
gcc was the dependency, I did not install gcc46 by hand :-) After
removing GCC and GCC46 still there is this conflict problem..

For the end-user it looks like packages upgrade fail with no apparent
reason as there is "some" conflict :-)

Thank you! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-10 Thread Gerald Pfeifer
Wait a minute: is one of yoir ports hard coding lang/gcc46 instead of doing 
USE_GCC? If so, here is the bug. 

Gerald
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-10 Thread Gerald Pfeifer
Wait a minute: is one of yoir ports hard coding lang/gcc46 instead of doing 
USE_GCC? If so, here is the bug. 

Gerald
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-10 Thread Gerald Pfeifer
Yes, you can only have one of lang/gcc and lang/gcc46 installed (and they are 
basically the same right now until lang/gcc moves to GCC 4.7 soon hopefully).

And the two ports _should_ properly conflict.

I recommend removing gcc46 and everything should be fine.

And if anyone sees a problem with the CONFLICTS, please advise so that we can 
tighten them.

Gerald
-- 
Gerald Pfeifer 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

2014-01-10 Thread Adam McDougall
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
> r...@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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"