GNU bug report logs - #50071
[leo@famulari.name: Re: 02/02: gnu: syncthing: Prepare for cross-compiling.]

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Sun, 15 Aug 2021 20:46:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Leo Famulari <leo <at> famulari.name>
To: 50071 <at> debbugs.gnu.org
Subject: bug#50071: 02/02: gnu: syncthing: Prepare for cross-compiling.
Date: Sun, 22 Aug 2021 16:30:03 -0400
On Sun, Aug 22, 2021 at 02:42:43PM -0400, Leo Famulari wrote:
> Quoting from Efraim on #guix:
> 
> "the go cross-build error I was seeing is this: go install: cannot install cross-compiled binaries when GOBIN is set"

Upstream gives instructions on how to cross-compile Syncthing:

------
`go run build.go build`

    Builds just the named target, or syncthing by default, to the
    current directory. Use this when cross compiling, with parameters
    for what to cross compile to: go run build.go -goos linux -goarch
    386 build.
------

https://docs.syncthing.net/dev/building.html#subcommands-and-options




This bug report was last modified 3 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.