Upgrading gcc after switching from Gentoo to Funtoo does not want to work - circular dependencies

51 views
Skip to first unread message

Zeno R.R. Davatz

unread,
Oct 27, 2009, 2:13:01 PM10/27/09
to Funtoo
I just posted this here:

http://groups.google.com/group/funtoo-dev/browse_thread/thread/6d72697bc9e965fb

And I believe the next problem belongs into a similar category:

After I switched my old machine from Gentoo to Funtoo I wanted to
upgrade my gcc Version from 3.x to 4.x that is not easily possible as
this shows:

oldie gcc # emerge gcc
Calculating dependencies ... done!


[ebuild NS ] sys-devel/gcc-4.3.3-r2 [3.3.5.20050130-r1] USE="(-
altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj -gtk (-
hardened) -ip28 -ip32r10k (-libffi) -mudflap (-multilib) -multislot (-
n32) (-n64) -nls -nocxx -nopie -nptl -objc -objc++ -objc-gc -openmp -
profiled -test -vanilla"
[nomerge ] sys-libs/glibc-2.9_p20081201-r2 [2.3.5] USE="-gd% -
glibc-omitfp% -profile% -vanilla%"
[nomerge ] sys-devel/gcc-config-1.4.1 [1.3.11-r4]
[ebuild N ] sys-apps/openrc-0.5.0-r2 USE="-debug -ncurses -pam
-unicode"
[ebuild U ] sys-libs/glibc-2.9_p20081201-r2 [2.3.5] USE="-gd% -
glibc-omitfp% -profile% -vanilla%"
[ebuild U ] sys-devel/gcc-config-1.4.1 [1.3.11-r4]

* Error: circular dependencies:

('ebuild', '/', 'sys-libs/glibc-2.9_p20081201-r2', 'merge') depends on
('ebuild', '/', 'sys-devel/gcc-4.3.3-r2', 'merge') (buildtime)
('ebuild', '/', 'sys-devel/gcc-config-1.4.1', 'merge') (buildtime)
('ebuild', '/', 'sys-apps/openrc-0.5.0-r2', 'merge') depends on
('ebuild', '/', 'sys-libs/glibc-2.9_p20081201-r2', 'merge')
(runtime)
('ebuild', '/', 'sys-devel/gcc-config-1.4.1', 'merge') depends on
('ebuild', '/', 'sys-apps/openrc-0.5.0-r2', 'merge') (runtime)
('ebuild', '/', 'sys-devel/gcc-4.3.3-r2', 'merge') depends on
('ebuild', '/', 'sys-libs/glibc-2.9_p20081201-r2', 'merge')
(buildtime)
('ebuild', '/', 'sys-devel/gcc-config-1.4.1', 'merge') (buildtime)

* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.

I am running into circular dependencies. Any hints?

Thanks!

Karol Czeryna

unread,
Oct 27, 2009, 3:04:35 PM10/27/09
to funto...@googlegroups.com
imo, it's better to install Funtoo from scratch :P

2009/10/27 Zeno R.R. Davatz <zda...@gmail.com>:
--
Pozdrawiam,
Karol Czeryna

Daniel Robbins

unread,
Oct 27, 2009, 3:44:16 PM10/27/09
to funto...@googlegroups.com
On Tue, Oct 27, 2009 at 12:13 PM, Zeno R.R. Davatz <zda...@gmail.com> wrote:
>
> I just posted this here:
>
> http://groups.google.com/group/funtoo-dev/browse_thread/thread/6d72697bc9e965fb
>
> And I believe the next problem belongs into a similar category:
>
> After I switched my old machine from Gentoo to Funtoo I wanted to
> upgrade my gcc Version from 3.x to 4.x that is not easily possible as
> this shows:

I guess we should add "1. Ensure your Gentoo Linux is up-to-date" to
our list of instructions on how to upgrade to Funtoo. Sounds like you
hit some issues by starting with an old Gentoo system.

-Daniel

Zeno R.R. Davatz

unread,
Oct 28, 2009, 3:07:31 AM10/28/09
to Funtoo
On 27 Okt., 20:44, Daniel Robbins <drobb...@funtoo.org> wrote:
> On Tue, Oct 27, 2009 at 12:13 PM, Zeno R.R. Davatz <zdav...@gmail.com> wrote:
>
>
>
> > I just posted this here:
>
> >http://groups.google.com/group/funtoo-dev/browse_thread/thread/6d7269...
>
> > And I believe the next problem belongs into a similar category:
>
> > After I switched my old machine from Gentoo to Funtoo I wanted to
> > upgrade my gcc Version from 3.x to 4.x that is not easily possible as
> > this shows:
>
> I guess we should add "1. Ensure your Gentoo Linux is up-to-date" to
> our list of instructions on how to upgrade to Funtoo. Sounds like you
> hit some issues by starting with an old Gentoo system.
>
> -Daniel

Yes, I did start with an old Gentoo system ;) that is correct.

This also does not help:

http://blog.tonkomulder.nl/index.php/2008/10/09/the-story-continues/

Zeno R.R. Davatz

unread,
Oct 28, 2009, 3:42:12 AM10/28/09
to Funtoo


On 27 Okt., 20:44, Daniel Robbins <drobb...@funtoo.org> wrote:
> On Tue, Oct 27, 2009 at 12:13 PM, Zeno R.R. Davatz <zdav...@gmail.com> wrote:
>
>
>
> > I just posted this here:
>
> >http://groups.google.com/group/funtoo-dev/browse_thread/thread/6d7269...
>
> > And I believe the next problem belongs into a similar category:
>
> > After I switched my old machine from Gentoo to Funtoo I wanted to
> > upgrade my gcc Version from 3.x to 4.x that is not easily possible as
> > this shows:
>
> I guess we should add "1. Ensure your Gentoo Linux is up-to-date" to
> our list of instructions on how to upgrade to Funtoo. Sounds like you
> hit some issues by starting with an old Gentoo system.

