Hello! I use cruft to clean out my box from time to time. When I run cruft it shows the following files to be no longer needed: /usr/include/db.h /usr/include/db_185.h /usr/lib/libdb.a /usr/lib/libdb.so /usr/lib/libdb_cxx.a /usr/lib/libdb_cxx.so I deleted them. I saw that something went wrong when I tried to emerge iproute2 which complained about beeing unable to find db_185.h. Well, can you fix the ebuild to keep track? Thank you! Sebastian Reproducible: Always Steps to Reproduce: 1. 2. 3.
It is not the ebuild's responsibility to keep track of installed files - that functionality is part of portage. root@aross-laptop /usr/include # qpkg -f db.h sys-libs/db * root@aross-laptop /usr/include # qpkg -f db_185.h sys-libs/db * You can see here that db.h and db_185.h are clearly marked as belonging to sys-libs/db AFAIK, "cruft" is not a Gentoo product (it's not even _in_ portage, and you fail to provide a URL for it). Your system broke because of a non-gentoo program/script, so you should contact the author, not Gentoo.
Hi there! I beg your pardon! But on my box these files are not linked to db. bash-2.05b$ qpkg -f db.h bash-2.05b$ qpkg -f db_185.h bash-2.05b$ cruft can be found at the forums: http://forums.gentoo.org/viewtopic.php?t=152618 emerge info: Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.7) ================================================================= System uname: 2.6.7 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-Os -mmmx -msse -msse2 -mfpmath=sse -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -mmmx -msse -msse2 -mfpmath=sse -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="crypt mmx ncurses nls readline sse ssl x86 zlib" Sorry if I mess things up... Sebastian
The problem is that these are db parts but however not declared as such for the reason that that seems to create even more problems (they were, there is a bug asking to remove them). The problem is that every db version provides them. They should be maintained by the >=db-3 ebuilds though and deleted when the last db version is removed.
This is annoying... :-( <snip> * checking 22 files for package collisions existing file /usr/lib/libdb.a is not owned by this package existing file /usr/lib/libdb_cxx.a is not owned by this package package sys-libs/db-4.2.52_p2 NOT merged </snip> # equery belongs /usr/lib/libdb.a [ Searching for file(s) /usr/lib/libdb_cxx.a in *... ] # equery belongs /usr/lib/libdb_cxx.a [ Searching for file(s) /usr/lib/libdb_cxx.a in *... ] # emerge -Cav sys-libs/db >>> These are the packages that I would unmerge: sys-libs/db selected: 1.85-r2 4.1.25_p1-r4 protected: none omitted: none Hmmm... really no fix?