Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513852 - dev-lang/mono-3.2.8 please make kernel checks nonfatal
Summary: dev-lang/mono-3.2.8 please make kernel checks nonfatal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-19 12:55 UTC by Patrick Lauer
Modified: 2014-11-18 02:46 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2014-06-19 12:55:05 UTC
This prevents building in chroots and creating binpkgs for no apparent raisin:

 * Package:    dev-lang/mono-3.2.8
 * Repository: gentoo
 * Maintainer: dotnet
 * USE:        amd64 elibc_glibc kernel_linux nls userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.
 * ERROR: dev-lang/mono-3.2.8::gentoo failed (pretend phase):
 *   Kernel not configured; no .config found in 

Please make this check nonfatal for improved happy
Comment 1 Cynede (RETIRED) gentoo-dev 2014-07-17 04:14:22 UTC
Hello.

Change: use kernel_linux && check_extra_config
To: use kernel_linux && nonfatal check_extra_config

here: https://github.com/gentoo/dotnet/blob/master/dev-lang/mono/mono-3.2.8.ebuild#L40

Right?
Comment 2 Cynede (RETIRED) gentoo-dev 2014-07-17 04:17:58 UTC
Will sync github with layman repository later or someone else should do it
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-07-17 17:54:14 UTC
I'd prefer if we fix up the dotnet packages in the Portage tree.
Comment 4 Cynede (RETIRED) gentoo-dev 2014-07-18 03:47:14 UTC
Sure, sorry I forgot that you've bumped it there.
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2014-11-12 00:08:42 UTC
Two things:

First, this solution is wrong.  linux-info expects things to be prefixed with ~ to be nonfatal, not for you to run the check with "nonfatal check_extra_config"

Second, this has been marked in progress for 6 months.  If there is a reason this is being held up, please state it.  Otherwise please fix the ebuilds in the portage tree properly so I don't have to.  I don't want to mess up anything you are working on but this is far too trivial to be sitting here for this long.
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2014-11-18 02:46:17 UTC
I have fixed this making the minimum number of possible changes.  Please don't make config checks fatal as it prevents a number of build cases improperly.