Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65749 - sys-libs/db fails to keep track of installed files
Summary: sys-libs/db fails to keep track of installed files
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-28 17:48 UTC by Sebastian
Modified: 2005-06-06 03:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2004-09-28 17:48:08 UTC
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.
Comment 1 Andrew Ross (RETIRED) gentoo-dev 2004-09-29 00:49:27 UTC
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.
Comment 2 Sebastian 2004-09-29 04:23:35 UTC
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
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-09-29 13:58:11 UTC
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.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 03:32:48 UTC
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?