It seems like workarounds for this bug are being merged into mir, even
though on all ubuntu releases libudev.pc has been corrected to point at
the right location for the libudev.so.

E.g.:


cat /usr/lib/x86_64-linux-gnu/pkgconfig/libudev.pc
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

prefix=/usr
exec_prefix=/usr
libdir=/lib/x86_64-linux-gnu
includedir=/usr/include

Name: libudev
Description: Library to access udev device information
Version: 232
Libs: -L${libdir} -ludev
Cflags: -I${includedir}

(zesty-amd64)root@sochi:/tmp# dpkg -S libudev.so
libudev1:amd64: /lib/x86_64-linux-gnu/libudev.so.1.6.5
libudev-dev:amd64: /lib/x86_64-linux-gnu/libudev.so
libudev1:amd64: /lib/x86_64-linux-gnu/libudev.so.1


This is results for zesty.

Thus no workarounds should be needed at all in the mir scripts.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1674201

Title:
  cross-compile-chroot.sh (to zesty) fails to build [cannot find -ludev]
  due to libudev.so being in a different directory to where libudev.pc
  searches for it

Status in Mir:
  Fix Committed
Status in mir package in Ubuntu:
  New
Status in systemd package in Ubuntu:
  Fix Released

Bug description:
  Mir fails to build on arm64 cross-compiled:

  [ 11%] Linking CXX shared library ../../lib/libmirplatform.so
  /usr/lib/gcc-cross/aarch64-linux-gnu/6/../../../../aarch64-linux-gnu/bin/ld: 
cannot find -ludev
  /usr/lib/gcc-cross/aarch64-linux-gnu/6/../../../../aarch64-linux-gnu/bin/ld: 
cannot find -ludev
  collect2: error: ld returned 1 exit status

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1674201/+subscriptions

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

Reply via email to