Re: Go modules help

From: Matthias Fechner <>
Date: Mon, 17 Jan 2022 17:35:14 UTC
Am 17.01.2022 um 17:46 schrieb Larry Rosenman:
> Progress, but I'm now getting:
> => SHA256 Checksum OK for 
> go-plist-591f970eefbbeb04d7b37f334a0c4c3256e32876_GL0.tar.gz.
> /bin/rm -f -r 
> /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/
> install -l rs 
> /wrkdirs/usr/ports/net-mgmt/thanos/work/google-cloud-go-0.97.0/go/storage 
> /wrkdirs/usr/ports/net-mgmt/thanos/work/thanos-0.24.0/vendor/ 
> install: 
> /wrkdirs/usr/ports/net-mgmt/thanos/work/google-cloud-go-0.97.0/go/storage: 
> realpath: No such file or directory
> *** Error code 71
> new makefile attached.  I've tried I don't know how many things with 
> the m2t made lines.
this is a little bit tricky.
To understand it, you need to use tag storage/v1.10:

This archive has a directory named storage you would like to link into:
You can find the directory with:
tar tzvf 

So at first you download it with a GH_TUPLE definition:

The last part here must be unique, I added _storage to it.

The content will be stored in (the path is used from the GH_TUPLE 

The next step is now to remove the already existing directory:
@${RM} -r ${WRKSRC}/vendor/

and now link the previously download archive into the removed directory:
@${RLN} ${WRKSRC_googleapis_google_cloud_go_storage}/storage 

I attached you the makefile, which includes this modification.
Maybe modules2tuple can be fixed to get it working if the version tag 
includes a `/ `.
I added, maybe he has an idea how to fix this in 



"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