Bug 198381 - sys-libs/glibc doesn't install memusage and memusagestat
Bug#: 198381 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: toolchain@gentoo.org Reported By: fnevgeny@weizmann.ac.il
Component: Core system
URL: 
Summary: sys-libs/glibc doesn't install memusage and memusagestat
Keywords:  
Status Whiteboard: 
Opened: 2007-11-07 17:30 0000
Description:   Opened: 2007-11-07 17:30 0000
I wonder why these utilities are not installed (they are in the same 'malloc'
dir of the glibc sources as mtrace, which is installed).

Reproducible: Always

Steps to Reproduce:

------- Comment #1 From SpanKY 2007-11-08 04:51:35 0000 -------
it's because both utilities need the gd package in order to build

------- Comment #2 From Robin Johnson 2007-11-17 06:38:05 0000 -------
vapier: can we have them, behind USE=gd please?
i want the tools as well.

------- Comment #3 From SpanKY 2007-11-18 03:49:14 0000 -------
USE=gd has been added, but the user has to do `emerge gd` first ... i'm not
going to add the gd package to *DEPEND

------- Comment #4 From Evgeny Stambulchik 2007-11-18 08:56:16 0000 -------
(In reply to comment #3)
> USE=gd has been added,

Thanks!

> but the user has to do `emerge gd` first ... i'm not
> going to add the gd package to *DEPEND

Hmm, why not? I mean - conditionally, of course:

     gd? ( media-libs/gd )

------- Comment #5 From alpiturchi 2007-11-18 12:29:45 0000 -------
It is nice to add fancy new use flags to ebuilds but please could you plan
those changes to do all of them at the same time? Especially the really small
changes.
It is the second time in a few days that I have to rebuild glibc for a small
change in the use flags and please remember that many people run gentoo also on
small hardware...
Yes you could reply that I could omit the -N to ignore changes in use flags,
ok, but it is boring to check every time if changes in ebuilds are relevant or
not so it is still a pain in the ass. :-)
I appreciate the work you do so I'm not really complaining, but still it is
something I think that should be said since it is a very small thing to do
(like applying the change to the ~ version of the package...). :-)

Thanks and please don't hate me for this :-)

------- Comment #6 From Jan Oravec 2007-11-18 15:32:10 0000 -------
Personally, I would choose to create separate ebuilds for tools contained in
glibc which depend on other non-system packages. This way, those who want
memusage{,stat} can install them. The fact that they are packaged together by
upstream doesn't mean that these should belong to same package.

Sorry for abusing this bug for general issue, but I would also prefer splitting
many other packages (like mysql, to mysql-client and mysql-server). USE flags
are great for selecting optional features, but it is abuse to use them to
select separate programs which are conceptually different things.

------- Comment #7 From Bartek 'Paczesiowa' Cwiklowski 2009-02-20 07:04:53 0000 -------
what happened to those scripts? I used to have them couple months ago and now,
after few glibc updates they're gone. I have gd flag for glibc set and
media-libs/gd installed.

------- Comment #8 From Christopher Smith 2009-06-01 18:19:25 0000 -------
Same question here. I just noticed they are gone from my system as well.

------- Comment #9 From SpanKY 2009-09-06 16:43:54 0000 -------
new issue -> new bug.  utils install fine for me.  make sure to include full
build log in your report.

$ which memusage
/usr/bin/memusage

$ qlist -I -v -e sys-libs/glibc
sys-libs/glibc-2.10.1