[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building packages with go 1.16



On Fri, 27 Aug 2021 at 16:33, Daniel Milde <daniel@milde.cz> wrote:
> I have tried to alter the PATH to check /usr/lib/go-1.16/bin, but
> debhelper still fails with:
>
> Can't exec "go": No such file or directory at
> /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 523

Hmm, can you share the exact code you're using?  I've had success with
"golang-1.16-go" in Build-Depends and the following in "debian/rules":

    export PATH := /usr/lib/go-1.16/bin:$(PATH)

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4


Reply to: