Re: [gentoo-dev] Ada project needs your help!

2016-12-14 Thread Christopher Head
On Wed, 14 Dec 2016 16:47:41 +0100 Michał Górny wrote: > So the only real consumer is GHDL -- yet another case when someone > thought it'd be fun to use a fringe language to implement something > useful... However, it seems to be undermaintained in Gentoo as well, > not bumped for a long time. >

[gentoo-dev] [PATCH 1/1] kernel-2.eclass: Remove kdbus support as it is, discontinued. First reported in bug #576614 by jon R-B

2016-12-14 Thread Mike Pagano
kdbus is discontinued and is being reworked upstream as a different effort with a different name. That said, remove unused kdbus support from the kernel eclass. --- eclass/kernel-2.eclass | 18 -- 1 file changed, 18 deletions(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel

Re: [gentoo-dev] [PATCH 1/1] kernel-2.eclass: Add required @USAGE documentation to functions.

2016-12-14 Thread Mike Pagano
On 12/12/2016 07:34 PM, Mike Pagano wrote: > According to (not pms) devmanual, @USAGE is required for functions. > This patch only touches comments and no code has been modified. Committed. If the devmanual changes, I can easily remove the empty USAGE statements. signature.asc Description: Ope

Re: [gentoo-dev] Handling ebuild logging output in Portage (Was: gpg: signing failed: Inappropriate ioctl for device)

2016-12-14 Thread M. J. Everitt
At the risk of starting a flame war, two minor netiquette tips... ;) 1) Top or mid-posting is not recommended .. makes following the thread harder [note my deliberate misuse here!] 2) PLEASE PLEASE sort out your clock .. I have emails from you (yeah I know Thunderbird is ) from the future year

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Andrew Savchenko
On Wed, 14 Dec 2016 12:32:41 -0600 Nathan Zachary wrote: > On 14/12/16 12:29, Fabian Groffen wrote: > > On 14-12-2016 13:01:16 -0500, Doug Freed wrote: > >> On Wed, Dec 14, 2016 at 12:48 PM, Nathan Zachary > >> wrote: > >>> On 14/12/16 10:11, Doug Freed wrote: > > I somehow doubt that would gi

[gentoo-dev] [PATCH v2] multiprocessing.eclass: Support passing custom inf values for getters

2016-12-14 Thread Michał Górny
Support passing custom values for 'infinity' in makeopts_jobs() and makeopts_loadavg(). This can be used e.g. when a build system does not support --loadavg, and therefore '--jobs 999' would most likely be a really bad idea. Combined with get_nproc(), this can be used to provide a sane replacement

[gentoo-dev] [PATCH v2] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Michał Górny
Introduce get_nproc(), a portable 'nproc' wrapper. It uses either 'nproc' or a fallback Python multiprocessing module call to attempt to determine the number of available processing units. This can be used e.g. to determine a safe number of jobs to run when MAKEOPTS specifies unlimited --jobs and

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Mike Gilbert
On Wed, Dec 14, 2016 at 1:29 PM, Fabian Groffen wrote: > On 14-12-2016 13:01:16 -0500, Doug Freed wrote: >> On Wed, Dec 14, 2016 at 12:48 PM, Nathan Zachary >> wrote: >> > On 14/12/16 10:11, Doug Freed wrote: >> >>> I somehow doubt that would give me the expected number only, and I lack >> >>> a

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Francesco Riosa
2016-12-14 19:32 GMT+01:00 Nathan Zachary : > On 14/12/16 12:29, Fabian Groffen wrote: > > On 14-12-2016 13:01:16 -0500, Doug Freed wrote: > >> On Wed, Dec 14, 2016 at 12:48 PM, Nathan Zachary > >> wrote: > >>> On 14/12/16 10:11, Doug Freed wrote: > > I somehow doubt that would give me the ex

Re: [gentoo-dev] Handling ebuild logging output in Portage (Was: gpg: signing failed: Inappropriate ioctl for device)

2016-12-14 Thread james
On 12/14/2016 12:59 PM, Doug Freed wrote: On Wed, Dec 14, 2016 at 10:45 AM, Rich Freeman wrote: On Wed, Dec 14, 2016 at 10:27 AM, M. J. Everitt wrote: I do, but only usually if its the last package of an emerge because otherwise its lost many many thousands of lines upwards. Thank goodness f

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Nathan Zachary
On 14/12/16 12:29, Fabian Groffen wrote: > On 14-12-2016 13:01:16 -0500, Doug Freed wrote: >> On Wed, Dec 14, 2016 at 12:48 PM, Nathan Zachary >> wrote: >>> On 14/12/16 10:11, Doug Freed wrote: > I somehow doubt that would give me the expected number only, and I lack > a BSD install handy

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Fabian Groffen
On 14-12-2016 13:01:16 -0500, Doug Freed wrote: > On Wed, Dec 14, 2016 at 12:48 PM, Nathan Zachary > wrote: > > On 14/12/16 10:11, Doug Freed wrote: > >>> I somehow doubt that would give me the expected number only, and I lack > >>> a BSD install handy to test it. > >> $(sysctl -n hw.ncpu) > >> >

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread Doug Freed
On Wed, Dec 14, 2016 at 10:52 AM, M. J. Everitt wrote: > I would tend to agree that in a sysadmin role this would be very helpful. > > At the risk of repeating myself, is there any einfo/elog displayed when > portage is (first) updated, to alert users of this functionality? A link > to the wiki pa

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Doug Freed
On Wed, Dec 14, 2016 at 12:48 PM, Nathan Zachary wrote: > On 14/12/16 10:11, Doug Freed wrote: >> On Wed, Dec 14, 2016 at 11:04 AM, Michał Górny wrote: >>> On Wed, 14 Dec 2016 15:27:25 +0300 >>> Andrew Savchenko wrote: >>> On Tue, 13 Dec 2016 10:36:15 +0100 Michał Górny wrote: > +

[gentoo-dev] Handling ebuild logging output in Portage (Was: gpg: signing failed: Inappropriate ioctl for device)