What is the best way to go from here? Start from Scratch?

Erick Michau

unread,
Oct 28, 2009, 5:05:18 AM10/28/09
to funto...@googlegroups.com
though I don't have a proper solution to your problem, I would first focus on upgrading gcc (ensure that 'emerge system -e' runs ok and then see why udev fails if it still fails. It is highly possible that by fixing the new gcc and its dependencies udev can compile fine.
Out of curiosity:
pong ~ # grep -R SO_RCVBUFFORCE /usr/include/
/usr/include/asm/socket.h:#define SO_RCVBUFFORCE 33
pong ~ # qfile /usr/include/asm/socket.h 
sys-kernel/linux-headers (/usr/include/asm/socket.h)
pong ~ # qdepends udev
sys-fs/udev-135-r9: >=sys-apps/baselayout-2.1.6 =sys-devel/automake-1.10* >=sys-devel/autoconf-2.61 sys-devel/libtool
pong ~ # 
http://www.gentoo.org/doc/en/gcc-upgrading.xml could maybe help you out ensuring you have a sane 'emerge system -e' with a new shiny gcc. From that troubles should be easier to fix.

If you're not in a rush be patient, don't wipe your installation, your issue is fixable.

Good luck
 


Zeno R.R. Davatz

unread,
Nov 5, 2009, 3:47:14 AM11/5/09
to Funtoo
On 28 Okt., 10:05, Erick Michau <erick.mic...@gmail.com> wrote:

> though I don't have a proper solution to your problem, I would first focus
> on upgrading gcc (ensure that 'emerge system -e' runs ok

that gives me:

oldie ~ # emerge system -e
Calculating dependencies... done!


[ebuild NS ] sys-devel/gcc-4.3.3-r2 [3.3.5.20050130-r1]
USE="fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc
(-fixed-point) -gcj -gtk (-hardened) -ip28 -ip32r10k (-libffi) (-
multilib) -multislot (-n32) (-n64) -nocxx -nopie -objc -objc++ -objc-
gc -profiled -test -vanilla"
[ebuild U ] sys-devel/gcc-config-1.4.1 [1.3.11-r4]
[ebuild N ] sys-apps/openrc-0.5.0-r2 USE="ncurses pam unicode -
debug"
[ebuild U ] sys-libs/glibc-2.9_p20081201-r2 [2.3.5] USE="nls* -
gd% -glibc-omitfp% -profile% -vanilla%"

* Error: circular dependencies:

('ebuild', '/', 'sys-devel/gcc-4.3.3-r2', 'merge') depends on
('ebuild', '/', 'sys-libs/glibc-2.9_p20081201-r2', 'merge')
(buildtime)
('ebuild', '/', 'sys-devel/gcc-config-1.4.1', 'merge') (buildtime)
('ebuild', '/', 'sys-devel/gcc-config-1.4.1', 'merge') depends on
('ebuild', '/', 'sys-apps/openrc-0.5.0-r2', 'merge') (runtime)
('ebuild', '/', 'sys-libs/glibc-2.9_p20081201-r2', 'merge') depends on
('ebuild', '/', 'sys-devel/gcc-4.3.3-r2', 'merge') (buildtime)
('ebuild', '/', 'sys-devel/gcc-config-1.4.1', 'merge') (buildtime)
('ebuild', '/', 'sys-apps/openrc-0.5.0-r2', 'merge') depends on
('ebuild', '/', 'sys-libs/glibc-2.9_p20081201-r2', 'merge')
(runtime)

Zeno R.R. Davatz

unread,
Nov 5, 2009, 3:52:05 AM11/5/09
to Funtoo
On 28 Okt., 10:05, Erick Michau <erick.mic...@gmail.com> wrote:
> Out of curiosity:
> pong ~ # grep -R SO_RCVBUFFORCE /usr/include/ /usr/include/asm/socket.h:#define SO_RCVBUFFORCE 33

gives me:
grep: /usr/include/asm/socket.h:#define: No such file or directory
grep: SO_RCVBUFFORCE: No such file or directory
grep: 33: No such file or directory

> pong ~ # qfile /usr/include/asm/socket.h sys-kernel/linux-headers (/usr/include/asm/socket.h)

gives me:
-bash: syntax error near unexpected token `('

> pong ~ # qdepends udev sys-fs/udev-135-r9: >=sys-apps/baselayout-2.1.6 =sys-devel/automake-1.10*>=sys-devel/autoconf-2.61 sys-devel/libtool

gives me:
-bash: =sys-apps/baselayout-2.1.6: No such file or directory

Zeno R.R. Davatz

unread,
Nov 5, 2009, 3:53:16 AM11/5/09
to Funtoo
On 28 Okt., 10:05, Erick Michau <erick.mic...@gmail.com> wrote:

> pong ~ #http://www.gentoo.org/doc/en/gcc-upgrading.xmlcould maybe help you out
> ensuring you have a sane 'emerge system -e' with a new shiny gcc. From that
> troubles should be easier to fix.
>
> If you're not in a rush be patient, don't wipe your installation, your issue
> is fixable.

Won't help because gcc-config can not be installed.

Best
Zeno
Reply all
Reply to author
Forward
0 new messages