Package Details: antibody 6.1.1-1

Git Clone URL: https://aur.archlinux.org/antibody.git (read-only, click to copy)
Package Base: antibody
Description: A shell plugin manager.
Upstream URL: https://getantibody.github.io/
Licenses: MIT
Submitter: gosugdr
Maintainer: bryn
Last Packager: bryn
Votes: 25
Popularity: 0.000005
First Submitted: 2016-10-19 20:47 (UTC)
Last Updated: 2020-09-04 03:25 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

kiyui commented on 2020-06-28 04:15 (UTC)

My build was also failing for antibody-6.0.1-1 with go-2:1.14.4-1, but it's only the "check" function that's failing, so commenting or removing it out allows you to build normally.

svladius commented on 2020-04-21 10:59 (UTC) (edited on 2020-04-21 11:02 (UTC) by svladius)

The same issue for me when attempting to install the latest package.

go version go1.14.2 linux/amd64 yay v9.4.6 - libalpm v12.0.1

Maybe these stacktraces help:

==> Making package: antibody 6.0.1-1 (Ma 21 apr 2020 13:45:10 +0300)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v6.0.1.tar.gz
==> Validating source files with sha256sums...
v6.0.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting v6.0.1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: antibody 6.0.1-1 (Ma 21 apr 2020 13:45:14 +0300)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> Starting check()...
go test -v -failfast -race -coverpkg=./... -covermode=atomic -coverprofile=coverage.txt ./... -run . -timeout=2m
?       github.com/getantibody/antibody [no test files]
=== RUN   TestAntibody
--- PASS: TestAntibody (14.69s)
=== RUN   TestAntibodyError
antibody: git clone failed for https://github.com/invalid-repo Cloning into '/tmp/antibody035388203/https-COLON--SLASH--SLASH-github.com-SLASH-invalid-repo'...
remote: Not Found
fatal: repository 'https://github.com/invalid-repo/' not found

--- PASS: TestAntibodyError (1.76s)
=== RUN   TestMultipleRepositories
--- PASS: TestMultipleRepositories (35.41s)
=== RUN   TestHome
--- PASS: TestHome (0.00s)
=== RUN   TestHomeFromEnvironmentVariable
--- PASS: TestHomeFromEnvironmentVariable (0.00s)
PASS
coverage: 44.2% of statements in ./...
ok      github.com/getantibody/antibody/antibodylib     51.890s coverage: 44.2% of statements in ./...
=== RUN   TestSuccessfullGitBundles
=== RUN   TestSuccessfullGitBundles/caarlos0/jvm
=== PAUSE TestSuccessfullGitBundles/caarlos0/jvm
=== RUN   TestSuccessfullGitBundles/caarlos0/jvm_kind:path
=== PAUSE TestSuccessfullGitBundles/caarlos0/jvm_kind:path
=== RUN   TestSuccessfullGitBundles/caarlos0/jvm_kind:path_branch:gh-pages
=== PAUSE TestSuccessfullGitBundles/caarlos0/jvm_kind:path_branch:gh-pages
=== RUN   TestSuccessfullGitBundles/caarlos0/jvm_kind:dummy
=== PAUSE TestSuccessfullGitBundles/caarlos0/jvm_kind:dummy
=== RUN   TestSuccessfullGitBundles/caarlos0/jvm_kind:fpath
=== PAUSE TestSuccessfullGitBundles/caarlos0/jvm_kind:fpath
=== RUN   TestSuccessfullGitBundles/docker/cli_path:contrib/completion/zsh/_docker
=== PAUSE TestSuccessfullGitBundles/docker/cli_path:contrib/completion/zsh/_docker
=== CONT  TestSuccessfullGitBundles/caarlos0/jvm
=== CONT  TestSuccessfullGitBundles/caarlos0/jvm_kind:dummy
=== CONT  TestSuccessfullGitBundles/caarlos0/jvm_kind:path_branch:gh-pages
=== CONT  TestSuccessfullGitBundles/docker/cli_path:contrib/completion/zsh/_docker
=== CONT  TestSuccessfullGitBundles/caarlos0/jvm_kind:fpath
=== CONT  TestSuccessfullGitBundles/caarlos0/jvm_kind:path
--- PASS: TestSuccessfullGitBundles (0.00s)
--- PASS: TestSuccessfullGitBundles/caarlos0/jvm_kind:path_branch:gh-pages (4.82s)
--- PASS: TestSuccessfullGitBundles/caarlos0/jvm_kind:dummy (11.58s)
--- PASS: TestSuccessfullGitBundles/caarlos0/jvm (11.98s)
--- PASS: TestSuccessfullGitBundles/caarlos0/jvm_kind:fpath (13.45s)
--- PASS: TestSuccessfullGitBundles/caarlos0/jvm_kind:path (13.72s)
--- PASS: TestSuccessfullGitBundles/docker/cli_path:contrib/completion/zsh/_docker (33.32s)
=== RUN   TestZshInvalidGitBundle
antibody: git clone failed for https://github.com/does Cloning into '/tmp/antibody554080045/https-COLON--SLASH--SLASH-github.com-SLASH-does'...
remote: Not Found
fatal: repository 'https://github.com/does/' not found

--- PASS: TestZshInvalidGitBundle (1.19s)
=== RUN   TestZshLocalBundle
--- PASS: TestZshLocalBundle (0.00s)
=== RUN   TestZshInvalidLocalBundle
--- PASS: TestZshInvalidLocalBundle (0.00s)
=== RUN   TestZshBundleWithNoShFiles
--- PASS: TestZshBundleWithNoShFiles (10.57s)
=== RUN   TestPathInvalidLocalBundle
--- PASS: TestPathInvalidLocalBundle (0.00s)
=== RUN   TestPathLocalBundle
--- PASS: TestPathLocalBundle (0.00s)
PASS
coverage: 30.2% of statements in ./...
ok      github.com/getantibody/antibody/bundle  45.121s coverage: 30.2% of statements in ./...
=== RUN   TestDownloadAllKinds
--- PASS: TestDownloadAllKinds (36.56s)
=== RUN   TestDownloadSubmodules
antibody: updating: https://github.com/fribmendes/geometry
--- PASS: TestDownloadSubmodules (24.42s)
=== RUN   TestDownloadAnotherBranch
--- PASS: TestDownloadAnotherBranch (5.53s)
=== RUN   TestUpdateAnotherBranch
antibody: updating: https://github.com/caarlos0/jvm
--- PASS: TestUpdateAnotherBranch (8.32s)
=== RUN   TestUpdateExistentLocalRepo
antibody: updating: https://github.com/caarlos0/ports
--- PASS: TestUpdateExistentLocalRepo (8.26s)
=== RUN   TestUpdateNonExistentLocalRepo
antibody: updating: https://github.com/caarlos0/ports
--- PASS: TestUpdateNonExistentLocalRepo (0.00s)
=== RUN   TestDownloadNonExistentRepo
antibody: git clone failed for https://github.com/caarlos0/not-a-real-repo Cloning into '/tmp/antibody735634472/https-COLON--SLASH--SLASH-github.com-SLASH-caarlos0-SLASH-not-a-real-repo'...
error: cannot run 0: No such file or directory
fatal: could not read Username for 'https://github.com': terminal prompts disabled

--- PASS: TestDownloadNonExistentRepo (3.62s)
=== RUN   TestDownloadMalformedRepo
antibody: git clone failed for https://github.com/doesn-not-exist-really Cloning into '/tmp/antibody526722919/https-COLON--SLASH--SLASH-github.com-SLASH-doesn-not-exist-really'...
remote: Not Found
fatal: repository 'https://github.com/doesn-not-exist-really/' not found

--- PASS: TestDownloadMalformedRepo (1.84s)
=== RUN   TestDownloadMultipleTimes
antibody: updating: https://github.com/caarlos0/ports
--- PASS: TestDownloadMultipleTimes (8.67s)
=== RUN   TestDownloadFolderNaming
--- PASS: TestDownloadFolderNaming (0.00s)
=== RUN   TestSubFolder
--- PASS: TestSubFolder (0.00s)
=== RUN   TestPath
--- PASS: TestPath (0.00s)
=== RUN   TestMultipleSubFolders
--- PASS: TestMultipleSubFolders (8.64s)
=== RUN   TestLocalProject
--- PASS: TestLocalProject (0.00s)
=== RUN   TestLocalProjectRelativeToHome
--- PASS: TestLocalProjectRelativeToHome (0.00s)
=== RUN   TestList
--- PASS: TestList (5.49s)
=== RUN   TestListEmptyFolder
--- PASS: TestListEmptyFolder (0.00s)
=== RUN   TestListNonExistentFolder
--- PASS: TestListNonExistentFolder (0.00s)
=== RUN   TestUpdate
antibody: updating: https://github.com/caarlos0/ports
--- PASS: TestUpdate (8.59s)
=== RUN   TestUpdateHome
=== RUN   TestUpdateHome/caarlos0/jvm
coverage: 32.6% of statements in ./...
panic: test timed out after 2m0s

goroutine 87 [running]:
testing.(*M).startAlarm.func1()
    /usr/lib/go/src/testing/testing.go:1459 +0x11c
created by time.goFunc
    /usr/lib/go/src/time/sleep.go:168 +0x52

goroutine 1 [chan receive]:
testing.(*T).Run(0xc0000d85a0, 0xa814d5, 0xe, 0xa9ba10, 0x1)
    /usr/lib/go/src/testing/testing.go:1043 +0x699
