=> Building www/cgiparse build started at Wed Oct 5 14:01:15 PDT 2016 port directory: /usr/ports/www/cgiparse building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../03//usr/ports/www/cgiparse/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=cgiparse-0.9b OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/www/cgiparse XDG_CONFIG_HOME=/wrkdirs/www/cgiparse HOME=/wrkdirs/www/cgiparse TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/www/cgiparse XDG_CONFIG_HOME=/wrkdirs/www/cgiparse HOME=/wrkdirs/www/cgiparse TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe "-fPIC" -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe "-fPIC" -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/cgiparse" EXAMPLESDIR="share/examples/cgiparse" DATADIR="share/cgiparse" WWWDIR="www/cgiparse" ETCDIR="etc/cgiparse" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cgiparse DOCSDIR=/usr/local/share/doc/cgiparse EXAMPLESDIR=/usr/local/share/examples/cgiparse WWWDIR=/usr/local/www/cgiparse ETCDIR=/usr/local/etc/cgiparse --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The cgiparse port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port =========================================================================== =================================================== ===> cgiparse-0.9b depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> cgiparse-0.9b depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cgiparse-0.9b =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The cgiparse port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by cgiparse-0.9b for building =========================================================================== =================================================== ===> NOTICE: The cgiparse port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by cgiparse-0.9b for building => SHA256 Checksum OK for cgiparse-0.9b.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The cgiparse port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by cgiparse-0.9b for building ===> Extracting for cgiparse-0.9b => SHA256 Checksum OK for cgiparse-0.9b.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for cgiparse-0.9b ===> Applying ports patches for cgiparse-0.9b =========================================================================== =================================================== =========================================================================== =================================================== ===> cgiparse-0.9b depends on shared library: libmime.so - not found ===> Installing existing package /packages/All/mime-1.1_3.txz Installing mime-1.1_3... Extracting mime-1.1_3: ....... done Message from mime-1.1_3: ===> NOTICE: The mime port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> cgiparse-0.9b depends on shared library: libmime.so - found (/usr/local/lib/libmime.so) ===> Returning to build of cgiparse-0.9b =========================================================================== =================================================== ===> Configuring for cgiparse-0.9b configure: warning: x86_64-portbld-dragonfly4.7: invalid host type loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking how to run the C preprocessor... cpp checking for library containing mime_parsemultipart... -lmime checking for mime.h... yes checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking for working const... yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for strcspn... (cached) yes checking for strdup... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h =========================================================================== =================================================== ===> Building for cgiparse-0.9b --- cgi.so --- --- utils.so --- --- cgi.po --- --- utils.po --- --- cgi.o --- --- cgi.po --- cc -pg -Wall -I. -I. -I/usr/local/include -g -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -c cgi.c -o cgi.po --- cgi.so --- cc -fpic -Wall -I. -I. -I/usr/local/include -g -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -c cgi.c -o cgi.so --- utils.po --- cc -pg -Wall -I. -I. -I/usr/local/include -g -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -c utils.c -o utils.po --- utils.so --- cc -fpic -Wall -I. -I. -I/usr/local/include -g -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -c utils.c -o utils.so --- cgi.po --- cgi.c: In function 'cgiinit': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:146:3: note: in expansion of macro 'mymalloc' mymalloc(a, sizeof(char) * (b + 1)); ^ cgi.c: In function 'cgiparsemultipart': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:277:9: note: in expansion of macro 'mycalloc' *d = (mycalloc(e, sizeof(struct cgivalues))); ^ cgi.c: In function 'cgiparsequerystr': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:301:9: note: in expansion of macro 'mycalloc' *d = (mycalloc(e, sizeof(struct cgivalues))); ^ cgi.c: In function 'cwsc': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:323:2: note: in expansion of macro 'mymalloc' mymalloc(d, sizeof(char) * (c + 1)); ^ cgi.c: In function 'cgidumpentry': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:352:6: note: in expansion of macro 'mymalloc' d = mymalloc(c, sizeof(char) * ts); ^ cgi.c: In function 'cgigetentry': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:392:2: note: in expansion of macro 'mycalloc' mycalloc(ret, (num+1) * sizeof(char *)); ^ cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:395:2: note: in expansion of macro 'mymalloc' mymalloc(buf, sizeof(char) * (buf_size = 4096)); ^ cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:408:3: note: in expansion of macro 'mymalloc' mymalloc(*c, strlen(buf) + 1); ^ cgi.c: In function 'cgiaddpair': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:500:2: note: in expansion of macro 'mycalloc' mycalloc(a[0], sizeof(struct cgivalues)); ^ cgi.c: In function 'cgipushcurrent': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:510:2: note: in expansion of macro 'mymalloc' mymalloc(a, sizeof(struct cgivalueslist)); ^ --- cgi.so --- cgi.c: In function 'cgiinit': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:146:3: note: in expansion of macro 'mymalloc' mymalloc(a, sizeof(char) * (b + 1)); ^ cgi.c: In function 'cgiparsemultipart': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:277:9: note: in expansion of macro 'mycalloc' *d = (mycalloc(e, sizeof(struct cgivalues))); ^ cgi.c: In function 'cgiparsequerystr': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:301:9: note: in expansion of macro 'mycalloc' *d = (mycalloc(e, sizeof(struct cgivalues))); ^ cgi.c: In function 'cwsc': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:323:2: note: in expansion of macro 'mymalloc' mymalloc(d, sizeof(char) * (c + 1)); ^ cgi.c: In function 'cgidumpentry': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:352:6: note: in expansion of macro 'mymalloc' d = mymalloc(c, sizeof(char) * ts); ^ cgi.c: In function 'cgigetentry': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:392:2: note: in expansion of macro 'mycalloc' mycalloc(ret, (num+1) * sizeof(char *)); ^ cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:395:2: note: in expansion of macro 'mymalloc' mymalloc(buf, sizeof(char) * (buf_size = 4096)); ^ cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:408:3: note: in expansion of macro 'mymalloc' mymalloc(*c, strlen(buf) + 1); ^ cgi.c: In function 'cgiaddpair': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:500:2: note: in expansion of macro 'mycalloc' mycalloc(a[0], sizeof(struct cgivalues)); ^ cgi.c: In function 'cgipushcurrent': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:510:2: note: in expansion of macro 'mymalloc' mymalloc(a, sizeof(struct cgivalueslist)); ^ --- cgi.o --- cc -I/usr/local/include -Wall -I. -I. -I/usr/local/include -g -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -c cgi.c -o cgi.o --- utils.o --- cc -I/usr/local/include -Wall -I. -I. -I/usr/local/include -g -pipe -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -O2 -fno-strict-aliasing -c utils.c -o utils.o --- cgi.o --- cgi.c: In function 'cgiinit': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:146:3: note: in expansion of macro 'mymalloc' mymalloc(a, sizeof(char) * (b + 1)); ^ cgi.c: In function 'cgiparsemultipart': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:277:9: note: in expansion of macro 'mycalloc' *d = (mycalloc(e, sizeof(struct cgivalues))); ^ cgi.c: In function 'cgiparsequerystr': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:301:9: note: in expansion of macro 'mycalloc' *d = (mycalloc(e, sizeof(struct cgivalues))); ^ cgi.c: In function 'cwsc': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:323:2: note: in expansion of macro 'mymalloc' mymalloc(d, sizeof(char) * (c + 1)); ^ cgi.c: In function 'cgidumpentry': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:352:6: note: in expansion of macro 'mymalloc' d = mymalloc(c, sizeof(char) * ts); ^ cgi.c: In function 'cgigetentry': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:392:2: note: in expansion of macro 'mycalloc' mycalloc(ret, (num+1) * sizeof(char *)); ^ cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:395:2: note: in expansion of macro 'mymalloc' mymalloc(buf, sizeof(char) * (buf_size = 4096)); ^ cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:408:3: note: in expansion of macro 'mymalloc' mymalloc(*c, strlen(buf) + 1); ^ cgi.c: In function 'cgiaddpair': cgi.c:55:91: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mycalloc(var,size) ((var) = calloc(1, (size)), ((var) == NULL )? (fprintf(stderr, "%s:%d: out of memory on callocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:500:2: note: in expansion of macro 'mycalloc' mycalloc(a[0], sizeof(struct cgivalues)); ^ cgi.c: In function 'cgipushcurrent': cgi.c:54:86: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] #define mymalloc(var,size) ((var) = malloc(size), ((var) == NULL) ? (fprintf(stderr, "%s:%d: out of memory on allocating %d bytes for %s\n", __FILE__, __LINE__, (size), #var), exit(1), (void *)1) : (var) ) ^ cgi.c:510:2: note: in expansion of macro 'mymalloc' mymalloc(a, sizeof(struct cgivalueslist)); ^ --- libcgiparse_p.a --- ar rc libcgiparse_p.a cgi.po utils.po --- libcgiparse.so.1 --- cc -shared -o libcgiparse.so.1 cgi.so utils.so -lmime -L/usr/local/lib --- libcgiparse.a --- ar rc libcgiparse.a cgi.o utils.o =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for cgiparse-0.9b ===> Generating temporary packing list cp cgigetvalue.3 cgiclose.3 cginewquerystr.3 /wrkdirs/www/cgiparse/stage/usr/local/man/man3 for i in cgigetvalue.3 cgiclose.3 cginewquerystr.3; do chmod 0444 /wrkdirs/www/cgiparse/stage/usr/local/man/man3/$i; done mkdir -p -m 755 /wrkdirs/www/cgiparse/stage/usr/local/lib for i in libcgiparse.a libcgiparse.so.1 libcgiparse_p.a; do cp $i /wrkdirs/www/cgiparse/stage/usr/local/lib; chmod 0644 /wrkdirs/www/cgiparse/stage/usr/local/lib/$i; done mkdir -p -m 755 /wrkdirs/www/cgiparse/stage/usr/local/include for i in cgi.h; do cp $i /wrkdirs/www/cgiparse/stage/usr/local/include; chmod 0444 /wrkdirs/www/cgiparse/stage/usr/local/include/$i; done ln -sf libcgiparse.so.1 /wrkdirs/www/cgiparse/stage/usr/local/lib/libcgiparse.so /usr/bin/strip /wrkdirs/www/cgiparse/stage/usr/local/lib/libcgiparse.so ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for cgiparse-0.9b file sizes/checksums [8]: . done packing files [8]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for cgiparse-0.9b build of www/cgiparse ended at Wed Oct 5 14:01:22 PDT 2016 build time: 00:00:07