=> Bootstrap dependency digest>=20010302: found digest-20160304 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 cups-drivers-Magicolor5440DL-1.2.1nb13 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/data/scratch/print/cups-drivers-Magicolor5440DL/work/5440DL_64_v1.2.1/magicolor5440DL-1.2.1' Making all in src gmake[2]: Entering directory '/data/scratch/print/cups-drivers-Magicolor5440DL/work/5440DL_64_v1.2.1/magicolor5440DL-1.2.1/src' if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/local/include -O2 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -MT rastertokmlf.o -MD -MP -MF ".deps/rastertokmlf.Tpo" -c -o rastertokmlf.o rastertokmlf.c; \ then mv -f ".deps/rastertokmlf.Tpo" ".deps/rastertokmlf.Po"; else rm -f ".deps/rastertokmlf.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/local/include -O2 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -MT bmp.o -MD -MP -MF ".deps/bmp.Tpo" -c -o bmp.o bmp.c; \ then mv -f ".deps/bmp.Tpo" ".deps/bmp.Po"; else rm -f ".deps/bmp.Tpo"; exit 1; fi In file included from bmp.c:9: /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ bmp.c:158:11: warning: passing 'BYTE [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(szFile, ^~~~~~ /usr/include/stdio.h:268:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...) ^ bmp.c:162:15: warning: passing 'BYTE [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fh = fopen( szFile, "rb"); ^~~~~~ /usr/include/stdio.h:230:37: note: passing argument to parameter here FILE *fopen(const char * __restrict , const char * __restrict); ^ bmp.c:174:51: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(stderr, "ERROR: numread=%d, size=%d\n",numread,sizeof(BITMAPFILEHEADER)); ~~ ^~~~~~~ %zu bmp.c:174:59: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr, "ERROR: numread=%d, size=%d\n",numread,sizeof(BITMAPFILEHEADER)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %lu bmp.c:200:57: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] fprintf(stderr, "ERROR: pbih->width=%d,height=%d\n)",pbih->biWidth,pbih->biHeight); ~~ ^~~~~~~~~~~~~ %lu bmp.c:200:71: warning: format specifies type 'int' but the argument has type 'DWORD' (aka 'unsigned long') [-Wformat] fprintf(stderr, "ERROR: pbih->width=%d,height=%d\n)",pbih->biWidth,pbih->biHeight); ~~ ^~~~~~~~~~~~~~ %lu bmp.c:201:51: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(stderr, "ERROR: size=%d,NULL pHTtmp\n",sizeof(HTHEADER)); ~~ ^~~~~~~~~~~~~~~~ %lu 8 warnings generated. In file included from rastertokmlf.c:65: /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (size < 0) return NULL; // Prevent signed size_t exploits ~~~~ ^ ~ rastertokmlf.c:129:16: error: unknown type name 'ppd_file_t'; did you mean 'cups_file_t'? int StartPage(ppd_file_t *ppd, cups_page_header_t *header); ^~~~~~~~~~ cups_file_t /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:29: note: 'cups_file_t' declared here typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:196:14: error: unknown type name 'ppd_file_t'; did you mean 'cups_file_t'? StartPage(ppd_file_t *ppd, /* I - PPD file */ ^~~~~~~~~~ cups_file_t /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:29: note: 'cups_file_t' declared here typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:533:24: error: incomplete definition of type 'struct _cups_file_s' if(iPageWidth < ppd->custom_min[0]) ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:987:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fpTmp = fopen("/etc/fedora-release", "r")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rastertokmlf.c:987:13: note: place parentheses around the assignment to silence this warning if (fpTmp = fopen("/etc/fedora-release", "r")) ^ ( ) rastertokmlf.c:987:13: note: use '==' to turn this assignment into an equality comparison if (fpTmp = fopen("/etc/fedora-release", "r")) ^ == rastertokmlf.c:992:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fpTmp = fopen("/etc/SuSE-release", "r")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rastertokmlf.c:992:17: note: place parentheses around the assignment to silence this warning else if(fpTmp = fopen("/etc/SuSE-release", "r")) ^ ( ) rastertokmlf.c:992:17: note: use '==' to turn this assignment into an equality comparison else if(fpTmp = fopen("/etc/SuSE-release", "r")) ^ == rastertokmlf.c:997:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fpTmp = fopen("/etc/debian_version", "r")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rastertokmlf.c:997:17: note: place parentheses around the assignment to silence this warning else if(fpTmp = fopen("/etc/debian_version", "r")) ^ ( ) rastertokmlf.c:997:17: note: use '==' to turn this assignment into an equality comparison else if(fpTmp = fopen("/etc/debian_version", "r")) ^ == rastertokmlf.c:1002:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fpTmp = fopen("/etc/mandrake-release", "r")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rastertokmlf.c:1002:17: note: place parentheses around the assignment to silence this warning else if(fpTmp = fopen("/etc/mandrake-release", "r")) ^ ( ) rastertokmlf.c:1002:17: note: use '==' to turn this assignment into an equality comparison else if(fpTmp = fopen("/etc/mandrake-release", "r")) ^ == rastertokmlf.c:1007:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fpTmp = fopen("/etc/gentoo-release", "r")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rastertokmlf.c:1007:17: note: place parentheses around the assignment to silence this warning else if(fpTmp = fopen("/etc/gentoo-release", "r")) ^ ( ) rastertokmlf.c:1007:17: note: use '==' to turn this assignment into an equality comparison else if(fpTmp = fopen("/etc/gentoo-release", "r")) ^ == rastertokmlf.c:1012:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fpTmp = fopen("/etc/slackware-version", "r")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rastertokmlf.c:1012:17: note: place parentheses around the assignment to silence this warning else if(fpTmp = fopen("/etc/slackware-version", "r")) ^ ( ) rastertokmlf.c:1012:17: note: use '==' to turn this assignment into an equality comparison else if(fpTmp = fopen("/etc/slackware-version", "r")) ^ == rastertokmlf.c:1017:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (fpTmp = fopen("/etc/readhat-release", "r")) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rastertokmlf.c:1017:18: note: place parentheses around the assignment to silence this warning else if (fpTmp = fopen("/etc/readhat-release", "r")) ^ ( ) rastertokmlf.c:1017:18: note: use '==' to turn this assignment into an equality comparison else if (fpTmp = fopen("/etc/readhat-release", "r")) ^ == rastertokmlf.c:1048:4: error: unknown type name 'ppd_file_t'; did you mean 'cups_file_t'? ppd_file_t *ppd; /* PPD file */ ^~~~~~~~~~ cups_file_t /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:29: note: 'cups_file_t' declared here typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1113:10: warning: implicit declaration of function 'ppdOpenFile' is invalid in C99 [-Wimplicit-function-declaration] ppd = ppdOpenFile(getenv("PPD")); ^ rastertokmlf.c:1113:8: warning: incompatible integer to pointer conversion assigning to 'cups_file_t *' (aka 'struct _cups_file_s *') from 'int' [-Wint-conversion] ppd = ppdOpenFile(getenv("PPD")); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ rastertokmlf.c:1115:53: error: incomplete definition of type 'struct _cups_file_s' fprintf(stderr, "DEBUG: ppd language is %s\n",ppd->lang_version); ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1135:11: warning: 'cupsRasterReadHeader' is deprecated: Use cupsRasterReadHeader2 instead. [-Wdeprecated-declarations] while (cupsRasterReadHeader(ras, &header)) ^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/raster.h:397:48: note: 'cupsRasterReadHeader' has been explicitly marked deprecated here cups_page_header_t *h) _CUPS_DEPRECATED_MSG("Use cupsRasterReadHeader2 instead."); ^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/versioning.h:136:55: note: expanded from macro '_CUPS_DEPRECATED_MSG' # define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) ^ rastertokmlf.c:1178:32: error: incomplete definition of type 'struct _cups_file_s' if((header.PageSize[0] > ppd->custom_max[0]) || ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1180:32: error: incomplete definition of type 'struct _cups_file_s' (header.PageSize[1] > ppd->custom_max[1]) || ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1181:32: error: incomplete definition of type 'struct _cups_file_s' (header.PageSize[1] < ppd->custom_min[1])) ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1193:32: error: incomplete definition of type 'struct _cups_file_s' if((header.PageSize[0] > ppd->custom_max[0]) || ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1195:30: error: incomplete definition of type 'struct _cups_file_s' (header.PageSize[1] > ppd->custom_max[1]) || ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1196:30: error: incomplete definition of type 'struct _cups_file_s' (header.PageSize[1] < ppd->custom_min[1])) ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1222:32: error: incomplete definition of type 'struct _cups_file_s' if((header.PageSize[0] > ppd->custom_max[0]) || ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1223:32: error: incomplete definition of type 'struct _cups_file_s' (header.PageSize[0] < ppd->custom_min[0]) || ~~~^ /data/scratch/print/cups-drivers-Magicolor5440DL/work/.buildlink/include/cups/file.h:60:16: note: forward declaration of 'struct _cups_file_s' typedef struct _cups_file_s cups_file_t;/**** CUPS file type ****/ ^ rastertokmlf.c:1775:7: warning: implicit declaration of function 'ppdClose' is invalid in C99 [-Wimplicit-function-declaration] ppdClose(ppd); ^ 12 warnings and 13 errors generated. Makefile:221: recipe for target 'rastertokmlf.o' failed gmake[2]: *** [rastertokmlf.o] Error 1 gmake[2]: Leaving directory '/data/scratch/print/cups-drivers-Magicolor5440DL/work/5440DL_64_v1.2.1/magicolor5440DL-1.2.1/src' Makefile:214: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/print/cups-drivers-Magicolor5440DL/work/5440DL_64_v1.2.1/magicolor5440DL-1.2.1' Makefile:152: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/print/cups-drivers-Magicolor5440DL *** Error code 1 Stop. make: stopped in /data/pkgsrc/print/cups-drivers-Magicolor5440DL