From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 704B01381F3 for ; Wed, 17 Jul 2013 22:15:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DFDDE0942; Wed, 17 Jul 2013 22:15:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6053FE086B for ; Wed, 17 Jul 2013 22:15:19 +0000 (UTC) Received: from [192.168.4.5] (blfd-5d8233c4.pool.mediaWays.net [93.130.51.196]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hasufell) by smtp.gentoo.org (Postfix) with ESMTPSA id 055C033E0B3 for ; Wed, 17 Jul 2013 22:15:17 +0000 (UTC) Message-ID: <51E71774.8030702@gentoo.org> Date: Thu, 18 Jul 2013 00:15:16 +0200 From: hasufell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Thunderbird/17.0.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] cmake-utils.eclass and bug 475502 References: <51E7051C.1070401@gentoo.org> <51E709F5.8020802@gentoo.org> <51E70C8B.9050808@gentoo.org> <51E70DEC.3060506@gentoo.org> <51E70FC8.90704@gentoo.org> <51E71102.6040103@gentoo.org> <51E712C6.2070003@gentoo.org> In-Reply-To: <51E712C6.2070003@gentoo.org> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: e52978e3-4cf1-4a62-a69c-67be11377ebf X-Archives-Hash: a92341dd70d6bc58649bcd438bfc6d4c -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/17/2013 11:55 PM, Rick "Zero_Chaos" Farina wrote: > > > It is my understanding that if you directly use a function from an > eclass you are REQUIRED to inherit that eclass. Given that kind > of sanity would have prevented these failures I find it difficult > to believe my understanding is wrong, but I am willing to learn. > > I think I'll start inheriting base.eclass so I can use multilib > functions. I mean, base.eclass inherits eutils.eclass which > inherits multilib.eclass so it should work out fine, right? > You are wrong. What matters is the API of an eclass and how it is defined. There is no such definition of base.eclass guaranteeing that it will always either a) inherit eutils.eclass or b) provide certain functions from eutils.eclass (maybe by defining them directly in the future). -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJR5xd0AAoJEFpvPKfnPDWzaxQH/0HZgEuSFwxO9yAwktAFLlW4 FdvNaUS+bn1oYGi/0vr/7E/j17ZH5/0nych/kw7kOa6009BpBjzdmDeAeZhIGI3n tGGJtYNAsnZ16Rp7yrD0IZNj71ozSiLr6cBJs6m4rpOEJls9O0I1qazxnD+45o6W iPfiDpfcUPFmTa/P3PJ69lAlNQA3EymmKXfB5SJdbt3QELxQR6wGdnpfrev0ieiG gwpmzQzVjgt/PBpw4+tH/HFNdEXF+YjfbGGXoYNkO0FS+GppMtKaTYLEzbLPVORz 1v1oBWw/Ysz7CYML1C5R+uZpbf8cZK26mrQMj5gOSeyem/o5vgD7R3uhHFAgsgs= =7JSh -----END PGP SIGNATURE-----