Hi Claus,

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.

using the go.mk modification from here:

https://reviews.freebsd.org/D45631

and the attached diff, build the project now fine:
https://pkg.fechner.net/data/141amd64-gitlab/2024-06-19_09h48m39s/logs/ticker-4.6.3.log

Lets see what feedback I get in the review.

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
diff --git a/finance/ticker/Makefile b/finance/ticker/Makefile
index 2c632f57993d..e31a657d3429 100644
--- a/finance/ticker/Makefile
+++ b/finance/ticker/Makefile
@@ -13,58 +13,11 @@ LICENSE_FILE=       ${WRKSRC}/LICENSE
 USES=          go:modules
 USE_GITHUB=    yes
 GH_ACCOUNT=    achannarasappa
 
+GO_MOD_DIST=   github
+GO_MODULE=     github.com/achannarasappa/ticker
 GO_BUILDFLAGS= -ldflags="-X 
github.com/achannarasappa/ticker/cmd.Version=${DISTVERSIONPREFIX}${PKGVERSION}"
-GH_TUPLE=      
acarl005:stripansi:5a71ef0e047d:acarl005_stripansi/vendor/github.com/acarl005/stripansi
 \
-               
achannarasappa:term-grid:v0.2.4:achannarasappa_term_grid/vendor/github.com/achannarasappa/term-grid
 \
-               adrg:xdg:v0.4.0:adrg_xdg/vendor/github.com/adrg/xdg \
-               
charmbracelet:bubbles:v0.10.3:charmbracelet_bubbles/vendor/github.com/charmbracelet/bubbles
 \
-               
charmbracelet:bubbletea:v0.26.4:charmbracelet_bubbletea/vendor/github.com/charmbracelet/bubbletea
 \
-               
charmbracelet:lipgloss:v0.5.0:charmbracelet_lipgloss/vendor/github.com/charmbracelet/lipgloss
 \
-               
charmbracelet:x:ansi/v0.1.2:charmbracelet_x_ansi/vendor/github.com/charmbracelet/x
 \
-               charmbracelet:x:term/v0.1.1:charmbracelet_x_term \
-               
charmbracelet:x:v0.1.0:charmbracelet_x_input/vendor/github.com/charmbracelet/x/input
 \
-               
charmbracelet:x:v0.1.0:charmbracelet_x_windows/vendor/github.com/charmbracelet/x/windows
 \
-               
erikgeiser:coninput:1c3628e74d0f:erikgeiser_coninput/vendor/github.com/erikgeiser/coninput
 \
-               
fsnotify:fsnotify:v1.5.1:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
-               go-ini:ini:v1.66.4:go_ini_ini/vendor/gopkg.in/ini.v1 \
-               
go-resty:resty:v2.7.0:go_resty_resty_v2/vendor/github.com/go-resty/resty/v2 \
-               go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
-               golang:net:cd36cc0744dd:golang_net/vendor/golang.org/x/net \
-               golang:sync:v0.7.0:golang_sync/vendor/golang.org/x/sync \
-               golang:sys:v0.20.0:golang_sys/vendor/golang.org/x/sys \
-               golang:text:v0.3.8:golang_text/vendor/golang.org/x/text \
-               
hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
-               
inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap
 \
-               
jarcoal:httpmock:v1.0.7:jarcoal_httpmock/vendor/github.com/jarcoal/httpmock \
-               
lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful
 \
-               
magiconair:properties:v1.8.5:magiconair_properties/vendor/github.com/magiconair/properties
 \
-               
mattn:go-isatty:v0.0.14:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
-               
mattn:go-localereader:v0.0.1:mattn_go_localereader/vendor/github.com/mattn/go-localereader
 \
-               
mattn:go-runewidth:v0.0.15:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth
 \
-               
mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir
 \
-               
mitchellh:mapstructure:v1.4.3:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure
 \
-               
muesli:ansi:276c6243b2f6:muesli_ansi/vendor/github.com/muesli/ansi \
-               
muesli:cancelreader:v0.2.2:muesli_cancelreader/vendor/github.com/muesli/cancelreader
 \
