On Wed, Feb 1, 2017 at 4:15 PM, Zac Medico <zmed...@gentoo.org> wrote:
> On 02/01/2017 01:03 PM, Michał Górny wrote:
>> W dniu 01.02.2017, śro o godzinie 09∶06 -0800, użytkownik Zac Medico
>> napisał:
>>> The native-extensions USE flag will enable building of the
>>> libc bindings. This is not enabled by default because it does
>>> not support cross compilation.
>>>
>>> X-Gentoo-bug: 571444
>>> X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=571444
>>> ---
>>>  sys-apps/portage/metadata.xml        | 1 +
>>>  sys-apps/portage/portage-9999.ebuild | 7 ++++++-
>>>  2 files changed, 7 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/sys-apps/portage/metadata.xml b/sys-
>>> apps/portage/metadata.xml
>>> index e032ea5..882d3ba 100644
>>> --- a/sys-apps/portage/metadata.xml
>>> +++ b/sys-apps/portage/metadata.xml
>>> @@ -12,6 +12,7 @@
>>>    <use>
>>>      <flag name="epydoc">Build html API documentation with
>>> epydoc.</flag>
>>>      <flag name="ipc">Use inter-process communication between portage
>>> and running ebuilds.</flag>
>>> +    <flag name="native-extensions">Build native extensions. Cross-
>>> compilation is not supported.</flag>
>>>      <flag name="xattr">Preserve extended attributes (filesystem-
>>> stored metadata) when installing files. Usually only required for
>>> hardened systems.</flag>
>>>    </use>
>>>  </pkgmetadata>
>>> diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-
>>> apps/portage/portage-9999.ebuild
>>> index 6a6f515..981db26 100644
>>> --- a/sys-apps/portage/portage-9999.ebuild
>>> +++ b/sys-apps/portage/portage-9999.ebuild
>>> @@ -19,7 +19,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Porta
>>> ge"
>>>  LICENSE="GPL-2"
>>>  KEYWORDS=""
>>>  SLOT="0"
>>> -IUSE="build doc epydoc +ipc linguas_ru selinux xattr"
>>> +IUSE="build doc epydoc +ipc linguas_ru native-extensions selinux
>>> xattr"
>>
>> Wouldn't it be better to enable it by default?
>
> Yeah, that should be fine. We may get a few duplicates of bug 594744
> reported, but that's no reason not to enable it by default.

+1 on enabling native-extensions by default. The cross-compiling
community is a small minority, and we should not base the default on
their use case.

Reply via email to