Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Kent Fredric
On Wed, 10 May 2017 09:23:04 +0200 Alexis Ballier wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1238804 (building perl with > pie seems to make some perl packages fail at runtime) If that's really the case, can we *not* do this right now? There's one thing Perl team

Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2

2017-05-10 Thread Dirkjan Ochtman
On Wed, May 10, 2017 at 11:19 AM, Kristian Fiskerstrand wrote: > Sounds like a reasonable action plan. The consequences of such a change > definitely seems to be sufficiently high to merit a proper migration > plan which doesn't seem to have been established at this point.

Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2

2017-05-10 Thread Kristian Fiskerstrand
On 05/10/2017 09:52 AM, Alexis Ballier wrote: > On Tue, 09 May 2017 18:58:42 -0500 > Matthias Maier wrote: > >> This is a reworded news item (assuming we proceed with the plan to >> default-enable USE=pie). Suggestions for improving the emerge command >> to fix static archives

Re: [gentoo-dev] Dropping ia64/ppc/sparc profiles to dev/exp

2017-05-10 Thread Yury German
On 5/10/17 12:40 PM, Anthony G. Basile wrote: > On 5/10/17 3:29 PM, David Seifert wrote: > So let's make sure we're on the same page -- here's my understanding. > > 1) For @system packages, we will have KEYWORDS="ppc" for the stable > versions and KEYWORDS="~ppc" for the rest. So is this only

[gentoo-dev] Should Sphinx really depends on PYTHON_COMPAT/PYTHON_USEDEP for `dev-python/*` ebuilds?

2017-05-10 Thread Alex Turbov
Hi Gentoo devs, I'd like to discuss one thing I've concernted for a long time already. Recently I've done some `dev-python` ebuild. And as most Python packages it also uses `dev-python/sphinx` to produce documentation. I want to note that my primary (and default) Python version is 3.5 and I have

Re: [gentoo-dev] Bugzilla package list editing

2017-05-10 Thread Rich Freeman
On Wed, May 10, 2017 at 2:17 PM, Michael Jones wrote: > From a non-gentoo developer who seriously looked at joining the community > over the last few years as a new developer, this entire conversation thread > is absurd, and is a wonderful example of why I decided to not

Re: [gentoo-dev] Dropping ia64/ppc/sparc profiles to dev/exp

2017-05-10 Thread David Seifert
On Wed, 2017-05-10 at 22:24 +0300, Mart Raudsepp wrote: > Ühel kenal päeval, K, 10.05.2017 kell 15:01, kirjutas Anthony G. > Basile: > > On 5/10/17 11:08 AM, William Hubbs wrote: > > > On Wed, May 10, 2017 at 10:04:54AM +0200, Dirkjan Ochtman wrote: > > > > On Tue, May 9, 2017 at 2:20 PM, Anthony

Re: [gentoo-dev] Bugzilla package list editing

2017-05-10 Thread Michael Jones
>From a non-gentoo developer who seriously looked at joining the community over the last few years as a new developer, this entire conversation thread is absurd, and is a wonderful example of why I decided to not bother. If you don't want people to edit the field such that it's usable with the