-               
muesli:reflow:v0.3.0:muesli_reflow/vendor/github.com/muesli/reflow \
-               
muesli:termenv:44cd13922739:muesli_termenv/vendor/github.com/muesli/termenv \
-               onsi:ginkgo:v1.16.5:onsi_ginkgo/vendor/github.com/onsi/ginkgo \
-               
onsi:ginkgo:v2.1.2:onsi_ginkgo_v2/vendor/github.com/onsi/ginkgo/v2 \
-               onsi:gomega:v1.17.0:onsi_gomega/vendor/github.com/onsi/gomega \
-               
pelletier:go-toml:v1.9.4:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
-               rivo:uniseg:v0.4.7:rivo_uniseg/vendor/github.com/rivo/uniseg \
-               spf13:afero:v1.8.1:spf13_afero/vendor/github.com/spf13/afero \
-               spf13:cast:v1.4.1:spf13_cast/vendor/github.com/spf13/cast \
-               spf13:cobra:v1.3.0:spf13_cobra/vendor/github.com/spf13/cobra \
-               
spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman
 \
-               spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \
-               spf13:viper:v1.10.1:spf13_viper/vendor/github.com/spf13/viper \
-               
subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \
-               
xeipuuv:gojsonpointer:4e3ac2762d5f:xeipuuv_gojsonpointer/vendor/github.com/xeipuuv/gojsonpointer
 \
-               
xeipuuv:gojsonreference:bd5ef7bd5415:xeipuuv_gojsonreference/vendor/github.com/xeipuuv/gojsonreference
 \
-               
xeipuuv:gojsonschema:v1.2.0:xeipuuv_gojsonschema/vendor/github.com/xeipuuv/gojsonschema
 \
-               
xo:terminfo:abceb7e1c41e:xo_terminfo/vendor/github.com/xo/terminfo
 
 PLIST_FILES=   bin/ticker \
                etc/bash_completion.d/ticker \
                share/fish/vendor_completions.d/ticker.fish \
@@ -75,12 +28,8 @@ PORTDOCS=    README.md \
                docs/ticker-currency.png \
                docs/ticker.gif
 OPTIONS_DEFINE=        DOCS
 
-post-extract:
-       @${RM} -r ${WRKSRC}/vendor/github.com/charmbracelet/x/term
-       @${RLN} ${WRKSRC_charmbracelet_x_term}/term 
${WRKSRC}/vendor/github.com/charmbracelet/x/term
-
 do-install-DOCS-on:
        @${ECHO_MSG} "====> Installing documentation"
 .for doc in ${PORTDOCS}
        ${MKDIR} ${STAGEDIR}${DOCSDIR}/${doc:H}
