Opened 6 years ago

Closed 6 years ago

#56905 closed update (fixed)

git-lfs @2.4.2: update to 2.5.2

Reported by: l2dy (Zero King) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kballard (Lily Ballard)
Port: git-lfs

Description


Attachments (1)

git-lfs-2.5.1.diff (1.5 KB) - added by raimue (Rainer Müller) 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 years ago by raimue (Rainer Müller)

I tried the update, but I failed due to go complaining about some dependencies. The build system seems to have changed and I have no idea how it has to be set up. Any help would be appreciated.

--->  Building git-lfs
Executing:  cd "/opt/local/var/macports/build/_Users_raimue_src_macports_ports_devel_git-lfs/git-lfs/work/git-lfs-2.5.1" && /usr/bin/make -j8 -w all RONN=/opt/local/bin/ronn-1.9
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
make: Entering directory `/opt/local/var/macports/build/_Users_raimue_src_macports_ports_devel_git-lfs/git-lfs/work/git-lfs-2.5.1'
go generate github.com/git-lfs/git-lfs/commands
can't load package: package github.com/git-lfs/git-lfs/commands: cannot find package "github.com/git-lfs/git-lfs/commands" in any of:
	/opt/local/lib/go/src/github.com/git-lfs/git-lfs/commands (from $GOROOT)
	/opt/local/var/macports/build/_Users_raimue_src_macports_ports_devel_git-lfs/git-lfs/work/src/github.com/git-lfs/git-lfs/commands (from $GOPATH)
make: *** [commands/mancontent_gen.go] Error 1
...

Changed 6 years ago by raimue (Rainer Müller)

Attachment: git-lfs-2.5.1.diff added

comment:2 in reply to:  1 Changed 6 years ago by l2dy (Zero King)

Replying to raimue:

I tried the update, but I failed due to go complaining about some dependencies. The build system seems to have changed and I have no idea how it has to be set up. Any help would be appreciated.

See https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md#building-git-lfs. It's looking for ${workpath}/src/github.com/git-lfs/git-lfs because Go requires that packages be placed under $GOPATH/src/$PKG_IMPORT_PATH.

See this snippet from port dep:

# what kind of tool does this?
post-extract {
    file mkdir ${worksrcpath}/src/github.com/golang
    ln -sf ${worksrcpath} ${worksrcpath}/src/github.com/golang/${name}
}

comment:3 Changed 6 years ago by mf2k (Frank Schima)

Cc: kballard added
Summary: git-lfs @2.4.2: update to 2.5.1git-lfs @2.4.2: update to 2.5.2

Has duplicate #57138.

comment:5 Changed 6 years ago by l2dy (Zero King)

Resolution: fixed
Status: assignedclosed

In c7ae34a2e01785a1283f178de443808ee2f0e9b6/macports-ports (master):

git-lfs: update to 2.5.2, use golang 1.0 PortGroup

Fixes: #56905

Note: See TracTickets for help on using tickets.