Error in compile phase: utils/cups-browsed.c:6219:52: error: expected ';' before 'strcpy' 6219 | cupsArrayFind(pdl_list, "application/x-pcl")) | ^ | ; 6220 | strcpy(document_format,"pcl"); | ~~~~~~ Solution: put the missing ';' in the line 6219. After: cups-browsed.c:(.text+0xbf78): undefined reference to `stcpy' # grep -n stcpy cups-browsed.c 6217: stcpy(document_format,"pclxl"); Solution: simply correct the function's name. So cups-filters finally compiles correctly. Also all other ~amd64 versions 1.2[567]* and 9999: cupsfilters/ppdgenerator.c: In function 'ppdCreateFromIPP2': cupsfilters/ppdgenerator.c:3401:13: error: 'IPP_FINISHINGS_FOLD_ENGINEERING_Z' undeclared (first use in this function); did you mean 'IPP_FINISHINGS_FOLD_POSTER'? 3401 | value <= IPP_FINISHINGS_FOLD_ENGINEERING_Z) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IPP_FINISHINGS_FOLD_POSTER cupsfilters/ppdgenerator.c:3401:13: note: each undeclared identifier is reported only once for each function it appears in cupsfilters/ppdgenerator.c:3501:13: error: 'IPP_FINISHINGS_PUNCH_MULTIPLE_BOTTOM' undeclared (first use in this function); did you mean 'IPP_FINISHINGS_PUNCH_TRIPLE_BOTTOM'? 3501 | value <= IPP_FINISHINGS_PUNCH_MULTIPLE_BOTTOM) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IPP_FINISHINGS_PUNCH_TRIPLE_BOTTOM
I think it is fixed in the more recent versions upstream. https://github.com/OpenPrinting/cups-filters/blob/master/utils/cups-browsed.c Please test the other ebuilds and report. Please paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Strangely cups-filters-1.25.11 now compiles well and the problematic line has moved from 6219 to 6355. However original file manually downloaded from server still has the problematic line. Something that I don't understand has been done on gentoo's ebuild. cups-9999 has the same behaviour. So for me the problema is solved. Thanks.
Created attachment 626486 [details] emerge --info net-print/cups-filters