Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Portage wants me to merge gcc 3?!

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
18 posts • Page 1 of 1
Author
Message
ens_leader
Tux's lil' helper
Tux's lil' helper
Posts: 105
Joined: Sun Feb 27, 2005 2:12 am

Portage wants me to merge gcc 3?!

  • Quote

Post by ens_leader » Tue Aug 21, 2007 9:22 pm

Im trying to do the following in portage:

Code: Select all

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
Top
Telexen
Apprentice
Apprentice
Posts: 189
Joined: Sun Oct 09, 2005 4:24 pm

  • Quote

Post by Telexen » Tue Aug 21, 2007 9:46 pm

emerge 'libstdc++-v3' first
Top
ToeiRei
Veteran
Veteran
User avatar
Posts: 1191
Joined: Mon Jan 03, 2005 10:50 am
Location: Austria
Contact:
Contact ToeiRei
Website

  • Quote

Post by ToeiRei » Wed Aug 22, 2007 8:59 am

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...
Top
cyrillic
Watchman
Watchman
User avatar
Posts: 7311
Joined: Wed Feb 19, 2003 3:05 am
Location: Groton, Massachusetts USA

Re: Portage wants me to merge gcc 3?!

  • Quote

Post by cyrillic » Wed Aug 22, 2007 3:09 pm

ens_leader wrote:

Code: Select all

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: Select all

=sys-devel/gcc-3* 
Top
Vlad.Sharp
Guru
Guru
User avatar
Posts: 337
Joined: Wed Dec 08, 2004 9:30 am
Location: Cambridgeshire, UK

  • Quote

Post by Vlad.Sharp » Wed Aug 22, 2007 3:45 pm

Yes, there is something you can do - see post #2 in this thread. Emerge libstdc++-v3 :)
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

  • Quote

Post by desultory » Wed Sep 19, 2007 6:51 am

This is due to the behavior described in bug 161953 "[bug=161953]|| ( x y ) prefers y if any version of y and no version of x is installed[/bug]". 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.
Top
WakkaDojo
Apprentice
Apprentice
User avatar
Posts: 174
Joined: Wed Sep 26, 2007 4:59 pm
Location: Massachusetts
Contact:
Contact WakkaDojo
Website

  • Quote

Post by WakkaDojo » Tue Oct 02, 2007 5:02 am

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++!
Top
nesbittgeorge
n00b
n00b
Posts: 3
Joined: Wed Nov 28, 2007 9:22 am

Still doesn't work

  • Quote

Post by nesbittgeorge » Wed Nov 28, 2007 2:22 pm

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.
Top
nesbittgeorge
n00b
n00b
Posts: 3
Joined: Wed Nov 28, 2007 9:22 am

  • Quote

Post by nesbittgeorge » Thu Nov 29, 2007 2:06 pm

Solved. I just did "emerge perl" and then tried it again. It worked first time.
Top
vvi
n00b
n00b
Posts: 8
Joined: Sat Nov 17, 2007 1:35 pm

  • Quote

Post by vvi » Sat Dec 01, 2007 1:36 am

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: Select all

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: Select all

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.
Top
skutnar
n00b
n00b
Posts: 65
Joined: Tue Jun 13, 2006 12:27 pm

  • Quote

Post by skutnar » Sat Dec 01, 2007 6:19 am

You must install sys-libs/libstdc++-v3 first. The tree shows that gcc-3 will fulfill virtual/libstdc++-v3.
Top
vvi
n00b
n00b
Posts: 8
Joined: Sat Nov 17, 2007 1:35 pm

  • Quote

Post by vvi » Sun Dec 02, 2007 4:50 am

Thanks, it works!
Top
cshobe
n00b
n00b
Posts: 10
Joined: Fri Dec 07, 2007 3:56 am

  • Quote

Post by cshobe » Sat Dec 08, 2007 8:32 am

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
Top
Carlo
Developer
Developer
User avatar
Posts: 3356
Joined: Mon Aug 12, 2002 10:57 pm

  • Quote

Post by Carlo » Sat Dec 08, 2007 8:35 pm

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.
Top
shanew
n00b
n00b
Posts: 34
Joined: Sat Sep 16, 2006 4:36 pm
Location: Austin, TX

  • Quote

Post by shanew » Sat Dec 15, 2007 12:47 am

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
Top
someguy42
n00b
n00b
User avatar
Posts: 45
Joined: Tue Sep 16, 2003 9:41 pm
Location: Nashville, TN, USA

  • Quote

Post by someguy42 » Sun Dec 16, 2007 5:38 am

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!!!!
Top
Carlo
Developer
Developer
User avatar
Posts: 3356
Joined: Mon Aug 12, 2002 10:57 pm

  • Quote

Post by Carlo » Sun Dec 16, 2007 1:33 pm

@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.
Top
think4urs11
Bodhisattva
Bodhisattva
User avatar
Posts: 6659
Joined: Wed Jun 25, 2003 9:51 pm
Location: above the cloud

  • Quote

Post by think4urs11 » Tue Feb 19, 2008 12:21 pm

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
Top
Post Reply

18 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic