Package Details: package-query 1.9-2

Git Clone URL: https://aur.archlinux.org/package-query.git (read-only)
Package Base: package-query
Description: Query ALPM and AUR
Upstream URL: https://github.com/archlinuxfr/package-query/
Licenses: GPL
Submitter: tuxce
Maintainer: archlinuxfr (Skunnyk, f2404)
Last Packager: f2404
Votes: 1146
Popularity: 2.274467
First Submitted: 2010-03-24 23:18
Last Updated: 2017-07-20 02:06

Latest Comments

f2404 commented on 2018-02-26 19:38

@Fincer: 'pkg-config is part of the 'base-devel' group which is a prerequisite and shouldn't be an explicit dependency: https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites

Fincer commented on 2018-02-26 17:52

Please add 'pkg-config' into makedepends.

02m commented on 2018-02-17 12:53

I go the following error on WSL:

/bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -g -O2 -lcurl -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm libtool: error: cannot find the library '/usr/lib/libarchive.la' or unhandled argument '/usr/lib/libarchive.la'

I tried to install libarchive, but that did not help.

rafaelff commented on 2018-01-24 13:32

I'm able to reproduce it. It happens in package() function when executing install commands from Makefile. The PKGBUILD correctly quotes the spaces, so I assume the problem is in the source code tarball.

p.s.: It is a bad idea to have space in the AUR build path, as many PKGBUILDs don't quote $srcdir and "$pkgdir.

f2404 commented on 2018-01-24 13:22

@the_jarles Yeah, but is this a package-query or makepkg problem? Have you been able to install any other package from /home/johannes/Linux Program/ directory?

the_jarles commented on 2018-01-24 12:09

Had a problem where makepkg would fail because I had a directory with a space in its name. The script tried to run:

libtool: install: /usr/bin/install -c package-query /home/johannes/Linux Program/package-query/pkg/package-query/usr/bin/package-query

after which it would complain that 'Program/package-query/pkg/package-query/usr/bin/package-query' is not a directory, which is true.

As a workaround I simply renamed "Linux\ Program" to "Program" and makepkg would run without errors.

alumni commented on 2017-11-01 20:35

The last version of libarchive is missing the libtool archive file, so package-query will fail to build:

libtool: error: cannot find the library '/usr/lib/libarchive.la' or unhandled argument '/usr/lib/libarchive.la'

As a workaround, try installing an older version of libarchive (3.3.1-2 worked for me).

f2404 commented on 2017-08-18 13:57

@colatkinson I think so, and it seems that your case is similar to others having this problem.

colatkinson commented on 2017-08-18 13:52

I tried a similar thing to @ljw, and the package built! I guess I must have libcurl installed locally elsewhere on my PATH, and removing my custom entries fixed the problem? Not sure exactly, but at least it builds now!

ljw commented on 2017-08-17 19:28

I had the same issues with this package mentioned by @colatkinson.

I use the Anaconda python distribution, which has had some issues with its libcurl affecting abs builds.

To fix this issue, I use the following in my bashrc:

export NOANAPATH = $PATH
export PATH="/usr/lib/anaconda/bin:$PATH"

and can build this package (using pacaur) by removing anaconda from the path:

$> PATH=$NOANAPATH pacaur -Sau package-query

If you use anaconda and prepend it to the path by default (what they recommend), this will break some builds when the conda libraries supersede system libraries expected by some of the packages built in userspace python.

All comments