testing.runTests.func1(0xc0000d85a0)
    /usr/lib/go/src/testing/testing.go:1284 +0xa7
testing.tRunner(0xc0000d85a0, 0xc00011dce8)
    /usr/lib/go/src/testing/testing.go:991 +0x1ec
testing.runTests(0xc0000be780, 0xe74aa0, 0x16, 0x16, 0x0)
    /usr/lib/go/src/testing/testing.go:1282 +0x528
testing.(*M).Run(0xc000108200, 0x0)
    /usr/lib/go/src/testing/testing.go:1199 +0x300
main.main()
    _testmain.go:172 +0x348

goroutine 84 [chan receive]:
testing.(*T).Run(0xc000338900, 0xa809d1, 0xc, 0xc000306e40, 0x4866a9)
    /usr/lib/go/src/testing/testing.go:1043 +0x699
github.com/getantibody/antibody/project.TestUpdateHome(0xc000338900)
    /home/svlad/.cache/yay/antibody/src/antibody-6.0.1/project/project_test.go:51 +0x1ad
testing.tRunner(0xc000338900, 0xa9ba10)
    /usr/lib/go/src/testing/testing.go:991 +0x1ec
created by testing.(*T).Run
    /usr/lib/go/src/testing/testing.go:1042 +0x661

goroutine 85 [syscall]:
syscall.Syscall6(0xf7, 0x1, 0x548b, 0xc0000b5928, 0x1000004, 0x0, 0x0, 0x63a23e, 0xc0000b5b08, 0x63a28f)
    /usr/lib/go/src/syscall/asm_linux_amd64.s:41 +0x5
os.(*Process).blockUntilWaitable(0xc000326750, 0xc000341600, 0xc000318178, 0x0)
    /usr/lib/go/src/os/wait_waitid.go:31 +0xbf
os.(*Process).wait(0xc000326750, 0xc00030cbb0, 0x42cfc0, 0xc00030cba0)
    /usr/lib/go/src/os/exec_unix.go:22 +0x6e
os.(*Process).Wait(...)
    /usr/lib/go/src/os/exec.go:125
os/exec.(*Cmd).Wait(0xc00030cb00, 0x0, 0x0)
    /usr/lib/go/src/os/exec/exec.go:507 +0xf3
os/exec.(*Cmd).Run(0xc00030cb00, 0x28, 0x8)
    /usr/lib/go/src/os/exec/exec.go:341 +0x87
os/exec.(*Cmd).CombinedOutput(0xc00030cb00, 0x3, 0xc000202d10, 0x8, 0x8, 0xc00030cb00)
    /usr/lib/go/src/os/exec/exec.go:567 +0x261
github.com/getantibody/antibody/project.gitProject.Download(0xc000314c40, 0x1f, 0xa7e9a7, 0x6, 0xc000321020, 0x54, 0x0, 0x0, 0x0, 0x0)
    /home/svlad/.cache/yay/antibody/src/antibody-6.0.1/project/git.go:103 +0x410
github.com/getantibody/antibody/project.TestUpdateHome.func1(0xc000338a20)
    /home/svlad/.cache/yay/antibody/src/antibody-6.0.1/project/project_test.go:54 +0xd2
testing.tRunner(0xc000338a20, 0xc000306e40)
    /usr/lib/go/src/testing/testing.go:991 +0x1ec
created by testing.(*T).Run
    /usr/lib/go/src/testing/testing.go:1042 +0x661

goroutine 86 [IO wait]:
internal/poll.runtime_pollWait(0x7f4bcc7baec8, 0x72, 0xb293a0)
    /usr/lib/go/src/runtime/netpoll.go:203 +0x55
internal/poll.(*pollDesc).wait(0xc00031af78, 0x72, 0x501, 0x599, 0xffffffffffffffff)
    /usr/lib/go/src/internal/poll/fd_poll_runtime.go:87 +0xe4
internal/poll.(*pollDesc).waitRead(...)
    /usr/lib/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00031af60, 0xc0002a6c67, 0x599, 0x599, 0x0, 0x0, 0x0)
    /usr/lib/go/src/internal/poll/fd_unix.go:169 +0x253
os.(*File).read(...)
    /usr/lib/go/src/os/file_unix.go:263
os.(*File).Read(0xc000318170, 0xc0002a6c67, 0x599, 0x599, 0x67, 0x0, 0x0)
    /usr/lib/go/src/os/file.go:116 +0xa7
bytes.(*Buffer).ReadFrom(0xc000306fc0, 0xb28960, 0xc000318170, 0x7f4bcc74a028, 0xc000306fc0, 0xc000253f01)
    /usr/lib/go/src/bytes/buffer.go:204 +0x159
io.copyBuffer(0xb283e0, 0xc000306fc0, 0xb28960, 0xc000318170, 0x0, 0x0, 0x0, 0xc000253f90, 0x432cd5, 0xc000229680)
    /usr/lib/go/src/io/io.go:391 +0x3fb
