(I'm filling this bug to notice and get confirm from original ebuild maintainer team) On FreeBSD (or any non-Linux system) we get such useless warnings: ERROR: setup Unable to find kernel sources at /usr/src/linux WARN: setup Unable to calculate Linux Kernel version for build, attempting to use running version Can't check the linux kernel configuration. You might have some incompatible options enabled. I'm going to fix ebuild to suppress this ERROR and WARNING. Reproducible: Always
Created attachment 286203 [details, diff] simple patch for ebuilds I'm adding this change to the ebuilds. It just move linux related codes into "if use kernel_linux; then ... fi" block. printing team, please check/review the change. I'll add this fix in a week.
Thanks; fixed in cups-1.5.0