Re: [gentoo-dev] [TINDERBOX] lto

2022-06-27 Thread Sam James
> On 25 Jun 2022, at 09:34, Agostino Sarubbo wrote: > > Hello all. > > This is to make you aware that, per sam request, tinderbox is testing the > tree against lto. > > At the time of writing, the CFLAGS/CXXFLAGS tested are: > -flto -Werror=odr -Werror=lto-type-mismatch

Re: [gentoo-dev] Can app-office/sc be replaced by app-office/sc-im from GURU?

2022-06-27 Thread Andrew Ammerlaan
On June 28, 2022 1:37:19 AM GMT+02:00, Dex Conner wrote: >On 22/06/27 10:59AM, Mike Gilbert wrote: >> On Sun, Jun 26, 2022 at 11:24 PM Jeff Gazso wrote: >> > My thought is unless some serious deficiency is present in >> > app-office/sc-im it should be moved to Gentoo's main ebuild repository

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Georgy Yakovlev
On Mon, 2022-06-27 at 17:50 -0400, Mike Gilbert wrote: > On Mon, Jun 27, 2022 at 5:11 PM Georgy Yakovlev > wrote: > > > > On Mon, 2022-06-27 at 15:49 -0400, Mike Gilbert wrote: > > > On Mon, Jun 27, 2022 at 3:42 PM Georgy Yakovlev > > > wrote: > > > > > > > > On Mon, 2022-06-27 at 14:56 -0400,

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 5:11 PM Georgy Yakovlev wrote: > > On Mon, 2022-06-27 at 15:49 -0400, Mike Gilbert wrote: > > On Mon, Jun 27, 2022 at 3:42 PM Georgy Yakovlev > > wrote: > > > > > > On Mon, 2022-06-27 at 14:56 -0400, Mike Gilbert wrote: > > > > On Mon, Jun 27, 2022 at 2:35 PM Kenton

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Georgy Yakovlev
On Mon, 2022-06-27 at 16:02 -0400, Kenton Groombridge wrote: > > > Why can't we do both in pkg_preinst? I am thinking it would be > > > best > > > if > > > we drop the current compression implementation and rework your > > > old > > > code > > > to handle both compression and signing since the

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Georgy Yakovlev
On Mon, 2022-06-27 at 15:49 -0400, Mike Gilbert wrote: > On Mon, Jun 27, 2022 at 3:42 PM Georgy Yakovlev > wrote: > > > > On Mon, 2022-06-27 at 14:56 -0400, Mike Gilbert wrote: > > > On Mon, Jun 27, 2022 at 2:35 PM Kenton Groombridge > > > wrote: > > > > > so looks like we need to combine both

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Kenton Groombridge
> > Why can't we do both in pkg_preinst? I am thinking it would be best > > if > > we drop the current compression implementation and rework your old > > code > > to handle both compression and signing since the signing code is more > > or > > less already complete. > > i'm not sure if sign-file

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 3:42 PM Georgy Yakovlev wrote: > > On Mon, 2022-06-27 at 14:56 -0400, Mike Gilbert wrote: > > On Mon, Jun 27, 2022 at 2:35 PM Kenton Groombridge > > wrote: > > > > so looks like we need to combine both methods and do the > > > > following: > > > > - if signing requested

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Georgy Yakovlev
On Mon, 2022-06-27 at 14:35 -0400, Kenton Groombridge wrote: > On 22/06/26 04:15AM, Georgy Yakovlev wrote: > > On Sun, 2022-06-26 at 03:52 -0700, Georgy Yakovlev wrote: > > > On Tue, 2022-06-21 at 14:19 -0400, Kenton Groombridge wrote: > > > > eee74b9fca1 adds support for module compression, but

Re: [gentoo-dev] [PATCH] java-vm-2.eclass: use "eselect java-vm update" if available

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 3:39 PM Georgy Yakovlev wrote: > > On Mon, 2022-06-27 at 21:21 +0200, Florian Schmaus wrote: > > Thanks to Mike Gilbert (floppym) for valuable feedback. > > > > Closes: https://bugs.gentoo.org/853928 > > Closes: https://github.com/gentoo/gentoo/pull/26069 > >

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Georgy Yakovlev
On Mon, 2022-06-27 at 14:56 -0400, Mike Gilbert wrote: > On Mon, Jun 27, 2022 at 2:35 PM Kenton Groombridge > wrote: > > > so looks like we need to combine both methods and do the > > > following: > > >  - if signing requested without compression - sign in > > > pkg_preinst. > > >  - if signing

Re: [gentoo-dev] [PATCH] java-vm-2.eclass: use "eselect java-vm update" if available

2022-06-27 Thread Georgy Yakovlev
On Mon, 2022-06-27 at 21:21 +0200, Florian Schmaus wrote: > Thanks to Mike Gilbert (floppym) for valuable feedback. > > Closes: https://bugs.gentoo.org/853928 > Closes: https://github.com/gentoo/gentoo/pull/26069 > Signed-off-by: Florian Schmaus > --- >  eclass/java-vm-2.eclass | 30

[gentoo-dev] [PATCH] java-vm-2.eclass: use "eselect java-vm update" if available

