=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/libcomprex", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for libcomprex-0.3.3nb43 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in debian Making all in docs --- all-recursive --- Making all in api --- all-recursive --- Making all in html Making all in man Making all in intl Making all in libltdl --- ltdl.lo --- /usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -c ltdl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o ltdl.c: In function 'rpl_strdup': ltdl.c:204:16: warning: old-style function definition [-Wold-style-definition] 204 | #define strdup rpl_strdup | ^~~~~~~~~~ ltdl.c:209:1: note: in expansion of macro 'strdup' 209 | strdup(str) | ^~~~~~ ltdl.c: In function 'rpl_realloc': ltdl.c:383:17: warning: old-style function definition [-Wold-style-definition] 383 | #define realloc rpl_realloc | ^~~~~~~~~~~ ltdl.c:386:1: note: in expansion of macro 'realloc' 386 | realloc (ptr, size) | ^~~~~~~ ltdl.c: In function 'rpl_argz_append': ltdl.c:424:23: warning: old-style function definition [-Wold-style-definition] 424 | # define argz_append rpl_argz_append | ^~~~~~~~~~~~~~~ ltdl.c:430:1: note: in expansion of macro 'argz_append' 430 | argz_append (pargz, pargz_len, buf, buf_len) | ^~~~~~~~~~~ ltdl.c: In function 'rpl_argz_create_sep': ltdl.c:466:27: warning: old-style function definition [-Wold-style-definition] 466 | # define argz_create_sep rpl_argz_create_sep | ^~~~~~~~~~~~~~~~~~~ ltdl.c:472:1: note: in expansion of macro 'argz_create_sep' 472 | argz_create_sep (str, delim, pargz, pargz_len) | ^~~~~~~~~~~~~~~ ltdl.c: In function 'rpl_argz_insert': ltdl.c:529:23: warning: old-style function definition [-Wold-style-definition] 529 | # define argz_insert rpl_argz_insert | ^~~~~~~~~~~~~~~ ltdl.c:535:1: note: in expansion of macro 'argz_insert' 535 | argz_insert (pargz, pargz_len, before, entry) | ^~~~~~~~~~~ ltdl.c: In function 'rpl_argz_next': ltdl.c:586:21: warning: old-style function definition [-Wold-style-definition] 586 | # define argz_next rpl_argz_next | ^~~~~~~~~~~~~ ltdl.c:592:1: note: in expansion of macro 'argz_next' 592 | argz_next (argz, argz_len, entry) | ^~~~~~~~~ ltdl.c: In function 'rpl_argz_stringify': ltdl.c:631:26: warning: old-style function definition [-Wold-style-definition] 631 | # define argz_stringify rpl_argz_stringify | ^~~~~~~~~~~~~~~~~~ ltdl.c:637:1: note: in expansion of macro 'argz_stringify' 637 | argz_stringify (argz, argz_len, sep) | ^~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlmutex_register': ltdl.c:772:1: warning: old-style function definition [-Wold-style-definition] 772 | lt_dlmutex_register (lock, unlock, seterror, geterror) | ^~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dladderror': ltdl.c:817:1: warning: old-style function definition [-Wold-style-definition] 817 | lt_dladderror (diagnostic) | ^~~~~~~~~~~~~ ltdl.c: In function 'lt_dlseterror': ltdl.c:843:1: warning: old-style function definition [-Wold-style-definition] 843 | lt_dlseterror (errindex) | ^~~~~~~~~~~~~ ltdl.c: In function 'lt_emalloc': ltdl.c:873:1: warning: old-style function definition [-Wold-style-definition] 873 | lt_emalloc (size) | ^~~~~~~~~~ ltdl.c: In function 'lt_erealloc': ltdl.c:883:1: warning: old-style function definition [-Wold-style-definition] 883 | lt_erealloc (addr, size) | ^~~~~~~~~~~ ltdl.c: In function 'lt_estrdup': ltdl.c:894:1: warning: old-style function definition [-Wold-style-definition] 894 | lt_estrdup (str) | ^~~~~~~~~~ ltdl.c: In function 'sys_dl_open': ltdl.c:967:1: warning: old-style function definition [-Wold-style-definition] 967 | sys_dl_open (loader_data, filename) | ^~~~~~~~~~~ ltdl.c: In function 'sys_dl_close': ltdl.c:982:1: warning: old-style function definition [-Wold-style-definition] 982 | sys_dl_close (loader_data, module) | ^~~~~~~~~~~~ ltdl.c: In function 'sys_dl_sym': ltdl.c:998:1: warning: old-style function definition [-Wold-style-definition] 998 | sys_dl_sym (loader_data, module, symbol) | ^~~~~~~~~~ ltdl.c: In function 'presym_init': ltdl.c:1468:1: warning: old-style function definition [-Wold-style-definition] 1468 | presym_init (loader_data) | ^~~~~~~~~~~ ltdl.c: In function 'presym_exit': ltdl.c:1509:1: warning: old-style function definition [-Wold-style-definition] 1509 | presym_exit (loader_data) | ^~~~~~~~~~~ ltdl.c: In function 'presym_add_symlist': ltdl.c:1517:1: warning: old-style function definition [-Wold-style-definition] 1517 | presym_add_symlist (preloaded) | ^~~~~~~~~~~~~~~~~~ ltdl.c: In function 'presym_open': ltdl.c:1555:1: warning: old-style function definition [-Wold-style-definition] 1555 | presym_open (loader_data, filename) | ^~~~~~~~~~~ ltdl.c: In function 'presym_close': ltdl.c:1605:1: warning: old-style function definition [-Wold-style-definition] 1605 | presym_close (loader_data, module) | ^~~~~~~~~~~~ ltdl.c: In function 'presym_sym': ltdl.c:1615:1: warning: old-style function definition [-Wold-style-definition] 1615 | presym_sym (loader_data, module, symbol) | ^~~~~~~~~~ ltdl.c: In function 'lt_dlpreload': ltdl.c:1767:1: warning: old-style function definition [-Wold-style-definition] 1767 | lt_dlpreload (preloaded) | ^~~~~~~~~~~~ ltdl.c: In function 'lt_dlpreload_default': ltdl.c:1792:1: warning: old-style function definition [-Wold-style-definition] 1792 | lt_dlpreload_default (preloaded) | ^~~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'tryall_dlopen': ltdl.c:1874:1: warning: old-style function definition [-Wold-style-definition] 1874 | tryall_dlopen (handle, filename) | ^~~~~~~~~~~~~ ltdl.c: In function 'tryall_dlopen_module': ltdl.c:1959:1: warning: old-style function definition [-Wold-style-definition] 1959 | tryall_dlopen_module (handle, prefix, dirname, dlname) | ^~~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'find_module': ltdl.c:2009:1: warning: old-style function definition [-Wold-style-definition] 2009 | find_module (handle, dir, libdir, dlname, old_name, installed) | ^~~~~~~~~~~ ltdl.c: In function 'canonicalize_path': ltdl.c:2056:1: warning: old-style function definition [-Wold-style-definition] 2056 | canonicalize_path (path, pcanonical) | ^~~~~~~~~~~~~~~~~ ltdl.c: In function 'argzize_path': ltdl.c:2119:1: warning: old-style function definition [-Wold-style-definition] 2119 | argzize_path (path, pargz, pargz_len) | ^~~~~~~~~~~~ ltdl.c: In function 'foreach_dirinpath': ltdl.c:2153:1: warning: old-style function definition [-Wold-style-definition] 2153 | foreach_dirinpath (search_path, base_name, func, data1, data2) | ^~~~~~~~~~~~~~~~~ ltdl.c: In function 'find_file_callback': ltdl.c:2228:1: warning: old-style function definition [-Wold-style-definition] 2228 | find_file_callback (filename, data1, data2) | ^~~~~~~~~~~~~~~~~~ ltdl.c: In function 'find_file': ltdl.c:2257:1: warning: old-style function definition [-Wold-style-definition] 2257 | find_file (search_path, base_name, pdir) | ^~~~~~~~~ ltdl.c: In function 'find_handle_callback': ltdl.c:2270:1: warning: old-style function definition [-Wold-style-definition] 2270 | find_handle_callback (filename, data, ignored) | ^~~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'find_handle': ltdl.c:2293:1: warning: old-style function definition [-Wold-style-definition] 2293 | find_handle (search_path, base_name, handle) | ^~~~~~~~~~~ ltdl.c: In function 'load_deplibs': ltdl.c:2309:1: warning: old-style function definition [-Wold-style-definition] 2309 | load_deplibs (handle, deplibs) | ^~~~~~~~~~~~ ltdl.c: In function 'unload_deplibs': ltdl.c:2471:1: warning: old-style function definition [-Wold-style-definition] 2471 | unload_deplibs (handle) | ^~~~~~~~~~~~~~ ltdl.c: In function 'trim': ltdl.c:2492:1: warning: old-style function definition [-Wold-style-definition] 2492 | trim (dest, str) | ^~~~ ltdl.c: In function 'free_vars': ltdl.c:2523:1: warning: old-style function definition [-Wold-style-definition] 2523 | free_vars (dlname, oldname, libdir, deplibs) | ^~~~~~~~~ ltdl.c: In function 'try_dlopen': ltdl.c:2538:1: warning: old-style function definition [-Wold-style-definition] 2538 | try_dlopen (phandle, filename) | ^~~~~~~~~~ ltdl.c: In function 'lt_dlopen': ltdl.c:2914:1: warning: old-style function definition [-Wold-style-definition] 2914 | lt_dlopen (filename) | ^~~~~~~~~ ltdl.c: In function 'lt_dlopenext': ltdl.c:2946:1: warning: old-style function definition [-Wold-style-definition] 2946 | lt_dlopenext (filename) | ^~~~~~~~~~~~ ltdl.c: In function 'lt_argz_insert': ltdl.c:3033:1: warning: old-style function definition [-Wold-style-definition] 3033 | lt_argz_insert (pargz, pargz_len, before, entry) | ^~~~~~~~~~~~~~ ltdl.c: In function 'lt_argz_insertinorder': ltdl.c:3059:1: warning: old-style function definition [-Wold-style-definition] 3059 | lt_argz_insertinorder (pargz, pargz_len, entry) | ^~~~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_argz_insertdir': ltdl.c:3083:1: warning: old-style function definition [-Wold-style-definition] 3083 | lt_argz_insertdir (pargz, pargz_len, dirnam, dp) | ^~~~~~~~~~~~~~~~~ ltdl.c: In function 'list_files_by_dir': ltdl.c:3149:1: warning: old-style function definition [-Wold-style-definition] 3149 | list_files_by_dir (dirnam, pargz, pargz_len) | ^~~~~~~~~~~~~~~~~ ltdl.c: In function 'foreachfile_callback': ltdl.c:3187:1: warning: old-style function definition [-Wold-style-definition] 3187 | foreachfile_callback (dirname, data1, data2) | ^~~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlforeachfile': ltdl.c:3225:1: warning: old-style function definition [-Wold-style-definition] 3225 | lt_dlforeachfile (search_path, func, data) | ^~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlclose': ltdl.c:3270:1: warning: old-style function definition [-Wold-style-definition] 3270 | lt_dlclose (handle) | ^~~~~~~~~~ ltdl.c: In function 'lt_dlsym': ltdl.c:3338:1: warning: old-style function definition [-Wold-style-definition] 3338 | lt_dlsym (handle, symbol) | ^~~~~~~~ ltdl.c: In function 'lt_dlpath_insertdir': ltdl.c:3443:1: warning: old-style function definition [-Wold-style-definition] 3443 | lt_dlpath_insertdir (ppath, before, dir) | ^~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dladdsearchdir': ltdl.c:3515:1: warning: old-style function definition [-Wold-style-definition] 3515 | lt_dladdsearchdir (search_dir) | ^~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlinsertsearchdir': ltdl.c:3532:1: warning: old-style function definition [-Wold-style-definition] 3532 | lt_dlinsertsearchdir (before, search_dir) | ^~~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlsetsearchpath': ltdl.c:3566:1: warning: old-style function definition [-Wold-style-definition] 3566 | lt_dlsetsearchpath (search_path) | ^~~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlmakeresident': ltdl.c:3601:1: warning: old-style function definition [-Wold-style-definition] 3601 | lt_dlmakeresident (handle) | ^~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlisresident': ltdl.c:3620:1: warning: old-style function definition [-Wold-style-definition] 3620 | lt_dlisresident (handle) | ^~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlgetinfo': ltdl.c:3638:1: warning: old-style function definition [-Wold-style-definition] 3638 | lt_dlgetinfo (handle) | ^~~~~~~~~~~~ ltdl.c: In function 'lt_dlhandle_next': ltdl.c:3651:1: warning: old-style function definition [-Wold-style-definition] 3651 | lt_dlhandle_next (place) | ^~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlforeach': ltdl.c:3658:1: warning: old-style function definition [-Wold-style-definition] 3658 | lt_dlforeach (func, data) | ^~~~~~~~~~~~ ltdl.c: In function 'lt_dlcaller_set_data': ltdl.c:3699:1: warning: old-style function definition [-Wold-style-definition] 3699 | lt_dlcaller_set_data (key, handle, data) | ^~~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlcaller_get_data': ltdl.c:3754:1: warning: old-style function definition [-Wold-style-definition] 3754 | lt_dlcaller_get_data (key, handle) | ^~~~~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlloader_add': ltdl.c:3788:1: warning: old-style function definition [-Wold-style-definition] 3788 | lt_dlloader_add (place, dlloader, loader_name) | ^~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlloader_remove': ltdl.c:3869:1: warning: old-style function definition [-Wold-style-definition] 3869 | lt_dlloader_remove (loader_name) | ^~~~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlloader_next': ltdl.c:3930:1: warning: old-style function definition [-Wold-style-definition] 3930 | lt_dlloader_next (place) | ^~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlloader_name': ltdl.c:3943:1: warning: old-style function definition [-Wold-style-definition] 3943 | lt_dlloader_name (place) | ^~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlloader_data': ltdl.c:3963:1: warning: old-style function definition [-Wold-style-definition] 3963 | lt_dlloader_data (place) | ^~~~~~~~~~~~~~~~ ltdl.c: In function 'lt_dlloader_find': ltdl.c:3983:1: warning: old-style function definition [-Wold-style-definition] 3983 | lt_dlloader_find (loader_name) | ^~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c ltdl.c -o ltdl.o >/dev/null 2>&1 --- libltdlc.la --- /usr/bin/bash ./libtool --mode=link gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -o libltdlc.la ltdl.lo -ldl -lintl -liconv libtool: link: ar cr .libs/libltdlc.a .libs/ltdl.o libtool: link: ranlib .libs/libltdlc.a libtool: link: ( cd ".libs" && rm -f "libltdlc.la" && ln -s "../libltdlc.la" "libltdlc.la" ) Making all in modules --- all-recursive --- Making all in archive --- all-recursive --- Making all in ar --- ar.lo --- --- header.lo --- --- ar.lo --- source='ar.c' object='ar.lo' libtool=yes depfile='.deps/ar.Plo' tmpdepfile='.deps/ar.TPlo' depmode=gcc3 /usr/bin/bash ../../../depcomp /usr/bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I/opt/pkg/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -Wall -c -o ar.lo `test -f 'ar.c' || echo './'`ar.c --- header.lo --- source='header.c' object='header.lo' libtool=yes depfile='.deps/header.Plo' tmpdepfile='.deps/header.TPlo' depmode=gcc3 /usr/bin/bash ../../../depcomp /usr/bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I/opt/pkg/include -I/opt/pkg/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libxml2 -Wall -c -o header.lo `test -f 'header.c' || echo './'`header.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT header.lo -MD -MP -MF .deps/header.TPlo.942671 -c header.c -fPIC -DPIC -o .libs/header.o --- ar.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT ar.lo -MD -MP -MF .deps/ar.TPlo.942669 -c ar.c -fPIC -DPIC -o .libs/ar.o ar.c: In function '__seekFunc': ar.c:65:17: warning: variable 'file' set but not used [-Wunused-but-set-variable] 65 | CxFile *file; | ^~~~ ar.c: In function '__closeFunc': ar.c:86:17: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 86 | free(fp->moduleData); | ^~~~ ar.c:24:1: note: include '' or provide a declaration of 'free' 23 | #include "ar.h" +++ |+#include 24 | ar.c:86:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 86 | free(fp->moduleData); | ^~~~ ar.c:86:17: note: include '' or provide a declaration of 'free' ar.c: In function 'readArchive': ar.c:119:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 119 | free(nameTable); | ^~~~ ar.c:119:33: note: include '' or provide a declaration of 'free' In file included from ar.h:27, from ar.c:23: ar.c:131:55: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:131:55: note: include '' or provide a declaration of 'malloc' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:131:55: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:131:55: note: include '' or provide a declaration of 'malloc' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ../../../libcomprex/internal.h:108:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: error: 'EXIT_FAILURE' undeclared (first use in this function) 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: note: 'EXIT_FAILURE' is defined in header ''; this is probably fixable by adding '#include ' 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: note: each undeclared identifier is reported only once for each function it appears in 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:131:25: note: in expansion of macro 'MEM_CHECK' 131 | MEM_CHECK(nameTable = (char *)malloc(tableSize)); | ^~~~~~~~~ ar.c:178:62: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 178 | MEM_CHECK(filename = (char *)malloc(len + 1)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:178:62: note: include '' or provide a declaration of 'malloc' 178 | MEM_CHECK(filename = (char *)malloc(len + 1)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ../../../libcomprex/internal.h:108:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:178:33: note: in expansion of macro 'MEM_CHECK' 178 | MEM_CHECK(filename = (char *)malloc(len + 1)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:178:33: note: in expansion of macro 'MEM_CHECK' 178 | MEM_CHECK(filename = (char *)malloc(len + 1)); | ^~~~~~~~~ ar.c:186:52: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 186 | filename = (char *)malloc(16); | ^~~~~~ ar.c:186:52: note: include '' or provide a declaration of 'malloc' ar.c:203:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 203 | free(filename); | ^~~~ ar.c:203:25: note: include '' or provide a declaration of 'free' ar.c:230:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 230 | free(nameTable); | ^~~~ ar.c:230:17: note: include '' or provide a declaration of 'free' ar.c: In function 'saveArchive': ar.c:289:63: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:289:63: note: include '' or provide a declaration of 'malloc' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ../../../libcomprex/internal.h:108:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:289:33: note: in expansion of macro 'MEM_CHECK' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:289:33: note: in expansion of macro 'MEM_CHECK' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: error: 'EXIT_FAILURE' undeclared (first use in this function) 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:289:33: note: in expansion of macro 'MEM_CHECK' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: note: 'EXIT_FAILURE' is defined in header ''; this is probably fixable by adding '#include ' 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:289:33: note: in expansion of macro 'MEM_CHECK' 289 | MEM_CHECK(newSymTab = (char *)malloc(newSymTabBufSize)); | ^~~~~~~~~ ar.c:297:41: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 297 | free(symtab); | ^~~~ ar.c:297:41: note: include '' or provide a declaration of 'free' ar.c:319:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 319 | i = snprintf(header.size, 10, "%d", symtabLen); | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld ar.c:395:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 395 | free(symtab); | ^~~~ ar.c:395:17: note: include '' or provide a declaration of 'free' ar.c: In function 'openFile': ar.c:428:46: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ar.c:428:46: note: include '' or provide a declaration of 'malloc' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~ ../../../libcomprex/internal.h:105:14: note: in definition of macro 'MEM_CHECK' 105 | if ((tmp) == NULL) { \ | ^~~ ../../../libcomprex/internal.h:108:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:428:9: note: in expansion of macro 'MEM_CHECK' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:17: note: include '' or provide a declaration of 'exit' 108 | exit(EXIT_FAILURE); \ | ^~~~ ar.c:428:9: note: in expansion of macro 'MEM_CHECK' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: error: 'EXIT_FAILURE' undeclared (first use in this function) 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:428:9: note: in expansion of macro 'MEM_CHECK' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~~~~ ../../../libcomprex/internal.h:108:22: note: 'EXIT_FAILURE' is defined in header ''; this is probably fixable by adding '#include ' 108 | exit(EXIT_FAILURE); \ | ^~~~~~~~~~~~ ar.c:428:9: note: in expansion of macro 'MEM_CHECK' 428 | MEM_CHECK(fileData = (CxArFileData *)malloc(sizeof(CxArFileData))); | ^~~~~~~~~ ar.c: In function 'saveArchive': ar.c:317:17: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 317 | strncpy(header.name, "//", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar.c:322:17: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 322 | strncpy(header.fmag, AR_FMAG, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar.c:376:25: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 376 | strncpy(header.fmag, AR_FMAG, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [ar.lo] Error code 1 bmake[4]: stopped making "all" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3/modules/archive/ar --- header.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include -I/home/pbulk/work/archivers/libcomprex/work/.buildlink/include/libxml2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -MT header.lo -MD -MP -MF .deps/header.TPlo.942671 -c header.c -o header.o >/dev/null 2>&1 bmake[4]: 1 error bmake[4]: stopped making "all" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3/modules/archive/ar *** [all-recursive] Error code 1 bmake[3]: stopped making "all" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3/modules/archive bmake[3]: 1 error bmake[3]: stopped making "all" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3/modules/archive *** [all-recursive] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3/modules bmake[2]: 1 error bmake[2]: stopped making "all" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3/modules *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3 bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/archivers/libcomprex/work/libcomprex-0.3.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/libcomprex *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/libcomprex