Re: [pkg-fallout@FreeBSD.org: [package - 140amd64-default][finance/ticker] Failed for ticker-4.6.3 in fetch]
Date: Wed, 19 Jun 2024 05:18:14 UTC
Hi Robert, Am 18.06.2024 um 17:34 schrieb Robert Clausecker: > Due to problems with the way the module is set up, this port cannot use > the GO_MODULES approach and must use the older GH_TUPLE approach. The > problem I am experiencing is likely not related to the Go tooling. yes I see now, there seems to be several problems. One problem is, that they do not publish new version to goproxy, I have a similar problem for my gitlab ports. I used there a work around similar to the attached diff. Now I see compile problems: https://pkg.fechner.net/data/141amd64-gitlab/2024-06-19_07h52m59s/logs/errors/ticker-4.6.3.log like: ===> Building cmd from ./cmd internal/common/common.go:4:2: cannot find module providing package github.com/go-resty/resty/v2: import lookup disabled by -mod=vendor internal/common/common.go:5:2: cannot find module providing package github.com/spf13/afero: import lookup disabled by -mod=vendor also if I try to build the ./ and not ./cmd I see: ===> Building . from ./ internal/common/common.go:4:2: cannot find module providing package github.com/go-resty/resty/v2: import lookup disabled by -mod=vendor internal/common/common.go:5:2: cannot find module providing package github.com/spf13/afero: import lookup disabled by -mod=vendor internal/ui/util/style.go:8:2: cannot find module providing package github.com/lucasb-eyer/go-colorful: import lookup disabled by -mod=vendor internal/ui/util/style.go:9:2: cannot find module providing package github.com/muesli/termenv: import lookup disabled by -mod=vendor internal/cli/cli.go:14:2: cannot find module providing package github.com/adrg/xdg: import lookup disabled by -mod=vendor internal/cli/cli.go:16:2: cannot find module providing package github.com/mitchellh/go-homedir: import lookup disabled by -mod=vendor internal/cli/cli.go:18:2: cannot find module providing package github.com/spf13/cobra: import lookup disabled by -mod=vendor internal/cli/cli.go:19:2: cannot find module providing package github.com/spf13/viper: import lookup disabled by -mod=vendor internal/cli/cli.go:20:2: cannot find module providing package gopkg.in/yaml.v2: import lookup disabled by -mod=vendor internal/ui/ui.go:7:2: cannot find module providing package github.com/achannarasappa/term-grid: import lookup disabled by -mod=vendor internal/ui/component/summary/summary.go:11:2: cannot find module providing package github.com/muesli/reflow/ansi: import lookup disabled by -mod=vendor internal/ui/ui.go:16:2: cannot find module providing package github.com/charmbracelet/bubbles/viewport: import lookup disabled by -mod=vendor internal/ui/start.go:5:2: cannot find module providing package github.com/charmbracelet/bubbletea: import lookup disabled by -mod=vendor *** Error code 1 Maybe someone else have there an idea why and how this can be fixed. I think we should extend the go.mk to allow download not only from goproxy but also from github and gitlab. If I find this week some time, I can try to prepare for this a review. I also would like to use a global cache folder for go and not its own cache folder for each port and version, as for me it tooks about 30 minutes to download to go modules due to my really slow internet connection. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook