vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings all, I have gcc 3.4.5-r1, and I'm trying to do a system update which wants to give me 3.4.6-r1. Unfortunately, no matter what I do, Portage seems intent upon installing libstdc++-v3-3.3.4. I don't want this package. I don't have any binary packages installed, and I've rebuilt everything to use the new libraries. I've seen the forum thread at "http://forums.gentoo.org/viewtopic-t-452675.html" which suggests doing an "emerge -pt world" to find out what package is depending upon libstdc++-v3, but there isn't one. It reports that it wants to install gcc, then libstdc++-v3. That's it. "equery depends libstdc++-v3" also tells me that nothing depends on libstdc++-v3. No, before anyone asks, it isn't in my world file either # emerge info Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686) ================================================== =============== System uname: 2.6.16-gentoo-r7 i686 Pentium II (Klamath) Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium2 -pipe -momit-leaf-frame-pointer - -fomit-frame-pointer -fweb -frename-registers" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium2 -pipe -momit-leaf-frame-pointer - -fomit-frame-pointer -fweb -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/ ftp://gentoo.agsn.ca/ http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/ http://adelie.polymtl.ca/" LANG="en_CA.utf8" LC_ALL="en_CA.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 alsa apache2 apm avi bzip2 caps cli crypt curl dri eds emboss esd expat fam ftp gd gdbm gif glibc-omitfp gstreamer hpn imlib isdnlog jpeg libg++ libwww md5sum mime mmap mmx mp3 ncurses nls nptl nptlonly ogg pam pcre pdflib php pic png posix pppd readline reflection session sharedmem spl ssl symlink sysfs sysvipc threads truetype-fonts type1-fonts udev unicode userlocales vorbis xml xml2 xorg zlib userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY # cat /var/lib/portage/world app-admin/logrotate app-admin/sysklogd app-editors/vim app-misc/screen app-portage/gentoolkit dev-lang/php dev-php/PEAR-Text_Diff dev-python/python-cdb dev-util/subversion mail-client/mailx mail-mta/exim media-fonts/terminus-font net-dns/ddclient net-mail/courier-imap net-misc/dhcpcd net-misc/ntp sys-apps/slocate sys-boot/grub sys-devel/prelink sys-kernel/gentoo-sources sys-process/at sys-process/vixie-cron # cat /etc/portage/package.use dev-db/mysql -ssl dev-lang/php cli -crypt -gdbm -gmp -mime mysql mysqli -ncurses -pdflib pear -readline -reflection session -sharedmem -snmp -spl -ssl tiff truetype xml Thanks for any help you can give, Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: GnuPT 2.7.2 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEfQzS6ZGQ8LKA8nwRAn/jAJwNAAM3qU23SL7MoGqKqTRDD+KxSwCeOmI1 RW4eBhySnCfSolG1w561kWs= =0qmS -----END PGP SIGNATURE----- |
| |||
| Chris Head <chris2k01@hotmail.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Greetings all, > I have gcc 3.4.5-r1, and I'm trying to do a system update which wants > to give me 3.4.6-r1. Unfortunately, no matter what I do, Portage seems > intent upon installing libstdc++-v3-3.3.4. I don't want this package. > I don't have any binary packages installed, and I've rebuilt > everything to use the new libraries. > > I've seen the forum thread at > "http://forums.gentoo.org/viewtopic-t-452675.html" which suggests > doing an "emerge -pt world" to find out what package is depending upon > libstdc++-v3, but there isn't one. It reports that it wants to install > gcc, then libstdc++-v3. That's it. "equery depends libstdc++-v3" also > tells me that nothing depends on libstdc++-v3. "equery depends" only check direct dependencies. Try: awk '{print "equery depgraph "$1"|grep libstdc++ && echo "$1}' \ /var/lib/portage/world | sh Or, easier (and faster), emerge app-portage/portage-utils and then do: qdepends -Q libstc++ Or, you could cheat and do the much faster DIY version: grep -l libstdc++ /var/db/pkg/*/*/DEPEND Then cat the resulting file(s) and see what use flag causes it to be pulled in. Regards, -- *Art |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Arthur Hagen wrote: > Chris Head <chris2k01@hotmail.com> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Greetings all, >> I have gcc 3.4.5-r1, and I'm trying to do a system update which wants >> to give me 3.4.6-r1. Unfortunately, no matter what I do, Portage seems >> intent upon installing libstdc++-v3-3.3.4. I don't want this package. >> I don't have any binary packages installed, and I've rebuilt >> everything to use the new libraries. >> >> I've seen the forum thread at >> "http://forums.gentoo.org/viewtopic-t-452675.html" which suggests >> doing an "emerge -pt world" to find out what package is depending upon >> libstdc++-v3, but there isn't one. It reports that it wants to install >> gcc, then libstdc++-v3. That's it. "equery depends libstdc++-v3" also >> tells me that nothing depends on libstdc++-v3. > > "equery depends" only check direct dependencies. Try: > > awk '{print "equery depgraph "$1"|grep libstdc++ && echo "$1}' \ > /var/lib/portage/world | sh > > Or, easier (and faster), emerge app-portage/portage-utils and then do: > > qdepends -Q libstc++ > > Or, you could cheat and do the much faster DIY version: > > grep -l libstdc++ /var/db/pkg/*/*/DEPEND > > Then cat the resulting file(s) and see what use flag causes it to be > pulled in. > > Regards, # awk '{print "equery depgraph "$1"|grep libstdc++ && echo "$1}' /var/lib/portage/world | sh <no output> # qdepends -Q libstdc++ depends: i'm such a fatty, could not eat_file(/var/db/pkg/dev-lang/php-5.1.4/DEPEND) # grep -l libstdc++ /var/db/pkg/*/*/DEPEND <no output> So although you've shown me a cool new package (qdepends is a lot faster than equery) which I must take some time to learn, this has not increased my information about libstdc++-v3. Oh, here's a weird thing which I forgot to mention in my original post: before I upgraded system, I tried "emerge -up gcc", and it wanted to install libstdc++-v3 AFTER gcc. If I did "emerge --nodeps - -up gcc" then it didn't want to install libstdc++-v3. Almost like some kind of dependency being built backwards or something, but why would gcc depend on libstdc++-v3? Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: GnuPT 2.7.2 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEfbSF6ZGQ8LKA8nwRAl+XAKCuIYlJ3CQGXrJ3dPGfHi VLIlr8qQCguCk+ KY6JDFI9X81yw9ln7Zn433w= =S7LS -----END PGP SIGNATURE----- |
| |||
| Chris Head wrote: > Greetings all, > I have gcc 3.4.5-r1, and I'm trying to do a system update which wants > to give me 3.4.6-r1. Unfortunately, no matter what I do, Portage seems > intent upon installing libstdc++-v3-3.3.4. I don't want this package. > I don't have any binary packages installed, and I've rebuilt > everything to use the new libraries. > The newer version of gcc's libstdc++ that you're installing has ABI differences to the older version. This legacy ABI is maintained in libstdc++-v3. So either you mask the new version of gcc, or put up with having the new gcc and libstdc++. Or, you manually try to weed out all the apps that use the old libstdc++. Good luck with that! |
| |||
| Bob <ftoomch@gmail.com> wrote: > Chris Head wrote: >> I have gcc 3.4.5-r1, and I'm trying to do a system update which wants >> to give me 3.4.6-r1. Unfortunately, no matter what I do, Portage seems >> intent upon installing libstdc++-v3-3.3.4. I don't want this package. >> I don't have any binary packages installed, and I've rebuilt >> everything to use the new libraries. > So either you mask the new version of gcc, or put up with having the new > gcc and libstdc++. Or, you manually try to weed out all the apps that > use the old libstdc++. Good luck with that! Since 3.4.6-r1 has libstdc++-v3 as a postinstall dependency, I see only two ways not to get libstdc++-v3: a) don't update to 3.4.6-r1 b) use an overlay and modify the 3.4.6-r1 ebuild Sorry not being a bearer of happier news, Marc |
| ||||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Christiansen wrote: [snip] > > Since 3.4.6-r1 has libstdc++-v3 as a postinstall dependency, I see only > two ways not to get libstdc++-v3: > a) don't update to 3.4.6-r1 > b) use an overlay and modify the 3.4.6-r1 ebuild > > Sorry not being a bearer of happier news, > Marc I guess I can spare the disk space. None of my apps actually need it, so presumably the old libstdc++ won't get loaded into RAM, which is a bigger concern for me. As long as there's a sensible explanation, I guess I'll just leave it alone (it isn't really worth bothering with a custom ebuild). Thanks, Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: GnuPT 2.7.2 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEgLEF6ZGQ8LKA8nwRAgGqAJ9sbV0zkc8Ee3FGIqtcDE 4mMRmaeACfUGEj xE6PlJUZG2zuJL3EPnAzj4w= =QDwD -----END PGP SIGNATURE----- |