[Bug 1600399] Re: dh_makegolangshlibs breaks audit

Michael Hudson-Doyle michael.hudson+lp at canonical.com
Mon Jul 11 00:19:29 UTC 2016


Oops.

I think just calling dh_makeshlibs -Xlibgolang at the end of
dh_makegolangshlibs would work pretty well, but I guess it's almost as
easy and more correct to just -X the shared libraries we have done the
work for.

Not at all sure how to do the bonus bit, AFAICT the overide_ rule
detection is in /usr/bin/dh itself not in any library package (and is
pretty hair-raising).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dh-golang in Ubuntu.
https://bugs.launchpad.net/bugs/1600399

Title:
  dh_makegolangshlibs breaks audit

Status in dh-golang package in Ubuntu:
  Triaged

Bug description:
  The latest archive rebuild test shows the audit package failing to
  build on all architectures with the following error:

  
  This is because audit uses the golang dh addon for its go bindings, and dh_makegolangshlibs bypasses dh_makeshlibs entirely, resulting in no shlibs for the C libraries in this package.

  I suggest that dh_makegolangshlibs needs a more subtle override, by
  generating its own golangshlibs as appropriate, but then calling
  dh_makeshlibs in a pass-through fashion in case there's anything
  that's not a go library that needs shlibs (so, calling dh_makeshlibs
  -X to exclude being rerun for the go shlibs).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-golang/+bug/1600399/+subscriptions



More information about the foundations-bugs mailing list