diff --git a/finance/ticker/distinfo b/finance/ticker/distinfo
index 9a8b630f02a3..eac0abc28cc3 100644
--- a/finance/ticker/distinfo
+++ b/finance/ticker/distinfo
@@ -1,101 +1,5 @@
-TIMESTAMP = 1718469804
-SHA256 (achannarasappa-ticker-v4.6.3_GH0.tar.gz) = 
09e228b38b3da55e870b194bc6780af027c47bd0fdf39d146459a372a8956b87
-SIZE (achannarasappa-ticker-v4.6.3_GH0.tar.gz) = 185005
-SHA256 (acarl005-stripansi-5a71ef0e047d_GH0.tar.gz) = 
832ad7232c573cec3eece91af4cdf40d2d06bca94e026dd7d5add0f44f802f0f
-SIZE (acarl005-stripansi-5a71ef0e047d_GH0.tar.gz) = 1477
-SHA256 (achannarasappa-term-grid-v0.2.4_GH0.tar.gz) = 
070d929e63198806514364e5e8db90be412516fa4912fcd8a657d3f2a4e87ae8
-SIZE (achannarasappa-term-grid-v0.2.4_GH0.tar.gz) = 10109
-SHA256 (adrg-xdg-v0.4.0_GH0.tar.gz) = 
7f80dcb6b7ce96f2b8ccaa5577f874cd6b9e2a65c29bbcffa04a2304b9bef98a
-SIZE (adrg-xdg-v0.4.0_GH0.tar.gz) = 20022
-SHA256 (charmbracelet-bubbles-v0.10.3_GH0.tar.gz) = 
7a0f463d558616e268552cb2c902467fdfce3dc3222166e405cd8b38ac96068f
-SIZE (charmbracelet-bubbles-v0.10.3_GH0.tar.gz) = 35701
-SHA256 (charmbracelet-bubbletea-v0.26.4_GH0.tar.gz) = 
cf13404b5270e2883ecd31e500c60014ce3f73914b66e9364371993d6720577f
-SIZE (charmbracelet-bubbletea-v0.26.4_GH0.tar.gz) = 2184301
-SHA256 (charmbracelet-lipgloss-v0.5.0_GH0.tar.gz) = 
44b91523053226f939f2d08ec091343203c6eafb77efcecbd1742c461fbd7551
-SIZE (charmbracelet-lipgloss-v0.5.0_GH0.tar.gz) = 27283
-SHA256 (charmbracelet-x-ansi-v0.1.2_GH0.tar.gz) = 
ca88e3b60c3f818fabed45c1a472e2b58bc5428e83dfd428f3496ec1a5162edd
-SIZE (charmbracelet-x-ansi-v0.1.2_GH0.tar.gz) = 213824
-SHA256 (charmbracelet-x-term-v0.1.1_GH0.tar.gz) = 
48ce606004e59c24f4423ebc08954d3d4bdda0626a4a15db6916ea6fa45f00e7
-SIZE (charmbracelet-x-term-v0.1.1_GH0.tar.gz) = 212515
-SHA256 (charmbracelet-x-v0.1.0_GH0.tar.gz) = 
f876110994066651d62c6e5ea1f94534a6e58f456bdc22849f3cecfa8836d0ed
-SIZE (charmbracelet-x-v0.1.0_GH0.tar.gz) = 10317
-SHA256 (charmbracelet-x-v0.1.0_GH0.tar.gz) = 
f876110994066651d62c6e5ea1f94534a6e58f456bdc22849f3cecfa8836d0ed
-SIZE (charmbracelet-x-v0.1.0_GH0.tar.gz) = 10317
-SHA256 (erikgeiser-coninput-1c3628e74d0f_GH0.tar.gz) = 
3d799ddf6184548e72e447be9199819dc4a7ade82a081c31ca0009ce0bc4c113
-SIZE (erikgeiser-coninput-1c3628e74d0f_GH0.tar.gz) = 8949
-SHA256 (fsnotify-fsnotify-v1.5.1_GH0.tar.gz) = 
bf4be597aef95796bec7c7def6701581c5e153376ba5a5aa31c2d04470d84f1d
-SIZE (fsnotify-fsnotify-v1.5.1_GH0.tar.gz) = 32691
-SHA256 (go-ini-ini-v1.66.4_GH0.tar.gz) = 
6b64578fd951b1654ec09893ba7bf2cb8517c1a6905258aa0e5a85fff3fa3a91
-SIZE (go-ini-ini-v1.66.4_GH0.tar.gz) = 53337
-SHA256 (go-resty-resty-v2.7.0_GH0.tar.gz) = 
9afa2ab22afb81b4ff7275f5a2cb055b1bf3b19ff9506036f35c85ec0465beee
-SIZE (go-resty-resty-v2.7.0_GH0.tar.gz) = 2644943
-SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 
d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
-SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
-SHA256 (golang-net-cd36cc0744dd_GH0.tar.gz) = 
ec4567caa40e6a703e0881443623d13a812136dc2fc13935e129835fb5336076
-SIZE (golang-net-cd36cc0744dd_GH0.tar.gz) = 1228759
-SHA256 (golang-sync-v0.7.0_GH0.tar.gz) = 
39bf56d2dc04d16baabbf5eb5d847a2ad68762b5efde7ca3a8fdb24bdcdd9461
-SIZE (golang-sync-v0.7.0_GH0.tar.gz) = 18181
-SHA256 (golang-sys-v0.20.0_GH0.tar.gz) = 
eb2569cab8d7a92ce3afa9119538b61fc03d575c01f1548ec1e152c330ac591d
-SIZE (golang-sys-v0.20.0_GH0.tar.gz) = 1494604
-SHA256 (golang-text-v0.3.8_GH0.tar.gz) = 
f4f6c558d3b5530adbfc1e6787f82867801f86d9c7afc37f2ca03d630465a388
-SIZE (golang-text-v0.3.8_GH0.tar.gz) = 8358801
-SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 
50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2
-SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658
-SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 
5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6
-SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290
-SHA256 (jarcoal-httpmock-v1.0.7_GH0.tar.gz) = 
9a6637ce4479521b9c5851bdc0267ea6198c1c13fd68a1beb0d02ae7e240c8f5
-SIZE (jarcoal-httpmock-v1.0.7_GH0.tar.gz) = 24486
-SHA256 (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = 
b3ee835cc398287452377266313edcc231043bae4168f8d2706e5d34ce1ce755
-SIZE (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = 970830
-SHA256 (magiconair-properties-v1.8.5_GH0.tar.gz) = 
f85ea629d145006f4df18fd8251fa005d95c311b068848043232f52d247ba45c
-SIZE (magiconair-properties-v1.8.5_GH0.tar.gz) = 30514
-SHA256 (mattn-go-isatty-v0.0.14_GH0.tar.gz) = 
e6460325edf600297cf2ef68834938fb1c5b8d5f234b3b24ec7c0a29a2d70b39
-SIZE (mattn-go-isatty-v0.0.14_GH0.tar.gz) = 4710
-SHA256 (mattn-go-localereader-v0.0.1_GH0.tar.gz) = 
03bd5a512b593c793cccd3a1f507e3a5ba6f92681b1fa4f812a53eddbc3751dc
-SIZE (mattn-go-localereader-v0.0.1_GH0.tar.gz) = 1735
-SHA256 (mattn-go-runewidth-v0.0.15_GH0.tar.gz) = 
44a5d37bd7119a9d288d7ff61cf3b4d42c2902c66b0d94136d41d2eb3cf2ba85
-SIZE (mattn-go-runewidth-v0.0.15_GH0.tar.gz) = 18284
-SHA256 (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 
646671c73a84a8dfb4a5a76b80c7b63549ffefa906524d45077301bc7da76600
-SIZE (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 3362
-SHA256 (mitchellh-mapstructure-v1.4.3_GH0.tar.gz) = 
06198bdaa6782f68990134b88b5f0c1db44757cf81721c619fff5626d97fffc4
-SIZE (mitchellh-mapstructure-v1.4.3_GH0.tar.gz) = 28418
-SHA256 (muesli-ansi-276c6243b2f6_GH0.tar.gz) = 
3284ff73b72fb26606a9129355fa2916647423e3ede78ba8031e6bdfa0ccef4f
-SIZE (muesli-ansi-276c6243b2f6_GH0.tar.gz) = 5243
-SHA256 (muesli-cancelreader-v0.2.2_GH0.tar.gz) = 
afd827ad56d7c567389a516ca005ea80d46ed1cbc17c5ec3ca144152f1ecfc5a
-SIZE (muesli-cancelreader-v0.2.2_GH0.tar.gz) = 9443
-SHA256 (muesli-reflow-v0.3.0_GH0.tar.gz) = 
f797b8c25d447e314ad92b155433562446c683924171be1698ad44f24c79f651
-SIZE (muesli-reflow-v0.3.0_GH0.tar.gz) = 21245
-SHA256 (muesli-termenv-44cd13922739_GH0.tar.gz) = 
6ea80ef74dcf5fab19d0a3c8c2b38542ea4bb3621f82cc3db042860b15606234
-SIZE (muesli-termenv-44cd13922739_GH0.tar.gz) = 412112
-SHA256 (onsi-ginkgo-v1.16.5_GH0.tar.gz) = 
0380c81321b764b75e76a7aa8fc8ab1ab361232a88d5b6124ef8b9a9e75d5287
-SIZE (onsi-ginkgo-v1.16.5_GH0.tar.gz) = 164965
-SHA256 (onsi-ginkgo-v2.1.2_GH0.tar.gz) = 
6834c64847fe2d1b3d4378182b41ae2c2490c71ef352398e3d3f9089f66da362
-SIZE (onsi-ginkgo-v2.1.2_GH0.tar.gz) = 544197
-SHA256 (onsi-gomega-v1.17.0_GH0.tar.gz) = 
88022de05be4fed38e4a39b5ecc9ba379aa22adb6470ffec71f7d79a812b83b5
-SIZE (onsi-gomega-v1.17.0_GH0.tar.gz) = 140969
-SHA256 (pelletier-go-toml-v1.9.4_GH0.tar.gz) = 
2b00521c81b994a72d0f3bd3aa9273cb17fab61a5e9749aff1108117a8d7c397
-SIZE (pelletier-go-toml-v1.9.4_GH0.tar.gz) = 106507
-SHA256 (rivo-uniseg-v0.4.7_GH0.tar.gz) = 
dc7aedce4a8c174b01df8406ff7d92779e2df76cee2ad17fa2ff6777feddadec
-SIZE (rivo-uniseg-v0.4.7_GH0.tar.gz) = 458088
-SHA256 (spf13-afero-v1.8.1_GH0.tar.gz) = 
76b07f013c0d0281df06af4c522ad6f84ebeb82b82da489cad56ae1bff73c998
-SIZE (spf13-afero-v1.8.1_GH0.tar.gz) = 90604
-SHA256 (spf13-cast-v1.4.1_GH0.tar.gz) = 
3d099a48b75a66ac52dbb473c93096076dca752af51087b8d163e15e5de721f8
-SIZE (spf13-cast-v1.4.1_GH0.tar.gz) = 13381
-SHA256 (spf13-cobra-v1.3.0_GH0.tar.gz) = 
5b6a1d841561112a68a46dfa58f8fd86a06abb8838cf86d085738a306fe91357
-SIZE (spf13-cobra-v1.3.0_GH0.tar.gz) = 169515
-SHA256 (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 
4fd850a792c5738954c4801cf549d8d0bf53edd17139cd39d179aa5abf7ec68d
-SIZE (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 6871
-SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 
9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
-SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796
-SHA256 (spf13-viper-v1.10.1_GH0.tar.gz) = 
9d4276ff76799b7e5a4ad39542df3b27e3b24e70356e84ceaa338c782617c275
-SIZE (spf13-viper-v1.10.1_GH0.tar.gz) = 106638
-SHA256 (subosito-gotenv-v1.2.0_GH0.tar.gz) = 
5f6826992c11981018c77377f33dbc56d0be932e0d38a2f51e795c99725e7ba5
-SIZE (subosito-gotenv-v1.2.0_GH0.tar.gz) = 7359
-SHA256 (xeipuuv-gojsonpointer-4e3ac2762d5f_GH0.tar.gz) = 
ad625b72ad9cbc347ca9d07af1e9dbe49feeb5688a70a015f2153a67e27328a0
-SIZE (xeipuuv-gojsonpointer-4e3ac2762d5f_GH0.tar.gz) = 7724
-SHA256 (xeipuuv-gojsonreference-bd5ef7bd5415_GH0.tar.gz) = 
f99765bc8692e620f8abc3f36e10df36a4161c5634505632599ce88abc2d8f55
-SIZE (xeipuuv-gojsonreference-bd5ef7bd5415_GH0.tar.gz) = 6958
-SHA256 (xeipuuv-gojsonschema-v1.2.0_GH0.tar.gz) = 
ad47429e26a7078df155bffe2d3ff2e967fb0d6be185b5ffe995d6731916bcf7
-SIZE (xeipuuv-gojsonschema-v1.2.0_GH0.tar.gz) = 73602
-SHA256 (xo-terminfo-abceb7e1c41e_GH0.tar.gz) = 
f309fc85594b3a03d622ebe275a841b97101c4189f85fff18fc051a2e5a4878c
-SIZE (xo-terminfo-abceb7e1c41e_GH0.tar.gz) = 35180
+TIMESTAMP = 1718778390
+SHA256 (go/finance_ticker/achannarasappa-ticker-v4.6.3_GH0/go.mod) = 
059c58a6b711baba94673222f8ceb60b7fac0cb5b0c0c2298f7f25701bfbb6db
+SIZE (go/finance_ticker/achannarasappa-ticker-v4.6.3_GH0/go.mod) = 2429
+SHA256 
(go/finance_ticker/achannarasappa-ticker-v4.6.3_GH0/achannarasappa-ticker-v4.6.3_GH0.tar.gz)
 = 09e228b38b3da55e870b194bc6780af027c47bd0fdf39d146459a372a8956b87
+SIZE 
(go/finance_ticker/achannarasappa-ticker-v4.6.3_GH0/achannarasappa-ticker-v4.6.3_GH0.tar.gz)
 = 185005

Reply via email to