Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage wants me to merge gcc 3?!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ens_leader
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2005
Posts: 105

PostPosted: Tue Aug 21, 2007 9:22 pm    Post subject: Portage wants me to merge gcc 3?! Reply with quote

Im trying to do the following in portage:

Code:
Linux portage # emerge --pretend kdenetwork mplayer mplayerplug-in
--- Invalid atom in /etc/portage/package.mask: sys-devel/gcc-3.3.6-r1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] sys-devel/gcc-3.3.6-r1  USE="doc fortran nls (-altivec) -bootstrap -boundschecking -build -gcj -gtk (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla"
[ebuild  N    ] media-libs/aalib-1.4_rc5  USE="X gpm -slang"
[ebuild  N    ] dev-lang/nasm-0.98.39-r3  USE="doc -build"
[ebuild  N    ] media-libs/svgalib-1.9.25  USE="-build -no-helper"
[ebuild  N    ] media-libs/libcaca-0.99_beta11  USE="X doc ncurses opengl -imlib -nocxx -slang"
[ebuild  N    ] media-libs/libdts-0.0.2-r5  USE="-debug -oss"
[ebuild  N    ] app-arch/rpm2targz-9.0-r5
[ebuild  N    ] media-libs/libdvdcss-1.2.9-r1  USE="doc"
[ebuild  N    ] media-libs/amrnb-6.1.0.3
[ebuild  N    ] dev-lang/yasm-0.6.0  USE="nls"
[ebuild   R   ] kde-base/kdenetwork-3.5.7  USE="wifi*"
[ebuild  N    ] virtual/libstdc++-3.3
[ebuild  N    ] media-libs/libsdl-1.2.11-r2  USE="X aalib alsa libcaca opengl svga xv -arts -dga -directfb -esd -fbcon -ggi -nas -noaudio -noflagstrip -nojoystick -novideo -oss -xinerama"
[ebuild  N    ] media-libs/x264-svn-20061014-r1  USE="-debug -threads"
[ebuild  N    ] media-libs/libdvdread-0.9.7
[ebuild  N    ] media-libs/xvid-1.1.3  USE="(-altivec) -examples"
[ebuild  N    ] media-libs/win32codecs-20061022-r1  USE="quicktime real"
[ebuild  N    ] media-video/realplayer-10.0.8-r1  USE="X -nsplugin"
[ebuild  N    ] media-libs/libdvdnav-0.1.10
[ebuild  N    ] media-libs/openal-0.0.8-r1  USE="alsa mp3 sdl -arts -debug -esd -vorbis"
[ebuild  N    ] media-video/mplayer-1.0.20070622-r1  USE="X a52 aac aalib alsa amrnb cddb cpudetection doc dts dvd dvdnav iconv jpeg libcaca mp2 mp3 openal opengl png quicktime rar real samba sdl sse2 svga truetype unicode win32codecs x264 xv xvid -3dnow -3dnowext (-altivec) -amrwb -arts -bidi -bindist -bl -cdparanoia -custom-cflags -debug -dga -directfb -dv -dvb -enca -encode -esd -fbcon -ftp -ggi -gif -gtk -ipv6 -ivtv -jack -joystick -lirc -live -livecd -lzo -mad -md5sum -mmx -mmxext -musepack -nas -oss -pnm -radio -rtc -speex -srt -sse -ssse3 -tga -theora -tivo -v4l -v4l2 -vidix -vorbis -xanim -xinerama -xvmc -zoran" VIDEO_CARDS="mga s3virge tdfx vesa"
[ebuild  N    ] net-www/mplayerplug-in-3.40-r1  USE="divx quicktime realmedia wmp -gmedia -gtk (-mplayer-bin)"


As you can see, the bastard wants to have me merge gcc 3, when im clearly using gcc 4 already. Is there anyway I can merge everything BUT gcc 3?

Made topic sticky. -- desultory
Back to top
View user's profile Send private message
Telexen
Apprentice
Apprentice


Joined: 09 Oct 2005
Posts: 189

PostPosted: Tue Aug 21, 2007 9:46 pm    Post subject: Reply with quote

emerge 'libstdc++-v3' first
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1191
Location: Austria

PostPosted: Wed Aug 22, 2007 8:59 am    Post subject: Reply with quote

you might want to see which ebuild wants you to do so...

try emerge --tree ....

Rei
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Aug 22, 2007 3:09 pm    Post subject: Re: Portage wants me to merge gcc 3?! Reply with quote

ens_leader wrote:
Code:
Linux portage # emerge --pretend kdenetwork mplayer mplayerplug-in
--- Invalid atom in /etc/portage/package.mask: sys-devel/gcc-3.3.6-r1


