should install to /usr/share, not /usr/lib

Bug #1554401 reported by Michael Hudson-Doyle
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-race-detector-runtime (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Currently if you install golang-src and golang-race-detector-runtime and then uninstall them, you get this sort of message:

Removing golang-race-detector-runtime (0.0+svn252922-0ubuntu1) ...
dpkg: warning: while removing golang-race-detector-runtime, directory '/usr/lib/go/src/runtime/race' not empty so not removed
Removing golang-src (2:1.6-0ubuntu3) ...

This is (I think) because golang-race-detector-runtime installs to /usr/lib/go/src/runtime/race, but golang-src installs to /usr/share/go/src and then there is a symlink from /usr/lib/go/src to /usr/share/go/src. So probably the race detector runtime should install to /usr/share/go/src/runtime/race -- it's a bit wrong to have an arch dependent file in /usr/share, but go will cope.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I've built and tested this locally.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Now with bonus lintian suppressions.

Mathew Hodson (mhodson)
Changed in golang-race-detector-runtime (Ubuntu):
importance: Undecided → Low
Revision history for this message
Michael Terry (mterry) wrote :

So I'm looking at https://launchpad.net/ubuntu/+source/golang-race-detector-runtime and it looks like golang-race-detector-runtime got moved into golang-defaults for xenial. And is just a metapackage that doesn't install any real files. So I'm marking this invalid.

If I'm wrong, please re-open. (I suppose we could have an issue with wily, but I doubt fixing a removal warning is worth an SRU, especially for a non-LTS.)

Changed in golang-race-detector-runtime (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.