Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27101 - [packagekit] doesn't build
Attached to Project:
Community Packages
Opened by Andrea Scarpino (BaSh) - Saturday, 19 November 2011, 10:51 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 19 November 2011, 11:19 GMT
Opened by Andrea Scarpino (BaSh) - Saturday, 19 November 2011, 10:51 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 19 November 2011, 11:19 GMT
|
DetailsDescription:
CC libpk_backend_alpm_la-pk-backend-depends.lo In file included from pk-backend-depends.c:27:0: pk-backend-alpm.h:31:1: error: unknown type name 'alpm_handle_t' pk-backend-alpm.h:32:1: error: unknown type name 'alpm_db_t' In file included from pk-backend-depends.c:30:0: pk-backend-packages.h:27:28: error: unknown type name 'alpm_pkg_t' pk-backend-packages.h:29:42: error: unknown type name 'alpm_pkg_t' pk-backend-packages.h:32:1: error: unknown type name 'alpm_pkg_t' pk-backend-depends.c:32:1: error: unknown type name 'alpm_pkg_t' pk-backend-depends.c: In function 'pk_backend_find_provider': pk-backend-depends.c:53:2: error: unknown type name 'alpm_pkg_t' pk-backend-depends.c:72:2: warning: passing argument 1 of 'alpm_db_get_pkgcache' from incompatible pointer type [enabled by default] /usr/include/alpm.h:276:14: note: expected 'struct pmdb_t *' but argument is of type 'int *' pk-backend-depends.c:73:11: warning: assignment from incompatible pointer type [enabled by default] pk-backend-depends.c:77:4: warning: implicit declaration of function 'pk_backend_pkg' [-Wimplicit-function-declaration] pk-backend-depends.c:88:2: error: too many arguments to function 'alpm_option_get_syncdbs' /usr/include/alpm.h:225:14: note: declared here pk-backend-depends.c:89:2: warning: passing argument 1 of 'alpm_find_dbs_satisfier' from incompatible pointer type [enabled by default] /usr/include/alpm.h:809:10: note: expected 'struct alpm_list_t *' but argument is of type 'int *' pk-backend-depends.c:89:2: warning: passing argument 2 of 'alpm_find_dbs_satisfier' from incompatible pointer type [enabled by default] /usr/include/alpm.h:809:10: note: expected 'const char *' but argument is of type 'struct alpm_list_t *' pk-backend-depends.c:89:2: error: too many arguments to function 'alpm_find_dbs_satisfier' /usr/include/alpm.h:809:10: note: declared here pk-backend-depends.c:89:11: warning: assignment from incompatible pointer type [enabled by default] pk-backend-depends.c:100:14: error: 'ALPM_ERR_UNSATISFIED_DEPS' undeclared (first use in this function) pk-backend-depends.c:100:14: note: each undeclared identifier is reported only once for each function it appears in pk-backend-depends.c: In function 'pk_backend_find_requirer': pk-backend-depends.c:112:2: error: unknown type name 'alpm_pkg_t' pk-backend-depends.c:123:2: warning: passing argument 1 of 'alpm_db_get_pkg' from incompatible pointer type [enabled by default] /usr/include/alpm.h:270:10: note: expected 'struct pmdb_t *' but argument is of type 'int *' pk-backend-depends.c:123:11: warning: assignment from incompatible pointer type [enabled by default] pk-backend-depends.c:131:14: error: 'ALPM_ERR_PKG_NOT_FOUND' undeclared (first use in this function) pk-backend-depends.c: In function 'pk_backend_get_depends_thread': pk-backend-depends.c:154:3: error: unknown type name 'alpm_pkg_t' pk-backend-depends.c: In function 'pk_backend_get_requires_thread': pk-backend-depends.c:210:3: error: unknown type name 'alpm_pkg_t' In file included from pk-backend-databases.c:24:0: pk-backend-alpm.h:31:1: error: unknown type name 'alpm_handle_t' pk-backend-alpm.h:32:1: error: unknown type name 'alpm_db_t' In file included from pk-backend-databases.c:25:0: pk-backend-config.h:27:1: error: unknown type name 'alpm_handle_t' pk-backend-databases.c:33:2: error: unknown type name 'alpm_siglevel_t' pk-backend-databases.c: In function 'disabled_repos_configure': pk-backend-databases.c:142:2: error: too many arguments to function 'alpm_db_unregister_all' /usr/include/alpm.h:242:5: note: declared here pk-backend-databases.c:143:8: error: variable 'errno' has initializer but incomplete type pk-backend-databases.c:143:8: warning: implicit declaration of function 'alpm_errno' [-Wimplicit-function-declaration] pk-backend-databases.c:143:22: error: storage size of 'errno' isn't known pk-backend-databases.c:143:22: warning: unused variable 'errno' [-Wunused-variable] pk-backend-databases.c:151:3: error: unknown type name 'alpm_db_t' pk-backend-databases.c:158:3: warning: passing argument 1 of 'alpm_db_register_sync' from incompatible pointer type [enabled by default] /usr/include/alpm.h:231:9: note: expected 'const char *' but argument is of type 'int *' pk-backend-databases.c:158:3: error: too many arguments to function 'alpm_db_register_sync' /usr/include/alpm.h:231:9: note: declared here pk-backend-databases.c:158:6: warning: assignment from incompatible pointer type [enabled by default] pk-backend-databases.c:160:9: error: variable 'errno' has initializer but incomplete type pk-backend-databases.c:160:23: error: storage size of 'errno' isn't known pk-backend-databases.c:160:23: warning: unused variable 'errno' [-Wunused-variable] pk-backend-databases.c:166:3: warning: implicit declaration of function 'alpm_db_set_servers' [-Wimplicit-function-declaration] pk-backend-databases.c: In function 'pk_backend_configure_repos': pk-backend-databases.c:189:20: error: 'alpm_siglevel_t' undeclared (first use in this function) pk-backend-databases.c:189:20: note: each undeclared identifier is reported only once for each function it appears in pk-backend-databases.c:189:37: error: expected expression before ')' token pk-backend-databases.c:191:18: error: 'ALPM_SIG_USE_DEFAULT' undeclared (first use in this function) pk-backend-databases.c: In function 'pk_backend_get_repo_list_thread': pk-backend-databases.c:263:2: error: too many arguments to function 'alpm_option_get_syncdbs' /usr/include/alpm.h:225:14: note: declared here pk-backend-databases.c:264:3: error: unknown type name 'alpm_db_t' pk-backend-databases.c:264:20: error: 'alpm_db_t' undeclared (first use in this function) pk-backend-databases.c:264:31: error: expected expression before ')' token pk-backend-databases.c:265:3: warning: passing argument 1 of 'alpm_db_get_name' from incompatible pointer type [enabled by default] /usr/include/alpm.h:248:13: note: expected 'const struct pmdb_t *' but argument is of type 'int *' pk-backend-databases.c: In function 'pk_backend_repo_enable_thread': pk-backend-databases.c:319:14: error: 'ALPM_ERR_DB_NOT_NULL' undeclared (first use in this function) pk-backend-databases.c: In function 'pk_backend_repo_disable_thread': pk-backend-databases.c:349:2: error: too many arguments to function 'alpm_option_get_syncdbs' /usr/include/alpm.h:225:14: note: declared here pk-backend-databases.c:350:3: error: unknown type name 'alpm_db_t' pk-backend-databases.c:350:20: error: 'alpm_db_t' undeclared (first use in this function) pk-backend-databases.c:350:31: error: expected expression before ')' token pk-backend-databases.c:351:3: warning: passing argument 1 of 'alpm_db_get_name' from incompatible pointer type [enabled by default] /usr/include/alpm.h:248:13: note: expected 'const struct pmdb_t *' but argument is of type 'int *' pk-backend-databases.c:354:4: warning: passing argument 1 of 'alpm_db_unregister' from incompatible pointer type [enabled by default] /usr/include/alpm.h:237:5: note: expected 'struct pmdb_t *' but argument is of type 'int *' pk-backend-databases.c:355:10: error: variable 'errno' has initializer but incomplete type pk-backend-databases.c:355:24: error: storage size of 'errno' isn't known pk-backend-databases.c:355:24: warning: unused variable 'errno' [-Wunused-variable] pk-backend-databases.c:368:14: error: 'ALPM_ERR_DB_NULL' undeclared (first use in this function) make[3]: *** [libpk_backend_alpm_la-pk-backend-depends.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from pk-backend-alpm.c:28:0: pk-backend-alpm.h:31:1: error: unknown type name 'alpm_handle_t' pk-backend-alpm.h:32:1: error: unknown type name 'alpm_db_t' In file included from pk-backend-alpm.c:29:0: pk-backend-config.h:27:1: error: unknown type name 'alpm_handle_t' In file included from pk-backend-alpm.c:32:0: pk-backend-groups.h:32:35: error: unknown type name 'alpm_pkg_t' In file included from pk-backend-alpm.c:33:0: pk-backend-transaction.h:28:9: error: unknown type name 'alpm_transflag_t' pk-backend-alpm.c:39:1: error: unknown type name 'alpm_handle_t' pk-backend-alpm.c:40:1: error: unknown type name 'alpm_db_t' pk-backend-alpm.c:167:19: error: unknown type name 'alpm_loglevel_t' pk-backend-alpm.c: In function 'pk_backend_initialize_alpm': pk-backend-alpm.c:223:31: error: 'pk_backend_logcb' undeclared (first use in this function) pk-backend-alpm.c:223:31: note: each undeclared identifier is reported only once for each function it appears in pk-backend-alpm.c:223:2: warning: passing argument 1 of 'alpm_option_set_logcb' from incompatible pointer type [enabled by default] /usr/include/alpm.h:115:6: note: expected 'alpm_cb_log' but argument is of type 'int *' pk-backend-alpm.c:223:2: error: too many arguments to function 'alpm_option_set_logcb' /usr/include/alpm.h:115:6: note: declared here pk-backend-alpm.c:225:2: error: too many arguments to function 'alpm_option_get_localdb' /usr/include/alpm.h:218:9: note: declared here pk-backend-alpm.c:225:10: warning: assignment from incompatible pointer type [enabled by default] pk-backend-alpm.c:227:8: error: variable 'errno' has initializer but incomplete type pk-backend-alpm.c:227:8: warning: implicit declaration of function 'alpm_errno' [-Wimplicit-function-declaration] pk-backend-alpm.c:227:22: error: storage size of 'errno' isn't known pk-backend-alpm.c:227:22: warning: unused variable 'errno' [-Wunused-variable] pk-backend-alpm.c: In function 'pk_backend_destroy_alpm': pk-backend-alpm.c:241:3: error: too many arguments to function 'alpm_trans_get_flags' /usr/include/alpm.h:729:5: note: declared here pk-backend-alpm.c:242:4: error: too many arguments to function 'alpm_trans_release' /usr/include/alpm.h:774:5: note: declared here pk-backend-alpm.c:244:3: error: too many arguments to function 'alpm_release' /usr/include/alpm.h:66:5: note: declared here make[3]: *** [libpk_backend_alpm_la-pk-backend-databases.lo] Error 1 make[3]: *** [libpk_backend_alpm_la-pk-backend-alpm.lo] Error 1 In file included from pk-backend-config.c:29:0: pk-backend-alpm.h:31:1: error: unknown type name 'alpm_handle_t' pk-backend-alpm.h:32:1: error: unknown type name 'alpm_db_t' In file included from pk-backend-config.c:30:0: pk-backend-config.h:27:1: error: unknown type name 'alpm_handle_t' pk-backend-config.c: In function 'pk_backend_config_new': pk-backend-config.c:55:2: error: unknown type name 'alpm_siglevel_t' pk-backend-config.c:55:27: error: 'alpm_siglevel_t' undeclared (first use in this function) pk-backend-config.c:55:27: note: each undeclared identifier is reported only once for each function it appears in pk-backend-config.c:55:27: error: expected expression before ')' token pk-backend-config.c:55:27: error: '__n' undeclared (first use in this function) pk-backend-config.c:62:12: error: 'ALPM_SIG_PACKAGE' undeclared (first use in this function) pk-backend-config.c:62:31: error: 'ALPM_SIG_PACKAGE_OPTIONAL' undeclared (first use in this function) pk-backend-config.c:63:12: error: 'ALPM_SIG_DATABASE' undeclared (first use in this function) pk-backend-config.c:63:32: error: 'ALPM_SIG_DATABASE_OPTIONAL' undeclared (first use in this function) pk-backend-config.c: In function 'pk_backend_config_set_siglevel': pk-backend-config.c:502:2: error: unknown type name 'alpm_siglevel_t' pk-backend-config.c:511:36: error: 'alpm_siglevel_t' undeclared (first use in this function) pk-backend-config.c:529:16: error: 'ALPM_SIG_PACKAGE' undeclared (first use in this function) pk-backend-config.c:532:16: error: 'ALPM_SIG_DATABASE' undeclared (first use in this function) pk-backend-config.c:537:15: error: 'ALPM_SIG_PACKAGE_OPTIONAL' undeclared (first use in this function) pk-backend-config.c:541:15: error: 'ALPM_SIG_DATABASE_OPTIONAL' undeclared (first use in this function) pk-backend-config.c:554:16: error: 'ALPM_SIG_PACKAGE_MARGINAL_OK' undeclared (first use in this function) pk-backend-config.c:555:16: error: 'ALPM_SIG_PACKAGE_UNKNOWN_OK' undeclared (first use in this function) pk-backend-config.c:558:16: error: 'ALPM_SIG_DATABASE_MARGINAL_OK' undeclared (first use in this function) pk-backend-config.c:559:16: error: 'ALPM_SIG_DATABASE_UNKNOWN_OK' undeclared (first use in this function) pk-backend-config.c: At top level: pk-backend-config.c:745:1: error: unknown type name 'alpm_handle_t' pk-backend-config.c: In function 'pk_backend_config_initialize_alpm': pk-backend-config.c:748:2: error: unknown type name 'alpm_handle_t' pk-backend-config.c:749:21: error: storage size of 'errno' isn't known pk-backend-config.c:767:2: error: too many arguments to function 'alpm_initialize' /usr/include/alpm.h:65:5: note: declared here pk-backend-config.c:767:9: warning: assignment makes pointer from integer without a cast [enabled by default] pk-backend-config.c:780:2: warning: implicit declaration of function 'alpm_option_set_gpgdir' [-Wimplicit-function-declaration] pk-backend-config.c:781:3: warning: implicit declaration of function 'alpm_errno' [-Wimplicit-function-declaration] pk-backend-config.c:793:2: warning: passing argument 1 of 'alpm_option_set_logfile' from incompatible pointer type [enabled by default] /usr/include/alpm.h:150:5: note: expected 'const char *' but argument is of type 'int *' pk-backend-config.c:793:2: error: too many arguments to function 'alpm_option_set_logfile' /usr/include/alpm.h:150:5: note: declared here pk-backend-config.c:808:2: warning: passing argument 1 of 'alpm_option_set_cachedirs' from incompatible pointer type [enabled by default] /usr/include/alpm.h:140:6: note: expected 'struct alpm_list_t *' but argument is of type 'int *' pk-backend-config.c:808:2: error: too many arguments to function 'alpm_option_set_cachedirs' /usr/include/alpm.h:140:6: note: declared here pk-backend-config.c:808:2: error: void value not ignored as it ought to be pk-backend-config.c:749:21: warning: unused variable 'errno' [-Wunused-variable] pk-backend-config.c: At top level: pk-backend-config.c:819:1: error: unknown type name 'alpm_handle_t' pk-backend-config.c: In function 'pk_backend_config_configure_alpm': pk-backend-config.c:822:2: error: unknown type name 'alpm_handle_t' pk-backend-config.c:823:2: error: unknown type name 'alpm_siglevel_t' pk-backend-config.c:832:2: warning: passing argument 1 of 'alpm_option_set_checkspace' makes integer from pointer without a cast [enabled by default] /usr/include/alpm.h:193:6: note: expected 'int' but argument is of type 'int *' pk-backend-config.c:832:2: error: too many arguments to function 'alpm_option_set_checkspace' /usr/include/alpm.h:193:6: note: declared here pk-backend-config.c:833:2: warning: passing argument 1 of 'alpm_option_set_usedelta' makes integer from pointer without a cast [enabled by default] /usr/include/alpm.h:190:6: note: expected 'int' but argument is of type 'int *' pk-backend-config.c:833:2: error: too many arguments to function 'alpm_option_set_usedelta' /usr/include/alpm.h:190:6: note: declared here pk-backend-config.c:834:2: warning: passing argument 1 of 'alpm_option_set_usesyslog' makes integer from pointer without a cast [enabled by default] /usr/include/alpm.h:163:6: note: expected 'int' but argument is of type 'int *' pk-backend-config.c:834:2: error: too many arguments to function 'alpm_option_set_usesyslog' /usr/include/alpm.h:163:6: note: declared here pk-backend-config.c:835:2: warning: passing argument 1 of 'alpm_option_set_arch' from incompatible pointer type [enabled by default] /usr/include/alpm.h:187:6: note: expected 'const char *' but argument is of type 'int *' pk-backend-config.c:835:2: error: too many arguments to function 'alpm_option_set_arch' /usr/include/alpm.h:187:6: note: declared here pk-backend-config.c:838:2: warning: implicit declaration of function 'alpm_option_set_default_siglevel' [-Wimplicit-function-declaration] pk-backend-config.c:846:3: warning: passing argument 1 of 'alpm_option_set_fetchcb' from incompatible pointer type [enabled by default] /usr/include/alpm.h:124:6: note: expected 'alpm_cb_fetch' but argument is of type 'int *' pk-backend-config.c:846:3: error: too many arguments to function 'alpm_option_set_fetchcb' /usr/include/alpm.h:124:6: note: declared here pk-backend-config.c:848:3: warning: passing argument 1 of 'alpm_option_set_fetchcb' from incompatible pointer type [enabled by default] /usr/include/alpm.h:124:6: note: expected 'alpm_cb_fetch' but argument is of type 'int *' pk-backend-config.c:848:3: error: too many arguments to function 'alpm_option_set_fetchcb' /usr/include/alpm.h:124:6: note: declared here pk-backend-config.c:862:2: warning: implicit declaration of function 'alpm_option_set_ignoregroups' [-Wimplicit-function-declaration] pk-backend-config.c:866:2: warning: passing argument 1 of 'alpm_option_set_ignorepkgs' from incompatible pointer type [enabled by default] /usr/include/alpm.h:177:6: note: expected 'struct alpm_list_t *' but argument is of type 'int *' pk-backend-config.c:866:2: error: too many arguments to function 'alpm_option_set_ignorepkgs' /usr/include/alpm.h:177:6: note: declared here pk-backend-config.c:870:2: warning: passing argument 1 of 'alpm_option_set_noextracts' from incompatible pointer type [enabled by default] /usr/include/alpm.h:172:6: note: expected 'struct alpm_list_t *' but argument is of type 'int *' pk-backend-config.c:870:2: error: too many arguments to function 'alpm_option_set_noextracts' /usr/include/alpm.h:172:6: note: declared here pk-backend-config.c:874:2: warning: passing argument 1 of 'alpm_option_set_noupgrades' from incompatible pointer type [enabled by default] /usr/include/alpm.h:167:6: note: expected 'struct alpm_list_t *' but argument is of type 'int *' pk-backend-config.c:874:2: error: too many arguments to function 'alpm_option_set_noupgrades' /usr/include/alpm.h:167:6: note: declared here pk-backend-config.c: At top level: pk-backend-config.c:883:1: error: unknown type name 'alpm_handle_t' pk-backend-config.c: In function 'pk_backend_configure': pk-backend-config.c:887:2: error: unknown type name 'alpm_handle_t' pk-backend-config.c:905:4: error: too many arguments to function 'alpm_release' /usr/include/alpm.h:66:5: note: declared here make[3]: *** [libpk_backend_alpm_la-pk-backend-config.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Additional info: * packagekit 0.6.19-1 Steps to reproduce: Try to build it. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Saturday, 19 November 2011, 11:19 GMT
Reason for closing: Works for me
Saturday, 19 November 2011, 11:19 GMT
Reason for closing: Works for me
Comment by Jonathan Conder (PirateJonno) -
Saturday, 19 November 2011, 11:18 GMT
Pretty sure this is 0.6.19-2 (not -1), which requires pacman 4 to build. For some reason the web interface source files for -1 are giving me those for -2. Can you check the pkgrel of the PKGBUILD you used for this build please?