Hi,

[...]
> --- ChangeLog 27 Sep 2012 22:42:48 -0000      1.417
> +++ ChangeLog 28 Sep 2012 15:07:30 -0000      1.418
> @@ -1,6 +1,11 @@
>  # ChangeLog for eclass directory
>  # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
> -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.417
> 2012/09/27 22:42:48 floppym Exp $ +#
> $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.418 2012/09/28
> 15:07:30 axs Exp $ +
> +  28 Sep 2012; Ian Stakenvicius <[email protected]>
> toolchain-funcs.eclass:
> +  reverted fatal error from unset and made it a warning only shown
> when
> +  checking for 'kern' arch, so that the portage environment call of
> tc-arch
> +  will not fail anymore, bug 436450
>  

[...]


> Index: toolchain-funcs.eclass
> ===================================================================
> RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v
> retrieving revision 1.118
> retrieving revision 1.119
> diff -u -r1.118 -r1.119
> --- toolchain-funcs.eclass    27 Sep 2012 19:34:28 -0000
> 1.118 +++ toolchain-funcs.eclass      28 Sep 2012 15:07:30
> -0000 1.119 @@ -1,6 +1,6 @@
>  # Copyright 1999-2012 Gentoo Foundation
>  # Distributed under the terms of the GNU General Public License v2
> -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v
> 1.118 2012/09/27 19:34:28 axs Exp $ +#
> $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v
> 1.119 2012/09/28 15:07:30 axs Exp $ # @ECLASS: toolchain-funcs.eclass
>  # @MAINTAINER:
> @@ -358,7 +358,8 @@
>       [[ -z ${host} ]] && host=${CTARGET:-${CHOST}}
>  
>       local KV=${KV:-${KV_FULL}}
> -     [[ -z ${KV} ]] && die "toolchain-funcs.eclass: Kernel
> version could not be determined, please inherit kernel-2 or
> linux-info"
> +     [[ ${type} == "kern" ]] && [[ -z ${KV} ]] && \
> +     ewarn "QA: Kernel version could not be determined, please
> inherit kernel-2 or linux-info" 


I'm bored to see dozens of such warning whenever I install a
package using tc-arch-kernel on freebsd; I'm going to remove this
nonsensical warning until you find a better solution.

A.

Reply via email to