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: 1161
Popularity: 1.57
First Submitted: 2010-03-24 23:18
Last Updated: 2021-06-02 15:03

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

atkrad commented on 2021-06-01 11:22

I have an issue with version 1.11 when build it:

alpm-query.c: In function ‘init_alpm’:
alpm-query.c:74:9: warning: implicit declaration of function ‘alpm_option_set_arch’; did you mean ‘alpm_option_set_dlcb’? [-Wimplicit-function-declaration]
   74 |         alpm_option_set_arch (handle, config.arch);
      |         ^~~~~~~~~~~~~~~~~~~~
      |         alpm_option_set_dlcb
alpm-query.c: In function ‘parse_config_server’:
alpm-query.c:96:28: warning: implicit declaration of function ‘alpm_option_get_arch’; did you mean ‘alpm_option_get_dlcb’? [-Wimplicit-function-declaration]
   96 |         const char *arch = alpm_option_get_arch (config.handle);
      |                            ^~~~~~~~~~~~~~~~~~~~
      |                            alpm_option_get_dlcb
alpm-query.c:96:28: warning: initialization of ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
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 '/tmp/package-query/src/package-query-1.11/src'
make[1]: *** [Makefile:409: all-recursive] Error 1
make[1]: Leaving directory '/tmp/package-query/src/package-query-1.11'
make: *** [Makefile:341: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

piussj2 commented on 2021-06-01 09:13

@maderios no, its not. See:

[piu@sayumin package-query]$ makepkg --force --cleanbuild --skippgpcheck --skipchecksums -is --clean ==> Criando o pacote: package-query 1.11-1 (ter 01 jun 2021 06:12:14) ==> Verificando as dependências de tempo de execução... ==> Verificando as dependências de tempo de compilação... ==> Obtendo fontes... -> Baixando package-query-1.11.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 631 100 631 0 0 1352 0 --:--:-- --:--:-- --:--:-- 1351 100 390k 100 390k 0 0 624k 0 --:--:-- --:--:-- --:--:-- 624k ==> ATENÇÃO: Ignorando todas verificações de integridade de arquivo fonte. ==> Removendo diretório $srcdir/ existente... ==> Extraindo fontes... -> Extraindo package-query-1.11.tar.gz com bsdtar ==> Iniciando build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for alpm_version in -lalpm... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for alpm... yes checking for yajl_free in -lyajl... yes checking for gawk... (cached) gawk checking for curl-config... /usr/bin/curl-config checking for the version of libcurl... 7.77.0 checking for libcurl >= version 7.19.4... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for git... git checking for .git/... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands

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=x86-64 -mtune=generic -O2 -pipe -fno-plt

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

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

make all-recursive make[1]: Entrando no diretório '/mnt/hdb1/Doc/compile-2021/outros/package-query/package-query/src/package-query-1.11'

Making all in src make[2]: Entrando no diretório '/mnt/hdb1/Doc/compile-2021/outros/package-query/package-query/src/package-query-1.11/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.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -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.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.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.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.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.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.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.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c alpm-query.c: In function ‘init_alpm’: alpm-query.c:74:9: warning: implicit declaration of function ‘alpm_option_set_arch’; did you mean ‘alpm_option_set_dlcb’? [-Wimplicit-function-declaration] 74 | alpm_option_set_arch (handle, config.arch); | ^~~~~~~~~~~~~~~~~~~~ | alpm_option_set_dlcb alpm-query.c: In function ‘parse_config_server’: alpm-query.c:96:28: warning: implicit declaration of function ‘alpm_option_get_arch’; did you mean ‘alpm_option_get_dlcb’? [-Wimplicit-function-declaration] 96 | const char arch = alpm_option_get_arch (config.handle); | ^~~~~~~~~~~~~~~~~~~~ | alpm_option_get_dlcb alpm-query.c:96:28: warning: initialization of ‘const char ’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 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] Erro 1 make[2]: Esperando que outros processos terminem. mv -f .deps/color.Tpo .deps/color.Po In function ‘init_config’, inlined from ‘main’ at package-query.c:197:2: package-query.c:79:29: warning: ‘strndup’ specified bound 4096 exceeds source size 17 [-Wstringop-overread] 79 | config.configfile = strndup (CONFFILE, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/package-query.Tpo .deps/package-query.Po mv -f .deps/aur.Tpo .deps/aur.Po mv -f .deps/util.Tpo .deps/util.Po make[2]: Saindo do diretório '/mnt/hdb1/Doc/compile-2021/outros/package-query/package-query/src/package-query-1.11/src'

make[1]: *** [Makefile:409: all-recursive] Erro 1 make[1]: Saindo do diretório '/mnt/hdb1/Doc/compile-2021/outros/package-query/package-query/src/package-query-1.11'

make: *** [Makefile:341: all] Erro 2 ==> ERRO: Uma falha ocorreu em build(). Abortando... [piu@sayumin package-query]$

thaewrapt commented on 2021-06-01 09:12

@maderios pacman -Syu and it won't.

Upstream issue is already reported: https://github.com/archlinuxfr/package-query/issues/149

maderios commented on 2021-06-01 09:01

makepkg -sicC
No issue for package-query, it builds fine

MikePooh commented on 2021-06-01 08:02

Same issue. Please fix.

semeion commented on 2021-06-01 04:38

fix please

piussj2 commented on 2021-06-01 03:13

I get this error when tried recompilation:

alpm-query.c: In function ‘init_alpm’: alpm-query.c:74:9: warning: implicit declaration of function ‘alpm_option_set_arch’; did you mean ‘alpm_option_set_dlcb’? [-Wimplicit-function-declaration] 74 | alpm_option_set_arch (handle, config.arch); | ^~~~~~~~~~~~~~~~~~~~ | alpm_option_set_dlcb alpm-query.c: In function ‘parse_config_server’: alpm-query.c:96:28: warning: implicit declaration of function ‘alpm_option_get_arch’; did you mean ‘alpm_option_get_dlcb’? [-Wimplicit-function-declaration] 96 | const char arch = alpm_option_get_arch (config.handle); | ^~~~~~~~~~~~~~~~~~~~ | alpm_option_get_dlcb alpm-query.c:96:28: warning: initialization of ‘const char ’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 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] Erro 1 make[2]: Saindo do diretório '/home/piu/package-query/src/package-query-1.11/src'

make[1]: *** [Makefile:409: all-recursive] Erro 1 make[1]: Saindo do diretório '/home/piu/package-query/src/package-query-1.11'

make: *** [Makefile:341: all] Erro 2 ==> ERRO: Uma falha ocorreu em build().

erickwill commented on 2021-05-31 19:28

@maderios

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

erickwill commented on 2021-05-31 19:26

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

maderios commented on 2021-05-31 19:19

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