$ makepkg -s ==> Making package: cower 3.0.8-1 (Fri Oct 14 16:07:59 PDT 2011) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving Sources... -> Found cower-3.0.8.tar.gz ==> Validating source files with md5sums... cower-3.0.8.tar.gz ... Passed ==> Extracting Sources... -> Extracting cower-3.0.8.tar.gz with bsdtar ==> Removing existing pkg/ directory... ==> Starting build()... cc -std=c99 -g -pedantic -Wall -Wextra -Werror -pthread -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DCOWER_VERSION=\"3.0.8\" -c -o cower.o cower.c cower.c:257:1: error: unknown type name ‘alpm_handle_t’ cower.c:258:32: error: unknown type name ‘alpm_pkg_t’ cower.c:336:1: error: unknown type name ‘alpm_handle_t’ cower.c:337:1: error: unknown type name ‘alpm_db_t’ cower.c:364:1: error: unknown type name ‘alpm_handle_t’ cower.c: In function ‘alpm_init’: cower.c:369:7: error: ISO C forbids forward references to ‘enum’ types [-Werror=edantic] cower.c:369:21: error: storage size of ‘err’ isn’t known cower.c:372:2: error: too many arguments to function ‘alpm_initialize’ /usr/include/alpm.h:65:5: note: declared here cower.c:372:11: error: assignment makes pointer from integer without a cast [-Werror] cower.c:401:7: error: ‘ALPM_SIG_DATABASE’ undeclared (first use in this function) cower.c:401:7: note: each undeclared identifier is reported only once for each function it appears in cower.c:401:27: error: ‘ALPM_SIG_DATABASE_OPTIONAL’ undeclared (first use in this function) cower.c:401:7: error: passing argument 1 of ‘alpm_db_register_sync’ from incompatible pointer type [-Werror] /usr/include/alpm.h:231:9: note: expected ‘const char *’ but argument is of type ‘int *’ cower.c:401:7: error: too many arguments to function ‘alpm_db_register_sync’ /usr/include/alpm.h:231:9: note: declared here cower.c:420:2: error: too many arguments to function ‘alpm_option_get_localdb’ /usr/include/alpm.h:218:9: note: declared here cower.c:420:11: error: assignment from incompatible pointer type [-Werror] cower.c:369:21: error: unused variable ‘err’ [-Werror=unused-variable] cower.c: In function ‘alpm_find_foreign_pkgs’: cower.c:433:2: error: passing argument 1 of ‘alpm_db_get_pkgcache’ from incompatible pointer type [-Werror] /usr/include/alpm.h:276:14: note: expected ‘struct pmdb_t *’ but argument is of type ‘int *’ cower.c:434:3: error: unknown type name ‘alpm_pkg_t’ cower.c:436:3: error: implicit declaration of function ‘alpm_pkg_is_foreign’ [-Werror=implicit-function-declaration] cower.c:437:4: error: passing argument 1 of ‘alpm_pkg_get_name’ from incompatible pointer type [-Werror] /usr/include/alpm.h:365:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c:437:4: error: passing argument 1 of ‘alpm_pkg_get_name’ from incompatible pointer type [-Werror] /usr/include/alpm.h:365:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c:437:4: error: passing argument 1 of ‘alpm_pkg_get_name’ from incompatible pointer type [-Werror] /usr/include/alpm.h:365:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c:437:4: error: passing argument 1 of ‘alpm_pkg_get_name’ from incompatible pointer type [-Werror] /usr/include/alpm.h:365:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c:437:4: error: passing argument 1 of ‘alpm_pkg_get_name’ from incompatible pointer type [-Werror] /usr/include/alpm.h:365:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c:437:4: error: passing argument 1 of ‘alpm_pkg_get_name’ from incompatible pointer type [-Werror] /usr/include/alpm.h:365:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c:437:4: error: passing argument 1 of ‘alpm_pkg_get_name’ from incompatible pointer type [-Werror] /usr/include/alpm.h:365:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c: At top level: cower.c:444:25: error: unknown type name ‘alpm_pkg_t’ cower.c: In function ‘alpm_provides_pkg’: cower.c:463:2: error: unknown type name ‘alpm_db_t’ cower.c:465:2: error: too many arguments to function ‘alpm_option_get_syncdbs’ /usr/include/alpm.h:225:14: note: declared here cower.c:467:3: error: passing argument 1 of ‘alpm_db_get_pkgcache’ from incompatible pointer type [-Werror] /usr/include/alpm.h:276:14: note: expected ‘struct pmdb_t *’ but argument is of type ‘int *’ cower.c:468:4: error: passing argument 1 of ‘alpm_db_get_name’ from incompatible pointer type [-Werror] /usr/include/alpm.h:248:13: note: expected ‘const struct pmdb_t *’ but argument is of type ‘int *’ cower.c: In function ‘print_pkg_info’: cower.c:1590:2: error: unknown type name ‘alpm_pkg_t’ cower.c:1594:2: error: passing argument 1 of ‘alpm_db_get_pkg’ from incompatible pointer type [-Werror] /usr/include/alpm.h:270:10: note: expected ‘struct pmdb_t *’ but argument is of type ‘int *’ cower.c:1594:11: error: assignment from incompatible pointer type [-Werror] cower.c:1596:3: error: passing argument 1 of ‘alpm_pkg_get_version’ from incompatible pointer type [-Werror] /usr/include/alpm.h:373:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c: In function ‘print_pkg_search’: cower.c:1654:3: error: unknown type name ‘alpm_pkg_t’ cower.c:1658:3: error: passing argument 1 of ‘alpm_db_get_pkg’ from incompatible pointer type [-Werror] /usr/include/alpm.h:270:10: note: expected ‘struct pmdb_t *’ but argument is of type ‘int *’ cower.c:1658:12: error: assignment from incompatible pointer type [-Werror] cower.c:1660:4: error: passing argument 1 of ‘alpm_pkg_get_version’ from incompatible pointer type [-Werror] /usr/include/alpm.h:373:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c: In function ‘resolve_dependencies’: cower.c:1736:8: error: passing argument 1 of ‘alpm_db_get_pkgcache’ from incompatible pointer type [-Werror] /usr/include/alpm.h:276:14: note: expected ‘struct pmdb_t *’ but argument is of type ‘int *’ cower.c:1743:4: error: passing argument 1 of ‘alpm_db_get_pkgcache’ from incompatible pointer type [-Werror] /usr/include/alpm.h:276:14: note: expected ‘struct pmdb_t *’ but argument is of type ‘int *’ cower.c: In function ‘task_update’: cower.c:2066:2: error: unknown type name ‘alpm_pkg_t’ cower.c:2081:3: error: passing argument 1 of ‘alpm_db_get_pkg’ from incompatible pointer type [-Werror] /usr/include/alpm.h:270:10: note: expected ‘struct pmdb_t *’ but argument is of type ‘int *’ cower.c:2081:9: error: assignment from incompatible pointer type [-Werror] cower.c:2089:3: error: passing argument 1 of ‘alpm_pkg_get_version’ from incompatible pointer type [-Werror] /usr/include/alpm.h:373:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c:2101:8: error: passing argument 1 of ‘alpm_pkg_get_version’ from incompatible pointer type [-Werror] /usr/include/alpm.h:373:13: note: expected ‘struct pmpkg_t *’ but argument is of type ‘int *’ cower.c: In function ‘main’: cower.c:2329:2: error: passing argument 1 of ‘alpm_db_get_pkgcache’ from incompatible pointer type [-Werror] /usr/include/alpm.h:276:14: note: expected ‘struct pmdb_t *’ but argument is of type ‘int *’ cower.c:2373:2: error: too many arguments to function ‘alpm_release’ /usr/include/alpm.h:66:5: note: declared here cc1: all warnings being treated as errors make: *** [cower.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting...