Re: [gentoo-dev] Re: [gentoo-dev-announce] Last rites: app-portage/layman

2023-05-18 Thread Sam James
Alexe Stefan writes: > Layman is still a convenient way of managing overlays. It still works > as intended. > Is there any way for it to be kept in the repos? Is there an issue for you with using eselect-repository, which is actively maintained and doesn't depend on unmaintained software

Re: [gentoo-dev] [RFC] News Item v3: Plasma Profile to enable PipeWire, Wayland support

2023-05-16 Thread Sam James
Andreas Sturmlechner writes: > Impact On Happy X Users > === > > Minor. Most dependencies were already required with kde-plasma/plasma-desktop > and its dependencies. Upcoming stable versions of kde-apps/spectacle and > kde-apps/krfb will depend on (K)PipeWire

Re: [gentoo-dev] [PATCH] profiles: create USE=valgrind global USE flag

2023-05-14 Thread Sam James
Sam James writes: > Alexe Stefan writes: > >> Does enabling USE=valgrind impact runtime performance in any way? > > A very small amount because it adds a check at runtime for whether > the application is running under Valgrind. The compiler may be able > to optim

Re: [gentoo-dev] [PATCH] profiles: create USE=valgrind global USE flag

2023-05-14 Thread Sam James
Alexe Stefan writes: > Does enabling USE=valgrind impact runtime performance in any way? A very small amount because it adds a check at runtime for whether the application is running under Valgrind. The compiler may be able to optimise this a bit if it can determine it's unlikely (if the

Re: [gentoo-dev] [RFC] New global USE flag 'keyring'

2023-05-14 Thread Sam James
Andreas Sturmlechner writes: > [[PGP Signed Part:Undecided]] > This was discussed already in 2021. Going to be used by 30+ packages. > > Description: > "Enable support for freedesktop.org Secret Service API password store" > > See also: > https://bugs.gentoo.org/905928 >

[gentoo-dev] [PATCH] profiles: create USE=valgrind global USE flag

2023-05-14 Thread Sam James
to do, it's too flaky under sandbox & not reliable with diff arches.) Signed-off-by: Sam James --- profiles/use.desc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/use.desc b/profiles/use.desc index 04ca8e845ccd9..675fd291fee22 100644 --- a/profiles/use.desc +

Re: [gentoo-dev] Re: [PATCH v2] 2023-05-08-openssh-configuration-changes: add item

2023-05-08 Thread Sam James
James Cloos writes: >>>>>> "SJ" == Sam James writes: > > SJ> +Such admins will need to edit the new files in the new directories or > SJ> +make overrides in their own files in the new directories using a higher > SJ> +number in the filename. &

[gentoo-dev] Re: [PATCH v2] 2023-05-08-openssh-configuration-changes: add item

2023-05-08 Thread James Cloos
>>>>> "SJ" == Sam James writes: SJ> +Such admins will need to edit the new files in the new directories or SJ> +make overrides in their own files in the new directories using a higher SJ> +number in the filename. given that openssh uses first-wins

[gentoo-dev] [PATCH v2] 2023-05-08-openssh-configuration-changes: add item

2023-05-08 Thread Sam James
Signed-off-by: Sam James --- ...05-08-openssh-configuration-changes.en.txt | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 2023-05-08-openssh-configuration-changes/2023-05-08-openssh-configuration-changes.en.txt diff --git a/2023-05-08-openssh-configuration

[gentoo-dev] [PATCH] 2023-05-08-openssh-configuration-changes: add item

2023-05-08 Thread Sam James
Signed-off-by: Sam James --- ...05-08-openssh-configuration-changes.en.txt | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 2023-05-08-openssh-configuration-changes/2023-05-08-openssh-configuration-changes.en.txt diff --git a/2023-05-08-openssh-configuration

[gentoo-dev] [PATCH] flag-o-matic.eclass: add -Oz to ALLOWED_FLAGS (strip-flags whitelist)

2023-05-07 Thread Sam James
We already allow -Os and -Oz is just a more aggressive version of that. Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 201b033df279..ff0fa09ed152 100644

[gentoo-dev] [PATCH] flag-o-matic.eclass: add -flto, -flto=* to ALLOWED_FLAGS (strip-flags whitelist)

2023-05-07 Thread Sam James
LTO is pretty safe nowadays and packages broken with it should really use filter-lto specifically instead. Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index be169f934c02

[gentoo-dev] [PATCH 2/2] flag-o-matic.eclass: drop -fstack-check from ALLOWED_FLAGS (strip-flags whitelist)

2023-05-07 Thread Sam James
this functionality upstream in GCC anymore for this reason, it's not IIRC supported in Clang, and we're not testing it either. Please use the far superior -fstack-clash-protection instead. Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 1 - 1 file changed, 1 deletion(-) diff --git a/eclass/flag-o

[gentoo-dev] [PATCH 1/2] flag-o-matic.eclass: add -O3 to ALLOWED_FLAGS (strip-flags whitelist)

