Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2022 21:11:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263390] security/lego: Fails to build without git installed
Message-ID:  <bug-263390-7788-EBch1KGTeI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263390-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263390-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=3D263390

--- Comment #3 from Matthew Horan <matt@matthoran.com> ---
I spoke with a Go maintainer about this, it seems that the issue is trigger=
ed
by the ports tree .git directory. I presume when the port is built by the
builder this directory is mounted into a jail which does not have git. Go w=
ill
then see there's a .git directory and try to grab the SHA, which obviously
doesn't work.

So this could be fixed for FreeBSD ports by adding that flag by default (or
optionally), or otherwise making the .git directory unavailable to the ports
builder. This could arguably be something that needs to be addressed in Go =
as
well, so I'll leave that to the FreeBSD Go maintainers to decide where to go
with this.

--=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-263390-7788-EBch1KGTeI>