archlinuxfr / package-query

Query alpm database and AUR
69 stars 17 forks source link

alpm_sync_newversion replaced with alpm_sync_get_new_version #143

Closed EndlessEden closed 5 years ago

EndlessEden commented 5 years ago

upstream, libalpm was changed recently to replace alpm_sync_newversion with alpm_sync_get_new_version. Changing the functionality of it as well.

see commit: e9d91a688d1a2ebe58e8a895853debf745a529cf

vanbreukelingen commented 5 years ago

build your own: worked for me: https://ftp.sjtu.edu.cn/sites/ftp.archlinux.org/other/pacman/

fabmazz commented 5 years ago

trying to build "package-query-git" from AUR, the following error occurs: /usr/bin/ld: alpm-query.o: in function 'filter': alpm-query.c:(.text+0x895): undefined reference to 'alpm_sync_newversion' I guess this is due to the library change

f2404 commented 5 years ago

Fixed by https://github.com/archlinuxfr/package-query/commit/ab3f6a151d1dac8788cacbfbd708e7f2600fdf5b

vanbreukelingen commented 5 years ago

not fixed -same output - and with the built I can't use AUR.

f2404 commented 5 years ago

The "package-query-git" AUR package works for me. I will update the "package-query" package later today.

f2404 commented 5 years ago

The "package-query" AUR package has been updated for release 1.10.