archlinuxfr / package-query

Query alpm database and AUR
69 stars 17 forks source link

same old story with the dead cat! #142

Closed vanbreukelingen closed 5 years ago

vanbreukelingen commented 5 years ago

Got the ceck but results in:

alpm-query.c: In function 'filter':
alpm-query.c:256:33: warning: implicit declaration of function 'alpm_sync_newversion'; did you mean 'alpm_sync_get_new_version'? [-Wimplicit-function-declaration]
  256 |  if ((_filter & F_UPGRADES) && !alpm_sync_newversion (pkg, alpm_get_syncdbs(config.handle)))
      |                                 ^~~~~~~~~~~~~~~~~~~~
      |                                 alpm_sync_get_new_version
mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -D_GNU_SOURCE -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -lcurl  -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=x86-64 -mtune=generic -O2 -pipe -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: in function `filter':
alpm-query.c:(.text+0x8d7): undefined reference to `alpm_sync_newversion'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:408: package-query] Error 1

with package-query-git and package-query still the same error.

f2404 commented 5 years ago

pacman 5.2.0 (well, libalpm, to be specific) has removed alpm_sync_newversion() and added a new function instead. But, it hasn't even been officially released yet, so I'm not sure who's the dead cat here.

vanbreukelingen commented 5 years ago

dpgk probably? just point at the neighbour is unfair - but acually, I just want this package-query function as soon as available for developer - and pkg with freeBSD is even better then pacman with all its yaourt, yay, trizen built system, I mean I use pacman now for 4 years and don't even know how to make a search from non AUR package without GUI, sda isn't it?