Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2023 14:59:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270264] www/gohugo: upgrade/install failure: cannot query module due to -mod=vendor
Message-ID:  <bug-270264-7788-n1moxC2Kk1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270264-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270264-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270264

mvharding@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mvharding@gmail.com

--- Comment #4 from mvharding@gmail.com ---
I ran into this issue as well. I have a local poudriere system, but also ha=
ve
one system where I compile from ports. The latter fails for gohugo from tim=
e to
time, but if I do a 'make distclean' it will fix it. I think that the cache=
d go
modules (and there are a lot) can cause the build to fail. I think poudriere
does not use the cached go modules so it does not exhibit the issue.

The cached go stuff is at /usr/ports/distfiles/go/www_gohugo, and I share t=
he
distfiles directory between the machine where I build locally and the machi=
ne
where I run poudriere.

I think that the Makefile could maybe be modified to say "try 'make distcle=
an'
if you have a build failure" perhaps?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270264-7788-n1moxC2Kk1>