git-lfs install error on macOS 10.13.6
Jon Ronnenberg <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <CAPEZGVsfuL6v=ng057DAMH-hqhaoTMys0PqHaf2TG+wfibrBEw@mail.gmail.com> |
I just tried to install git-lfs-2.9.0-1: Git Large File Storage extension
via fink.
First with 4 simultaneous build jobs.
>Package manager version: 0.45.6
>Distribution version: selfupdate-git Tue Feb 7 21:24:35 2023, 10.13,
x86_64
>Trees: local/main stable/main
>No recognized Xcode.app installed
>Xcode command-line tools: 10.1.0.0.1.1539992718
>Max. Fink build jobs: 4
and then again using only 1 job at the time, as specified by fink.
>Package manager version: 0.45.6
>Distribution version: selfupdate-git Tue Feb 7 21:26:25 2023, 10.13,
x86_64
>Trees: local/main stable/main
>No recognized Xcode.app installed
>Xcode command-line tools: 10.1.0.0.1.1539992718
>Max. Fink build jobs: 1
I have go version: go1.16.6 darwin/amd64 in my path.
Here is the build output:
The following package will be installed or updated:
git-lfs
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-git-lfs-2.9.0-1
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-git-lfs-2.9.0-1' in
`/sw/src/fink.build/fink-buildlock-git-lfs-2.9.0-1_2023.02.07-21.26.28_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-git-lfs-2.9.0-1_2023.02.07-21.26.28_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-git-lfs-2.9.0-1.
(Reading database ... 59793 files and directories currently installed.)
Unpacking fink-buildlock-git-lfs-2.9.0-1 (from
.../fink-buildlock-git-lfs-2.9.0-1_2023.02.07-21.26.28_darwin-x86_64.deb)
...
Setting up fink-buildlock-git-lfs-2.9.0-1 (2023.02.07-21.26.28) ...
sudo -u fink-bld [ENV] sh -c /tmp/fink.Fy6kY
env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xf
/sw/src/git-lfs-v2.9.0.tar.gz
sudo -u fink-bld [ENV] sh -c /tmp/fink.tZpiG
[ -r /sw/fink/dists/stable/main/finkinfo/devel/git-lfs.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.G_0_g
/usr/bin/patch -p1 < /sw/fink/dists/stable/main/finkinfo/devel/git-lfs.patch
patching file Makefile
sudo -u fink-bld [ENV] sh -c /tmp/fink.rLjKp
/tmp/fink.9RT4G
#!/bin/sh -ev
export GOPATH=/sw/src/fink.build/git-lfs-2.9.0-1/git-lfs-2.9.0
rm $GOPATH/go.mod
mkdir -p src/github.com/git-lfs
ln -s /sw/src/fink.build/git-lfs-2.9.0-1/git-lfs-2.9.0 src/
github.com/git-lfs/git-lfs
pushd src/github.com/git-lfs/git-lfs
/sw/src/fink.build/git-lfs-2.9.0-1/git-lfs-2.9.0/src/
github.com/git-lfs/git-lfs /sw/src/fink.build/git-lfs-2.9.0-1/git-lfs-2.9.0
make
go list -f '{{ join .Deps "\n" }}' . \
| xargs go list -f \
'{{ if and (not .Standard) (not .Module) }} \
{{ .ImportPath }} \
{{ end }}' \
| grep -v "github.com/git-lfs/git-lfs" \
| grep "."
*go: go.mod file not found in current directory or any parent directory;
see 'go help modules'make: *** [Makefile:438: lint] Error 1*
### execution of /tmp/fink.9RT4G failed, exit code 2
### execution of /tmp/fink.rLjKp failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-git-lfs-2.9.0-1
(Reading database ... 59794 files and directories currently installed.)
Removing fink-buildlock-git-lfs-2.9.0-1 ...
Failed: phase compiling: git-lfs-2.9.0-1 failed
I have highlighted the part that I think describes the error. Any advice is
greatly appreciated. Thanks!
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners