[gentoo-portage-dev] [PATCH v2 gentoolkit 2/2] eclean: Add option to delete binpkgs with changed deps

2020-03-06 Thread Matt Turner
Signed-off-by: Matt Turner --- pym/gentoolkit/eclean/cli.py| 7 ++- pym/gentoolkit/eclean/search.py | 24 +++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/pym/gentoolkit/eclean/cli.py b/pym/gentoolkit/eclean/cli.py index 1a99b3e..39aafd3 100644

[gentoo-portage-dev] [PATCH v2 gentoolkit 1/2] eclean: Rewrite findPackages()

2020-03-06 Thread Matt Turner
I found the original code to be nearly incomprehensible. Instead of populating a dict of potential binpkgs to remove and then removing from the to-be-removed list, just selectively add to-be-removed packages. Signed-off-by: Matt Turner --- pym/gentoolkit/eclean/search.py | 113

Re: [gentoo-portage-dev] [PATCH gentoolkit 2/2] eclean: Add option to delete binpkgs with changed deps

2020-03-06 Thread Matt Turner
On Mon, Mar 2, 2020 at 9:15 PM Zac Medico wrote: > > On 3/2/20 1:11 PM, Matt Turner wrote: > > On Sun, Mar 1, 2020 at 10:39 PM Zac Medico wrote: > >> > >> On 2/20/20 9:29 PM, Matt Turner wrote: > >>> @@ -564,7 +577,22 @@ def findPackages( > >>> > >>> # Exclude if binpkg exists in the

Re: [gentoo-dev] [PATCH] meson.eclass: Set needs_exe_wrapper in cross file

2020-03-06 Thread Mike Gilbert
On Wed, Mar 4, 2020 at 2:55 PM Matt Turner wrote: > > needs_exe_wrapper tells meson whether the build machine is able to > directly execute the binaries it produces or whether it needs an exe > wrapper (like QEMU). For non-native ABI builds like building 32-bit > libraries on an x86-64 system, we

[gentoo-dev] Last rites: www-apps/ownpaste

2020-03-06 Thread Michał Górny
# Michał Górny (2020-03-06) # Python 2 only. Last update in 2012. Blocker for a few dependencies. # Removal in 30 days. Bug #708336. www-apps/ownpaste -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCH] ghc-package.eclass: limit the ghc parallel jobs to 64.

2020-03-06 Thread Sergei Trofimovich
On Fri, 6 Mar 2020 16:06:00 +0800 hero...@gentoo.org wrote: > From: Benda Xu > > If ghc spawns too many C compilers, it will exhaust file descripters. I don't think ghc spawns more than 1 parallel gcc per compiled haskell file. I'd expect a small constant overhead of file descriptors per

[gentoo-dev] [PATCH] ghc-package.eclass: limit the ghc parallel jobs to 64.

2020-03-06 Thread heroxbd
From: Benda Xu If ghc spawns too many C compilers, it will exhaust file descripters. In the reference, it was thought to be a macOS bug for aggressive fd limits. But the ghc bug also applies to GNU/Linux, when ghc is asked to spawn, for example 256, jobs. This patch circumvents this