Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50911 - binutils does not install bbconv.pl needed to convert profiling info in bb.out files
Summary: binutils does not install bbconv.pl needed to convert profiling info in bb.ou...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-13 01:36 UTC by pasi.valminen
Modified: 2004-05-13 18:06 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 pasi.valminen 2004-05-13 01:36:58 UTC
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"
Comment 1 solar (RETIRED) gentoo-dev 2004-05-13 10:51:53 UTC
pasi.valminen,
Where should this bbconv.pl be installed to? /usr/??? 
Comment 2 pasi.valminen 2004-05-13 11:28:27 UTC
gprof seems to be in /usr/bin/. IMO it's a good place for the script as well.
Comment 3 solar (RETIRED) gentoo-dev 2004-05-13 13:46:59 UTC
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.
Comment 4 pasi.valminen 2004-05-13 14:16:30 UTC
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 ;)
Comment 5 solar (RETIRED) gentoo-dev 2004-05-13 18:06:36 UTC
updated in (-* masked) development binutils-2.15.90.0.3-r3.ebuild