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
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?
Will sync github with layman repository later or someone else should do it
I'd prefer if we fix up the dotnet packages in the Portage tree.
Sure, sorry I forgot that you've bumped it there.
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.
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.