Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382675 - net-print/cups: Suppress linux kernel warning on non-Linux system
Summary: net-print/cups: Suppress linux kernel warning on non-Linux system
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal trivial
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 07:19 UTC by Naohiro Aota
Modified: 2020-12-29 23:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
simple patch for ebuilds (cups.patch,7.42 KB, patch)
2011-09-12 07:22 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2011-09-12 07:19:10 UTC
(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
Comment 1 Naohiro Aota gentoo-dev 2011-09-12 07:22:45 UTC
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.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2012-01-27 22:18:53 UTC
Thanks; fixed in cups-1.5.0