Package Details: go-ipfs-git 0.4.9.r4.g864bf47a5-1

Git Clone URL: (read-only)
Package Base: go-ipfs-git
Description: global versioned p2p merkledag file system
Upstream URL:
Keywords: go ipfs
Licenses: MIT
Conflicts: go-ipfs
Provides: go-ipfs
Submitter: ianonavy
Maintainer: Kubuxu (ianonavy, Freso)
Last Packager: Kubuxu
Votes: 21
Popularity: 0.143465
First Submitted: 2014-07-23 01:47
Last Updated: 2017-05-13 20:25

Dependencies (5)

Required by (10)

Sources (3)

Latest Comments

1 2 3 Next › Last »

02m commented on 2019-07-21 10:21

Build fails with:

==> Starting pkgver()... jq: error: Could not open file package.json: No such file or directory ==> ERROR: pkgver is not allowed to be empty. ==> ERROR: pkgver() generated an invalid version: Error making: go-ipfs-git

Replacing pkgver() function with the suggestion from @redfish works like a charm.

redfish commented on 2019-06-08 17:42

There isn't a need to parse the version from the source files, because the releases are tagged, so best to go with the standard format (0.4.21.r54.gc7dc3c33e):

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --long --tags |  sed -e 's/^v//' -e 's/\([^-]*-g\)/r\1/;s/-/./g'

FallenSnow commented on 2019-05-27 03:30

jq version acquisition is failing since go-ipfs now stores the version in version.go.

The LICENSE file has also been split into LICENSE-MIT and LICENSE-APACHE.

zbiko commented on 2017-12-18 01:45

==> Leaving fakeroot environment.
==> Finished making: go-ipfs-git 0.4.14dev.r141.gce22b83f2-1 (Sun Dec 17 17:09:31 PST 2017)
==> Cleaning up...
:: Installing go-ipfs-git package(s)...
:: go-ipfs-git package(s) failed to install.
:: ensure package version does not mismatch between .SRCINFO and PKGBUILD
:: ensure package name has a VCS suffix if this is a devel package
:: go is now an orphan package
:: jq is now an orphan package

Kubuxu commented on 2016-05-09 10:54

Here is a fix that worked for me

From 63db4b943736f30e92215421c4f32915914dfcb4 Mon Sep 17 00:00:00 2001
From: Jakub Sztandera <>
Date: Mon, 9 May 2016 12:50:32 +0200
Subject: [PATCH] Fix build in Go 1.6

1 file changed, 1 insertion(+)

diff --git a/PKGBUILD b/PKGBUILD
index 7fa2229..1c00f85 100644
@@ -31,6 +31,7 @@ prepare() {
build() {
# Required for go get
export GOPATH="$srcdir"
+ export GOBIN="$srcdir/bin"
export PATH=$PATH:$GOPATH/bin

msg2 'Installing dependencies...'

edtoml commented on 2016-05-07 13:29

The problem is not the go version. I restored a go 1.5.3 package from my backups, installed it and tried building. Same error.

edtoml commented on 2016-05-06 00:55

redfish queried the ipfs main author on irc and go 1.6.2 should work.

edtoml commented on 2016-05-03 00:27

Also getting

make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/tmp/makepkg/go-ipfs-git/src/go-ipfs/cmd/ipfs'
go install -ldflags="-X "".CurrentCommit=d597f4b"
go install: no install location for directory /tmp/makepkg/go-ipfs-git/src/go-ipfs/cmd/ipfs outside GOPATH
For more details see: go help gopath
Makefile:7: recipe for target 'install' failed

It used to work. Ideas anyone?

mythmon commented on 2016-04-29 15:10

When building this package, I get this error:

go install -ldflags="-X "".CurrentCommit=fed6212"
go install: no install location for directory /home/mythmon/src/pkgbuild/go-ipfs-git/src/go-ipfs/cmd/ipfs outside GOPATH
For more details see: go help gopath
Makefile:7: recipe for target 'install' failed

Freso commented on 2016-04-12 19:36

PSA: New released version is not a reason to flag a -git package as out-of-date. If you install the -git package, its pkgver() function will automatically pull the version from Git. It should only get flagged out of date if it no longer builds or its dependencies have been outdated.