=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xpp-1.5nb37 /opt/pkg/bin/fluid -c mainwindow.fl clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_IPP_PRIVATE_STRUCTURES -pipe -Os -I/opt/pkg/include -c cupshelper.cxx clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_IPP_PRIVATE_STRUCTURES -pipe -Os -I/opt/pkg/include -c passworddialog.cxx clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_IPP_PRIVATE_STRUCTURES -pipe -Os -I/opt/pkg/include -c xpp.cxx passworddialog.cxx:34:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = fl_input("%s\nLogin:",login,prompt)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ passworddialog.cxx:34:11: note: place parentheses around the assignment to silence this warning if (str = fl_input("%s\nLogin:",login,prompt)) { ^ ( ) passworddialog.cxx:34:11: note: use '==' to turn this assignment into an equality comparison if (str = fl_input("%s\nLogin:",login,prompt)) { ^ == 1 warning generated. In file included from cupshelper.cxx:34: In file included from ./cupshelper.h:36: In file included from /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/cups.h:27: In file included from /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/file.h:24: /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/versioning.h:110:55: warning: 'TARGET_OS_OSX' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_] # if defined(__APPLE__) && !defined(_CUPS_SOURCE) && TARGET_OS_OSX ^ clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_IPP_PRIVATE_STRUCTURES -pipe -Os -I/opt/pkg/include -c xppmain.cxx cupshelper.cxx:102:17: warning: 'httpConnect' is deprecated: first deprecated in macOS 10.9 - Use httpConnect2 instead. [-Wdeprecated-declarations] http_t *HTTP = httpConnect(host_,port_); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/http.h:476:17: note: 'httpConnect' has been explicitly marked deprecated here extern http_t *httpConnect(const char *host, int port) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); ^ cupshelper.cxx:121:17: warning: 'httpConnect' is deprecated: first deprecated in macOS 10.9 - Use httpConnect2 instead. [-Wdeprecated-declarations] http_t *HTTP = httpConnect(host_,port_); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/http.h:476:17: note: 'httpConnect' has been explicitly marked deprecated here extern http_t *httpConnect(const char *host, int port) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead."); ^ 3 warnings generated. In file included from xpp.cxx:33: In file included from ./xpp.h:36: In file included from /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/cups.h:27: In file included from /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/file.h:24: /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/versioning.h:110:55: warning: 'TARGET_OS_OSX' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_] # if defined(__APPLE__) && !defined(_CUPS_SOURCE) && TARGET_OS_OSX ^ clang++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DX_DISPLAY_MISSING=1 -DHAVE_LIBX11=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_IPP_PRIVATE_STRUCTURES -pipe -Os -I/opt/pkg/include -c inputslider.cxx xpp.cxx:496:23: warning: 'cupsGetPPD' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] const char* str = cupsGetPPD(dests[dest_pos].name); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:358:20: note: 'cupsGetPPD' has been explicitly marked deprecated here extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:498:19: warning: 'ppdOpenFile' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppds[dest_pos] = ppdOpenFile(str); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:389:20: note: 'ppdOpenFile' has been explicitly marked deprecated here extern ppd_file_t *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:551:5: warning: 'ppdMarkDefaults' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppds[dest_pos]); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:384:14: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:552:5: warning: 'cupsMarkOptions' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(ppds[dest_pos],dests[dest_pos].num_options, ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:362:13: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:555:9: warning: 'ppdConflicts' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (ppdConflicts(ppds[dest_pos])) { ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:367:13: note: 'ppdConflicts' has been explicitly marked deprecated here extern int ppdConflicts(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:655:16: warning: 'cupsTempFile' is deprecated: Use cupsTempFd or cupsTempFile2 instead. [-Wdeprecated-declarations] temp = fopen(cupsTempFile(tempfile, sizeof(tempfile)), "w"); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/cups.h:356:53: note: 'cupsTempFile' has been explicitly marked deprecated here extern char *cupsTempFile(char *filename, int len) _CUPS_DEPRECATED_MSG("Use cupsTempFd or cupsTempFile2 instead."); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/versioning.h:190:53: note: expanded from macro '_CUPS_DEPRECATED_MSG' # define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) _CUPS_PUBLIC ^ xpp.cxx:746:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = cupsGetOption("job-sheets",num_changed_options, ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:746:11: note: place parentheses around the assignment to silence this warning if (s = cupsGetOption("job-sheets",num_changed_options, ^ ( xpp.cxx:746:11: note: use '==' to turn this assignment into an equality comparison if (s = cupsGetOption("job-sheets",num_changed_options, ^ == xpp.cxx:907:19: warning: 'cupsGetPPD' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((filename = cupsGetPPD(dests[dest_pos].name)) == NULL) return(0); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:358:20: note: 'cupsGetPPD' has been explicitly marked deprecated here extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:930:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (line_contents = strstr(line,"*% COMDATA #")) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:930:23: note: place parentheses around the assignment to silence this warning if (line_contents = strstr(line,"*% COMDATA #")) { ^ ( ) xpp.cxx:930:23: note: use '==' to turn this assignment into an equality comparison if (line_contents = strstr(line,"*% COMDATA #")) { ^ == xpp.cxx:1134:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (line_contents = strstr(line,"*FoomaticRIP")) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1134:30: note: place parentheses around the assignment to silence this warning } else if (line_contents = strstr(line,"*FoomaticRIP")) { ^ ( ) xpp.cxx:1134:30: note: use '==' to turn this assignment into an equality comparison } else if (line_contents = strstr(line,"*FoomaticRIP")) { ^ == xpp.cxx:1138:58: warning: format specifies type 'char *' but the argument has type 'char (*)[1024]' [-Wformat] if (sscanf(line_contents, "Option %40[^: ]: %19s", &argname, ~~~~~~~ ^~~~~~~~ xpp.cxx:1139:4: warning: format specifies type 'char *' but the argument has type 'char (*)[20]' [-Wformat] &typestr) == 2) { ^~~~~~~~ xpp.cxx:1170:37: warning: format specifies type 'char *' but the argument has type 'char (*)[1024]' [-Wformat] "OptionRange %40[^: ]: %lf %lf", &argname, &min, &max) ~~~~~~~ ^~~~~~~~ xpp.cxx:1180:31: warning: format specifies type 'char *' but the argument has type 'char (*)[1024]' [-Wformat] "Default%40[^: ]: %1023s", &argname, &defstr) ~~~~~~~ ^~~~~~~~ xpp.cxx:1180:41: warning: format specifies type 'char *' but the argument has type 'char (*)[1024]' [-Wformat] "Default%40[^: ]: %1023s", &argname, &defstr) ~~~~~~ ^~~~~~~ xpp.cxx:1084:4: warning: 'strncpy' size argument is too large; destination buffer has size 128, but size argument is 1023 [-Wfortify-source] strncpy(numbuffer, defstr, 1023); ^ xpp.cxx:1282:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"PageSize"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1285:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"InputSlot"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1288:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"MediaType"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1291:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"EFMediaQualityMode"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1294:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"ManualFeed"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1300:23: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!(ppdoption = ppdFindOption(ppds[dest_pos],"Duplex"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1301:25: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (!(ppdoption = ppdFindOption(ppds[dest_pos],"EFDuplex"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1302:21: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdoption = ppdFindOption(ppds[dest_pos],"KD03Duplex"); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1325:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"Resolution"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1328:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"SetResolution"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1331:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"JCLResolution"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1334:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"CNRes_PGP"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1340:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],"OutputBin"))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1346:22: warning: 'ppdFindOption' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if ((ppdoption = ppdFindOption(ppds[dest_pos],option[k]))) ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:380:22: note: 'ppdFindOption' has been explicitly marked deprecated here extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword) ^ xpp.cxx:1448:24: warning: 'ppdFindMarkedChoice' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppd_choice_t *ch = ppdFindMarkedChoice(ppds[dest_pos],"PageSize"); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:377:22: note: 'ppdFindMarkedChoice' has been explicitly marked deprecated here extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, ^ xpp.cxx:1450:16: warning: 'ppdPageSize' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] pagesize = ppdPageSize(ppds[dest_pos],(str ? str : "Letter")); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:392:20: note: 'ppdPageSize' has been explicitly marked deprecated here extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) ^ xpp.cxx:1471:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = cupsGetOption("media",num_changed_options,changed_options)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1471:11: note: place parentheses around the assignment to silence this warning if (str = cupsGetOption("media",num_changed_options,changed_options)) { ^ ( ) xpp.cxx:1471:11: note: use '==' to turn this assignment into an equality comparison if (str = cupsGetOption("media",num_changed_options,changed_options)) { ^ == xpp.cxx:1482:14: warning: 'ppdPageSize' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] sz = ppdPageSize(ppds[dest_pos],c); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:392:20: note: 'ppdPageSize' has been explicitly marked deprecated here extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) ^ xpp.cxx:1510:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = cupsGetOption("PageSize",num_changed_options,changed_options)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1510:11: note: place parentheses around the assignment to silence this warning if (str = cupsGetOption("PageSize",num_changed_options,changed_options)) { ^ ( ) xpp.cxx:1510:11: note: use '==' to turn this assignment into an equality comparison if (str = cupsGetOption("PageSize",num_changed_options,changed_options)) { ^ == xpp.cxx:1513:30: warning: 'ppdPageSize' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (ppds[dest_pos]) sz = ppdPageSize(ppds[dest_pos],str); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:392:20: note: 'ppdPageSize' has been explicitly marked deprecated here extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name) ^ xpp.cxx:1533:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = getOptionValue("orientation-requested")) orientation = atoi(str); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1533:11: note: place parentheses around the assignment to silence this warning if (str = getOptionValue("orientation-requested")) orientation = atoi(str); ^ ( ) xpp.cxx:1533:11: note: use '==' to turn this assignment into an equality comparison if (str = getOptionValue("orientation-requested")) orientation = atoi(str); ^ == xpp.cxx:1549:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = (getOptionValue("page-top"))) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1549:11: note: place parentheses around the assignment to silence this warning if (val = (getOptionValue("page-top"))) { ^ ( ) xpp.cxx:1549:11: note: use '==' to turn this assignment into an equality comparison if (val = (getOptionValue("page-top"))) { ^ == xpp.cxx:1553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = (getOptionValue("page-bottom"))) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1553:11: note: place parentheses around the assignment to silence this warning if (val = (getOptionValue("page-bottom"))) { ^ ( ) xpp.cxx:1553:11: note: use '==' to turn this assignment into an equality comparison if (val = (getOptionValue("page-bottom"))) { ^ == xpp.cxx:1557:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = (getOptionValue("page-left"))) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1557:11: note: place parentheses around the assignment to silence this warning if (val = (getOptionValue("page-left"))) { ^ ( ) xpp.cxx:1557:11: note: use '==' to turn this assignment into an equality comparison if (val = (getOptionValue("page-left"))) { ^ == xpp.cxx:1561:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (val = (getOptionValue("page-right"))) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xpp.cxx:1561:11: note: place parentheses around the assignment to silence this warning if (val = (getOptionValue("page-right"))) { ^ ( ) xpp.cxx:1561:11: note: use '==' to turn this assignment into an equality comparison if (val = (getOptionValue("page-right"))) { ^ == xpp.cxx:1577:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xpp.cxx:2110:5: warning: 'ppdMarkDefaults' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppds[dest_pos]); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:384:14: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:2112:5: warning: 'cupsMarkOptions' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(ppds[dest_pos],num_changed_options,changed_options); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:362:13: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:2159:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (arg == NULL) arg = ""; else {*arg = '\0'; arg ++; } ^ xpp.cxx:2255:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if (arg == NULL) arg = ""; else {*arg = '\0'; arg ++; } ^ xpp.cxx:2372:12: warning: 'fl_ask' is deprecated [-Wdeprecated-declarations] if (!fl_ask("Do you really want to overwrite the default instance of \"%s\"?",dests[dest_index].name)) { ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/FL/fl_ask.H:55:82: note: 'fl_ask' has been explicitly marked deprecated here FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); ^ xpp.cxx:2383:12: warning: 'fl_ask' is deprecated [-Wdeprecated-declarations] if (!fl_ask("The instance \"%s\" for the queue \"%s\" already exists, do you want to overwrite it?",new_name,dests[dest_index].name)) { ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/FL/fl_ask.H:55:82: note: 'fl_ask' has been explicitly marked deprecated here FL_EXPORT int fl_ask(const char *,...) __fl_attr((__format__ (__printf__, 1, 2), __deprecated__)); ^ xpp.cxx:2549:3: warning: 'ppdMarkDefaults' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppds[new_index]); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:384:14: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:2550:3: warning: 'cupsMarkOptions' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(ppds[new_index], ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:362:13: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:2610:5: warning: 'ppdMarkDefaults' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] ppdMarkDefaults(ppds[dest_index]); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:384:14: note: 'ppdMarkDefaults' has been explicitly marked deprecated here extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:2611:5: warning: 'cupsMarkOptions' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] cupsMarkOptions(ppds[dest_index], ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:362:13: note: 'cupsMarkOptions' has been explicitly marked deprecated here extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:2625:33: warning: 'ppdClose' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (ppds[dest_index] != NULL) ppdClose(ppds[dest_index]); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:364:14: note: 'ppdClose' has been explicitly marked deprecated here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ xpp.cxx:2696:26: warning: 'ppdClose' is deprecated: first deprecated in macOS 10.8 - Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] if (ppds[i] != NULL) ppdClose(ppds[i]); ^ /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/ppd.h:364:14: note: 'ppdClose' has been explicitly marked deprecated here extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); ^ In file included from xppmain.cxx:34: In file included from ./mainwindow.h:10: In file included from ./xpp.h:36: In file included from /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/cups.h:27: In file included from /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/file.h:24: /Users/pbulk/build/print/xpp/work/.buildlink/include/cups/versioning.h:110:55: warning: 'TARGET_OS_OSX' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_] # if defined(__APPLE__) && !defined(_CUPS_SOURCE) && TARGET_OS_OSX ^ In file included from xppmain.cxx:34: ./mainwindow.h:12:10: fatal error: 'FL/fl_file_chooser.H' file not found #include ^~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. gmake: *** [Makefile:313: xppmain.o] Error 1 gmake: *** Waiting for unfinished jobs.... 55 warnings generated. *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/print/xpp *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/print/xpp