| 2 Mar 2023 |
@qbit:tapenet.org | oh | 18:44:03 |
@qbit:tapenet.org | github.com/bgp/stayrtr/cmd/stayrtr@latest | 18:44:34 |
@qbit:tapenet.org | [0x4A6F]: do you need the rtrdump tool? | 18:48:13 |
[0x4A6F] | Oh, I see: v0.5.1 - Critical fixes for v0.5.0 Pre-release | 18:48:36 |
@qbit:tapenet.org | what's weird is that i can build everything with the go tool | 18:50:49 |
@qbit:tapenet.org | go install github.com/bgp/stayrtr/cmd/...@v0.5.1 | 18:50:59 |
[0x4A6F] | In reply to @qbit:tapenet.org [0x4A6F]: do you need the rtrdump tool? Does it conflict somehow? | 19:03:19 |
@qbit:tapenet.org | no, i was thinking it was just that tool that was failing - but setting subPackages = [ "cmd/stayrtr" ]; fails the same way | 19:04:24 |
@qbit:tapenet.org | I can 'go install' just fine on nixos (unstable, go 1.19.6) and openbsd -current | 19:05:18 |
@qbit:tapenet.org | so now I have no idea what could be wrong | 19:05:47 |
@qbit:tapenet.org | i wonder if go install is less strict | 19:09:24 |
@qbit:tapenet.org | yep | 19:09:51 |
@qbit:tapenet.org | so with go build -mod=vendor ./... in the stayrtr source tree@v0.5.1 it fails to build | 19:10:22 |
@qbit:tapenet.org | but with just go build ./... it builds fine | 19:10:30 |
@qbit:tapenet.org | -mod=readonly tells the go command to ignore the vendor directory and to report an error if go.mod needs to be updated. | 19:14:42 |
@qbit:tapenet.org | huh | 19:14:46 |
@qbit:tapenet.org | https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/go/module.nix#L176 we set -mod=vendor | 19:15:23 |
[0x4A6F] | I don't know, hopefully the don't lynch me for this | 19:16:17 |
@qbit:tapenet.org | na, I know all the devs there - they are good peeps :D | 19:17:41 |
@qbit:tapenet.org | where "all" is Claudio and Job :P | 19:18:19 |
[0x4A6F] | benjojo is also cool. Have meet with him in Berlin last year. | 19:19:03 |
@qbit:tapenet.org | nice :D - I know CJ and Job from openbsd hackathons | 19:19:39 |
@qbit:tapenet.org | i wonder if this is a regress in go build | 19:20:44 |
@qbit:tapenet.org | i am not sure if the error fits into the "if go.mod needs to be updated." category - or if that's just for modules listed in go.mod | 19:21:07 |
@qbit:tapenet.org | oh, my error is about vendor/modules.txt | 19:23:48 |
@qbit:tapenet.org | not go 1.16 | 19:23:56 |