ftbfs with new dh-golang

Bug #1481120 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-snappy (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

New dh-golang (needed by new go tools (needed to work with Go 1.5)) calls go generate before calling go install, and this fails with snappy:

src/launchpad.net/snappy/i18n/i18n.go:22: running "../update-pot": fork/exec ../update-pot: no such file or directory

Possibly we should complain at dh-golang upstream about this change, but I wanted to write it down somewhere...

Tags: ftbfs
tags: added: ftbfs
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I think the fix is to set DH_GOLANG_INSTALL_ALL to 1, but that's not quite enough because of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794831. That can be worked around too by changing the the go:generate to //go:generate /bin/sh ../update-pot but let's try to get that bug fixed first...

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1481120] Re: ftbfs with new dh-golang

Ah, the dh-golang feature has been made opt in. So I don't think snappy
need to do anything.

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

Yep, dh-golang got fixed to be more conservative.

Changed in ubuntu-snappy (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.