The build failed with these error: execjob.c:1164:108: error: passing argument 3 of 'add_param_int' makes integer from pointer without a cast [-Wint-conversion] 1164 | num = add_param_int(ptr_param, kPPD_Items_CNJobResultNoticeAddress, ppd_opt->job_result_notice_address); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * On AUR is an patch for this: https://aur.archlinux.org/cgit/aur.git/tree/replace_incorrect_int_with_char.patch?h=cnrdrvcups-lb
Created attachment 916518 [details, diff] patch for fixing the compile error on amd64
Created attachment 916519 [details] modified ebuild to run patch this modified ebuild runs the patch which needs to be put in the files/ directory, best is to run with a local overlay but you can also hack in your portage repo
I put the patch in: /etc/portage/patches/net-print/cnrdrvcups-lb/ Fixed the compilation for me. And afterwards I had to fix two symlinks: ln -snf /usr/lib/cups/filter/pdftocpca /usr/libexec/cups/filter/pdftocpca ln -snf /usr/lib/cups/filter/rastertoufr2 /usr/libexec/cups/filter/rastertoufr2