Skip to content

Instantly share code, notes, and snippets.

@chmue
Created October 18, 2017 11:21
Show Gist options
  • Save chmue/f3c433db442dbd9648f8151b12eefacd to your computer and use it in GitHub Desktop.
Save chmue/f3c433db442dbd9648f8151b12eefacd to your computer and use it in GitHub Desktop.
git-lfs build problems
~ % pacaur -y git-lfs
:: resolving dependencies...
:: looking for inter-conflicts...
AUR Packages (1) git-lfs-2.3.2-1
Repo Packages (5) go-2:1.9.1-1 ruby-hpricot-0.8.6-5 ruby-mustache-1.0.3-2 ruby-rdiscount-2.2.0.1-2 ruby-ronn-0.7.3-5
Repo Download Size: 44.99 MiB
Repo Installed Size: 221.80 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving package(s)...
:: View git-lfs build files diff? [Y/n] y
:: git-lfs build files diff viewed
:: Proceed with installation? [Y/n] y
:: Checking git-lfs integrity...
==> Making package: git-lfs 2.3.2-1 (Wed 18 Oct 12:16:32 BST 2017)
==> Retrieving sources...
-> Downloading v2.3.2.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 0 122 0 0 122 0 --:--:-- --:--:-- --:--:-- 333
100 123 0 123 0 0 123 0 --:--:-- --:--:-- --:--:-- 123
100 729k 0 729k 0 0 364k 0 --:--:-- 0:00:02 --:--:-- 847k
==> Validating source files with sha1sums...
v2.3.2.tar.gz ... Passed
:: Building git-lfs package(s)...
==> Making package: git-lfs 2.3.2-1 (Wed 18 Oct 12:16:35 BST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (5) ruby-hpricot-0.8.6-5 ruby-mustache-1.0.3-2 ruby-rdiscount-2.2.0.1-2 go-2:1.9.1-1 ruby-ronn-0.7.3-5
Total Download Size: 44.99 MiB
Total Installed Size: 221.80 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
go-2:1.9.1-1-x86_64 45.0 MiB 11.1M/s 00:04 [######################################################################] 100%
(5/5) checking keys in keyring [######################################################################] 100%
(5/5) checking package integrity [######################################################################] 100%
(5/5) loading package files [######################################################################] 100%
(5/5) checking for file conflicts [######################################################################] 100%
(5/5) checking available disk space [######################################################################] 100%
:: Processing package changes...
(1/5) installing go [######################################################################] 100%
(2/5) installing ruby-hpricot [######################################################################] 100%
(3/5) installing ruby-rdiscount [######################################################################] 100%
(4/5) installing ruby-mustache [######################################################################] 100%
(5/5) installing ruby-ronn [######################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
script/build.go:18:2: cannot find package "github.com/git-lfs/git-lfs/config" in any of:
/usr/lib/go/src/github.com/git-lfs/git-lfs/config (from $GOROOT)
/tmp/makepkg/git-lfs/src/src/github.com/git-lfs/git-lfs/config (from $GOPATH)
==> ERROR: A failure occurred in build().
Aborting...
:: go is now an orphan package
:: ruby-ronn is now an orphan package
:: failed to build git-lfs package(s)
~ % pacaur -y git-lfs
:: resolving dependencies...
:: looking for inter-conflicts...
AUR Packages (1) git-lfs-2.3.2-1
:: Proceed with installation? [Y/n] y
:: Retrieving package(s)...
:: git-lfs build files are up-to-date -- skipping
:: Checking git-lfs integrity...
==> Making package: git-lfs 2.3.2-1 (Wed 18 Oct 12:17:26 BST 2017)
==> Retrieving sources...
-> Found v2.3.2.tar.gz
==> Validating source files with sha1sums...
v2.3.2.tar.gz ... Passed
:: Building git-lfs package(s)...
==> Making package: git-lfs 2.3.2-1 (Wed 18 Oct 12:17:32 BST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Using go1.9.1
roff: docs/man/git-lfs.1
html: docs/man/git-lfs.1.html +man
roff: docs/man/git-lfs-checkout.1
html: docs/man/git-lfs-checkout.1.html +man
roff: docs/man/git-lfs-clean.1
html: docs/man/git-lfs-clean.1.html +man
roff: docs/man/git-lfs-clone.1
html: docs/man/git-lfs-clone.1.html +man
roff: docs/man/git-lfs-config.5
html: docs/man/git-lfs-config.5.html +man
roff: docs/man/git-lfs-env.1
html: docs/man/git-lfs-env.1.html +man
roff: docs/man/git-lfs-ext.1
html: docs/man/git-lfs-ext.1.html +man
roff: docs/man/git-lfs-fetch.1
html: docs/man/git-lfs-fetch.1.html +man
roff: docs/man/git-lfs-filter-process.1
html: docs/man/git-lfs-filter-process.1.html +man
roff: docs/man/git-lfs-fsck.1
html: docs/man/git-lfs-fsck.1.html +man
roff: docs/man/git-lfs-install.1
html: docs/man/git-lfs-install.1.html +man
roff: docs/man/git-lfs-lock.1
html: docs/man/git-lfs-lock.1.html +man
roff: docs/man/git-lfs-locks.1
html: docs/man/git-lfs-locks.1.html +man
roff: docs/man/git-lfs-logs.1
html: docs/man/git-lfs-logs.1.html +man
roff: docs/man/git-lfs-ls-files.1
html: docs/man/git-lfs-ls-files.1.html +man
roff: docs/man/git-lfs-migrate.1
html: docs/man/git-lfs-migrate.1.html +man
roff: docs/man/git-lfs-pointer.1
html: docs/man/git-lfs-pointer.1.html +man
roff: docs/man/git-lfs-post-checkout.1
html: docs/man/git-lfs-post-checkout.1.html +man
roff: docs/man/git-lfs-post-merge.1
html: docs/man/git-lfs-post-merge.1.html +man
roff: docs/man/git-lfs-pre-push.1
html: docs/man/git-lfs-pre-push.1.html +man
roff: docs/man/git-lfs-prune.1
html: docs/man/git-lfs-prune.1.html +man
roff: docs/man/git-lfs-pull.1
html: docs/man/git-lfs-pull.1.html +man
roff: docs/man/git-lfs-push.1
html: docs/man/git-lfs-push.1.html +man
roff: docs/man/git-lfs-smudge.1
html: docs/man/git-lfs-smudge.1.html +man
roff: docs/man/git-lfs-status.1
html: docs/man/git-lfs-status.1.html +man
roff: docs/man/git-lfs-track.1
html: docs/man/git-lfs-track.1.html +man
roff: docs/man/git-lfs-uninstall.1
html: docs/man/git-lfs-uninstall.1.html +man
roff: docs/man/git-lfs-unlock.1
html: docs/man/git-lfs-unlock.1.html +man
roff: docs/man/git-lfs-untrack.1
html: docs/man/git-lfs-untrack.1.html +man
roff: docs/man/git-lfs-update.1
html: docs/man/git-lfs-update.1.html +man
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "git-lfs"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: git-lfs 2.3.2-1 (Wed 18 Oct 12:17:39 BST 2017)
==> Cleaning up...
:: Installing git-lfs package(s)...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) git-lfs-2.3.2-1
Total Installed Size: 7.43 MiB
Net Upgrade Size: 0.42 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################################################################] 100%
(1/1) checking package integrity [######################################################################] 100%
(1/1) loading package files [######################################################################] 100%
(1/1) checking for file conflicts [######################################################################] 100%
(1/1) checking available disk space [######################################################################] 100%
:: Processing package changes...
(1/1) upgrading git-lfs [######################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment