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) - jq-git

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

Package Details: jq-git 1.5rc1.115.g4a316fb-1

Git Clone URL: https://aur-dev.archlinux.org/jq-git.git (read-only)
Package Base: jq-git
Description: Command-line JSON processor
Upstream URL: http://stedolan.github.io/jq/
Licenses: custom
Conflicts: jq
Submitter: alexchamberlain
Maintainer: jahiy
Last Packager: jahiy
Votes: 8
Popularity: 0.474524
First Submitted: 2012-10-22 21:03
Last Updated: 2015-06-22 06:17

Latest Comments

Alad commented on 2016-09-18 01:53

Would you mind adding jq to provides?

eigengrau commented on 2016-04-20 16:34

The man page doesn’t seem to build correcly. For me, «man jq» yields:

> # To unbundle, run this file echo exec sed ’s/.//’ >exec
> <<’//GO.SYSIN DD exec’ //GO.SYSIN DD exec echo rake sed ’s/.//’
> >rake <<’//GO.SYSIN DD rake’ //GO.SYSIN DD rake echo manpage sed
> ’s/.//’ >manpage <<’//GO.SYSIN DD manpage’ //GO.SYSIN DD manpage

mSSM commented on 2015-05-22 15:53

When building, the linker can't seem to find the oniguruma library, even though it's installed:
/usr/bin/ld: cannot find -lonig
./.libs/libjq.a(util.o): In function `get_home':
util.c:(.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: error: ld returned 1 exit status
Makefile:825: recipe for target 'jq' failed
make[1]: *** [jq] Error 1

Any ideas what might be going on there? It's definitely in my /usr/lib:
% ldconfig -p | grep onig
libonig.so.2 (libc6,x86-64) => /usr/lib/libonig.so.2
libonig.so (libc6,x86-64) => /usr/lib/libonig.so

beatgammit commented on 2015-02-27 18:12

As @lilydjwg mentioned, please move oniguruma from makedepends to depends since it's needed to run.

lilydjwg commented on 2014-09-23 08:07

Please use git describe --tags as tag jq-1.4 is a lightweight tag being ignored currently. See http://stackoverflow.com/a/4154518/296473

lilydjwg commented on 2014-09-23 07:51

oniguruma is required to run.

nico commented on 2014-06-12 22:47

FYI, jq 1.4 has been released.

jahiy commented on 2013-09-19 07:27

My PKGBUILD works well.

Please update it!


swdunlop commented on 2013-05-28 17:16

Package out of date, "jq" has moved to using autoconf/automake; the following gist will build:


Alternately, comment out the patch in the build hook, and insert:

automake --add-missing
./configure --prefix=/usr

ankz commented on 2012-11-13 04:11

I humbly suggest changing line 37 replacing "../../$name-git.patch" with "$srcdir/$name-git.patch" to make it work with non-standard srcdir. Thank you.