Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o, axs@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog toolchain-funcs.eclass
Date: Tue, 06 Nov 2012 11:58:51
Message-Id: 20121106085730.39bf32cf@gentoo.org
1 Hi,
2
3 [...]
4 > --- ChangeLog 27 Sep 2012 22:42:48 -0000 1.417
5 > +++ ChangeLog 28 Sep 2012 15:07:30 -0000 1.418
6 > @@ -1,6 +1,11 @@
7 > # ChangeLog for eclass directory
8 > # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
9 > -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.417
10 > 2012/09/27 22:42:48 floppym Exp $ +#
11 > $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.418 2012/09/28
12 > 15:07:30 axs Exp $ +
13 > + 28 Sep 2012; Ian Stakenvicius <axs@g.o>
14 > toolchain-funcs.eclass:
15 > + reverted fatal error from unset and made it a warning only shown
16 > when
17 > + checking for 'kern' arch, so that the portage environment call of
18 > tc-arch
19 > + will not fail anymore, bug 436450
20 >
21
22 [...]
23
24
25 > Index: toolchain-funcs.eclass
26 > ===================================================================
27 > RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v
28 > retrieving revision 1.118
29 > retrieving revision 1.119
30 > diff -u -r1.118 -r1.119
31 > --- toolchain-funcs.eclass 27 Sep 2012 19:34:28 -0000
32 > 1.118 +++ toolchain-funcs.eclass 28 Sep 2012 15:07:30
33 > -0000 1.119 @@ -1,6 +1,6 @@
34 > # Copyright 1999-2012 Gentoo Foundation
35 > # Distributed under the terms of the GNU General Public License v2
36 > -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v
37 > 1.118 2012/09/27 19:34:28 axs Exp $ +#
38 > $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v
39 > 1.119 2012/09/28 15:07:30 axs Exp $ # @ECLASS: toolchain-funcs.eclass
40 > # @MAINTAINER:
41 > @@ -358,7 +358,8 @@
42 > [[ -z ${host} ]] && host=${CTARGET:-${CHOST}}
43 >
44 > local KV=${KV:-${KV_FULL}}
45 > - [[ -z ${KV} ]] && die "toolchain-funcs.eclass: Kernel
46 > version could not be determined, please inherit kernel-2 or
47 > linux-info"
48 > + [[ ${type} == "kern" ]] && [[ -z ${KV} ]] && \
49 > + ewarn "QA: Kernel version could not be determined, please
50 > inherit kernel-2 or linux-info"
51
52
53 I'm bored to see dozens of such warning whenever I install a
54 package using tc-arch-kernel on freebsd; I'm going to remove this
55 nonsensical warning until you find a better solution.
56
57 A.

Replies