2022-06-27 Thread Florian Schmaus
Thanks to Mike Gilbert (floppym) for valuable feedback. Closes: https://bugs.gentoo.org/853928 Closes: https://github.com/gentoo/gentoo/pull/26069 Signed-off-by: Florian Schmaus --- eclass/java-vm-2.eclass | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-)

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Kenton Groombridge
On 22/06/27 02:56PM, Mike Gilbert wrote: > On Mon, Jun 27, 2022 at 2:35 PM Kenton Groombridge wrote: > > > so looks like we need to combine both methods and do the following: > > > - if signing requested without compression - sign in pkg_preinst. > > > - if signing requested with compression -

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 2:35 PM Kenton Groombridge wrote: > > so looks like we need to combine both methods and do the following: > > - if signing requested without compression - sign in pkg_preinst. > > - if signing requested with compression - sign in src_install > > > > Why can't we do both

[gentoo-dev] [PATCH] epatch.eclass: call ebegin to balance eend

2022-06-27 Thread Mike Gilbert
Signed-off-by: Mike Gilbert --- eclass/epatch.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/epatch.eclass b/eclass/epatch.eclass index 6a9c460da0a..6d000419b03 100644 --- a/eclass/epatch.eclass +++ b/eclass/epatch.eclass @@ -236,12 +236,12 @@ epatch() {

Re: [gentoo-dev] [PATCH] linux-mod.eclass: support module signing

2022-06-27 Thread Kenton Groombridge
On 22/06/26 04:15AM, Georgy Yakovlev wrote: > On Sun, 2022-06-26 at 03:52 -0700, Georgy Yakovlev wrote: > > On Tue, 2022-06-21 at 14:19 -0400, Kenton Groombridge wrote: > > > eee74b9fca1 adds support for module compression, but this breaks > > > loading > > > out of tree modules when module

Re: [gentoo-dev] Re: [PATCH 1/2] flag-o-matic.eclass: have is-flagq respect succeeding -fno-flag

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 10:55 AM Jannik Glückert wrote: > > This is not for stripping flags, it's for detecting a flag and e.g. > changing the configure invocation accordingly. > > E.g. libreoffice has > is-flagq "-flto*" && myeconfargs+=( --enable-lto ) Ah, that makes more sense. Thanks for

Re: [gentoo-dev] Can app-office/sc be replaced by app-office/sc-im from GURU?

2022-06-27 Thread Mike Gilbert
On Sun, Jun 26, 2022 at 11:24 PM Jeff Gazso wrote: > My thought is unless some serious deficiency is present in > app-office/sc-im it should be moved to Gentoo's main ebuild repository > and the last rites process should be started for app-office/sc. Does > anyone else have thoughts or comments

[gentoo-dev] Re: [PATCH 1/2] flag-o-matic.eclass: have is-flagq respect succeeding -fno-flag

2022-06-27 Thread Mike Gilbert
On Mon, Jun 27, 2022 at 3:04 AM Sam James wrote: > > From: Jannik Glückert > > Handle bits like -flto -fno-lto. Why would we care about this? If we just strip the -flto out, that leaves -fno-lto and the result is the same. What am I missing?

[gentoo-dev] Re: [PATCH 1/2] flag-o-matic.eclass: have is-flagq respect succeeding -fno-flag

2022-06-27 Thread Jannik Glückert
This is not for stripping flags, it's for detecting a flag and e.g. changing the configure invocation accordingly. E.g. libreoffice has is-flagq "-flto*" && myeconfargs+=( --enable-lto ) Am Mo., 27. Juni 2022 um 16:51 Uhr schrieb Mike Gilbert : > > On Mon, Jun 27, 2022 at 3:04 AM Sam James

Re: [gentoo-dev] Proposal to undeprecate EGO_SUM

2022-06-27 Thread Zoltan Puskas
Hey, > > Rephrasing this just to ensure I'm understanding it correctly: you're > suggesting to move _everything_ that uses Go into its own overlay. Let's > call it gentoo-go for the sake of the example. > > If the above is accurate, then I hard disagree. Yes, that was the suggestion, you

[gentoo-dev] [PATCH 2/2] flag-o-matic.eclass: add filter-lto function

2022-06-27 Thread Sam James
From: Jannik Glückert Signed-off-by: Jannik Glückert Closes: https://github.com/gentoo/gentoo/pull/26036 Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 8 1 file changed, 8 insertions(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index

[gentoo-dev] [PATCH 1/2] flag-o-matic.eclass: have is-flagq respect succeeding -fno-flag

2022-06-27 Thread Sam James
From: Jannik Glückert Handle bits like -flto -fno-lto. Signed-off-by: Jannik Glückert Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass

[gentoo-dev] [PATCH news v2] 2022-06-26-mu-corruption: new entry

2022-06-27 Thread Matthew Smith
Add a news item explaining a maildir corruption bug in the mu/mu4e mail reader. v2, following feedback from mgorny: Added a short explanation on what the issue actually is and how it is fixed. Left the sed incantation as-is because it comes from upstream and I do not want to break it. ---

Re: [gentoo-dev] Proposal to undeprecate EGO_SUM

2022-06-27 Thread Oskari Pirhonen
On Mon, Jun 27, 2022 at 01:43:19 +0200, Zoltan Puskas wrote: > Hi, > > I've been working on adding a go based ebuild to Gentoo yesterday and I > got this warning form portage saying that EGO_SUM is deprecated and > should be avoided. Since I remember there was an intense discussion > about