[Bug 1600399] [NEW] dh_makegolangshlibs breaks audit

Steve Langasek steve.langasek at canonical.com
Fri Jul 8 23:27:29 UTC 2016


Public bug reported:

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).

** Affects: dh-golang (Ubuntu)
     Importance: High
     Assignee: Michael Hudson-Doyle (mwhudson)
         Status: Triaged

** Changed in: dh-golang (Ubuntu)
   Importance: Undecided => High

** Changed in: dh-golang (Ubuntu)
       Status: New => Triaged

** Changed in: dh-golang (Ubuntu)
     Assignee: (unassigned) => Michael Hudson-Doyle (mwhudson)

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