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: matthewq337 (Skunnyk, f2404)
Last Packager: Skunnyk
Votes: 1143
Popularity: 0.008883
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 .. 51 Next › Last »

erickwill commented on 2021-05-31 19:28 (UTC)

@maderios

The error occurred when I recompile package-query, not yaourt.

erickwill commented on 2021-05-31 19:26 (UTC)

@bidulock Thanks for the heads up, it did trigger this issue only today after an update.

maderios commented on 2021-05-31 19:19 (UTC)

@erickwill Yaourt is obsolete and doesn't exist no more. You may replace it with Trizen.

bidulock commented on 2021-05-31 18:53 (UTC)

@erickwill is an upstream issue: https://github.com/archlinuxfr/package-query/issues/147

erickwill commented on 2021-05-31 17:34 (UTC)

After the latest updates I start to find problems using YAOURT:

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

Trying to recompile PACKAGE-QUERY led me to this:

alpm-query.c: In function ‘search_pkg’:
alpm-query.c:397:29: error: too few arguments to function ‘alpm_db_search’

397 | alpm_list_t *pkgs = alpm_db_search (db, targets); | ^~~~~~~~~~~~~~

In file included from util.h:23,
             from alpm-query.c:28:
/usr/include/alpm.h:1413:5: note: declared here

1413 | int alpm_db_search(alpm_db_t db, const alpm_list_t needles, | ^~~~~~~~~~~~~~

make[2]: *** [Makefile:429: alpm-query.o] Error 1
make[2]: Leaving directory '/home/erick/Downloads/package-query/src/package-query-1.11/src'
make[1]: *** [Makefile:409: all-recursive] Error 1
make[1]: Leaving directory '/home/erick/Downloads/package-query/src/package-query-1.11'
make: *** [Makefile:341: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Any workaround?

f2404 commented on 2021-04-03 16:59 (UTC)

@keren_sky Are you using alpha version of pacman? package-query builds fine against the latest stable release which is 5.2.2.

keren_sky commented on 2021-04-01 11:28 (UTC)

I wasn't able to get this to compile? alpm-query.c: In function 'search_pkg': alpm-query.c:397:22: error: too few arguments to function 'alpm_db_search' 397 | alpm_list_t pkgs = alpm_db_search (db, targets); | ^~~~~~~~~~~~~~ In file included from util.h:23, from alpm-query.c:28: /usr/include/alpm.h:1111:5: note: declared here 1111 | int alpm_db_search(alpm_db_t db, const alpm_list_t needles, | ^~~~~~~~~~~~~~ make[2]: ** [Makefile:429: alpm-query.o] Error 1

fvdb06 commented on 2020-05-23 18:55 (UTC)

==> Sources are ready. ==> Making package: package-query 1.11-1 (Sat 23 May 2020 08:50:58 PM CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting build()... /home/${USER}/.cache/yay/package-query/PKGBUILD: line 15: ./configure: Permission denied ==> ERROR: A failure occurred in build(). Aborting... Error making: package-query

f2404 commented on 2020-05-15 17:03 (UTC)

@enihcam Fixed, thanks!

enihcam commented on 2020-05-15 02:07 (UTC)

Does not compile with GCC 10.1

package-query:

Build information: source code location : . prefix : /usr sysconfdir : /etc conf file : /etc/pacman.conf localstatedir : /var database dir : /var/lib/pacman/ compiler : gcc compiler flags : -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt

package-query version  : 1.10
using git version      : no
   git ver             :

Variable information: root working directory : / aur base url : https://aur.archlinux.org

make all-recursive make[1]: Entering directory '/mnt/resource/makepkg/package-query/src/package-query-1.10' Making all in src make[2]: Entering directory '/mnt/resource/makepkg/package-query/src/package-query-1.10/src' gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c mv -f .deps/aur.Tpo .deps/aur.Po gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c mv -f .deps/color.Tpo .deps/color.Po gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"https://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c mv -f .deps/util.Tpo .deps/util.Po mv -f .deps/package-query.Tpo .deps/package-query.Po /bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -lcurl -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm libtool: link: gcc -D_GNU_SOURCE -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -march=native -mfpmath=sse -minline-stringops-dynamically -O2 -pipe -ftree-vectorize -ftree-slp-vectorize -fpch-preprocess -flto -fno-plt -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o package-query aur.o alpm-query.o util.o color.o package-query.o -lcurl -lyajl -lalpm /usr/bin/ld: alpm-query.o (symbol from plugin): in function alpm_grp_get_str': (.text+0x0): multiple definition ofconfig'; aur.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: util.o (symbol from plugin): in function config': (.text+0x0): multiple definition ofconfig'; aur.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: color.o (symbol from plugin): in function color_init': (.text+0x0): multiple definition ofconfig'; aur.o (symbol from plugin):(.text+0x0): first defined here /usr/bin/ld: package-query.o (symbol from plugin): in function config': (.text+0x0): multiple definition ofconfig'; aur.o (symbol from plugin):(.text+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: [Makefile:408: package-query] Error 1 make[2]: Leaving directory '/mnt/resource/makepkg/package-query/src/package-query-1.10/src' make[1]: [Makefile:407: all-recursive] Error 1 make[1]: Leaving directory '/mnt/resource/makepkg/package-query/src/package-query-1.10' make: *** [Makefile:339: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build package-query.