io.Copy(...)
    /usr/lib/go/src/io/io.go:364
os/exec.(*Cmd).writerDescriptor.func1(0x496d71, 0x0)
    /usr/lib/go/src/os/exec/exec.go:311 +0x7b
os/exec.(*Cmd).Start.func1(0xc00030cb00, 0xc0003046e0)
    /usr/lib/go/src/os/exec/exec.go:441 +0x35
created by os/exec.(*Cmd).Start
    /usr/lib/go/src/os/exec/exec.go:440 +0xa9e
FAIL    github.com/getantibody/antibody/project 120.023s
=== RUN   TestGeneratesInit
--- PASS: TestGeneratesInit (0.00s)
PASS
coverage: 3.7% of statements in ./...
ok      github.com/getantibody/antibody/shell   0.031s  coverage: 3.7% of statements in ./...
FAIL
make: *** [Makefile:17: test] Error 1
==> ERROR: A failure occurred in check().
Aborting...
Error making: antibody

pablo1 commented on 2020-04-15 23:32 (UTC)

Latest update fails to build:

✱ yay antibody
2 aur/antibody-bin 4.3.1-1 (+6 0.75%)
    Antibody is a shell plugin manager made from the ground up thinking about performance
1 aur/antibody 6.0.1-1 (+16 1.38%) (Installed: 5.0.1-1)
    A shell plugin manager.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  antibody-6.0.1-1

  1 antibody                         (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: PKGBUILD up to date, Skipping (1/1): antibody
  1 antibody                         (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: Parsing SRCINFO (1/1): antibody
==> Making package: antibody 6.0.1-1 (2020-04-14T01:22:33 CEST)
==> Retrieving sources...
  -> Found v6.0.1.tar.gz
==> Validating source files with sha256sums...
    v6.0.1.tar.gz ... Passed
==> Making package: antibody 6.0.1-1 (2020-04-14T01:22:36 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v6.0.1.tar.gz
==> Validating source files with sha256sums...
    v6.0.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v6.0.1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: antibody 6.0.1-1 (2020-04-14T01:22:43 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> Starting check()...
go test -v -failfast -race -coverpkg=./... -covermode=atomic -coverprofile=coverage.txt ./... -run . -timeout=2m
?       github.com/getantibody/antibody [no test files]
==325642==ERROR: ThreadSanitizer failed to allocate 0x2809000 (41979904) bytes at address 17899048ec000 (errno: 12)
FAIL    github.com/getantibody/antibody/antibodylib 0.026s
==325648==ERROR: ThreadSanitizer failed to allocate 0x2809000 (41979904) bytes at address 1757ee6a64000 (errno: 12)
FAIL    github.com/getantibody/antibody/bundle  0.022s
==325651==ERROR: ThreadSanitizer failed to allocate 0x2809000 (41979904) bytes at address 1775aa74b0000 (errno: 12)
FAIL    github.com/getantibody/antibody/project 0.004s
==325652==ERROR: ThreadSanitizer failed to allocate 0x2809000 (41979904) bytes at address 175da99144000 (errno: 12)
FAIL    github.com/getantibody/antibody/shell   0.005s
FAIL
make: *** [Makefile:17: test] Error 1
==> ERROR: A failure occurred in check().
    Aborting...
Error making: antibody

shastry commented on 2020-02-24 03:57 (UTC)

This fails (SIGSEGV) to build with go-pie. Had to switch to go.

bryn commented on 2019-03-19 17:13 (UTC)

For everyone else, if you get a huge list of lines like this when trying to do a clean build:

rm: cannot remove 'antibody/src/.go/pkg/mod/github.com/alecthomas/kingpin@v0.0.0-20180312062423-a39589180ebd/flags_test.go': Permission denied

For some reason the old PKGBUILD was a bit buggy and so those files don't have write permissions. you can go to the build directory and remove src/ manually:

chmod -R u+w src/ && rm -r src/

sorry!

jshap commented on 2019-03-19 16:13 (UTC) (edited on 2019-03-19 16:59 (UTC) by jshap)

you need to add src/ to your .gitignore because you just push all of your godeps

edit: actually nvm, seems that it was weird and is fixed now in the new version. Thanks byrn :)

pablo1 commented on 2018-11-29 21:23 (UTC)

Please add git as dependency

pablo1 commented on 2018-11-29 21:20 (UTC)

Please add the arm7 architecture, or 'any'. It seems to be possible, as this package https://aur.archlinux.org/packages/antibody-bin/ does.

I want to use this on a raspberry pi 3b

JulianXhokaxhiu commented on 2018-10-05 19:35 (UTC)

For whoever is interested I created an AUR package based on official binary releases. See https://aur.archlinux.org/packages/antibody-bin/