Tested by adding {xenial,artful}-{updates,proposed} to sources.list on a
bionic system:

$ sudo apt install linux-tools-4.4.0-116        
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linux-tools-4.4.0-116 : Depends: binutils (< 2.27) but 2.30-8ubuntu1 is to be 
installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt install linux-tools-4.4.0-117
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libdw1 libelf1 libpci3 libunwind8 linux-tools-common
The following NEW packages will be installed:
  libdw1 libelf1 libpci3 libunwind8 linux-tools-4.4.0-117 linux-tools-common
0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
Need to get 699 kB/1161 kB of archives.
After this operation, 3933 kB of additional disk space will be used.
Do you want to continue? [Y/n] ^C
$

$ sudo apt install linux-tools-4.13.0-37-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 linux-tools-4.13.0-37-generic : Depends: linux-tools-4.13.0-37 but it is not 
going to be installed
E: Unable to correct problems, you have held broken packages.
$ sudo apt install linux-tools-4.13.0-38-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libdw1 libelf1 libnuma1 libpci3 libunwind8 linux-tools-4.13.0-38
  linux-tools-common
The following NEW packages will be installed:
  libdw1 libelf1 libnuma1 libpci3 libunwind8 linux-tools-4.13.0-38
  linux-tools-4.13.0-38-generic linux-tools-common
0 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
Need to get 1100 kB/1584 kB of archives.
After this operation, 6991 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
$

So this works as expected.

** Tags removed: verification-needed-artful verification-needed-xenial
** Tags added: verification-done-artful verification-done-xenial

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1748922

Title:
  linux-tools: perf incorrectly linking libbfd

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  Fix Committed
Status in linux source package in Artful:
  Fix Committed

Bug description:
  Under bug #783660 we switched away from linking libbfd and switched to
  using libiberty to demangle C++ names.  Somewhere between precise and
  development upstream changed the order in which the tests are
  performed and triggered us to start linking against it again.

  = SRU Justification (for Artful/Xenial) =

  Impact: Linking perf (part of the linux-tools package) against libbfd
  prevents users to have linux-tools of different kernel versions
  installed in parallel. Which makes debugging hard.

  Fix: As stated above this had been fixed before but upstream changes
  of the kernel between 3.2 and 4.4 voided those fixes. Unfortunately
  without causing build failures but causing libbfd to be used again.
  This has already been fixed up in Bionic. The first of the two patches
  needs a backport for Xenial to make up for a file rename. The second
  can be picked into both releases.

  Testcase: Extracting ./usr/lib/linux-tools-*/perf from the generated
  linux-tools package and inspecting it with ldd. Old builds will have a
  reference to libbfd, the test builds did no longer.

  Risk of regression: low (change of build option which has been done
  before and also for some time in Bionic).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1748922/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to