Index | Thread | Search

From:
Marco van Hulten <marco@hulten.org>
Subject:
Re: remove or update devel/git-lfs
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
ports@openbsd.org
Date:
Tue, 21 Oct 2025 14:03:44 +0200

Download raw body.

Thread
On Fri, 17 Oct 2025 10:48:23 +0100 Stuart Henderson wrote:
> On 2025/10/17 10:45, Stuart Henderson wrote:
> > not a very satisfying diff, but try this  
> 
> oh, scratch that, it was actually recursing rather than just taking a
> long time to build...

I'm not sure if I understand.

Should the additional DISTFILES.v provide all the things that it
otherwise tries to get from github.com and golang.org during 'make
build'?

What is still failing?


'make clean' does not clean up the symlink
/usr/ports/pobj/git-lfs-3.7.0/go/src/all/vendor/github.com/git-lfs/git-lfs/v3


I wanted to run 'make pre-build' separately, but then PORTS_PRIVSEP
does not do what I expect:

mvanhult@detekti:.../devel/git-lfs$ make pre-build
mkdir -p /usr/ports/pobj/git-lfs-3.7.0/go/src/all/vendor/github.com/git-lfs/git-lfs
mkdir: /usr/ports/pobj/git-lfs-3.7.0/go/src/all/vendor/github.com/git-lfs/git-lfs: Permission denied
*** Error 1 in /usr/ports/mystuff/devel/git-lfs (Makefile:32 'pre-build')

I needed to do

  chmod g+w /usr/ports/pobj/git-lfs-3.7.0/go/src/all/vendor/github.com/git-lfs

or put 'doas -u _pbuild' in front of the pre-build commands before I
could do this step (separately before 'make build').

 Marco