Package Details: package-query 1.12-1

Git Clone URL: https://aur.archlinux.org/package-query.git (read-only, click to copy)
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: Skunnyk
Votes: 1149
Popularity: 0.68
First Submitted: 2010-03-24 23:18 (UTC)
Last Updated: 2021-06-02 15:03 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 50 Next › Last »

setone commented on 2019-10-23 15:17 (UTC) (edited on 2019-10-23 15:23 (UTC) by setone)

@erickwill Check your versions of /usr/include/alpm.h and /usr/lib/libalpm.so. It sounds like you haven't updated pacman to version 5.2.0-2.

erickwill commented on 2019-10-23 11:59 (UTC)

@Funkin-Stoopid Got this:

/usr/bin/ld: alpm-query.o: in function filter': alpm-query.c:(.text+0x837): undefined reference toalpm_sync_get_new_version' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:405: package-query] Error 1

Funkin-Stoopid commented on 2019-10-23 10:25 (UTC) (edited on 2019-10-23 10:29 (UTC) by Funkin-Stoopid)

Add this line in first into build function of the PKGBUILD: sed -i 's/alpm_sync_newversion/alpm_sync_get_new_version/g' "$srcdir/$pkgname-$pkgver"/src/alpm-query.c

peterangelov commented on 2019-10-23 08:38 (UTC)

in file package-query-1.9/src/alpm-query.c

change line 256 to: if ((_filter & F_UPGRADES) && !alpm_sync_get_new_version (pkg, alpm_get_syncdbs(config.handle)))

erickwill commented on 2019-10-22 15:31 (UTC)

@f2404 Thanks bro!

f2404 commented on 2019-10-22 13:51 (UTC)

@erickwill Please see https://github.com/archlinuxfr/package-query/pull/141 I will try to address this later today when I get home.

erickwill commented on 2019-10-22 13:47 (UTC)

Anyone facing problems while building package-query now days? I got this while trying:

/usr/bin/ld: alpm-query.o: in function `filter':
alpm-query.c:(.text+0x837): undefined reference to `alpm_sync_newversion'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:405: package-query] Error 1

Also, when trying to use yaourt I got something related to 'alpm'..

package-query: error while loading shared libraries: libalpm.so.11: cannot open shared object file: No such file or directory

lafleur commented on 2018-06-27 14:32 (UTC) (edited on 2018-06-27 14:32 (UTC) by lafleur)

I followed damonh's solution, followed by a "make uninstall" into pkg-config-0.29.2 . Worked fine. Hope it resurected the kitten.