So I've built and installed kernel 4.13.0 with this patch in 18.04.

Building mate-applets with -lcpupower fails near the end with an unusual
error message:

...................

   dh_shlibdeps
dpkg-shlibdeps: error: no dependency information found for 
/usr/lib/libcpupower.so.4.13.0-32 (used by 
debian/mate-applets/usr/lib/mate-applets/mate-cpufreq-applet)
Hint: check if the library actually comes from a package.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/mate-applets.substvars 
debian/mate-applets/usr/lib/mate-applets/command-applet 
debian/mate-applets/usr/lib/mate-applets/mate-drivemount-applet 
debian/mate-applets/usr/lib/mate-applets/mate-charpick-applet 
debian/mate-applets/usr/lib/mate-applets/accessx-status-applet 
debian/mate-applets/usr/lib/mate-applets/trashapplet 
debian/mate-applets/usr/lib/mate-applets/timer-applet 
debian/mate-applets/usr/lib/mate-applets/mate-geyes-applet 
debian/mate-applets/usr/lib/mate-applets/mate-multiload-applet 
debian/mate-applets/usr/lib/mate-applets/mate-netspeed-applet 
debian/mate-applets/usr/lib/mate-applets/mateweather-applet 
debian/mate-applets/usr/lib/mate-applets/battstat-applet 
debian/mate-applets/usr/lib/mate-applets/mate-cpufreq-applet 
debian/mate-applets/usr/lib/mate-applets/stickynotes-applet 
debian/mate-applets/usr/bin/mate-cpufreq-selector returned exit code 255
dh_shlibdeps: Aborting due to earlier error
debian/rules:10: recipe for target 'binary' failed
make: *** [binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit 
status 2

-------------------

I've checked the contents of libcpupower1 and libcpupower-dev.
Something's not right... Usually there's one real library and two
symlinks to it, but here it's not so:

$ ls -l /usr/lib/libcpupower.so*
-rw-r--r-- 1 root root 79416 фев  4 21:36 /usr/lib/libcpupower.so
lrwxrwxrwx 1 root root    24 фев  4 21:36 /usr/lib/libcpupower.so.1 -> 
libcpupower.so.4.13.0-32
-rw-r--r-- 1 root root 22760 фев  4 21:36 /usr/lib/libcpupower.so.4.13.0-32

For reference, in Debian Stretch I have this:

$ ls -l /usr/lib/libcpupower.so*
lrwxrwxrwx 1 root root    20 янв  4 14:12 /usr/lib/libcpupower.so -> 
libcpupower.so.0.0.1
-rw-r--r-- 1 root root 22824 янв  4 14:12 /usr/lib/libcpupower.so.0.0.1
lrwxrwxrwx 1 root root    20 янв  4 14:12 /usr/lib/libcpupower.so.1 -> 
libcpupower.so.0.0.1

I don't know, is it a problem in the patch, or something's with my
kernel build?

-- 
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/1215411

Title:
  libcpupower.so is not installed from linux-tools

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Zesty:
  In Progress

Bug description:
  The patch for bug 1158668 installs cpupower_$(abi_version) command-
  line tool as well as libcpupower.so.$(abi_version).

  This isn't particularly suitable for projects that previously used
  libcpufreq and intend to migrate to libcpupower, because the
  libcpupower.so symlink is no longer installed. The command-line tools
  can also have symlinks (e.g. cpupower -> cpupower_$(abi_version)).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1215411/+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