=> Building www/cgiparse Started : Friday, 13 APR 2018 at 07:58:28 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/www/cgiparse XDG_CONFIG_HOME=/construction/www/cgiparse HOME=/construction/www/cgiparse TMPDIR="/tmp" PATH=/construction/www/cgiparse/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/www/cgiparse XDG_CONFIG_HOME=/construction/www/cgiparse HOME=/construction/www/cgiparse TMPDIR="/tmp" PATH=/construction/www/cgiparse/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/www/cgiparse/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/cgiparse" EXAMPLESDIR="share/examples/cgiparse" DATADIR="share/cgiparse" WWWDIR="www/cgiparse" ETCDIR="etc/cgiparse" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> cgiparse-0.9b depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> cgiparse-0.9b depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cgiparse-0.9b -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for cgiparse-0.9b ===> Applying ports patches for cgiparse-0.9b -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for cgiparse-0.9b configure: warning: x86_64-portbld-dragonfly5.2: invalid host type loading site script /xports/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 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for cgiparse-0.9b --- cgi.so --- --- utils.so --- --- cgi.po --- --- utils.po --- --- cgi.o --- --- 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.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 --- 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 --- 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 --- 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 --- 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: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: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: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: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: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: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 '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: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: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.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.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: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: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: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: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: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: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 '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: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: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.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)); ^ --- 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: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: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: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: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: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: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 '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: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: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.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.so.1 --- cc -shared -o libcgiparse.so.1 cgi.so utils.so -lmime -L/usr/local/lib --- libcgiparse_p.a --- ar rc libcgiparse_p.a cgi.po utils.po --- libcgiparse.a --- ar rc libcgiparse.a cgi.o utils.o -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for cgiparse-0.9b ===> Generating temporary packing list cp cgigetvalue.3 cgiclose.3 cginewquerystr.3 /construction/www/cgiparse/stage/usr/local/man/man3 for i in cgigetvalue.3 cgiclose.3 cginewquerystr.3; do chmod 0444 /construction/www/cgiparse/stage/usr/local/man/man3/$i; done mkdir -p -m 755 /construction/www/cgiparse/stage/usr/local/lib for i in libcgiparse.a libcgiparse.so.1 libcgiparse_p.a; do cp $i /construction/www/cgiparse/stage/usr/local/lib; chmod 0644 /construction/www/cgiparse/stage/usr/local/lib/$i; done mkdir -p -m 755 /construction/www/cgiparse/stage/usr/local/include for i in cgi.h; do cp $i /construction/www/cgiparse/stage/usr/local/include; chmod 0444 /construction/www/cgiparse/stage/usr/local/include/$i; done ln -sf libcgiparse.so.1 /construction/www/cgiparse/stage/usr/local/lib/libcgiparse.so /usr/bin/strip /construction/www/cgiparse/stage/usr/local/lib/libcgiparse.so ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for cgiparse-0.9b file sizes/checksums [8]: . done packing files [8]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 13 APR 2018 at 07:58:34 UTC Duration: 00:00:06