tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip/aerc go modules downloading at build-time



On Sat, Dec 23, 2023 at 02:27:07AM +0000, Kevin Bloom wrote:
> Hi all,
> 
> I'm working the recipe for wip/aerc and I've run into an issue and
> am unsure how to solve it. This program uses a GNU makefile but also
> uses go. I've successfully created a go-modules.mk but no matter what
> I try, it _always_ tried to download the modules again at build time.
> 
> I've even tried circumventing gmake with a custom go-build:
> ```
> do-build:
>        cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV}
>            GOPATH=${WRKDIR}/.gopath ${GO} build
> ```
> This _still_ attempts to download the modules.
> 
> Any ideas?

Is it really downloading them or just saying so?

Because I see 'downloading' messages even for plain go modules
packages where nothing is downloaded at build time, the messaging is
confusing here.
 Thomas


Home | Main Index | Thread Index | Old Index