2023-05-07 Thread Sam James
-by: Sam James --- eclass/flag-o-matic.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 6bec3df308814..3dd39c54a5317 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -47,7 +47,7 @@ setup

Re: [gentoo-dev] Last rites: www-client/chromium-bin

2023-05-04 Thread James Le Cuirot
> On May 4, 2023 6:38:32 PM UTC, Mike Gilbert wrote: > > # Out of date by several versions. Many unresolved security > > # vulnerabilities. Lack of manpower/interest in keeping it up to date. > > # Removal on 2023-06-03. > > www-client/chromium-bin > > > On Thu, 2023-05-04 at 18:59 +, Maciej

Re: [gentoo-dev] Re: EGO_SUM

2023-05-02 Thread Sam James
Florian Schmaus writes: > [[PGP Signed Part:Undecided]] > On 27/04/2023 23.16, Sam James wrote: >> Florian Schmaus writes: >> >>> [[PGP Signed Part:Undecided]] >>> On 26/04/2023 18.12, Matt Turner wrote: >>>> On Wed, Apr 26, 2023 at 11:31 AM Fl

Re: [gentoo-dev] Re: EGO_SUM

2023-05-02 Thread Sam James
Florian Schmaus writes: > [[PGP Signed Part:Undecided]] > On 28/04/2023 16.34, Michał Górny wrote: >> On Fri, 2023-04-28 at 08:59 +0200, Florian Schmaus wrote: >>> And I never said that I believe in representing the majority's opinion. >>> That said, I prefer to have this voted on by an

Re: [gentoo-dev] Re: EGO_SUM

2023-04-27 Thread Sam James
Michał Górny writes: > On Fri, 2023-04-28 at 01:38 +0100, Sam James wrote: >> Pascal Jäger writes: >> >> > Maybe I’m getting this wrong, but didn’t  we switch to shallow >> > checkouts for the systems repository? I remember it was a major >> > outcr

Re: [gentoo-dev] Re: EGO_SUM

2023-04-27 Thread Sam James
Pascal Jäger writes: > Maybe I’m getting this wrong, but didn’t  we switch to shallow > checkouts for the systems repository? I remember it was a major > outcry on the mailing list. So at least for end users git keeps no > history and our repository history should not impact clone size of a >

Re: [gentoo-dev] Re: EGO_SUM

2023-04-27 Thread Sam James
Florian Schmaus writes: > [[PGP Signed Part:Undecided]] > On 26/04/2023 18.12, Matt Turner wrote: >> On Wed, Apr 26, 2023 at 11:31 AM Florian Schmaus wrote: >>> The discussion would be more productive if someone who is supporting the >>> EGO_SUM deprecation could rationally summarize the main

Re: [gentoo-dev] Re: EGO_SUM

