libgoogle-perftools-dev: missing dependency on libunwind8-dev ?

Bug #1169932 reported by immerrr again
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
google-perftools (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Hi there

I'm using static version of libprofiler (provided by libgoogle-perftools-dev package) on amd64 platform on one of my projects and as far as I understand, libprofiler.a depends on some symbols that should be provided by libunwind:

# distinct undefined symbols in libprofiler
$ nm -C /usr/lib/libprofiler.a | grep ' U ' | awk '{print $2}' | sort -u > libprofiler_undefined_syms.txt

# distinct defined symbols in libunwind
$ nm -C /usr/lib/libunwind.a | grep '^0' | awk '{print $3}' | sort -u > libunwind_defined_syms.txt

# intersect those lists:
$ comm -12 libprofiler_undefined_syms.txt libunwind_defined_syms.txt
_ULx86_64_get_reg
_ULx86_64_init_local
_ULx86_64_step
_Unwind_Resume
_Ux86_64_getcontext

So, I'd expect libgoogle-perftools-dev to depend on libunwind8-dev, but there's no such dependency:

$ apt-cache depends libgoogle-perftools-dev=2.0-3ubuntu1
libgoogle-perftools-dev
  Depends: libgoogle-perftools4
  Depends: libtcmalloc-minimal4
  Conflicts: libgoogle-perftools-dev:i386

Is this intentional or is this really a missing dependency?

Revision history for this message
Robie Basak (racb) wrote :

Thank you for reporting this bug and helping to make Ubuntu better.

Setting Importance to Medium as a workaround is available (presumably one can install libunwind8-dev manually if required).

Changed in google-perftools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Robie Basak (racb) wrote :

PS. it seems likely that this issue affects Debian as well. If you can reproduce this on Debian, could you please file a bug there, please?

Revision history for this message
immerrr again (immerrr-k) wrote :

I will, at some point. I'm afraid it's going to take a while, because I don't have a chroot/VM with Debian around and reporting debian bugs via email (and not using reportbug) seems excruciating.

Robie Basak (racb)
tags: added: needs-upstream-report
Revision history for this message
James Page (james-page) wrote :

I'll push this back to Debian once I've fixed up in Ubuntu.

Changed in google-perftools (Ubuntu):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package google-perftools - 2.0-4ubuntu2

---------------
google-perftools (2.0-4ubuntu2) saucy; urgency=low

  * d/control: Add missing dependency on libunwind8-dev for amd64 architecture
    to libgoogle-perftools-dev (LP: #1169932).
 -- James Page <email address hidden> Sun, 05 May 2013 07:17:03 -0700

Changed in google-perftools (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.