Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - the_platinum_searcher

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: the_platinum_searcher 2.1.4-1

Git Clone URL: https://aur-dev.archlinux.org/the_platinum_searcher.git (read-only)
Package Base: the_platinum_searcher
Description: A code search tool similar to ack and the_silver_searcher(ag)
Upstream URL: https://github.com/monochromegane/the_platinum_searcher
Keywords: ack ag pt
Licenses: MIT
Provides: pt, the_platinum_searcher
Submitter: atweiden
Maintainer: vially
Last Packager: vially
Votes: 19
Popularity: 0.052250
First Submitted: 2014-09-01 04:21
Last Updated: 2016-09-07 14:32

Latest Comments

1 2 Next › Last »

mlelansky commented on 2016-11-05 13:17

The package can not build with pacaur.

The message is that pacaur can not move the directory '.cache/pacaur/the_platinum_searcher/src/the_platinum_searcher' to '.cache/pacaur/the_platinum_searcher/src/src/github.com/monochromegane/the_platinum_searcher'

because the directory is not empty.

The same error cames when i delete the hole pacaur cache.

rvega commented on 2016-08-23 12:13

The /usr/bin/pt filename is already used by the tcllib package [1]. Maybe the pt file in this package should be renamed to something like pt-grep ?

[1]: https://www.archlinux.org/packages/community/any/tcllib/files/

spicey commented on 2016-01-05 12:05

2.0.3 is out, fixes --ignore "*.txt" not working

spicey commented on 2015-12-20 14:25

2.0.2 is out.

vially commented on 2015-10-31 14:16

I've updated the package to version 1.7.9 and fixed the GOPATH issue with the fix suggested by pancho.

Thanks!

pancho commented on 2015-10-08 05:48

I've managed to fix it by changing:

GOPATH="$GOPATH:$srcdir"

into:

GOPATH="$GOPATH${GOPATH+:}$srcdir"

The ${GOPATH+:} construct will evaluate to : only if the var GOPATH is defined.
This way you get a proper colon-delimited list of paths whether GOPATH is defined or not, keeping both camps happy.

xamfoo commented on 2015-09-18 09:39

Works for me after removing $GOPATH from check()

check() {
GOPATH="$srcdir" go test -v -x github.com/monochromegane/the_platinum_searcher/
}

seagull commented on 2015-09-01 20:04

Same for me as for vasyabelkin:
... the build failed with `GOPATH entry is relative; must be absolute path: ""`, until I changed in check() from `GOPATH="$GOPATH:$srcdir"` to `GOPATH="$srcdir"`, as $GOPATH isn't defined on my machine

vasyabelkin commented on 2015-08-27 19:51

For me the build failed with `GOPATH entry is relative; must be absolute path: ""`, until I changed in check() from `GOPATH="$GOPATH:$srcdir"` to `GOPATH="$srcdir"`, as $GOPATH isn't defined on my machine

bchretien commented on 2014-10-20 12:11

@vially: +1, there seems to be no need for those.