pkgsrc-Bugs archive

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

Re: pkg/52644: 'go build' command fails with 'undefined' variable error.



Do you want to see, how to install python, in every python
repository? The same way, syzkaller documentation is
not supposed to show you how to install go and BTW,
I always set up go that way, no matter which machine I'm
using.
Secondly, the bug is already closed. Kindly check yourself.

On 29 October 2017 at 21:15, Kamil Rytarowski <n54%gmx.com@localhost> wrote:
> The following reply was made to PR pkg/52644; it has been noted by GNATS.
>
> From: Kamil Rytarowski <n54%gmx.com@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/52644: 'go build' command fails with 'undefined' variable
>  error.
> Date: Sun, 29 Oct 2017 16:45:37 +0100
>
>  This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
>  --vHgwdUW0vt5qHjD3NrUH3wLWvb08iL1ci
>  Content-Type: multipart/mixed; boundary="2EHnOBRU8Sj04g2K9B1cAPuWO2Bq6O6V1";
>   protected-headers="v1"
>  From: Kamil Rytarowski <n54%gmx.com@localhost>
>  To: gnats-bugs%NetBSD.org@localhost
>  Message-ID: <a9c5654d-d927-2385-57a7-22934d25f7ce%gmx.com@localhost>
>  Subject: Re: pkg/52644: 'go build' command fails with 'undefined' variable
>   error.
>  References: <20171029150038.646A817FDAE%rebar.astron.com@localhost>
>  In-Reply-To: <20171029150038.646A817FDAE%rebar.astron.com@localhost>
>
>  --2EHnOBRU8Sj04g2K9B1cAPuWO2Bq6O6V1
>  Content-Type: text/plain; charset=utf-8
>  Content-Language: en-US
>  Content-Transfer-Encoding: quoted-printable
>
>  On 29.10.2017 16:00, Christos Zoulas wrote:
>  > On Oct 29, 12:05pm, uanand009%gmail.com@localhost (Utkarsh Anand) wrote:
>  > -- Subject: Re: pkg/52644: 'go build' command fails with 'undefined' va=
>  riable
>  >=20
>  > They easiest way to get this going is to put things where go wants them=
>
>  > I.e. build and install the go package from pkgsrc and then create a go
>  > tree in your home directory: $HOME/go/src/github.com/google/syzkaller
>  >=20
>  > christos
>  >=20
>
>  The NetBSD documentation in syzkaller assumes that someone knows how to
>  deal with golang. I had to use Linux notes from
>  https://github.com/google/syzkaller/blob/master/docs/linux/setup.md
>
>  Namely:
>
>
>  Go distribution can be downloaded from https://golang.org/dl/. Unpack Go
>  into a directory, say, $HOME/go. Then, set GOROOT=3D$HOME/go env var.
>  Then, add Go binaries to PATH, PATH=3D$HOME/go/bin:$PATH. Then, set GOPAT=
>  H
>  env var to some empty dir, say GOPATH=3D$HOME/gopath. Then, run go get -u=
>
>  -d github.com/google/syzkaller/... to checkout syzkaller sources. Then,
>  cd $GOPATH/src/github.com/google/syzkaller and build with make, which
>  generates compiled binaries in the bin/ folder. Note: if you want to do
>  cross-OS/arch testing, you need to specify TARGETOS, TARGETVMARCH and
>  TARGETARCH arguments to make. See the Makefile for details.
>
>
>  With these hints, I can build syzkaller programs on NetBSD host and for
>  the NetBSD target.
>
>  PR 52644 isn't a NetBSD bug and should be closed.
>
>
>  --2EHnOBRU8Sj04g2K9B1cAPuWO2Bq6O6V1--
>
>  --vHgwdUW0vt5qHjD3NrUH3wLWvb08iL1ci
>  Content-Type: application/pgp-signature; name="signature.asc"
>  Content-Description: OpenPGP digital signature
>  Content-Disposition: attachment; filename="signature.asc"
>
>  -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v2
>
>  iQIcBAEBCAAGBQJZ9fe5AAoJEEuzCOmwLnZsd+4P/jPEB8Km1pCVSptuSxk1V6Oc
>  y+OmeExLD0oLEsa2J/EK0Al9Xe4MZ4NSB2nUlVOuQ9CRByOVS2P5sPObyFHKnWqJ
>  5SongnmcHrPbT3q9kPOfjmTETvFHu9ZaVfSG97rCJtwiMAS4TsF/brxJ+pvn+jIO
>  x4QxrvjUV0vKCAMTeycBpgw2PJsgSFyXg1NclWXqHF1xCv0+B1QuQ1MwlmFQO07T
>  w65l+wuTMSbQEF0QV4FSgJZ4u13mZJCZuErVeT4BDa2sqBGL0i/CXbN5C8kz/Sb6
>  /ZRdfDsMC9r8TP2cLoX4Pdt2da/nvuDMq/EY12RfyfH3256sLjZ+EnfUqrxGlLW2
>  Gdkgqn6cCnPO6Q+Jray7fcffSsj0+RL3Wi5nyIdmO6y0zkGpofhz/MAI2fue4HDp
>  njVdTmXqrX1xn15G9v3SItKCvFYsz+fABusObluvcJuh6ZtbI/KiBlZIoyQftv3Q
>  FECpl3rhtNeEgvh+a/OTndTrL54IrC7mWXdtYFQWbTE1K+Or1mA1CSjPxlF5XdFj
>  wdQw72mKCA8PKWrmVcLuz60hca4x2xbkkmJX6HQCEC5fBpJunGuHBlqvYtrK49qX
>  6bH1XiRR5w4vffXdgvSiqQFMGXah3Vb4duHR9kR0PVSAs7yUFDucpI64xGvdh6Al
>  jUkreDGAnKtd3uF3fFSB
>  =51Ou
>  -----END PGP SIGNATURE-----
>
>  --vHgwdUW0vt5qHjD3NrUH3wLWvb08iL1ci--
>


Home | Main Index | Thread Index | Old Index