When one installs binutils (any version afaik), the ebuild will not install bbconv.pl script. It is needed to convert profiling information in bb.out files to format understood by gprof. Reproducible: Always Steps to Reproduce: 1. emerge binutils 2. updatedb && locate bbconv.pl 3. Actual Results: No bbconv.pl was found. Expected Results: bbconv.pl should have been installed. bbconv.pl is in binutils-2.14/gprof/bbconv.pl so the fix is trivial in the ebuild. Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5) ================================================================= System uname: 2.6.5 i686 Pentium III (Katmai) Gentoo Base System version 1.4.10 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://trumpetti.ip6.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://trumpetti.ip6.atm.tut.fi/gentoo-portage" USE="apache2 apm berkdb crypt curl foomaticdb gd gdbm imap innodb ipv6 jpeg ldap libg++ libwww mad maildir mysql ncurses nptl pam pdflib perl png postgres readline sasl sse ssl tcpd tetex x86 xml2 zlib"
pasi.valminen, Where should this bbconv.pl be installed to? /usr/???
gprof seems to be in /usr/bin/. IMO it's a good place for the script as well.
pasi.valminen, Could you please google for a bit and find out exactly where other some other distro's (RedHat/SuSe/Deb) place this file.
SuSE or RH does not install this script anywhere afaik (i use both at work). Debian seems to install it to: /usr/share/doc/binutils/gprof/bbconv.pl I guess it's ok to put it the gentoo style to: /usr/share/doc/binutils-<version>/gprof/bbconv.pl At least I looked there before I untarred the source tarball ;)
updated in (-* masked) development binutils-2.15.90.0.3-r3.ebuild