valgrind and callgrind where separate packages before valgrind-3.2.0. In this release, both packages where merged (see ChangeLog of valgrind). Therefore, if valgrind is merged without removing callgrind ... $> equery belongs /usr/include/valgrind/callgrind.h [ Searching for file(s) /usr/include/valgrind/callgrind.h in *... ] dev-util/valgrind-3.2.0 (/usr/include/valgrind/callgrind.h) dev-util/callgrind-0.10.1-r1 (/usr/include/valgrind/callgrind.h) Suggested solution: block update from 3.1.x to 3.2 if callgrind-* is installed as well.
Additional information: KCachegrind, a graphical frontend for callgrind (part of kde-base/kdesdk), implicitly depends on dev-util/callgrind as a package on its own. Therefore, kde-base/kdesdk tries to re-merge callgrind-0.10.1 when valgrind-3.2.0 was installed. Note: there's a separate(?) ebuild for kcachegrind as well that explicitly depends on dev-util/callgrind.
KDE people, could you please take care of the changes in kcachegrind and kdesdk? It should depend on either callgrind or >=valgrind-3.2.0 And I think that the x86-only dependency in both ebuilds can now be a "x86 ppc amd64" dependency instead, because valgrind is no longer x86 only. Changelog entry for reference: 25 Jan 2003; Caleb Tennis <caleb@gentoo.org> kdesdk-3.2.0_rc1: Make calltree dep an x86 only dep as it's for valgrind is which for x86 only.
Oh, I forgot to mention. Valgrind-3.2.0 now blocks on callgrind, as it should.
When I try to install callgrind, I get following: checking for valgrind version... valgrind-3.2.0 configure: error: Unsupported version. This tool is for Valgrind 3.0.x/3.1.x Calculating dependencies... done! [ebuild R ] dev-util/valgrind-3.2.0 USE="X" 0 kB [ebuild N ] dev-util/callgrind-0.10.1-r1 0 kB Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 i686) ================================================================= System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/binutils: 2.17.50.0.2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-g -march=athlon-xp -O3 -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/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-g -march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlay /home/drac/dev/genstef/sunrise" SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac aalib alsa apm asf avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli compositor crypt cups dbus dri dts dvd dvdread effects emboss encode fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint glitz glut gphoto2 gstreamer gtk gtk2 hal imagemagick imap imlib insecure-savers ipv6 isdnlog jpeg kdehiddenvisibility libcaca libg++ libwww mad matroska mikmod mmx mmxext motif mp3 mpeg mplayer ncurses nptl nptlonly offensive ogg opengl oss pam pcre pdf pdflib perl pic plugin png ppds pppd python quicktime readline reflection rtc sdl session shout speex spl sse ssl startup-notification svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userlocales v4l vidix vorbis win32codecs xanim xcb xml xml2 xorg xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_evdev kernel_linux userland_GNU video_cards_radeon video_cards_ati video_cards_r200" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks, I fixed this in both meta and monolithic: < DEPEND="x86? ( dev-util/callgrind )" --- > DEPEND="x86? ( || ( >=dev-util/valgrind-3.2.0 > dev-util/callgrind ) )"
Samuli, your issue should now be solved as well. I initially forgot to fix callgrind's deps.
(In reply to comment #6) > Samuli, your issue should now be solved as well. I initially forgot to fix > callgrind's deps. > Thanks.