2023-04-26 Thread Sam James
Florian Schmaus writes: > Hi Sam, > > thanks for your feedback. I am glad for everyone who engages in this > discussion and shares their views and new information. > > On 24/04/2023 22.28, Sam James wrote: >> Florian Schmaus writes: >> [CCing williamh@ as

[gentoo-dev] Re: EGO_SUM

2023-04-24 Thread Sam James
Florian Schmaus writes: [CCing williamh@ as go-module.eclass & dev-lang/go maintainer.] > I like to ask the Gentoo council to vote on whether EGO_SUM should be > reinstated ("un-deprecated") or not. > > EGO_SUM is a project-comprehensive matter, as it affects not only > Go-lang packaging but

[gentoo-dev] Up for grabs: app-editors/scite

2023-04-23 Thread Sam James
app-editors/scite is up for grabs as its proxied maintainer has decided to retire. It has two open bugs: 1. A trivial GCC 13 build issue (missing include) 2. Version bump pending thanks, sam signature.asc Description: PGP signature

[gentoo-dev] Last rites: net-p2p/litecoind

2023-04-18 Thread Sam James
# Sam James (2023-04-18) # Fails to compile with GCC 13, out of date, QA issues, and various open bugs. # Removal on 2023-05-18. # Bug #899218, bug #899218, bug #796599, bug #672326, bug #788844. net-p2p/litecoind signature.asc Description: PGP signature

[gentoo-dev] Last rites: sci-geosciences/congen

2023-04-18 Thread Sam James
# Sam James (2023-04-18) # Fails to compile with GCC 13, no upstream activity. # Removal on 2023-05-18. Bug #895206. sci-geosciences/congen signature.asc Description: PGP signature

[gentoo-dev] Last rites: www-apache/mod_log_sql

2023-04-13 Thread Sam James
# Sam James (2023-04-14) # Fails with modern C, no upstream activity since 2005. # Removal on 2023-05-14. Bug #778506, bug #881205. www-apache/mod_log_sql signature.asc Description: PGP signature

[gentoo-dev] Last rites: net-im/cawbird

2023-04-13 Thread Sam James
# Sam James (2023-04-14) # Obsolete because of Twitter API changes. Archived upstream. # Removal on 2023-05-14. Bug #904296. net-im/cawbird signature.asc Description: PGP signature

[gentoo-dev] [PATCH 3/3] postgres.eclass: add EAPI 8

2023-04-12 Thread Sam James
Closes: https://bugs.gentoo.org/836781 Signed-off-by: Sam James --- eclass/postgres.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass index 1597f2a9aafb7..95ed168d40a1c 100644 --- a/eclass/postgres.eclass +++ b/eclass

[gentoo-dev] [PATCH 2/3] postgres.eclass: document PG_SLOT, PG_CONFIG

2023-04-12 Thread Sam James
These variables are exported by pkg_setup and are intended for use by ebuilds, as the docs for postgres_pkg_setup say. Signed-off-by: Sam James --- eclass/postgres.eclass | 11 +++ 1 file changed, 11 insertions(+) diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass index

[gentoo-dev] [PATCH 1/3] postgres.eclass: die if no matching postgresql impl found

2023-04-12 Thread Sam James
This matches what we do in other eclasses like for python and ruby. It leads to a nicer error if e.g. manually using ebuild(1) rather than emerge(1) and deps aren't satisfied, or forgot to set POSTGRES_TARGETS locally, etc. Signed-off-by: Sam James --- eclass/postgres.eclass | 6 +- 1 file

Re: [gentoo-dev] [PATCH] distutils-r1.eclass: Add PYTHON_DEPS to DEPEND unconditionally

2023-04-12 Thread James Le Cuirot
On 12 April 2023 16:58:58 BST, "Michał Górny" wrote: >From: Raul E Rangel > >Python distutils packages that build C extensions are currently not >declaring PYTHON_DEPS as part of their DEPEND declaration. This results >in build errors when cross compiling using ROOT=. > >i.e., > In file

Re: [gentoo-dev] [PATCH 1/2] ruby-ng.eclass: error out earlier if RUBY is unset

2023-04-10 Thread Sam James
Hans de Graaff writes: > [[PGP Signed Part:Undecided]] > On Fri, 2023-04-07 at 11:14 +0100, Sam James wrote: >> This might prevent an ebuild installing no files, but the main aim >> here is >> to give a better error message earlier on rather than the classic >> &q

Re: [gentoo-dev] [PATCH] ruby-single.eclass: depend on virtual/rubygems[ruby_targets_rubyNN(-)] for each impl

2023-04-08 Thread Sam James
Hans de Graaff writes: > [[PGP Signed Part:Undecided]] > On Tue, 2023-04-04 at 01:02 +0100, Sam James wrote: >> >> - app-misc/foo (with only USE_RUBY="ruby30") using ruby-single.eclass >> is queued >>   and fails because the installed Ruby isn't full

[gentoo-dev] [PATCH 2/2] ruby-fakegem.eclass: include ${PF} in global-scope eqawarn

2023-04-07 Thread Sam James
This makes it a lot easier to narrow down the culprit given it warns in global scope. (Apparently ${EBUILD} isn't defined in PMS.) Signed-off-by: Sam James --- eclass/ruby-fakegem.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/ruby-fakegem.eclass b/eclass

[gentoo-dev] [PATCH 1/2] ruby-ng.eclass: error out earlier if RUBY is unset

2023-04-07 Thread Sam James
ets_ruby31: * ruby_implementation_command returned an empty RUBY for ruby31 * ERROR: dev-ruby/mercenary-0.4.0-r1::gentoo failed (setup phase): * Could not find RUBY for ruby31. Is dev-lang/ruby:3.1 installed? ``` Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 7 +++ 1 file changed, 7 insertions(+)

[gentoo-dev] [PATCH] ruby-single.eclass: depend on virtual/rubygems[ruby_targets_rubyNN(-)] for each impl

2023-04-03 Thread Sam James
any.eclass and/or a pkg_setup which helps enforcement, but that's another thing to handle. Followup to d078ec2a151d16b7ed045f1889bb5b97c4b9e6af ("Add virtual/rubygems to dependencies[...]"). Bug: https://bugs.gentoo.org/771744 Signed-off-by: Sam James --- eclass/ruby-single.eclass | 9 ++--

Re: [gentoo-dev] [PATCH 1/3] ruby-ng.eclass: improve error when no valid Ruby in USE_RUBY

2023-03-31 Thread Sam James
Hans de Graaff writes: > [[PGP Signed Part:Undecided]] > On Wed, 2023-03-29 at 16:39 +0100, Sam James wrote: >> This means we don't get confusing *DEPEND/REQUIRED_USE errors about >> it being >> unparseable and instead just get a straightforward die message >

[gentoo-dev] Re: sys-libs/glibc: RDEPENDs

2023-03-31 Thread Sam James
Raul Rangel writes: > On Fri, Mar 31, 2023 at 11:03 AM Sam James wrote: >> >> >> >> > On 31 Mar 2023, at 17:07, Raul Rangel wrote: >> > >> > Hello, >> > I was looking at the glibc >> > [ebuild](https://gitweb.gentoo

[gentoo-dev] Re: sys-libs/glibc: RDEPENDs

2023-03-31 Thread Sam James
> On 31 Mar 2023, at 17:07, Raul Rangel wrote: > > Hello, > I was looking at the glibc > [ebuild](https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/glibc/glibc-2.37-r1.ebuild#n136) > and noticed that it contains a lot of RDEPEND: >RDEPEND="${COMMON_DEPEND} >app-arch/gzip >

[gentoo-dev] Last rites: dev-ruby/ddmemoize

2023-03-30 Thread Sam James
# Sam James (2023-03-31) # Has suspicious test suite warnings with >=ruby31, no activity upstream, and # no reverse dependencies in Gentoo. # Removal on 2023-04-30. dev-ruby/ddmemoize signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH v2 2/3] ruby-ng.eclass: don't quote IUSE in has test

2023-03-29 Thread Sam James
Ulrich Mueller writes: >>>>>> On Wed, 29 Mar 2023, Sam James wrote: > >> -if ! has test "$IUSE"; then >> +if ! has test ${IUSE}; then > > You cannot reliably test for a flag in IUSE with code like this. > PMS defines the function in_iu

[gentoo-dev] [PATCH v2 3/3] ruby-fakegem.eclass: don't double-add USE=doc/test

2023-03-29 Thread Sam James
scope, but let's just fix the thing which is definitely wrong (the quoting). This does change the metadata generated in the way I expected, but it doesn't remove *all* duplicates. Signed-off-by: Sam James --- eclass/ruby-fakegem.eclass | 42 ++ 1 file changed

[gentoo-dev] [PATCH v2 2/3] ruby-ng.eclass: don't quote IUSE in has test

2023-03-29 Thread Sam James
ated in the way I expected, but it doesn't remove *all* duplicates. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index b81038237a6b..b63dd19e18f2 100644 --- a/eclass/ruby-ng.ec

[gentoo-dev] [PATCH v2 1/3] ruby-ng.eclass: improve error when no valid Ruby in USE_RUBY

2023-03-29 Thread Sam James
This means we don't get confusing *DEPEND/REQUIRED_USE errors about it being unparseable and instead just get a straightforward die message indicating the problem. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass

[gentoo-dev] [PATCH 3/3] ruby-fakegem.eclass: don't double-add USE=doc/test

2023-03-29 Thread Sam James
Signed-off-by: Sam James --- eclass/ruby-fakegem.eclass | 42 ++ 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index b3262dc5cdb4..9af96bec319f 100644 --- a/eclass/ruby-fakegem.eclass

[gentoo-dev] [PATCH 2/3] ruby-ng.eclass: don't quote IUSE in has test

2023-03-29 Thread Sam James
I was looking at the generated metadata for nokogiri and noticed several instances of 'test' in IUSE & RESTRICT. Ended up finding that the quoting of 'IUSE' in has is wrong here. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[gentoo-dev] [PATCH 1/3] ruby-ng.eclass: improve error when no valid Ruby in USE_RUBY

2023-03-29 Thread Sam James
This means we don't get confusing *DEPEND/REQUIRED_USE errors about it being unparseable and instead just get a straightforward die message indicating the problem. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass

[gentoo-dev] Last rites: dev-ruby/flickraw

2023-03-29 Thread Sam James
# Sam James (2023-03-29) # Stuck on ruby27, low activity upstream, needs someone who actively uses it to # test it properly as automated tests require an API key. # Removal on 2023-04-28. Bug #903542. dev-ruby/flickraw signature.asc Description: PGP signature

[gentoo-dev] Last rites: kde-apps/kross-interpreters

2023-03-29 Thread Sam James
# Sam James (2023-03-29) # Only supports imminently-EOL ruby27, depends on obsolete QtScript instead # of QML. Support for other languages was removed long ago, e.g. python support # is stuck on python2-only. Kross itself is on the chopping block too: # bug #810493, bug #903532. # Removal on 2023

[gentoo-dev] Last rites: net-misc/mikutter

2023-03-29 Thread Sam James
# Sam James (2023-03-29) # Only supports imminently-EOL ruby27. # Removal on 2023-04-28. Bug #903499. net-misc/mikutter signature.asc Description: PGP signature

Re: [gentoo-dev] [PATCH 1/2] eclass/ruby-fakegem.eclass: warn when using an unknown test recipe

2023-03-25 Thread Sam James
Hans de Graaff writes: > Signed-off-by: Hans de Graaff > --- > eclass/ruby-fakegem.eclass | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass > index 9ef5e1f098d1..08e3ccf588ac 100644 > --- a/eclass/ruby-fakegem.eclass > +++

Re: [gentoo-dev] [PATCH] .editorconfig: add

2023-03-24 Thread Sam James
Ulrich Mueller writes: > [[PGP Signed Part:Undecided]] >> On Fri, 24 Mar 2023, Florian Schmaus wrote: > >>> Then it looks wrong, conceptually. Or would it be o.k. if I committed >>> ebuild-mode.el to the top-level directory of the Gentoo repository? > >> I do not think the comparison with

Re: [gentoo-dev] [PATCH] .editorconfig: add

2023-03-23 Thread Sam James
Ulrich Mueller writes: > [[PGP Signed Part:Undecided]] >>>>>> On Fri, 24 Mar 2023, Sam James wrote: > >> The idea is to make other editors less-hostile when they don't have >> a dedicated mode (like I said in the commit message). The specific >> re

Re: [gentoo-dev] [PATCH] .editorconfig: add

2023-03-23 Thread Sam James
Ulrich Mueller writes: > [[PGP Signed Part:Undecided]] >>>>>> On Fri, 24 Mar 2023, Sam James wrote: > >>> I'm slightly confused. What repository is this intended for? > >> gentoo.git. > > Then it looks wrong, conceptually. Or would it be o.k.

Re: [gentoo-dev] [PATCH] .editorconfig: add

2023-03-23 Thread Sam James
Ulrich Mueller writes: > [[PGP Signed Part:Undecided]] >>>>>> On Fri, 24 Mar 2023, Sam James wrote: > >> This allows conveniently editing ebuilds and eclasses in editors which don't >> have a specific ebuild mode like Emacs and Vim do. > > I'm slightly

[gentoo-dev] [PATCH] go-module.eclass: refine go-module_src_unpack eclassdoc

2023-03-23 Thread Sam James
Rephrase to make clear that go-module_src_unpack itself isn't actually deprecated, just one of its modes of operation (the one with EGO_SUM). Signed-off-by: Sam James --- eclass/go-module.eclass | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/eclass/go-module.eclass

[gentoo-dev] [PATCH] .editorconfig: add

2023-03-23 Thread Sam James
forward we may want to have pkgdev support custom keys in this file for e.g. copyright year mangling too. Signed-off-by: Sam James --- .editorconfig | 8 1 file changed, 8 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index

[gentoo-dev] [PATCH v2 3/3] ruby-fakegem.eclass: allow non-fatal use of test functions

2023-03-18 Thread Sam James
if [[ ${tests_failed} == 1 ]] ; then die "Tests failed! Please see ..." fi ``` Just like we do with e.g. virtualx. This also brings us into line with the Python eclasses. Signed-off-by: Sam James --- eclass/ruby-fakegem.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --gi

[gentoo-dev] [PATCH v2 2/3] ruby-ng.eclass: use eqawarn for test dependency warning

2023-03-18 Thread Sam James
We already inherit the eqawarn eclass and use it elsewhere in this eclass, so it's available & this then fits the rest of our use. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.ec

[gentoo-dev] [PATCH v2 1/3] ruby-ng.eclass: allow non-fatal use of test functions

2023-03-18 Thread Sam James
if [[ ${tests_failed} == 1 ]] ; then die "Tests failed! Please see ..." fi ``` Just like we do with e.g. virtualx. This also brings us into line with the Python eclasses. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --gi

[gentoo-dev] [PATCH 2/2] ruby-ng.eclass: use eqawarn for test dependency warning

2023-03-17 Thread Sam James
We already inherit the eqawarn eclass and use it elsewhere in this eclass, so it's available & this then fits the rest of our use. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.ec

[gentoo-dev] [PATCH 1/2] ruby-ng.eclass: allow non-fatal use of test functions

2023-03-17 Thread Sam James
if [[ ${tests_failed} == 1 ]] ; then die "Tests failed! Please see ..." fi ``` Just like we do with e.g. virtualx. This also brings us into line with the Python eclasses. Signed-off-by: Sam James --- eclass/ruby-ng.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --gi

Re: [gentoo-dev] [PATCH v2] verify-sig.eclass: Use gemato openpgp-verify-detached w/ 20.0+

2023-03-08 Thread Sam James
On Wed, 8 Mar 2023 17:33:24 +0100 Michał Górny wrote: > Use openpgp-verify-detached when app-portage/gemato-20.0 is installed. > This lets us test the new code paths on ~arch with minimal risk > of breakage on stable. > > Signed-off-by: Michał Górny > --- > eclass/verify-sig.eclass | 13

[gentoo-dev] [PATCH v2] profiles/base: add cache vars for -Wimplicit-function-declaration silencing

2023-02-28 Thread Sam James
. This means we don't have to try whitelist 'strchr'. v2: drop 'export' as PMS doesn't allow it in make.defaults. Signed-off-by: Sam James --- profiles/base/make.defaults | 6 ++ 1 file changed, 6 insertions(+) diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults index

[gentoo-dev] [PATCH] profiles/base: add cache vars for -Wimplicit-function-declaration silencing

2023-02-28 Thread Sam James
. This means we don't have to try whitelist 'strchr'. Signed-off-by: Sam James --- profiles/base/make.defaults | 6 ++ 1 file changed, 6 insertions(+) diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults index ab69dbfae58ee..bdffd57047bbc 100644 --- a/profiles/base

[gentoo-dev] [PATCH] cmake.eclass: Set CMAKE_SYSROOT in toolchain file when necessary

2023-02-28 Thread James Le Cuirot
from this directory, does not apply any sysroot to the paths within because the script is outside the sysroot, and finally fails when attempting to link the host's libc.so.6. Signed-off-by: James Le Cuirot --- eclass/cmake.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [gentoo-dev] [PATCH] New pre-GLEP: TEST_SUITE_PRESENT variable

2023-02-20 Thread Sam James
> On 20 Feb 2023, at 08:37, Florian Schmaus wrote: > > On 19/02/2023 18.32, Michał Górny wrote: >> +Abstract >> + >> + >> +A new ``TEST_SUITE_PRESENT`` variable is introduced to indicate whether >> +the package features a test suite. > I wonder if we could not simply use IUSE="test"

[gentoo-dev] Last rites: dev-python/setuptools_trial

2023-02-18 Thread Sam James
# Sam James (2023-02-18) # Last release in 2018, needs porting to Python 3.11, and no reverse # dependencies. Removal on 2023-03-18. bug #895174. dev-python/setuptools_trial signature.asc Description: PGP signature

[gentoo-dev] Last rites: dev-python/scandir

2023-02-18 Thread Sam James
# Sam James (2023-02-18) # Backport to Python 3.5(!) hence irrelevant for newer versions of Python # where os.scandir() and os.walk() improvements were integrated in the stdlib. # Incompatible with Python 3.11. No reverse dependencies. # Removal on 2023-03-18. bug #895198 dev-python/scandir

Re: [gentoo-dev] [PATCH] toolchain.eclass: Register the D tc_feature

2023-02-09 Thread Sam James
> On 9 Feb 2023, at 20:04, Arsen Arsenović wrote: > > This behavior is relied on elsewhere, for setting BDEPENDs correctly. > > Signed-off-by: Arsen Arsenović > --- > Hi there, > > I was trying to merge GDC, and noticed that the non-selfhost BDEPEND is > missing for GCC 13. Specifically,

Re: [gentoo-dev] Putting CC and CXX into make.conf

2023-02-09 Thread James Le Cuirot
On Thu, 2023-02-09 at 14:03 +0100, Michał Górny wrote: > Hi, > > I'd like to propose that we work towards having good defaults for CC > and CXX variables in make.conf files. Something like: > > CC=${CHOST}-gcc > CXX=${CHOST}-g++ > > or: > > CC=${CHOST}-cc > CXX=${CHOST}-c++ > > Why?

Re: [gentoo-dev] [PATCH] waf-utils.eclass: enable parallel install

2023-01-30 Thread Sam James
> On 28 Jan 2023, at 19:25, Mike Gilbert wrote: > > This gives a nice speedup to net-fs/samba, which (re)links several > hundred files in its install phase. > > Bug: https://bugs.gentoo.org/715542 > Signed-off-by: Mike Gilbert > --- OK, let's try it. Bit reluctant because of some of the

[gentoo-dev] [PATCH 5/5] toolchain-funcs.eclass: consistently pass CPPFLAGS before C{,XX}FLAGS

2023-01-29 Thread Sam James
This is generally what we do in patches and such. Signed-off-by: Sam James --- eclass/toolchain-funcs.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 9bb660e4f71f3..c2c2d1199155d 100644

[gentoo-dev] [PATCH 4/5] toolchain-funcs.eclass: style tweaks

2023-01-29 Thread Sam James
Signed-off-by: Sam James --- eclass/toolchain-funcs.eclass | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 840111f6cc30d..9bb660e4f71f3 100644 --- a/eclass/toolchain-funcs.eclass

[gentoo-dev] [PATCH 3/5] toolchain-funcs.eclass: include CXXFLAGS in various tc-enables-* checks

2023-01-29 Thread Sam James
SSP and PIE are relevant to C++ too. Signed-off-by: Sam James --- eclass/toolchain-funcs.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index d46104275f8e6..840111f6cc30d 100644 --- a/eclass

[gentoo-dev] [PATCH 2/5] toolchain-funcs.eclass: add tc-enables-cxx-assertions

2023-01-29 Thread Sam James
Bug: https://bugs.gentoo.org/884417 Bug: https://bugs.gentoo.org/876895 Signed-off-by: Sam James --- eclass/toolchain-funcs.eclass | 9 + 1 file changed, 9 insertions(+) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index b9e956098b3e2..d46104275f8e6 100644

[gentoo-dev] [PATCH 1/5] toolchain-funcs.eclass: add tc-enables-fortify-source for FORTIFY_SOURCE

2023-01-29 Thread Sam James
: https://bugs.gentoo.org/841770 Bug: https://bugs.gentoo.org/847148 Bug: https://bugs.gentoo.org/876893 Signed-off-by: Sam James --- eclass/toolchain-funcs.eclass | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain

Re: [gentoo-dev] Various packages up for grabs (avahi, curl, fcron, tor...)

2023-01-28 Thread Sam James
> On 28 Jan 2023, at 20:24, Michał Górny wrote: > > On Sat, 2023-01-28 at 21:18 +0100, Michał Górny wrote: >> On Sat, 2023-01-28 at 21:11 +0100, Michał Górny wrote: >>> Hi, >>> >>> Per blueness' request, some of his packages are now looking for a new >>> maintainer. The affected packages

Re: [gentoo-dev] Various packages up for grabs (avahi, curl, fcron, tor...)

2023-01-28 Thread Sam James
> On 28 Jan 2023, at 20:11, Michał Górny wrote: > > Hi, > > Per blueness' request, some of his packages are now looking for a new > maintainer. The affected packages are: > > > dev-util/gperf > net-misc/curl > sys-fs/f2fs-tools > sys-process/cronbase > virtual/cron Taken for base-system@.

Re: [gentoo-dev] Last rites: app-admin/gkrellm & plugins

2023-01-27 Thread Sam James
> On 27 Jan 2023, at 20:15, Michal Prívozník wrote: > > On 1/27/23 20:21, Michał Górny wrote: >> On Fri, 2023-01-27 at 10:51 -0800, A Schenck wrote: >>> On 1/27/23 09:36, Michał Górny wrote: # Michał Górny (2023-01-27) # GKrellM and a variety of plugins. It's unmaintained for some

Re: [gentoo-dev] [PATCH] kernel-2.eclass: Make xmakeopts an array for spaces in toolchain vars

2023-01-24 Thread James Le Cuirot
On Mon, 2023-01-23 at 11:20 -0500, Joshua Kinard wrote: > On 1/21/2023 06:03, James Le Cuirot wrote: > > Variables like CC can have spaces for additional arguments. This is > > particularly useful for reliably setting the sysroot. > > > > Signed-off-by: James Le C

[gentoo-dev] [PATCH 3/3] sys-kernel/linux-headers: Adjust following kernel-2.eclass changes

2023-01-24 Thread James Le Cuirot
Signed-off-by: James Le Cuirot --- sys-kernel/linux-headers/linux-headers-5.10-r2.ebuild | 2 +- sys-kernel/linux-headers/linux-headers-5.15-r3.ebuild | 2 +- sys-kernel/linux-headers/linux-headers-5.19.ebuild| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-kernel

[gentoo-dev] [PATCH 2/3] kernel-2.eclass: Rename xmakeopts to more appropriate KERNEL_MAKEOPTS

2023-01-24 Thread James Le Cuirot
An upper-case name suggests that the variable is exported. This variable is also not just used for cross-compiling any more. Signed-off-by: James Le Cuirot --- eclass/kernel-2.eclass | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/eclass/kernel-2

Re: [gentoo-dev] NEWS: Breaking changes to the RAP Prefix toolchain

2023-01-24 Thread James Le Cuirot
On Fri, 2023-01-20 at 23:11 +, James Le Cuirot wrote: > The context for this is a pull request I've been working on for a few weeks. > > https://github.com/gentoo/gentoo/pull/28851 > > RAP prefix nobbled gcc/clang's sysroot when invoking the linker because glibc > in

Re: [gentoo-portage-dev] [PATCH] Remove obsolete FEATURES=force-prefix

2023-01-22 Thread James Le Cuirot
On Sun, 2023-01-22 at 09:18 +0100, Ulrich Müller wrote: > Signed-off-by: Ulrich Müller > --- > bin/dohtml.py| 6 ++ > bin/eapi.sh | 4 ++-- > lib/portage/const.py | 3 +-- > lib/portage/package/ebuild/config.py | 11

[gentoo-dev] [PATCH 7/7] dev-libs/libbsd: Strip prefix from paths in ld script

2023-01-21 Thread James Le Cuirot
. Signed-off-by: James Le Cuirot --- dev-libs/libbsd/libbsd-0.11.7-r2.ebuild | 43 + 1 file changed, 43 insertions(+) create mode 100644 dev-libs/libbsd/libbsd-0.11.7-r2.ebuild diff --git a/dev-libs/libbsd/libbsd-0.11.7-r2.ebuild b/dev-libs/libbsd/libbsd-0.11.7-r2

[gentoo-dev] [PATCH 6/7] python-utils-r1.eclass: Use BROOT rather than EPREFIX for PYTHON var

2023-01-21 Thread James Le Cuirot
. Signed-off-by: James Le Cuirot --- eclass/python-utils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 43472bd1fae0..bc397229a670 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1

[gentoo-dev] [PATCH 5/7] sys-devel/clang: Move clang prefix tweaks from profile

2023-01-21 Thread James Le Cuirot
Signed-off-by: James Le Cuirot --- profiles/features/prefix/standalone/profile.bashrc | 11 +-- sys-devel/clang/clang-13.0.1.ebuild| 5 + sys-devel/clang/clang-14.0.6-r1.ebuild | 5 + sys-devel/clang/clang-15.0.6-r1.ebuild | 5 + sys

[gentoo-dev] [PATCH 4/7] toolchain.eclass: Move remaining gcc prefix tweaks from profile

2023-01-21 Thread James Le Cuirot
Signed-off-by: James Le Cuirot --- eclass/toolchain.eclass| 13 + profiles/features/prefix/standalone/profile.bashrc | 14 +- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass

[gentoo-dev] [PATCH 3/7] toolchain.eclass: Fix cross-compiling gcc for standalone prefix

2023-01-21 Thread James Le Cuirot
the prefix profile into the eclass so that it's less of a special case. We can avoid relying on the `BOOTSTRAP_RAP_STAGE2` variable by checking for the `prefix-guest` USE flag instead, as a prefix-guest profile is now used for RAP stage 2. Signed-off-by: James Le Cuirot --- eclass/toolchain.eclass

[gentoo-dev] [PATCH 2/7] usr-ldscript.eclass: Don't add prefix to ld script paths when standalone

2023-01-21 Thread James Le Cuirot
the gen_usr_ldscript function is a noop on prefix anyway, but I'm still adding this in case that changes. Signed-off-by: James Le Cuirot --- eclass/usr-ldscript.eclass | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass

[gentoo-dev] [PATCH 1/7] sys-libs/glibc: Strip prefix from ld scripts for better cross-compiling

2023-01-21 Thread James Le Cuirot
, but they would not install glibc anyway. This change is not needed for musl, as it does not install any ld scripts. Signed-off-by: James Le Cuirot --- profiles/features/prefix/standalone/profile.bashrc | 9 + sys-libs/glibc/glibc-2.36-r6.ebuild| 11 +++ sys-libs

[gentoo-dev] Allow prefixed systems to be cross-compiled

2023-01-21 Thread James Le Cuirot
These changes relate to the news item I recently posted here. They've already had some feedback on GitHub, but they include eclass changes, and protocol says I must post them here too. I've included the wider package changes, as the eclass changes alone don't make sense out of context. In

[gentoo-dev] [PATCH] kernel-2.eclass: Make xmakeopts an array for spaces in toolchain vars

2023-01-21 Thread James Le Cuirot
Variables like CC can have spaces for additional arguments. This is particularly useful for reliably setting the sysroot. Signed-off-by: James Le Cuirot --- eclass/kernel-2.eclass | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/eclass/kernel-2.eclass b

[gentoo-dev] NEWS: Breaking changes to the RAP Prefix toolchain

2023-01-20 Thread James Le Cuirot
all the prefix profiles. Prefix is quite a niche feature, so I don't want to show this news to everyone. Title: Breaking changes to the RAP Prefix toolchain Author: James Le Cuirot Posted: 2023-01-20 Revision: 1 News-Item-Format: 2.0 Display-If-Profile: default/linux/amd64/17.0/no-multilib

Re: [gentoo-dev] sys-devel/make-4.4: https://savannah.gnu.org/bugs/?63552

2023-01-20 Thread Sam James
> On 20 Jan 2023, at 13:18, Andrey Grozin wrote: > > There seems to be a regression in 4.4 which potentially can affect many > packages. It is fixed upstream. Wouldn't it be good to include this fix in > the Gentoo package? > If you notice an issue in a package, please file a bug. If you

[gentoo-dev] [PATCH 2/2] sys-apps/ed: use unpacker_src_uri_depends again

2023-01-16 Thread Sam James
: https://bugs.gentoo.org/891133 Signed-off-by: Sam James --- sys-apps/ed/ed-1.19-r1.ebuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sys-apps/ed/ed-1.19-r1.ebuild b/sys-apps/ed/ed-1.19-r1.ebuild index 8f805d415665a..e2d63d30eb660 100644 --- a/sys-apps/ed/ed-1.19-r1

[gentoo-dev] [PATCH 1/2] unpacker.eclass: flatten unpacker_src_uri_depends dependencies

2023-01-16 Thread Sam James
distfile in SRC_URI with the same suffix. Closes: https://bugs.gentoo.org/891133 Thanks-to: Ionen Wolkens Signed-off-by: Sam James --- eclass/unpacker.eclass | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/eclass/unpacker.eclass b/eclass

[gentoo-dev] [PATCH 0/2] unpacker.eclass: avoid duplicate unpacker_src_uri_depends deps

2023-01-16 Thread Sam James
+ mirror listed). Sam James (2): unpacker.eclass: flatten unpacker_src_uri_depends dependencies sys-apps/ed: use unpacker_src_uri_depends again eclass/unpacker.eclass| 29 ++--- sys-apps/ed/ed-1.19-r1.ebuild | 7 +-- 2 files changed, 15 insertions(+), 21

Re: [gentoo-dev] Packages of zlogene up for grabs

2023-01-14 Thread Sam James
> On 14 Jan 2023, at 18:18, Hank Leininger wrote: > > On Fri, Jan 13, 2023 at 02:35:45PM +0100, mgorny wrote: >> acct-group/squid >> acct-user/squid >> net-proxy/squid > > I have an interest in these so I could p-m them, but I would need adult > supervision. > That can be arranged. I'll

<    1   2   3   4   5   6   7   8   9   10   >