2016-12-14 Thread Doug Freed
On Wed, Dec 14, 2016 at 10:45 AM, Rich Freeman wrote: > On Wed, Dec 14, 2016 at 10:27 AM, M. J. Everitt wrote: >> >> I do, but only usually if its the last package of an emerge because >> otherwise its lost many many thousands of lines upwards. Thank goodness >> for portage's savelog feature. - A

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Nathan Zachary
On 14/12/16 10:11, Doug Freed wrote: > On Wed, Dec 14, 2016 at 11:04 AM, Michał Górny wrote: >> On Wed, 14 Dec 2016 15:27:25 +0300 >> Andrew Savchenko wrote: >> >>> On Tue, 13 Dec 2016 10:36:15 +0100 Michał Górny wrote: + nproc=$(python -c 'import multiprocessing; print(multi

Re: [gentoo-dev] Help wanted with www-client/chromium

2016-12-14 Thread J. Roeleveld
On December 14, 2016 2:40:45 PM GMT+01:00, Andrey Utkin wrote: >On Tue, Dec 13, 2016 at 06:00:25PM -0500, Mike Gilbert wrote: >> Keeping up with the frequent Chromium releases is quite a chore. >> Recently, phajdan.jr has been slacking on the masked dev channel >> updates due a hardware problem,

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Doug Freed
On Wed, Dec 14, 2016 at 11:04 AM, Michał Górny wrote: > On Wed, 14 Dec 2016 15:27:25 +0300 > Andrew Savchenko wrote: > >> On Tue, 13 Dec 2016 10:36:15 +0100 Michał Górny wrote: >> > + nproc=$(python -c 'import multiprocessing; >> > print(multiprocessing.cpu_count());' 2>/dev/null) >> >

Re: [gentoo-dev] [PATCH 3/3] multiprocessing.eclass: Support passing custom inf values for getters

2016-12-14 Thread Michał Górny
On Wed, 14 Dec 2016 15:30:06 +0300 Andrew Savchenko wrote: > On Tue, 13 Dec 2016 10:36:16 +0100 Michał Górny wrote: > > Support passing custom values for 'infinity' in makeopts_jobs() > > and makeopts_loadavg(). This can be used e.g. when a build system does > > not support --loadavg, and therefo

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Michał Górny
On Wed, 14 Dec 2016 15:27:25 +0300 Andrew Savchenko wrote: > On Tue, 13 Dec 2016 10:36:15 +0100 Michał Górny wrote: > > Introduce get_nproc(), a portable 'nproc' wrapper. It uses either > > 'nproc' or a fallback Python multiprocessing module call to attempt to > > determine the number of availabl

Re: [gentoo-dev] Ada project needs your help!

2016-12-14 Thread M. J. Everitt
On 14/12/16 15:47, Michał Górny wrote: > On Wed, 14 Dec 2016 08:30:00 + > "M. J. Everitt" wrote: > >> On 14/12/16 08:26, Christopher Head wrote: >>> On Sun, 11 Dec 2016 16:59:50 +0100 >>> Michał Górny wrote: >>> Hello, everyone. The Ada project seriously needs help. For some

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread M. J. Everitt
On 14/12/16 15:45, Rich Freeman wrote: > On Wed, Dec 14, 2016 at 10:27 AM, M. J. Everitt wrote: >> I do, but only usually if its the last package of an emerge because >> otherwise its lost many many thousands of lines upwards. Thank goodness >> for portage's savelog feature. - Actually that remind

Re: [gentoo-dev] Ada project needs your help!

2016-12-14 Thread Michał Górny
On Wed, 14 Dec 2016 08:30:00 + "M. J. Everitt" wrote: > On 14/12/16 08:26, Christopher Head wrote: > > On Sun, 11 Dec 2016 16:59:50 +0100 > > Michał Górny wrote: > > > >> Hello, everyone. > >> > >> The Ada project seriously needs help. For some time already, it has no > >> active developer

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread Rich Freeman
On Wed, Dec 14, 2016 at 10:27 AM, M. J. Everitt wrote: > > I do, but only usually if its the last package of an emerge because > otherwise its lost many many thousands of lines upwards. Thank goodness > for portage's savelog feature. - Actually that reminds me .. someone > mentioned a useful tweak

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread M. J. Everitt
On 14/12/16 14:57, Mike Gilbert wrote: > On Wed, Dec 14, 2016 at 9:07 AM, M. J. Everitt wrote: >> On 14/12/16 13:53, Mike Gilbert wrote: >>> On Wed, Dec 14, 2016 at 7:56 AM, Mart Raudsepp wrote: Ühel kenal päeval, K, 14.12.2016 kell 15:35, kirjutas Andrew Savchenko: > This is not a worka

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread Mike Gilbert
On Wed, Dec 14, 2016 at 9:07 AM, M. J. Everitt wrote: > On 14/12/16 13:53, Mike Gilbert wrote: >> On Wed, Dec 14, 2016 at 7:56 AM, Mart Raudsepp wrote: >>> Ühel kenal päeval, K, 14.12.2016 kell 15:35, kirjutas Andrew Savchenko: This is not a workaround, but officially recommended practice, f

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread M. J. Everitt
On 14/12/16 13:53, Mike Gilbert wrote: > On Wed, Dec 14, 2016 at 7:56 AM, Mart Raudsepp wrote: >> Ühel kenal päeval, K, 14.12.2016 kell 15:35, kirjutas Andrew Savchenko: >>> This is not a workaround, but officially recommended practice, from >>> man gpg-agent: >>> >>> You should always add the fol

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread Mike Gilbert
On Wed, Dec 14, 2016 at 7:56 AM, Mart Raudsepp wrote: > Ühel kenal päeval, K, 14.12.2016 kell 15:35, kirjutas Andrew Savchenko: >> On Wed, 14 Dec 2016 11:16:58 +0200 Mart Raudsepp wrote: >> > >> > Ühel kenal päeval, K, 14.12.2016 kell 13:08, kirjutas Sam Jorna: >> > > >> > > On Mon, Dec 12, 2016 a

Re: [gentoo-dev] Help wanted with www-client/chromium

2016-12-14 Thread Andrey Utkin
On Tue, Dec 13, 2016 at 06:00:25PM -0500, Mike Gilbert wrote: > Keeping up with the frequent Chromium releases is quite a chore. > Recently, phajdan.jr has been slacking on the masked dev channel > updates due a hardware problem, so I have been spending additional > time on them. > > If there are

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread Mart Raudsepp
Ühel kenal päeval, K, 14.12.2016 kell 15:35, kirjutas Andrew Savchenko: > On Wed, 14 Dec 2016 11:16:58 +0200 Mart Raudsepp wrote: > > > > Ühel kenal päeval, K, 14.12.2016 kell 13:08, kirjutas Sam Jorna: > > > > > > On Mon, Dec 12, 2016 at 02:35:28PM +1100, Sam Jorna wrote: > > > > > > > > > > >

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread Andrew Savchenko
On Wed, 14 Dec 2016 11:16:58 +0200 Mart Raudsepp wrote: > Ühel kenal päeval, K, 14.12.2016 kell 13:08, kirjutas Sam Jorna: > > On Mon, Dec 12, 2016 at 02:35:28PM +1100, Sam Jorna wrote: > > > > > > On Mon, Dec 12, 2016 at 09:34:21AM +0700, gro...@gentoo.org wrote: > > > > > > > > On Sun, 11 Dec 2

Re: [gentoo-dev] [PATCH 3/3] multiprocessing.eclass: Support passing custom inf values for getters

2016-12-14 Thread Andrew Savchenko
On Tue, 13 Dec 2016 10:36:16 +0100 Michał Górny wrote: > Support passing custom values for 'infinity' in makeopts_jobs() > and makeopts_loadavg(). This can be used e.g. when a build system does > not support --loadavg, and therefore '--jobs 999' would most likely > be a really bad idea. Combined wi

Re: [gentoo-dev] [PATCH 2/3] multiprocessing.eclass: Introduce get_nproc() to get no of CPUs

2016-12-14 Thread Andrew Savchenko
On Tue, 13 Dec 2016 10:36:15 +0100 Michał Górny wrote: > Introduce get_nproc(), a portable 'nproc' wrapper. It uses either > 'nproc' or a fallback Python multiprocessing module call to attempt to > determine the number of available processing units. > > This can be used e.g. to determine a safe nu

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread Fabian Groffen
On 14-12-2016 11:16:58 +0200, Mart Raudsepp wrote: > Ühel kenal päeval, K, 14.12.2016 kell 13:08, kirjutas Sam Jorna: > > If anyone else is getting this, it seems to be resolved by exporting  > > GPG_TTY=$(tty) either immediately before attempting to sign or in > > your  > > shell ~/.*rc file. > >

Re: [gentoo-dev] gpg: signing failed: Inappropriate ioctl for device

2016-12-14 Thread Mart Raudsepp
Ühel kenal päeval, K, 14.12.2016 kell 13:08, kirjutas Sam Jorna: > On Mon, Dec 12, 2016 at 02:35:28PM +1100, Sam Jorna wrote: > > > > On Mon, Dec 12, 2016 at 09:34:21AM +0700, gro...@gentoo.org wrote: > > > > > > On Sun, 11 Dec 2016, Kristian Fiskerstrand wrote: > > > > > > > > On 12/11/2016 03:

Re: [gentoo-dev] Ada project needs your help!

2016-12-14 Thread M. J. Everitt
On 14/12/16 08:26, Christopher Head wrote: > On Sun, 11 Dec 2016 16:59:50 +0100 > Michał Górny wrote: > >> Hello, everyone. >> >> The Ada project seriously needs help. For some time already, it has no >> active developers (George is retiring), and a lot of bugs needing >> attention. >> >> The pack

Re: [gentoo-dev] Ada project needs your help!

2016-12-14 Thread Christopher Head
On Sun, 11 Dec 2016 16:59:50 +0100 Michał Górny wrote: > Hello, everyone. > > The Ada project seriously needs help. For some time already, it has no > active developers (George is retiring), and a lot of bugs needing > attention. > > The packages maintained by aga@g.o are: > > app-eselect/esel