=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for imlib-1.9.15nb15
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/scratch/graphics/imlib/work/imlib-1.9.15'
Making all in Imlib
gmake[2]: Entering directory `/scratch/graphics/imlib/work/imlib-1.9.15/Imlib'
if /bin/sh ../libtool --mode=compile gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I. -I.. -I. -I. -I.. -I./.. -I/usr/pkg/include  -DENABLE_NLS -I/usr/include -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include -MT cache.lo -MD -MP -MF ".deps/cache.Tpo" \
  -c -o cache.lo `test -f 'cache.c' || echo './'`cache.c; \
then mv -f ".deps/cache.Tpo" ".deps/cache.Plo"; \
else rm -f ".deps/cache.Tpo"; exit 1; \
fi
if /bin/sh ../libtool --mode=compile gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I. -I.. -I. -I. -I.. -I./.. -I/usr/pkg/include  -DENABLE_NLS -I/usr/include -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include -MT colors.lo -MD -MP -MF ".deps/colors.Tpo" \
  -c -o colors.lo `test -f 'colors.c' || echo './'`colors.c; \
then mv -f ".deps/colors.Tpo" ".deps/colors.Plo"; \
else rm -f ".deps/colors.Tpo"; exit 1; \
fi
if /bin/sh ../libtool --mode=compile gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I. -I.. -I. -I. -I.. -I./.. -I/usr/pkg/include  -DENABLE_NLS -I/usr/include -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include -MT load.lo -MD -MP -MF ".deps/load.Tpo" \
  -c -o load.lo `test -f 'load.c' || echo './'`load.c; \
then mv -f ".deps/load.Tpo" ".deps/load.Plo"; \
else rm -f ".deps/load.Tpo"; exit 1; \
fi
if /bin/sh ../libtool --mode=compile gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I. -I.. -I. -I. -I.. -I./.. -I/usr/pkg/include  -DENABLE_NLS -I/usr/include -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include -MT misc.lo -MD -MP -MF ".deps/misc.Tpo" \
  -c -o misc.lo `test -f 'misc.c' || echo './'`misc.c; \
then mv -f ".deps/misc.Tpo" ".deps/misc.Plo"; \
else rm -f ".deps/misc.Tpo"; exit 1; \
fi
libtool: compile:  gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I.. -I./.. -I/scratch/graphics/imlib/work/.buildlink/include -DENABLE_NLS -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c  -fPIC -DPIC -o .libs/misc.o
libtool: compile:  gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I.. -I./.. -I/scratch/graphics/imlib/work/.buildlink/include -DENABLE_NLS -O2 -MT load.lo -MD -MP -MF .deps/load.Tpo -c load.c  -fPIC -DPIC -o .libs/load.o
libtool: compile:  gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I.. -I./.. -I/scratch/graphics/imlib/work/.buildlink/include -DENABLE_NLS -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c misc.c -o misc.o >/dev/null 2>&1
libtool: compile:  gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I.. -I./.. -I/scratch/graphics/imlib/work/.buildlink/include -DENABLE_NLS -O2 -MT colors.lo -MD -MP -MF .deps/colors.Tpo -c colors.c  -fPIC -DPIC -o .libs/colors.o
libtool: compile:  gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I.. -I./.. -I/scratch/graphics/imlib/work/.buildlink/include -DENABLE_NLS -O2 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.c  -fPIC -DPIC -o .libs/cache.o
colors.c:187:14: warning: implicit declaration of function 'basename' is invalid in C99 [-Wimplicit-function-declaration]
      ctmp = basename(file);
             ^
colors.c:187:12: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
      ctmp = basename(file);
           ^ ~~~~~~~~~~~~~~
2 warnings generated.
libtool: compile:  gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I.. -I./.. -I/scratch/graphics/imlib/work/.buildlink/include -DENABLE_NLS -O2 -MT colors.lo -MD -MP -MF .deps/colors.Tpo -c colors.c -o colors.o >/dev/null 2>&1
libtool: compile:  gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I.. -I./.. -I/scratch/graphics/imlib/work/.buildlink/include -DENABLE_NLS -O2 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.c -o cache.o >/dev/null 2>&1
load.c:457:30: error: too few arguments to function call, expected 2, have 1
  gif = DGifOpenFileHandle(fd);
        ~~~~~~~~~~~~~~~~~~   ^
/scratch/graphics/imlib/work/.buildlink/include/gif_lib.h:178:1: note: 'DGifOpenFileHandle' declared here
GifFileType *DGifOpenFileHandle(int GifFileHandle, int *Error);
^
load.c:465:4: warning: implicit declaration of function 'PrintGifError' is invalid in C99 [-Wimplicit-function-declaration]
          PrintGifError();
          ^
load.c:659:47: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
  if (bpp != 1 && bpp != 4 && bpp != 8 && bpp && 16 && bpp != 24 && bpp != 32)
                                              ^  ~~
load.c:659:47: note: use '&' for a bitwise operation
  if (bpp != 1 && bpp != 4 && bpp != 8 && bpp && 16 && bpp != 24 && bpp != 32)
                                              ^~
                                              &
load.c:659:47: note: remove constant to silence this warning
  if (bpp != 1 && bpp != 4 && bpp != 8 && bpp && 16 && bpp != 24 && bpp != 32)
                                             ~^~~~~
load.c:1108:17: warning: passing 'unsigned char [6]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      strncpy(cmap[j].str, line, cpp);
                              ^~~~~~~~~~~
/usr/include/string.h:64:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
load.c:1161:30: warning: if statement has empty body [-Wempty-body]
                                  if (slen < sizeof(tok));
                                                         ^
load.c:1161:30: note: put the semicolon on a separate line to silence this warning
load.c:1276:24: warning: passing 'unsigned char [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                  if (!strcmp(col, cmap[j].str))
                                                   ^~~~~~~~~~~
/usr/include/string.h:56:39: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                                          ^
load.c:1307:24: warning: passing 'unsigned char [6]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                  if (!strcmp(col, cmap[j].str))
                                                   ^~~~~~~~~~~
/usr/include/string.h:56:39: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                                          ^
load.c:1523:15: warning: unsequenced modification and access to 'a' [-Wunsequenced]
                              ptr[a++] = ptr[a - 1];
                                   ^         ~
load.c:1524:15: warning: unsequenced modification and access to 'a' [-Wunsequenced]
                              ptr[a++] = ptr[a - 1];
                                   ^         ~
load.c:1541:15: warning: unsequenced modification and access to 'a' [-Wunsequenced]
                              ptr[a++] = ptr[a - 1];
                                   ^         ~
load.c:1542:15: warning: unsequenced modification and access to 'a' [-Wunsequenced]
                              ptr[a++] = ptr[a - 1];
                                   ^         ~
load.c:1963:22: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
          strncat(fil, ":", sizeof(fil) - strlen(fil));
                            ^~~~~~~~~~~~~~~~~~~~~~~~~
load.c:1963:22: note: change the argument to be the free space in the destination buffer minus the terminating null byte
          strncat(fil, ":", sizeof(fil) - strlen(fil));
                            ^~~~~~~~~~~~~~~~~~~~~~~~~
                            sizeof(fil) - strlen(fil) - 1
load.c:1967:23: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
          strncat(fil, iden, sizeof(fil) - strlen(fil));
                             ^~~~~~~~~~~~~~~~~~~~~~~~~
load.c:1967:23: note: change the argument to be the free space in the destination buffer minus the terminating null byte
          strncat(fil, iden, sizeof(fil) - strlen(fil));
                             ^~~~~~~~~~~~~~~~~~~~~~~~~
                             sizeof(fil) - strlen(fil) - 1
if /bin/sh ../libtool --mode=compile gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I. -I.. -I. -I. -I.. -I./.. -I/usr/pkg/include  -DENABLE_NLS -I/usr/include -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include  -O2 -I/usr/include -I/usr/pkg/include -MT rend.lo -MD -MP -MF ".deps/rend.Tpo" \
  -c -o rend.lo `test -f 'rend.c' || echo './'`rend.c; \
then mv -f ".deps/rend.Tpo" ".deps/rend.Plo"; \
else rm -f ".deps/rend.Tpo"; exit 1; \
fi
12 warnings and 1 error generated.
gmake[2]: *** [load.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I.. -I./.. -I/scratch/graphics/imlib/work/.buildlink/include -DENABLE_NLS -O2 -MT rend.lo -MD -MP -MF .deps/rend.Tpo -c rend.c  -fPIC -DPIC -o .libs/rend.o
libtool: compile:  gcc -DSYSTEM_IMRC=\"/usr/pkg/etc/imlib/imrc\" -DSYSCONFDIR=\"/usr/pkg/etc/imlib\" -I. -I.. -I./.. -I/scratch/graphics/imlib/work/.buildlink/include -DENABLE_NLS -O2 -MT rend.lo -MD -MP -MF .deps/rend.Tpo -c rend.c -o rend.o >/dev/null 2>&1
gmake[2]: Leaving directory `/scratch/graphics/imlib/work/imlib-1.9.15/Imlib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/scratch/graphics/imlib/work/imlib-1.9.15'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/graphics/imlib
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/graphics/imlib