As you can see, the bastard wants to have me merge gcc 3, when im clearly using gcc 4 already. Is there anyway I can merge everything BUT gcc 3?

You didn't mask it the right way. Try this instead.
Code:
=sys-devel/gcc-3*
Back to top
View user's profile Send private message
Vlad.Sharp
Guru
Guru


Joined: 08 Dec 2004
Posts: 337
Location: Cambridgeshire, UK

PostPosted: Wed Aug 22, 2007 3:45 pm    Post subject: Reply with quote

Yes, there is something you can do - see post #2 in this thread. Emerge libstdc++-v3 :)
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Wed Sep 19, 2007 6:51 am    Post subject: Reply with quote

This is due to the behavior described in bug 161953 "|| ( x y ) prefers y if any version of y and no version of x is installed". This problem is somewhat exacerbated by the fact that the 3.3 series versions of sys-devel/gcc do not support -march=pentium-m, and so fail to compile on systems using that configuration.

Fixed a typo. -- desultory


Last edited by desultory on Tue Oct 16, 2007 6:33 am; edited 1 time in total
Back to top
View user's profile Send private message
WakkaDojo
Apprentice
Apprentice


Joined: 26 Sep 2007
Posts: 174
Location: Massachusetts

PostPosted: Tue Oct 02, 2007 5:02 am    Post subject: Reply with quote

Good call on the not-supporting-pentium-m. I was trying to emerge firefox and it requested I emerge gcc-3.3.6. i thought that it couldn't be right because I had gcc-4.1.1 installed. Then I recalled that the -march=pentium-m option wasn't added until later versions of gcc, thus being consistent with your comment. Good call on just emerging libstdc++!
Back to top
View user's profile Send private message
nesbittgeorge
n00b
n00b


Joined: 28 Nov 2007
Posts: 3

PostPosted: Wed Nov 28, 2007 2:22 pm    Post subject: Still doesn't work Reply with quote

I am trying to run emerge xorg-x11. As suggested, I ran emerge libstdc++-v3 which stopped the installer from trying to emerge gcc. However, it has now stopped with :

ERROR: dev-perl/XML-Parser-2.34-r1 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1383: Called perl-module_src_compile
* perl-module.eclass, line 149: Called die
* The specific snippet of code:
* make ${mymake} || die "compilation failed"
* The die message:
* compilation failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-perl/XML-Parser-2.34-r1/temp/build.log'.
*

* Messages for package dev-perl/XML-Parser-2.34-r1:

*
* ERROR: dev-perl/XML-Parser-2.34-r1 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1383: Called perl-module_src_compile
* perl-module.eclass, line 149: Called die
* The specific snippet of code:
* make ${mymake} || die "compilation failed"
* The die message:
* compilation failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-perl/XML-Parser-2.34-r1/temp/build.log'.
*
* GNU info directory index is up-to-date.
Back to top
View user's profile Send private message
nesbittgeorge
n00b
n00b


Joined: 28 Nov 2007
Posts: 3

PostPosted: Thu Nov 29, 2007 2:06 pm    Post subject: Reply with quote

Solved. I just did "emerge perl" and then tried it again. It worked first time.
Back to top
View user's profile Send private message
vvi
n00b
n00b


Joined: 17 Nov 2007
Posts: 8

PostPosted: Sat Dec 01, 2007 1:36 am    Post subject: Reply with quote

I have the same problem. I tried to emerge libstdc++ and it also wants to install GCC3. I did "emerge perl" - nothing changed.
Here is what I have:
Code:

klava vvi # emerge --tree mplayer -pv

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] media-video/mplayer-1.0_rc1_p20070824  USE="3dnow 3dnowext X alsa arts dts dvd encode esd ftp gif gtk iconv jpeg live mad mp3 opengl png quicktime sdl sse sse2 theora truetype unicode vorbis win32codecs xanim xv xvid xvmc -a52 -aac -aalib (-altivec) -amrnb -amrwb -bidi -bindist -bl -cddb -cdio -cdparanoia -cpudetection -custom-cflags -dga -directfb -doc -dv -dvb -enca -fbcon -ggi -ipv6 -ivtv -jack -joystick -libcaca -lirc -livecd -lzo -md5sum -mmx -mmxext -mp2 -musepack -nas -openal -oss -pnm -pvr -radio -rar -real -rtc -samba -speex -srt -ssse3 -svga -teletext -tga -tivo -v4l -v4l2 -vidix -x264 -xinerama -zoran" VIDEO_CARDS="nvidia -i810 -mga -s3virge -tdfx -vesa" 7,762 kB
[ebuild  N    ]  media-video/xanim-2.80.1-r4  465 kB
[ebuild  N    ]  media-libs/giflib-4.1.4  USE="X -rle" 592 kB
[ebuild  N    ]  media-libs/libtheora-1.0_alpha6-r1  USE="encode -doc -examples" 1,523 kB
[ebuild  N    ]  media-plugins/live-2007.02.20  433 kB
[ebuild  N    ]  x11-libs/libXvMC-1.0.4  USE="-debug" 220 kB
[ebuild  N    ]  media-libs/win32codecs-20071007-r2  USE="real" 13,540 kB
[ebuild  N    ]   virtual/libstdc++-3.3  0 kB
[ebuild  NS   ]    sys-devel/gcc-3.3.6-r1  USE="gtk nls (-altivec) -bootstrap -boundschecking -build -doc -fortran -gcj (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 0 kB

