Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 403969

Summary: dev-util/google-perftools-{2.0,1.10} version bump
Product: Gentoo Linux Reporter: Johan Bergström <bugs>
Component: New packagesAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED FIXED    
Severity: enhancement CC: duncanphilipnorman, klaus.kusche
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 424992    
Attachments: google-perftools-1.10.ebuild
gperftools-2.0.ebuild

Description Johan Bergström 2012-02-15 22:35:08 UTC
Looks like google perftools got two version bumps recently.

Both are breaking library abi, and with 2.0 and forward, the library actually changes name. Perhaps it would be wiser to introduce 2.0 as a new package (library includes being different and all)? There is somewhat backwards compatibility, though.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-04-07 08:35:57 UTC
*** Bug 411113 has been marked as a duplicate of this bug. ***
Comment 2 Duncan Exon Smith 2012-06-29 14:50:11 UTC
Created attachment 316615 [details]
google-perftools-1.10.ebuild

Added static-libs use flag and fixed URLs.
Comment 3 Duncan Exon Smith 2012-06-29 14:57:00 UTC
Created attachment 316617 [details]
gperftools-2.0.ebuild

Added static-libs use flag, fixed URLs, renamed, and blocked google-perftools.
Comment 4 Duncan Exon Smith 2012-06-29 15:07:40 UTC
I've done only very limited testing (they install), but nevertheless those two ebuilds I attached seem to work for amd64.

Note that I went ahead and added support for USE=static-libs; if I should have filed a separate bug for that, let me know.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-06 00:47:09 UTC
Okay working on it finally. I'm not really convinced about static-libs; reason being that the tcmalloc library brings in so many things (pthreads, libstdc++, ...) that if it's mixed in the wrong way it's more than likely to explode in your face.

So unless you have a specific use case for using the static libs I'd prefer not having them _at all_.

Also, the includes are the same (at least in name) so for now I'll keep it the same package. I'll decide later whether to pkgmove it when I unmask version 2, or when we mark that stable, I don't want to use blockers, and this is just a name change, it's not a fork or something like that that warrant the co-existence of two packages.

As you can tell from what I just said, I intend to mask version 2.0 until I can test it out on the tinderbox, with all its reverse dependencies — it might take a while since some dependencies are not currently building between glibc and gcc.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-06 00:49:07 UTC
FWIW the whole "changed includes" is that they decided to get rid of "google" in the name wherever possible, but for the moment they keep the old paths around — the problem is going to be in version 2.1 or whenever they'll drop the old includes.