1 |
On Wed, Feb 1, 2017 at 4:15 PM, Zac Medico <zmedico@g.o> wrote: |
2 |
> On 02/01/2017 01:03 PM, Michał Górny wrote: |
3 |
>> W dniu 01.02.2017, śro o godzinie 09∶06 -0800, użytkownik Zac Medico |
4 |
>> napisał: |
5 |
>>> The native-extensions USE flag will enable building of the |
6 |
>>> libc bindings. This is not enabled by default because it does |
7 |
>>> not support cross compilation. |
8 |
>>> |
9 |
>>> X-Gentoo-bug: 571444 |
10 |
>>> X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=571444 |
11 |
>>> --- |
12 |
>>> sys-apps/portage/metadata.xml | 1 + |
13 |
>>> sys-apps/portage/portage-9999.ebuild | 7 ++++++- |
14 |
>>> 2 files changed, 7 insertions(+), 1 deletion(-) |
15 |
>>> |
16 |
>>> diff --git a/sys-apps/portage/metadata.xml b/sys- |
17 |
>>> apps/portage/metadata.xml |
18 |
>>> index e032ea5..882d3ba 100644 |
19 |
>>> --- a/sys-apps/portage/metadata.xml |
20 |
>>> +++ b/sys-apps/portage/metadata.xml |
21 |
>>> @@ -12,6 +12,7 @@ |
22 |
>>> <use> |
23 |
>>> <flag name="epydoc">Build html API documentation with |
24 |
>>> epydoc.</flag> |
25 |
>>> <flag name="ipc">Use inter-process communication between portage |
26 |
>>> and running ebuilds.</flag> |
27 |
>>> + <flag name="native-extensions">Build native extensions. Cross- |
28 |
>>> compilation is not supported.</flag> |
29 |
>>> <flag name="xattr">Preserve extended attributes (filesystem- |
30 |
>>> stored metadata) when installing files. Usually only required for |
31 |
>>> hardened systems.</flag> |
32 |
>>> </use> |
33 |
>>> </pkgmetadata> |
34 |
>>> diff --git a/sys-apps/portage/portage-9999.ebuild b/sys- |
35 |
>>> apps/portage/portage-9999.ebuild |
36 |
>>> index 6a6f515..981db26 100644 |
37 |
>>> --- a/sys-apps/portage/portage-9999.ebuild |
38 |
>>> +++ b/sys-apps/portage/portage-9999.ebuild |
39 |
>>> @@ -19,7 +19,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Porta |
40 |
>>> ge" |
41 |
>>> LICENSE="GPL-2" |
42 |
>>> KEYWORDS="" |
43 |
>>> SLOT="0" |
44 |
>>> -IUSE="build doc epydoc +ipc linguas_ru selinux xattr" |
45 |
>>> +IUSE="build doc epydoc +ipc linguas_ru native-extensions selinux |
46 |
>>> xattr" |
47 |
>> |
48 |
>> Wouldn't it be better to enable it by default? |
49 |
> |
50 |
> Yeah, that should be fine. We may get a few duplicates of bug 594744 |
51 |
> reported, but that's no reason not to enable it by default. |
52 |
|
53 |
+1 on enabling native-extensions by default. The cross-compiling |
54 |
community is a small minority, and we should not base the default on |
55 |
their use case. |