Total: 9 packages (8 new, 1 in new slot), Size of downloads: 24,533 kB

Here is my emerge --info:
Code:

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Thu, 29 Nov 2007 01:00:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/flash"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acc acl acpi alsa arts berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds encode esd evo fam firefox flac ftp gdbm gif gpm gstreamer gtk hal iconv icq isdnlog javascript jpeg kde kerberos ldap mad midi mikmod mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv xvid xvmc yahoo zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Last edited by vvi on Sun Dec 02, 2007 4:50 am; edited 1 time in total
Back to top
View user's profile Send private message
skutnar
n00b
n00b


Joined: 13 Jun 2006
Posts: 65

PostPosted: Sat Dec 01, 2007 6:19 am    Post subject: Reply with quote

You must install sys-libs/libstdc++-v3 first. The tree shows that gcc-3 will fulfill virtual/libstdc++-v3.
Back to top
View user's profile Send private message
vvi
n00b
n00b


Joined: 17 Nov 2007
Posts: 8

PostPosted: Sun Dec 02, 2007 4:50 am    Post subject: Reply with quote

Thanks, it works!
Back to top
View user's profile Send private message
cshobe
n00b
n00b


Joined: 07 Dec 2007
Posts: 10

PostPosted: Sat Dec 08, 2007 8:32 am    Post subject: Reply with quote

This seems wrong. I ran into the issue the same way, by simply trying to install firefox and konqueror with the java USE flag. jdk 1.6 (why does it need jdk anyways, jre works fine by itself on amd64) seems to want libstdc++ (again, not required on amd64).

Also, the virtual/libstdc++ package wants to pull in the full gcc-3.3.6:

# emerge -va virtual/libstdc++

These are the packages that would be merged, in order:

[ebuild NS ] sys-devel/gcc-3.3.6-r1 USE="nls (-altivec) -bootstrap -boundschecking -build -doc -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 0 kB
[ebuild N ] virtual/libstdc++-3.3 0 kB
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Sat Dec 08, 2007 8:35 pm    Post subject: Reply with quote

cshobe wrote:
This seems wrong.

It is for everything else, but this special case right. desultory pointed you to the bug, which discusses the issue, so read it please.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
shanew
n00b
n00b


Joined: 16 Sep 2006
Posts: 34
Location: Austin, TX

PostPosted: Sat Dec 15, 2007 12:47 am    Post subject: Reply with quote

cshobe wrote:

Also, the virtual/libstdc++ package wants to pull in the full gcc-3.3.6:


There's a sys-libs/libstdc++-v3 and virtual/libstdc++, and what happens when you emerge them is quite different.
You should run 'emerge -av libstdc++-v3', otherwise libstdc++ will try to emerge gcc 3.3.6
Back to top
View user's profile Send private message
someguy42
n00b
n00b


Joined: 16 Sep 2003
Posts: 45
Location: Nashville, TN, USA

PostPosted: Sun Dec 16, 2007 5:38 am    Post subject: Reply with quote

The extremely lovely bit is that this seems to happen when emerging xorg-x11 immediately after having performed a new install...
_________________
AAAHHH!!! He's got a BOARD with a NAIL in it!!!!
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Sun Dec 16, 2007 1:33 pm    Post subject: Reply with quote

@someguy42: Not quite. Only binary packages depend on virtual/libstdc++-3.3. Point is xorg-server optionally depends on x11-drivers/ati-drivers, which in turn....

The easiest way to get rid of the problem is to do the following:

echo "<sys-devel/gcc-4" >> /etc/portage/package.mask
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue Feb 19, 2008 12:21 pm    Post subject: Reply with quote

removed sticky
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum