Re: [gentoo-user] Any reason to keep older gcc?
On Sun, Dec 30, 2007 at 03:38:37AM +, Qian Qiao wrote > 1. make sure USE flags for all your packages are properly set, don't > use USE=flag emerge package, actually edit /etc/portage/package.use I always put USE flags in package.use; not on the commandline > 2. do a emerge --deep --newuse --update world so that all packages > pick up the correct USE flags and hence dependent libraries. I did that before posting. I went through the list, and I've unmerged what I could get away with, and reduced the count down from 74 to 53. I don't think I can go much further. -- Walter Dnes <[EMAIL PROTECTED]> I'm not repeating myself I'm an X Window user... I'm an ex-Windows-user -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Any reason to keep older gcc?
On Dec 30, 2007 2:58 AM, Walter Dnes <[EMAIL PROTECTED]> wrote: > On Fri, Dec 28, 2007 at 02:41:55AM +, Qian Qiao wrote > > > The usual suspects? It should list nothing if the dependencies are > > handled properly. > > OK, I'll admit that I cheated somewhat when installing Gentoo. > - I started off with a basic stage 3 install > - I did *NOT* emerge X; I ran "emerge bbkeys" > - bbkeys is the keyboard macro manager for blackbox, so it obviously > depends on blackbox > - blackbox is a Window Manager, so it depends on X > - X depends on a gazillion libraries > > I let portage sort out what to pull in. See attachment dep.txt for a > list of depclean suggestions. See attachment deplist.txt for output of > a script that ran "equery depends" on all the suggested packages to > remove. > Portage should handle transitive dependencies no problem, so my guess is that you have your system for a long time, and over the period, this is what happened: - package-old.version, pulled in dependency-some.version, which depends on further-dependency-some.other.version - package was upgraded to package-new.version which doesn't depend on dependency-some.version anymore - you have dependency-some.version on your system, which depends on further-dependency-some.other.version, but isn't really reachable by the current dependency tree - depclean tries to get rid of those, but produces a very scary output with seemingly useful packages listed. I cannot be 100% sure on that, so I recommend you do the following steps 1. make sure USE flags for all your packages are properly set, don't use USE=flag emerge package, actually edit /etc/portage/package.use 2. do a emerge --deep --newuse --update world so that all packages pick up the correct USE flags and hence dependent libraries. 3. emerge -pv depclean, it'll explain what pulled what in. 4. At this point, it should be safe to emerge depclean to get rid of the obsolete dependencies 5. revdep-rebuild > > Try "equery depends =gcc-3*", without the quotes obviously. > > > > If none of the packages you installed depends on gcc-3*, you should be > > able to get rid of it safely. > > [m3000][root][~] equery depends =gcc-3* > [ Searching for packages depending on =gcc-3*... ] > sys-libs/glibc-2.6.1 (>=sys-devel/gcc-3.4.4) > sys-libs/libstdc++-v3-3.3.6 (>=sys-devel/gcc-3.3.3_pre20040130) > www-client/links-2.1_pre28-r1 (sys-devel/gcc) > > It looks like nothing depends on gcc-3*. looks safe to me. Don't forget a revdep-rebuild after the "emerge -C =gcc-3*" HTH. -- Joe -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Any reason to keep older gcc?
On Fri, Dec 28, 2007 at 02:41:55AM +, Qian Qiao wrote > The usual suspects? It should list nothing if the dependencies are > handled properly. OK, I'll admit that I cheated somewhat when installing Gentoo. - I started off with a basic stage 3 install - I did *NOT* emerge X; I ran "emerge bbkeys" - bbkeys is the keyboard macro manager for blackbox, so it obviously depends on blackbox - blackbox is a Window Manager, so it depends on X - X depends on a gazillion libraries I let portage sort out what to pull in. See attachment dep.txt for a list of depclean suggestions. See attachment deplist.txt for output of a script that ran "equery depends" on all the suggested packages to remove. > Try "equery depends =gcc-3*", without the quotes obviously. > > If none of the packages you installed depends on gcc-3*, you should be > able to get rid of it safely. [m3000][root][~] equery depends =gcc-3* [ Searching for packages depending on =gcc-3*... ] sys-libs/glibc-2.6.1 (>=sys-devel/gcc-3.4.4) sys-libs/libstdc++-v3-3.3.6 (>=sys-devel/gcc-3.3.3_pre20040130) www-client/links-2.1_pre28-r1 (sys-devel/gcc) It looks like nothing depends on gcc-3*. -- Walter Dnes <[EMAIL PROTECTED]> I'm not repeating myself I'm an X Window user... I'm an ex-Windows-user >>> These are the packages that would be unmerged: media-libs/gd app-crypt/hashalot app-text/docbook-sgml-dtd selected: 3.1-r3 4.0-r3 4.1-r3 4.2-r2 4.4 protected: none omitted: 3.0-r3 www-client/links x11-proto/dmxproto dev-perl/Archive-Zip dev-perl/SGMLSpm dev-libs/xalan-c x11-libs/libXprintAppUtil media-libs/ftgl x11-libs/libFS sys-libs/gpm sys-apps/tcp-wrappers x11-libs/qt x11-apps/xdm x11-libs/gtk+ sys-libs/cracklib sys-libs/pwdb dev-libs/xerces-c dev-cpp/libbinio x11-libs/libdmx media-libs/musicbrainz sys-libs/db dev-util/gperf sys-libs/gdbm app-text/texi2html x11-apps/xsetroot x11-themes/xcursor-themes sys-apps/xinetd virtual/x11 media-gfx/fontforge dev-libs/libol x11-libs/liboldX media-libs/libprojectm app-text/docbook-xml-dtd selected: 4.4-r1 omitted: 4.1.2-r6 4.2-r1 4.3 sys-devel/automake selected: 1.4_p6 1.8.5-r3 omitted: 1.5 1.6.3 1.7.9-r1 1.9.6-r2 1.10 dev-perl/Locale-gettext app-text/docbook-xml-simple-dtd x11-apps/xdriinfo x11-libs/libXvMC dev-libs/glib selected: 1.2.10-r5 omitted: 2.14.3 app-doc/doxygen x11-libs/libXevie x11-libs/libXTrap x11-apps/sessreg sys-apps/hotplug-base dev-python/docutils sys-devel/dev86 dev-libs/libical media-gfx/xloadimage dev-python/python-docs media-gfx/graphviz app-doc/opengl-manpages app-doc/xorg-sgml-doctools x11-themes/gentoo-xcursors x11-apps/ttmkfdir app-admin/eselect-timidity net-libs/gecko-sdk x11-libs/libXprintUtil app-text/docbook-sgml-utils x11-apps/xcursorgen net-print/cups app-portage/portage-manpages media-libs/libsndfile x11-libs/wxGTK x11-base/opengl-update app-shells/tcsh sys-devel/gcc selected: 3.4.6-r2 omitted: 4.1.2 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Packages installed: 503 Packages in world:97 Packages in system: 55 Unique package names: 503 Required packages:429 Number to remove: 74 Checking for dependancies on media-libs/gd media-gfx/graphviz-2.12 media-libs/libwmf-0.2.8.4 Checking for dependancies on app-crypt/hashalot sys-apps/util-linux-2.12r-r8 Checking for dependancies on app-text/docbook-sgml-dtd app-doc/xorg-docs-1.4-r1 app-text/docbook-sgml-utils-0.6.14 dev-libs/libusb-0.1.12-r1 dev-util/gtk-doc-1.8-r2 media-video/mplayer-1.0_rc1_p20070824 net-misc/iputils-20070202 Checking for dependancies on www-client/links Checking for dependancies on x11-proto/dmxproto x11-apps/xdpyinfo-1.0.2 x11-base/xorg-server-1.3.0.0-r2 x11-libs/libdmx-1.0.2 Checking for dependancies on dev-perl/Archive-Zip Checking for dependancies on dev-perl/SGMLSpm app-text/docbook-sgml-utils-0.6.14 net-misc/iputils-20070202 Checking for dependancies on dev-libs/xalan-c Checking for dependancies on x11-libs/libXprintAppUtil virtual/x11-7.0-r2 Checking for dependancies on media-libs/ftgl media-libs/libprojectm-0.99-r1 Checking for dependancies on x11-libs/libFS virtual/x11-7.0-r2 Checking for dependancies on sys-libs/gpm app-editors/vim-7.1.123 app-misc/mc-4.6.1-r4 sys-libs/ncurses-5.6-r1 www-client/links-2.1_pre28-r1 www-client/w3m-0.5.2-r1 Checking for dependancies on sys-apps/tcp-wrappers app-admin/syslog-ng-2.0.6 net-misc/openssh-4.7_p1-r1 sys-apps/xinetd-2.3.14 Checking for dependancies on x11-libs/qt app-crypt/pinentry-0.7.3 app-doc/doxygen-1.5.2 Checking for dependancies on x11-apps/xdm virtual/x11-7.0-r2 Checking for dependancies on x11-libs/gtk+ app-crypt/pinentry-0.7.3 app-office/abiword-2.4.6 app-office/gnumeric-1.6.3 app-text/ghostscript-esp-8.15.3 gnome-base/gail-1.20.1 gnome-base/libglade-2.6
Re: [gentoo-user] Any reason to keep older gcc?
On Dec 28, 2007 12:37 AM, Walter Dnes <[EMAIL PROTECTED]> wrote: > My current version of gcc appears to be 4.12 > > [m3000][waltdnes][~] gcc --version > gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.1) > ...snip disclaimer... > > "emerge -p --depclean" lists the usual suspects, which I know not to > unmerge. The following entry has me wondering... The usual suspects? It should list nothing if the dependencies are handled properly. > > sys-devel/gcc > selected: 3.4.6-r2 >protected: none > omitted: 4.1.2 > > Would there be any reason to keep the older gcc 3.46? I'm not > familiar enough with Gentoo "under-the-hood" to decide. Try "equery depends =gcc-3*", without the quotes obviously. If none of the packages you installed depends on gcc-3*, you should be able to get rid of it safely. HTH -- Joe -- [EMAIL PROTECTED] mailing list
[gentoo-user] Any reason to keep older gcc?
My current version of gcc appears to be 4.12 [m3000][waltdnes][~] gcc --version gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.1) ...snip disclaimer... "emerge -p --depclean" lists the usual suspects, which I know not to unmerge. The following entry has me wondering... sys-devel/gcc selected: 3.4.6-r2 protected: none omitted: 4.1.2 Would there be any reason to keep the older gcc 3.46? I'm not familiar enough with Gentoo "under-the-hood" to decide. -- Walter Dnes <[EMAIL PROTECTED]> I'm not repeating myself I'm an X Window user... I'm an ex-Windows-user -- [EMAIL PROTECTED] mailing list