Re: [gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Luis Ressel
On Wed, 10 May 2017 07:28:15 + (UTC) Martin Vaeth wrote: > For instance, you cannot even compile the kernel without special > patches (which disable pie) if you use a gcc which default-enables > pie. Now I'm curious. Wouldn't that also affect the hardened gcc? I've never

[gentoo-dev] Re: [PATCH 1/3] python-utils-r1.eclass: Allow -2/-3 as impl-patterns for py2/py3

2017-05-10 Thread Mike Gilbert
On Wed, May 10, 2017 at 2:53 PM, Michał Górny wrote: > Allow two special values in the implementation patterns for > _python_impl_matches(): -2 to indicate all Python 2-compatible > implementations, and -3 to indicate all Python 3-compatible > implementations. Both of those

[gentoo-dev] [PATCH] python-utils-r1, _moduleinto: doc fixup & dot-notation

2017-05-10 Thread Michał Górny
Hi, everyone. Here's a quick batch of improvements to python_moduleinto() in python-utils-r1.eclass. Patches are, in order: 1. fix leftover doc comment, 2. clarify the doc wrt use across multiple impls, 3. allow dot-notation for targets, i.e. python_moduleinto foo.bar alternatively to:

[gentoo-dev] [PATCH 2/4] python-utils-r1.eclass: python_moduleinto, clarify relative path use

2017-05-10 Thread Michał Górny
Clearly indicate that python_moduleinto can be safely called outside of the environment with Python interpreter established, and that a single call can set the correct relative path for multiple different implementations. --- eclass/python-utils-r1.eclass | 6 ++ 1 file changed, 6

[gentoo-dev] [PATCH 1/4] python-utils-r1.eclass: Remove stray old doc bit

2017-05-10 Thread Michał Górny
Remove the bit of old python_moduleinto documentation that has been accidentally left over. --- eclass/python-utils-r1.eclass | 6 -- 1 file changed, 6 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 66a359e8daee..c46feb08449b 100644 ---

Re: [gentoo-dev] Re: New profiles for default-pie transition

2017-05-10 Thread Alexis Ballier
On Wed, 10 May 2017 15:42:25 +0200 Kristian Fiskerstrand wrote: > On 05/10/2017 03:29 PM, Andreas K. Huettel wrote: > > Am Mittwoch, 10. Mai 2017, 13:58:56 CEST schrieb Dirkjan Ochtman: > >> On Wed, May 10, 2017 at 11:19 AM, Kristian Fiskerstrand > >> > >

Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Chí-Thanh Christopher Nguyễn
Mike Gilbert schrieb: I disagree. We might want to default the "pie" USE flag differently depending on the profile, but there's no need to force it. I think we should force the pie USE flag on/off depending on the profile. My proposal: For all profiles except hardened, introduce a pie/nopie

Re: [gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Andreas K. Huettel
Am Mittwoch, 10. Mai 2017, 15:31:13 CEST schrieb James Le Cuirot: > On Wed, 10 May 2017 08:20:32 -0500 > > Matthias Maier wrote: > > On Wed, May 10, 2017, at 02:28 CDT, Martin Vaeth > > > > wrote: > > > I am using gcc-6 since ages and tried to run a desktop

[gentoo-dev] Re: New profiles for default-pie transition

2017-05-10 Thread Kristian Fiskerstrand
On 05/10/2017 03:29 PM, Andreas K. Huettel wrote: > Am Mittwoch, 10. Mai 2017, 13:58:56 CEST schrieb Dirkjan Ochtman: >> On Wed, May 10, 2017 at 11:19 AM, Kristian Fiskerstrand > wrote: >>> Sounds like a reasonable action plan. The consequences of such a change >>> definitely

New profiles for default-pie transition (was: Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2)

2017-05-10 Thread Andreas K. Huettel
Am Mittwoch, 10. Mai 2017, 13:58:56 CEST schrieb Dirkjan Ochtman: > On Wed, May 10, 2017 at 11:19 AM, Kristian Fiskerstrand wrote: > > Sounds like a reasonable action plan. The consequences of such a change > > definitely seems to be sufficiently high to merit a proper migration

Re: [gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread James Le Cuirot
On Wed, 10 May 2017 08:20:32 -0500 Matthias Maier wrote: > On Wed, May 10, 2017, at 02:28 CDT, Martin Vaeth > wrote: > > > I am using gcc-6 since ages and tried to run a desktop with default > > pie for quite a while, but soon was forced to give up: > > >

[gentoo-dev] Re: New profiles for default-pie transition

2017-05-10 Thread Matthias Maier
> -> This would also give us some time to discuss what other changes we might > make with the transition to the new profiles. > > -> Also, this means the transition is independent of gcc release timing. > > (We just need to be careful since hardened also inherits 13.0, so the setting > must be

[gentoo-dev] [PATCH 3/4] python-utils-r1.eclass: python_moduleinto, allow package dot-notation

2017-05-10 Thread Michał Górny
Allow specifying the relative package destination using the dot-notation used by Python itself (e.g. 'foo.bar') in addition to the directory form ('foo/bar'). Since dot can not be used in Python package names, this change is backwards-compatible. --- eclass/python-utils-r1.eclass | 6 -- 1

Re: [gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Matthias Maier
On Wed, May 10, 2017, at 02:28 CDT, Martin Vaeth wrote: > I am using gcc-6 since ages and tried to run a desktop with default pie > for quite a while, but soon was forced to give up: > [...] I have pie enabled on a desktop for years. Almost all major linux distribution have

Re: [gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Kristian Fiskerstrand
On 05/10/2017 03:35 PM, Andreas K. Huettel wrote: > I'm wondering a bit if we're not trying to make ~arch stable again. Then > again > nobody of us knows all use cases of Gentoo everywhere, so listening to the > list makes sense. Well, it'd affect stable users at _some_ point, and as you say;

[gentoo-dev] [PATCH 4/4] dev-python/repoze-who: Use dot-notation for python_moduleinto (example)

2017-05-10 Thread Michał Górny
--- dev-python/repoze-who/repoze-who-2.2-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/repoze-who/repoze-who-2.2-r1.ebuild b/dev-python/repoze-who/repoze-who-2.2-r1.ebuild index f2f3ac568592..fb3636b8fe99 100644 ---

[gentoo-dev] Re: [PATCH] python-utils-r1, _moduleinto: doc fixup & dot-notation

2017-05-10 Thread Mike Gilbert
On Wed, May 10, 2017 at 10:08 AM, Michał Górny wrote: > Hi, everyone. > > Here's a quick batch of improvements to python_moduleinto() in > python-utils-r1.eclass. Patches are, in order: > > 1. fix leftover doc comment, > > 2. clarify the doc wrt use across multiple impls, > >

Re: [gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Hanno Böck
Hi, On Wed, 10 May 2017 07:28:15 + (UTC) Martin Vaeth wrote: > I am using gcc-6 since ages and tried to run a desktop with default > pie for quite a while, but soon was forced to give up: > > There are simply too many package which fail to compile; > this cannot even be

Re: [gentoo-dev] Bugzilla package list editing

2017-05-10 Thread David Seifert
On Wed, 2017-05-10 at 18:22 +0300, Mart Raudsepp wrote: > Ühel kenal päeval, T, 02.05.2017 kell 02:31, kirjutas Andreas K. > Huettel: > > Am Sonntag, 30. April 2017, 12:29:46 CEST schrieb Mart Raudsepp: > > > > > > Please stop editing package lists when you are not the maintainer > > > and > > >

[gentoo-dev] Re: New profiles for default-pie transition

2017-05-10 Thread Matthias Maier
On Wed, May 10, 2017, at 10:32 CDT, Hanno Böck wrote: > Can't we just provide a small script or bash oneliner that will rebuild > all affected packages? See mail e-mail with the updated news item. "[RFC] News item: GCC 6 defaults to USE="pie ssp", v2" Best, Matthias

Re: [gentoo-dev] Dropping ia64/ppc/sparc profiles to dev/exp

2017-05-10 Thread William Hubbs
On Wed, May 10, 2017 at 10:04:54AM +0200, Dirkjan Ochtman wrote: > On Tue, May 9, 2017 at 2:20 PM, Anthony G. Basile wrote: > > I maintain quite a few ppc stage3's for uclibc and musl. I would > > appreciate keeping ppc as is. It is still a useful arch for many > > devices

Re: [gentoo-dev] Bugzilla package list editing

2017-05-10 Thread Mart Raudsepp
Ühel kenal päeval, T, 02.05.2017 kell 02:31, kirjutas Andreas K. Huettel: > Am Sonntag, 30. April 2017, 12:29:46 CEST schrieb Mart Raudsepp: > > > > Please stop editing package lists when you are not the maintainer > > and > > arches are already CCed. > > > > +1 > > Please stop it. > And yes

Re: New profiles for default-pie transition (was: Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2)

2017-05-10 Thread Hanno Böck
On Wed, 10 May 2017 15:29:19 +0200 "Andreas K. Huettel" wrote: > * generate a new set of profiles 17.0 where it's package.use.forced > * tell people they may have to rebuild world when they switch Do we really need to rebuild world? From what I understand problems arise if

Re: [gentoo-dev] Bugzilla package list editing

2017-05-10 Thread Kristian Fiskerstrand
On 05/10/2017 05:33 PM, David Seifert wrote: > On Wed, 2017-05-10 at 18:22 +0300, Mart Raudsepp wrote: >> > > He doesn't stop: https://bugs.gentoo.org/show_bug.cgi?id=617694 > Please drop editbugs privileges for some time. Everyone agrees that > this maintainer-specific metadata is not to be

[gentoo-dev] [PATCH 1/3] python-utils-r1.eclass: Allow -2/-3 as impl-patterns for py2/py3

2017-05-10 Thread Michał Górny
Allow two special values in the implementation patterns for _python_impl_matches(): -2 to indicate all Python 2-compatible implementations, and -3 to indicate all Python 3-compatible implementations. Both of those values are implemented using the python_is_python3 function. This is mostly meant

[gentoo-dev] [PATCH 3/3] virtual/python-dnspython: Use -2/-3 operators to python_gen_usedep (example)

2017-05-10 Thread Michał Górny
--- virtual/python-dnspython/python-dnspython-1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtual/python-dnspython/python-dnspython-1.ebuild b/virtual/python-dnspython/python-dnspython-1.ebuild index 063bbe7ce66f..885153f90caf 100644 ---

[gentoo-dev] [PATCH 2/3] virtual/python-futures: Use -2 operator to python_gen_usedep (example)

2017-05-10 Thread Michał Górny
--- virtual/python-futures/python-futures-0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtual/python-futures/python-futures-0.ebuild b/virtual/python-futures/python-futures-0.ebuild index 094a0c6dbdd8..d810a9cc3261 100644 ---

[gentoo-portage-dev] [PATCH] file_copy: fix lseek offset after EINTR (bug 618086)

2017-05-10 Thread Zac Medico
Fix the lseek offset for the plain read/write loop to account for buffered data that has not been written to to the output file yet (due to previous interruption by EINTR). This code only affects Linux 2.6.32 and earlier (newer kernels use copy_file_range or sendfile). X-Gentoo-bug: 618086

Re: [gentoo-dev] Packages up for grabs

2017-05-10 Thread Christopher Head
On Fri, 28 Apr 2017 23:02:40 +0200 Manuel Rüger wrote: > www-servers/spawn-fcgi I’ll file for proxied maintainership of this one, since it looks like nobody else has taken it yet. -- Christopher Head pgpGqPRsTEBZz.pgp Description: OpenPGP digital signature

Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Alexis Ballier
On Wed, 10 May 2017 01:40:36 +0200 "Andreas K. Huettel" wrote: > Am Mittwoch, 10. Mai 2017, 00:47:30 CEST schrieb Alexis Ballier: > > On Tue, 9 May 2017 23:18:20 +0200 Hanno Böck > > wrote: > > > I really think it's about time that pie becomes the

Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Alexis Ballier
On Wed, 10 May 2017 01:44:06 +0200 "Andreas K. Huettel" wrote: > > > > While I believe it might be a bit too early to default-enable pie, > > why not, but the news item *must* contain instructions that people > > should 'emerge -e world' in order for it to work. > > > >

[gentoo-dev] Re: [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Martin Vaeth
Hanno Böck wrote: > I really think it's about time that pie becomes the default in Gentoo. Although I agree from a security perspective, I must warn that this is not realistic, currently: I am using gcc-6 since ages and tried to run a desktop with default pie for quite a

Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp"

2017-05-10 Thread Alexis Ballier
On Tue, 09 May 2017 18:13:06 -0500 Matthias Maier wrote: > > For a transition we can probably build everything with -fPIE but not > > link with -pie. If we want that to happen fast, gcc-6 might do that > > and gcc-7 add the -pie option. > > I am not entirely convinced that

Re: [gentoo-dev] [RFC] News item: GCC 6 defaults to USE="pie ssp", v2

2017-05-10 Thread Alexis Ballier
On Tue, 09 May 2017 18:58:42 -0500 Matthias Maier wrote: > This is a reworded news item (assuming we proceed with the plan to > default-enable USE=pie). Suggestions for improving the emerge command > to fix static archives is highly welcomed. > Really, I think the slot to

Re: [gentoo-dev] Dropping ia64/ppc/sparc profiles to dev/exp

2017-05-10 Thread Dirkjan Ochtman
On Tue, May 9, 2017 at 2:20 PM, Anthony G. Basile wrote: > I maintain quite a few ppc stage3's for uclibc and musl. I would > appreciate keeping ppc as is. It is still a useful arch for many > devices today, eg. some high end Mikrotik routers. So are you willing to do the

Re: [gentoo-dev] [PATCH 1/3] python-utils-r1.eclass: Allow -2/-3 as impl-patterns for py2/py3

2017-05-10 Thread Patrick McLean
On Wed, 10 May 2017 20:53:31 +0200 Michał Górny wrote: > Allow two special values in the implementation patterns for > _python_impl_matches(): -2 to indicate all Python 2-compatible > implementations, and -3 to indicate all Python 3-compatible > implementations. Both of those

Re: [gentoo-dev] [PATCH 1/3] python-utils-r1.eclass: Allow -2/-3 as impl-patterns for py2/py3

2017-05-10 Thread Michał Górny
On śro, 2017-05-10 at 14:15 -0700, Patrick McLean wrote: > On Wed, 10 May 2017 20:53:31 +0200 > Michał Górny wrote: > > > Allow two special values in the implementation patterns for > > _python_impl_matches(): -2 to indicate all Python 2-compatible > > implementations, and -3

Re: [gentoo-dev] Dropping ia64/ppc/sparc profiles to dev/exp

2017-05-10 Thread Anthony G. Basile
On 5/10/17 11:08 AM, William Hubbs wrote: > On Wed, May 10, 2017 at 10:04:54AM +0200, Dirkjan Ochtman wrote: >> On Tue, May 9, 2017 at 2:20 PM, Anthony G. Basile >> wrote: >>> I maintain quite a few ppc stage3's for uclibc and musl. I would >>> appreciate keeping ppc as is.

Re: [gentoo-dev] Bugzilla package list editing

2017-05-10 Thread William L. Thomson Jr.
On Wed, 10 May 2017 15:08:40 -0400 Rich Freeman wrote: > > One of the issues that keeps coming up is around just how > decentralized we are, and that has pros and cons. We're pretty > reluctant to actually enforce just about anything, Facts would show otherwise. Enforcement

Re: [gentoo-dev] Dropping ia64/ppc/sparc profiles to dev/exp

2017-05-10 Thread Mart Raudsepp
Ühel kenal päeval, K, 10.05.2017 kell 15:01, kirjutas Anthony G. Basile: > On 5/10/17 11:08 AM, William Hubbs wrote: > > On Wed, May 10, 2017 at 10:04:54AM +0200, Dirkjan Ochtman wrote: > > > On Tue, May 9, 2017 at 2:20 PM, Anthony G. Basile > > o.org> wrote: > > > > I maintain

Re: [gentoo-dev] Dropping ia64/ppc/sparc profiles to dev/exp

2017-05-10 Thread Anthony G. Basile
On 5/10/17 3:29 PM, David Seifert wrote: > On Wed, 2017-05-10 at 22:24 +0300, Mart Raudsepp wrote: >> Ühel kenal päeval, K, 10.05.2017 kell 15:01, kirjutas Anthony G. >> Basile: >>> On 5/10/17 11:08 AM, William Hubbs wrote: On Wed, May 10, 2017 at 10:04:54AM +0200, Dirkjan Ochtman wrote:

Re: [gentoo-dev] Bugzilla package list editing

2017-05-10 Thread Rich Freeman
On Wed, May 10, 2017 at 3:24 PM, William L. Thomson Jr. wrote: > > Or one is punished for things others are not. Even if other's actions > are far worse than those of the person being punished. > Considering that we don't disclose whether anybody is punished or what they're

Re: [gentoo-dev] Bugzilla package list editing

2017-05-10 Thread Mart Raudsepp
Ühel kenal päeval, K, 10.05.2017 kell 13:17, kirjutas Michael Jones: > From a non-gentoo developer who seriously looked at joining the > community over the last few years as a new developer, this entire > conversation thread is absurd, and is a wonderful example of why I > decided to not bother.

Re: [gentoo-dev] Dropping ia64/ppc/sparc profiles to dev/exp

2017-05-10 Thread David Seifert
On Wed, 2017-05-10 at 15:40 -0400, Anthony G. Basile wrote: > On 5/10/17 3:29 PM, David Seifert wrote: > > On Wed, 2017-05-10 at 22:24 +0300, Mart Raudsepp wrote: > > > Ühel kenal päeval, K, 10.05.2017 kell 15:01, kirjutas Anthony G. > > > Basile: > > > > On 5/10/17 11:08 AM, William Hubbs wrote: