I'm following the instructions under https://docs.freebsd.org/en/books/porters-handbook/book/#using-go. The easy way did not work for me.
So instead I used the "full porting process". After it generates the stuff I copy & paste into the make file, I attempt to update the distinfo. All except modules are downloaded except for
It returns a 404:
Yet, there seems to be a release for it at Github: https://github.com/googleapis/google-cloud-go/releases/tag/auth/oauth2adapt/v0.2.2
The other issue is that it seems to make a recursive symlink
The full Makefile so far (it's still a WIP) is attached.
Code:
make makesum
===> License AGPLv3 accepted by the user
===> License AGPLv3 accepted by the user
===> grafana-tempo-2.6.1 depends on file: /usr/local/sbin/pkg - found
===> grafana-tempo-2.6.1 depends on file: /usr/local/bin/go121 - found
===> grafana-tempo-2.6.1 depends on package: ca_root_nss>0 - found
=> v2.6.1.mod doesn't seem to exist in /usr/home/daniel/Shared/Development/ports/distfiles/go/sysutils_tempo/tempo-v2.6.1.
=> Attempting to fetch https://proxy.golang.org/github.com/grafana/tempo/@v/v2.6.1.mod
fetch: https://proxy.golang.org/github.com/grafana/tempo/@v/v2.6.1.mod: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/go/sysutils_tempo/tempo-v2.6.1/v2.6.1.mod
fetch: http://distcache.FreeBSD.org/ports-distfiles/go/sysutils_tempo/tempo-v2.6.1/v2.6.1.mod: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/home/daniel/Shared/Development/ports/distfiles/go/sysutils_tempo/tempo-v2.6.1 and try again.
*** Error code 1
So instead I used the "full porting process". After it generates the stuff I copy & paste into the make file, I attempt to update the distinfo. All except modules are downloaded except for
Code:
googleapis:google-cloud-go:v0.2.2:googleapis_google_cloud_go_1/vendor/cloud.google.com/go/auth/oauth2adapt
It returns a 404:
Code:
=> googleapis-google-cloud-go-v0.2.2_GH0.tar.gz doesn't seem to exist in /usr/home/daniel/Shared/Development/ports/distfiles/.
=> Attempting to fetch https://codeload.github.com/googleapis/google-cloud-go/tar.gz/v0.2.2?dummy=/googleapis-google-cloud-go-v0.2.2_GH0.tar.gz
fetch: https://codeload.github.com/googleapis/google-cloud-go/tar.gz/v0.2.2?dummy=/googleapis-google-cloud-go-v0.2.2_GH0.tar.gz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/googleapis-google-cloud-go-v0.2.2_GH0.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/googleapis-google-cloud-go-v0.2.2_GH0.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/home/daniel/Shared/Development/ports/distfiles/ and try again.
*** Error code 1
Yet, there seems to be a release for it at Github: https://github.com/googleapis/google-cloud-go/releases/tag/auth/oauth2adapt/v0.2.2
The other issue is that it seems to make a recursive symlink
Code:
/home/daniel/Shared/Development/ports/sysutils/tempo/work/tempo-2.6.1/tempo-2.6.1/tempo-2.6.1/tempo-2.6.1/.......
The full Makefile so far (it's still a WIP) is attached.