Package Details: pacutils-git 0.5.0-1

Git Clone URL: https://aur.archlinux.org/pacutils-git.git (read-only, click to copy)
Package Base: pacutils-git
Description: alpm front-end tools
Upstream URL: https://github.com/andrewgregory/pacutils
Licenses: MIT
Conflicts: pacutils
Provides: pacutils=0.5.0
Submitter: apg
Maintainer: apg
Last Packager: apg
Votes: 5
Popularity: 0.000000
First Submitted: 2014-12-20 21:16
Last Updated: 2017-05-03 21:58

Dependencies (2)

Required by (8)

Sources (4)

Latest Comments

SamLukeYes commented on 2021-01-13 17:52

Failed to build against pacman-git:

==> Starting build()...
make -C lib all
make[1]: Entering directory '/var/tmp/pamac-build-yes/pacutils-git/src/pacutils-git/lib'
cc -D_FORTIFY_SOURCE=2 -DCACHEDIR=\"/var/cache/pacman/pkg\" -DDBEXT=\".db\" -DDBPATH=\"/var/lib/pacman\" -DGPGDIR=\"/etc/pacman.d/gnupg\" -DHOOKDIR=\"/etc/pacman.d/hooks\" -DLOCALSTATEDIR=\"/var\" -DLOGFILE=\"/var/log/pacman.log\" -DROOTDIR=\"/\" -DSYSCONFDIR=\"/etc\" -DGITVER=\"13-gb3cbcbf\" -shared -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt  -o libpacutils.so ../ext/globdir.c/globdir.c ../ext/mini.c/mini.c pacutils.c pacutils/config.c pacutils/depends.c pacutils/log.c pacutils/mtree.c pacutils/ui.c pacutils/util.c -lalpm -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
pacutils.c: In function 'pu_find_pkgspec':
pacutils.c:87:42: warning: passing argument 2 of 'alpm_fetch_pkgurl' from incompatible pointer type [-Wincompatible-pointer-types]
   87 |   char *path = alpm_fetch_pkgurl(handle, pkgspec);
      |                                          ^~~~~~~
      |                                          |
      |                                          const char *
In file included from pacutils.h:33,
                 from pacutils.c:27:
/usr/include/alpm.h:2251:65: note: expected 'const alpm_list_t *' but argument is of type 'const char *'
 2251 | int alpm_fetch_pkgurl(alpm_handle_t *handle, const alpm_list_t *urls,
      |                                              ~~~~~~~~~~~~~~~~~~~^~~~
pacutils.c:87:16: error: too few arguments to function 'alpm_fetch_pkgurl'
   87 |   char *path = alpm_fetch_pkgurl(handle, pkgspec);
      |                ^~~~~~~~~~~~~~~~~
In file included from pacutils.h:33,
                 from pacutils.c:27:
/usr/include/alpm.h:2251:5: note: declared here
 2251 | int alpm_fetch_pkgurl(alpm_handle_t *handle, const alpm_list_t *urls,
      |     ^~~~~~~~~~~~~~~~~
pacutils/ui.c: In function 'pu_ui_cb_event':
pacutils/ui.c:184:10: error: 'ALPM_EVENT_RETRIEVE_START' undeclared (first use in this function); did you mean 'ALPM_EVENT_DB_RETRIEVE_START'?
  184 |     case ALPM_EVENT_RETRIEVE_START:
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
      |          ALPM_EVENT_DB_RETRIEVE_START
pacutils/ui.c:184:10: note: each undeclared identifier is reported only once for each function it appears in
pacutils/ui.c:215:10: error: 'ALPM_EVENT_PKGDOWNLOAD_DONE' undeclared (first use in this function); did you mean 'ALPM_EVENT_KEY_DOWNLOAD_DONE'?
  215 |     case ALPM_EVENT_PKGDOWNLOAD_DONE:
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          ALPM_EVENT_KEY_DOWNLOAD_DONE
pacutils/ui.c:216:10: error: 'ALPM_EVENT_PKGDOWNLOAD_FAILED' undeclared (first use in this function); did you mean 'ALPM_EVENT_KEY_DOWNLOAD_DONE'?
  216 |     case ALPM_EVENT_PKGDOWNLOAD_FAILED:
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          ALPM_EVENT_KEY_DOWNLOAD_DONE
pacutils/ui.c:217:10: error: 'ALPM_EVENT_PKGDOWNLOAD_START' undeclared (first use in this function); did you mean 'ALPM_EVENT_KEY_DOWNLOAD_START'?
  217 |     case ALPM_EVENT_PKGDOWNLOAD_START:
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          ALPM_EVENT_KEY_DOWNLOAD_START
pacutils/ui.c:219:10: error: 'ALPM_EVENT_RETRIEVE_DONE' undeclared (first use in this function); did you mean 'ALPM_EVENT_DB_RETRIEVE_DONE'?
  219 |     case ALPM_EVENT_RETRIEVE_DONE:
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
      |          ALPM_EVENT_DB_RETRIEVE_DONE
pacutils/ui.c:220:10: error: 'ALPM_EVENT_RETRIEVE_FAILED' undeclared (first use in this function); did you mean 'ALPM_EVENT_DB_RETRIEVE_FAILED'?
  220 |     case ALPM_EVENT_RETRIEVE_FAILED:
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |          ALPM_EVENT_DB_RETRIEVE_FAILED
make[1]: *** [Makefile:69: libpacutils.so] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-yes/pacutils-git/src/pacutils-git/lib'
make: *** [Makefile:4: lib] Error 2
==> ERROR: A failure occurred in build().
    Aborting...