[gentoo-dev] Clang 16 is coming - and it'll break your packages!

2022-10-09 Thread Sam James
Hi all, Clang 16 is going to break a lot of packages. We need your help to fix the huge number of bugs [0] already reported - and there's more coming. These fixes are almost always trivial, the issue is the _volume_ of bugs. The compiler even tells you how to fix them most of the time. I absol

Re: [gentoo-dev] [PATCH 0/3] toolchain-funcs.eclass: support for querying C++ stdlib and compiler runtime

2022-10-09 Thread Sam James
> On 8 Oct 2022, at 10:43, Michał Górny wrote: > > Hi, > > Here's a patchset adding two new functions along with tests: > > - tc-get-cxx-stdlib() that determines C++ stdlib used (libc++ vs > libstdc++) > - tc-get-c-rtlib() that determines C compiler runtime used (libgcc vs > compiler-rt) >

Re: [gentoo-dev] Clang 16 is coming - and it'll break your packages!

2022-10-09 Thread Sam James
Sam James writes: > Hi all, > > Clang 16 is going to break a lot of packages. We need your help to fix > the huge number of bugs [0] already reported - and there's more coming. > I should've added: here's a nice list of things to work on. https://bugs.gentoo

[gentoo-dev] [PATCH 1/8] kernel-2.eclass: decompress xz in parallel

2022-10-11 Thread Sam James
No-op until >=app-arch/xz-utils-5.3.3_alpha. Recently added support for this in Portage and pkgcore too for unpacking. Signed-off-by: Sam James --- eclass/kernel-2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.ecl

[gentoo-dev] [PATCH 2/8] linux-mod.eclass: compress xz/zstd in parallel

2022-10-11 Thread Sam James
Signed-off-by: Sam James --- eclass/linux-mod.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index b7c13cbf7e76..8f511ba8ff05 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -163,7 +163,7

[gentoo-dev] [PATCH 3/8] linux-mod.eclass: use pigz for parallel compression if available

2022-10-11 Thread Sam James
Signed-off-by: Sam James --- eclass/linux-mod.eclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index 8f511ba8ff05..e837916b881a 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -719,7 +719,11

[gentoo-dev] [PATCH 4/8] linux-mod.eclass: improve error handling for module compression

2022-10-11 Thread Sam James
doins will 'die for us' in newer EAPIs, and add missing || dies to compressor calls. Signed-off-by: Sam James --- eclass/linux-mod.eclass | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index e8

[gentoo-dev] [PATCH 5/8] linux-mod.eclass: cleanup whitespace

2022-10-11 Thread Sam James
Signed-off-by: Sam James --- eclass/linux-mod.eclass | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass index e4c71cdf2c15..7f4ddb9b8ee6 100644 --- a/eclass/linux-mod.eclass +++ b/eclass/linux-mod.eclass @@ -150,8

[gentoo-dev] [PATCH 6/8] kernel-build.eclass: compress xz/zstd in parallel

2022-10-11 Thread Sam James
Note that this will only take effect if compressing modules with xz or zstd (COMPRESS_MODULE_XZ is set or COMPRESS_MODULE_ZSTD is set respectively) ... or if compiling the kernel with xz or zstd (COMPRESS_KERNEL_XZ or COMPRESS_KERNEL_ZSTD is set respectiely). Signed-off-by: Sam James

[gentoo-dev] [PATCH 7/8] kernel-build.eclass: use pigz for parallel compression if available

2022-10-11 Thread Sam James
Note that this will only take effect if compressing modules with gzip (COMPRESS_MODULE_GZIP is set) or compressing the kernel with gzip (CONFIG_KERNEL_GZIP is set). Signed-off-by: Sam James --- eclass/kernel-build.eclass | 7 +++ 1 file changed, 7 insertions(+) diff --git a/eclass/kernel

[gentoo-dev] [PATCH 8/8] kernel-build.eclass: use pbzip2/lbzip2 for parallel compression if available

2022-10-11 Thread Sam James
Note that this will only take effect if compressing modules with bzip2 (COMPRESS_MODULE_BZIP2 is set) or compressing the kernel with bzip2 (CONFIG_KERNEL_BZIP2 is set). Signed-off-by: Sam James --- eclass/kernel-build.eclass | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff

[gentoo-dev] Re: [PATCH 8/8] kernel-build.eclass: use pbzip2/lbzip2 for parallel compression if available

2022-10-11 Thread Sam James
> On 11 Oct 2022, at 23:55, Sam James wrote: > > Note that this will only take effect if compressing > modules with bzip2 (COMPRESS_MODULE_BZIP2 is set) or > compressing the kernel with bzip2 (CONFIG_KERNEL_BZIP2 is set). > > Signed-off-by: Sam James > --- > ecla

Re: [gentoo-dev] [PATCH 6/8] kernel-build.eclass: compress xz/zstd in parallel

2022-10-11 Thread Sam James
> On 12 Oct 2022, at 05:46, Michał Górny wrote: > > On Tue, 2022-10-11 at 23:54 +0100, Sam James wrote: >> Note that this will only take effect if compressing >> modules with xz or zstd (COMPRESS_MODULE_XZ is set or >> COMPRESS_MODULE_ZSTD is set respectively) >

Re: [gentoo-dev] [PATCH 2/8] linux-mod.eclass: compress xz/zstd in parallel

2022-10-12 Thread Sam James
Ulrich Mueller writes: > [[PGP Signed Part:Undecided]] > What is the motivation for this? The typical kernel module on my system > has a size of about 20 KiB uncompressed, with the largest about 2 MiB. > Compression times are negligible for these, so is there a need to > optimize? Note that thi

Re: [gentoo-dev] [PATCH 6/8] kernel-build.eclass: compress xz/zstd in parallel

2022-10-12 Thread Sam James
Michał Górny writes: > On Tue, 2022-10-11 at 23:54 +0100, Sam James wrote: >> Note that this will only take effect if compressing >> modules with xz or zstd (COMPRESS_MODULE_XZ is set or >> COMPRESS_MODULE_ZSTD is set respectively) >> >> ... or if com

[gentoo-dev] [PATCH 1/5] font.eclass: introduce FONT_CONVERT_SFNT for converting old bitmap fonts

2022-10-14 Thread Sam James
of this issue may be difficult and presumably any font package enabling FONT_CONVERT_SFNT will be useless without it anyway. See also https://fedoraproject.org/wiki/BitmapFontConversion. Bug: https://bugs.gentoo.org/698922 Thanks-to: Kerin Millar Signed-off-by: Sam James --- eclass/fon

[gentoo-dev] [PATCH 2/5] xorg-3.eclass: add FONT_CONVERT_SFNT support

2022-10-14 Thread Sam James
Bug: https://bugs.gentoo.org/698922 Signed-off-by: Sam James --- eclass/xorg-3.eclass | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass index e120d23efd4f..4469efb73427 100644 --- a/eclass/xorg-3.eclass +++ b/eclass/xorg-3

[gentoo-dev] [PATCH 3/5] profiles: add USE=convert-sfnt

2022-10-14 Thread Sam James
Bug: https://bugs.gentoo.org/698922 Signed-off-by: Sam James --- profiles/use.desc | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/use.desc b/profiles/use.desc index d7e841f80df6..cdf98b916af1 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -45,6 +45,7 @@ cjk - Add support

[gentoo-dev] [PATCH 4/5] profiles/arch/hppa: mask USE=convert-sfnt

2022-10-14 Thread Sam James
Signed-off-by: Sam James --- profiles/arch/hppa/use.mask | 4 1 file changed, 4 insertions(+) diff --git a/profiles/arch/hppa/use.mask b/profiles/arch/hppa/use.mask index 83ae1d1951f6..a2cb9a72cc22 100644 --- a/profiles/arch/hppa/use.mask +++ b/profiles/arch/hppa/use.mask @@ -7,6 +7,10

[gentoo-dev] [PATCH 5/5] media-fonts/font-misc-misc: add FONT_CONVERT_SFNT support

2022-10-14 Thread Sam James
Bug: https://bugs.gentoo.org/698922 Signed-off-by: Sam James --- .../font-misc-misc/font-misc-misc-1.1.2-r3.ebuild| 12 1 file changed, 12 insertions(+) create mode 100644 media-fonts/font-misc-misc/font-misc-misc-1.1.2-r3.ebuild diff --git a/media-fonts/font-misc-misc/font

Re: [gentoo-dev] [PATCH 1/5] font.eclass: introduce FONT_CONVERT_SFNT for converting old bitmap fonts

2022-10-14 Thread Sam James
> On 15 Oct 2022, at 04:09, Sam James wrote: > >> =x11-libs/pango-1.44 dropped support for old bitmap fonts. We can convert > fonts from the legacy .bdf and .pcf formats into the OTB wrapper format > using x11-apps/fonttosfnt. > > This commit adds FONT_CONVERT_SFNT w

Re: [gentoo-dev] [PATCH 3/5] profiles: add USE=convert-sfnt

2022-10-30 Thread Sam James
> On 17 Oct 2022, at 07:53, Mart Raudsepp wrote: > > Ühel kenal päeval, L, 15.10.2022 kell 11:01, kirjutas Ulrich Mueller: >>>>>>> On Sat, 15 Oct 2022, Sam James wrote: >> >>> +convert-sfnt - Convert BDF and PCF bitmap fonts to OTB wrapper >

[gentoo-dev] [PATCH] flag-o-matic.eclass: add append-time64-flags

2022-10-30 Thread Sam James
Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 13 + 1 file changed, 13 insertions(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 365741a6dddf..d9149ebee4a5 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -301,6

Re: [gentoo-dev] Disturbing state of arch testing in Gentoo

2022-11-06 Thread Sam James
> On 6 Nov 2022, at 08:15, Michał Górny wrote: > > Hi, everyone. > > Arch testing's relying on automation a lot these days. Not saying > that's bad, if it improves the state of affairs. However, I have some > concerns, based on what I've seen lately. Thanks for starting this discussion, I t

Re: [gentoo-dev] Disturbing state of arch testing in Gentoo

2022-11-07 Thread Sam James
> On 7 Nov 2022, at 06:07, Oskari Pirhonen wrote: > > On Sun, Nov 06, 2022 at 11:37:24 +0100, Piotr Karbowski wrote: >> I would be in favour of stepping up the social contract and actually >> prohibiting this kind of things, we had that before too, the nattka you >> mgorny wrote is replacement

Re: [gentoo-dev] Disturbing state of arch testing in Gentoo

2022-11-07 Thread Sam James
> On 8 Nov 2022, at 00:23, Rich Freeman wrote: > > On Mon, Nov 7, 2022 at 6:16 PM Sam James wrote: >> >>> On 7 Nov 2022, at 06:07, Oskari Pirhonen wrote: >>> >>> On Sun, Nov 06, 2022 at 11:37:24 +0100, Piotr Karbowski wrote: >>>> I wou

Re: [gentoo-dev] [PATCH 2/2] font.eclass: Remove racy pkg_postinst code

2022-11-07 Thread Sam James
> On 8 Nov 2022, at 01:10, Matt Turner wrote: > > Noticed on ChromeOS when installing a large number of font packages in > parallel: > > /usr/share/fonts/noto/NotoSerifThai-Regular.ttf#new' from 0004 (--r--) to > 2440 (r--r-S---) > * ERROR: media-fonts/ipaex-004.01-r1::chromiumos failed (

Re: [gentoo-dev] [PATCH] flag-o-matic.eclass: add append-time64-flags

2022-11-08 Thread Sam James
> On 31 Oct 2022, at 10:37, Mickaël Bucas wrote: > > Le dim. 30 oct. 2022 à 16:48, Sam James a écrit : >> >> Signed-off-by: Sam James >> --- >> eclass/flag-o-matic.eclass | 13 + >> 1 file changed, 13 insertions(+) > >> +# @

Re: [gentoo-dev] [RFC] A new GLSA schema

2022-11-09 Thread Sam James
> On 10 Nov 2022, at 03:43, Michał Górny wrote: > > On Wed, 2022-11-09 at 20:27 -0600, John Helmert III wrote: >> The first GLSA in glsa.git is GLSA-200310-03, the third GLSA of >> October 2003. It used roughly the same format of the GLSAs we release >> today, in 2022, making that format almost

Re: [gentoo-dev] [RFC] A new GLSA schema

2022-11-10 Thread Sam James
> On 10 Nov 2022, at 08:43, Jaco Kroon wrote: > > Hi, > > On 2022/11/10 06:13, John Helmert III wrote: - Drop synopsis and description fields. These fields contain the same information and will be superceded by the existing impact field. >>> Well, I'm not saying "no" but it feels

Re: [gentoo-dev] [RFC] A new GLSA schema

2022-11-11 Thread Sam James
> On 11 Nov 2022, at 22:06, Gordon Pettey wrote: > > On Thu, Nov 10, 2022 at 6:27 PM John Helmert III wrote: > On Thu, Nov 10, 2022 at 09:49:27PM +0100, Jonas Stein wrote: > > On 10/11/2022 03:27, John Helmert III wrote: > > > The first GLSA in glsa.git is GLSA-200310-03, the third GLSA of > >

Re: [gentoo-dev] [RFC] A new GLSA schema

2022-11-11 Thread Sam James
> On 11 Nov 2022, at 22:40, Sam James wrote: > > > >> On 11 Nov 2022, at 22:06, Gordon Pettey wrote: >> >> On Thu, Nov 10, 2022 at 6:27 PM John Helmert III wrote: >> On Thu, Nov 10, 2022 at 09:49:27PM +0100, Jonas Stein wrote: >>> On 10/11

Re: [gentoo-dev] [RFC] A new GLSA schema

2022-11-11 Thread Sam James
> On 12 Nov 2022, at 00:01, Jonas Stein wrote: > > [2] https://oasis-open.github.io/csaf-documentation/ > >> Oh I see, I'd missed the actual link to CSAF, sorry. > > My fault. I should not add xkcd links in future. Nah, the xkcd is fine, I just missed the link to the actual standard. No

Re: [gentoo-dev] [RFC] A new GLSA schema

2022-11-11 Thread Sam James
> On 12 Nov 2022, at 00:04, Gordon Pettey wrote: > > On Fri, Nov 11, 2022 at 4:43 PM Sam James wrote: > > Oh I see, I'd missed the actual link to CSAF, sorry. > > I'll take a look. It's not clear to me yet if this is going to be a good > fit for dist

Re: [gentoo-dev] [PATCH] metadata: Add license-mapping.conf for SPDX license mapping

2022-11-13 Thread Sam James
> On 13 Nov 2022, at 11:58, Michał Górny wrote: > > Add a file defining mapping of SPDX-2.0 license identifiers to Gentoo > ebuild licenses. This was originally discussed on Gentoo Bugzilla [1], > the submitted to the gentoo-dev ml [2]. > > The proposed file uses the common key-value format u

[gentoo-dev] Last rites: net-mail/metamail

2022-11-23 Thread Sam James
# Pascal Jäger (2022-11-24) # No maintainer, last release in 1994. Fails to build # with clang-16. Runtime crash in certain conditions. # Removal on 2022-12-23. # Bugs #549922 #713492 #731256 #875464 #882263 # Removal Bug: #882631 net-mail/metamail signature.asc Description: Message signed with

Re: [gentoo-dev] musl, sbcl, and ros

2022-12-01 Thread Sam James
> On 2 Dec 2022, at 05:11, Andrey Grozin wrote: > > Hello *, > > The sbcl upstream only supports glibc Linux systems. Building sbcl uses sbcl > binary (which fails to run on musl) to compile sbcl sources. > > In principle, one can try a workaround: use some other lisp (say, clisp or > ecl)

Re: [gentoo-dev] musl, sbcl, and ros

2022-12-02 Thread Sam James
> On 2 Dec 2022, at 19:28, Peter Stuge wrote: > > Andrey Grozin wrote: >> This means that no user of the musl profiles has ever been able to emerge >> all these packages (because they did not have sbcl). And all these >> packages should be pmasked in the musl profiles. > > Is the last sentence

[gentoo-dev] Last rites: x11-themes/mate-themes-meta

2022-12-02 Thread Sam James
# Oz Tiram (2022-12-03) # Mate-desktop no longer supports gtk+:2, so there is # no need for this package. Removal on 2023-01-03. x11-themes/mate-themes-meta signature.asc Description: Message signed with OpenPGP

Re: [gentoo-dev] [RFC] Removing the distinction between UNCONFIRMED and CONFIRMED bugs

2022-12-02 Thread Sam James
> On 3 Dec 2022, at 07:09, Michał Górny wrote: > > Hi, > > I'd like to propose replacing the current UNCONFIRMED and CONFIRMED bug > states with a simple NEW state. Why? > > 1. Only a handful of developers actually uses these two statuses > in a meaningful way. > > 2. Some users are confuse

[gentoo-dev] [PATCH 1/4] toolchain-funcs.eclass: stop using which(1)

2022-12-05 Thread Sam James
It's non-portable and we're looking to remove it from @system. Bug: https://bugs.gentoo.org/487696 Bug: https://bugs.gentoo.org/646588 Signed-off-by: Sam James --- eclass/toolchain-funcs.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain-fu

[gentoo-dev] [PATCH 2/4] usr-ldscript.eclass: stop using which(1)

2022-12-05 Thread Sam James
It's non-portable and we're looking to remove it from @system. Bug: https://bugs.gentoo.org/646588 Signed-off-by: Sam James --- eclass/usr-ldscript.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.ec

[gentoo-dev] [PATCH 3/4] postgres-multi.eclass: stop using which(1)

2022-12-05 Thread Sam James
It's non-portable and we're looking to remove it from @system. Bug: https://bugs.gentoo.org/646588 Signed-off-by: Sam James --- eclass/postgres-multi.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/postgres-multi.eclass b/eclass/postgres-mu

[gentoo-dev] [PATCH 4/4] postgres.eclass: stop using which(1)

2022-12-05 Thread Sam James
It's non-portable and we're looking to remove it from @system. Bug: https://bugs.gentoo.org/646588 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 3a

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Set CHOST within econf_build to fix config.site

2022-12-06 Thread Sam James
> On 6 Dec 2022, at 09:03, James Le Cuirot wrote: > > We were setting CBUILD within econf_build but not CHOST. crossdev's > /usr/share/config.site relies on both of these to decide whether to load > configure overrides needed when cross-compiling. Using the wrong > overrides leads to packages s

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Set CHOST within econf_build to fix config.site

2022-12-07 Thread Sam James
> On 6 Dec 2022, at 21:47, James Le Cuirot wrote: > > On Tue, 2022-12-06 at 10:12 +0000, Sam James wrote: >> [snip] >> Lgtm provided you've tested it in the relevant envs (which I'm sure you >> have). >> >> Curious how this didn&#x

[gentoo-dev] Last rites: removal of long-masked sys-libs/db slots

2022-12-07 Thread Sam James
# Sam James (2022-12-07) # These versions have been masked for testing since 2014(!). These versions # had a controversial licence change and therefore had limited adoption. # See also the old 2021-05-30-deprecate-old-bdb-slots news item for # additional context. # Removal on 2023-01-07. =sys

[gentoo-dev] Last rites: gstreamer.eclass

2022-12-07 Thread Sam James
commit 9c15f562bf4fb2f33d7e6445e2e8c4133bd95bbb (HEAD -> master, origin/master, origin/HEAD) Author: Sam James Date: Wed Dec 7 17:48:01 2022 + gstreamer.eclass: mark @DEAD for removal No remaining consumers. Removal on 2023-01-07. Signed-off-by: Sam James signature.

Re: [gentoo-dev] pam: thoughts on modernizing pam_limits configuration that Gentoo ships with

2022-12-11 Thread Sam James
> On 11 Dec 2022, at 08:28, Piotr Karbowski wrote: > > Hi, > > I'd like to touch base on the topic of pam_limits and the defaults that we > ended up with in Gentoo. > > [...] > > Any thoughts? > > Unless there's strong opposition to not bump those 1024/4096 current > defaults, I'd like to

Re: [gentoo-dev] pam: thoughts on modernizing pam_limits configuration that Gentoo ships with

2022-12-12 Thread Sam James
> On 12 Dec 2022, at 21:55, Piotr Karbowski wrote: > > Hi, > > On 12/12/2022 06.52, Robin H. Johnson wrote: >> Please do file a bug tracking this proposal, and reference the >> discussion thread. >> On Sun, Dec 11, 2022 at 09:28:14AM +0100, Piotr Karbowski wrote: >>> What I'd like to do is to

Re: [gentoo-dev] pam: thoughts on modernizing pam_limits configuration that Gentoo ships with

2022-12-12 Thread Sam James
> On 12 Dec 2022, at 22:26, Piotr Karbowski wrote: > > On 12/12/2022 23.06, Sam James wrote: >> It's unusual to have discussion about a single package on the mailing lists. >> I tend to keep an eye on PAM >> bugs because I maintained pambase. >> Bug

[gentoo-dev] [PATCH] unpacker.eclass: support >=app-arch/xz-utils-5.4.0 for lzip decompression

2022-12-14 Thread Sam James
o this avoids the need for that (although I've not done it out of principle for things like sys-apps/ed). Bug: https://bugs.gentoo.org/249059 Bug: https://bugs.gentoo.org/485462 Bug: https://bugs.gentoo.org/501912 Bug: https://bugs.gentoo.org/502990 Bug: https://bugs.gentoo.org/545344 Signed

[gentoo-dev] [PATCH] unpacker.eclass: fix unpack_gpkg with TAPE set

2022-12-14 Thread Sam James
Closes: https://bugs.gentoo.org/885719 Signed-off-by: Sam James --- eclass/unpacker.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 11f04fde7226..5ce681ebaa0d 100644 --- a/eclass/unpacker.eclass +++ b/eclass

Re: [gentoo-dev] [PATCH] unpacker.eclass: support >=app-arch/xz-utils-5.4.0 for lzip decompression

2022-12-14 Thread Sam James
> On 14 Dec 2022, at 11:40, Ulrich Mueller wrote: > >>>>>> On Wed, 14 Dec 2022, Sam James wrote: > >> *.lz) >> - d="|| ( app-arch/plzip app-arch/pdlzip app-arch/lzip )" ;; >> + d=" >> + || ( >> + >=app-arch

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-16 Thread Sam James
> On 15 Dec 2022, at 19:22, Florian Schmaus wrote: > > This is a public service announcement that the recently stabilized portage > version will truncate you repo's git history to 1. I wish you'd shown us in #gentoo-portage before sending this, as it's a bit misleading / alarmist. We were ac

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-16 Thread Sam James
> On 17 Dec 2022, at 05:42, Sam James wrote: >> > ... only for repositories of sync-type=git & auto-sync=yes. Sorry, of course, the auto sync part doesn't matter. signature.asc Description: Message signed with OpenPGP

Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1

2022-12-18 Thread Sam James
> On 18 Dec 2022, at 10:19, Florian Schmaus wrote: > > On 17.12.22 06:42, Sam James wrote: >>> On 15 Dec 2022, at 19:22, Florian Schmaus wrote: >>> I personally would prefer portage simply adjusting its behavior based on >>> the owner of the repository.

[gentoo-dev] [PATCH] 2022-12-24-alternatives-introduction: add news item

2022-12-24 Thread Sam James
Bug: https://bugs.gentoo.org/886247 Bug: https://bugs.gentoo.org/886017 Signed-off-by: Sam James --- ...022-12-24-alternatives-introduction.en.txt | 92 +++ 1 file changed, 92 insertions(+) create mode 100644 2022-12-24-alternatives-introduction/2022-12-24-alternatives

[gentoo-dev] [PATCH 1/3] linux-mod.eclass: use consistent style

2022-12-25 Thread Sam James
- Use Bash tests (i.e. [[ ]] instead of [ ]) - Use consistent newlines for if/while - Drop unnecessary ; line terminators - Add a handful of missing || dies Signed-off-by: Sam James --- eclass/linux-mod.eclass | 149 +--- 1 file changed, 64 insertions(+), 85

[gentoo-dev] [PATCH 2/3] linux-info.eclass: use consistent style

2022-12-25 Thread Sam James
- Use Bash tests (i.e. [[ ]] instead of [ ]) - Use consistent newlines for if/while - Drop unnecessary ; line terminators Signed-off-by: Sam James --- eclass/linux-info.eclass | 142 ++- 1 file changed, 66 insertions(+), 76 deletions(-) diff --git a/eclass

[gentoo-dev] [PATCH 3/3] kernel-2.eclass: minor whitespace fixes

2022-12-25 Thread Sam James
Signed-off-by: Sam James --- eclass/kernel-2.eclass | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 2cf88f0ff238..e13ed1a4f5ba 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2

Re: [gentoo-dev] [PATCH 2/3] linux-info.eclass: use consistent style

2022-12-25 Thread Sam James
> On 25 Dec 2022, at 19:17, Sam James wrote: > > - Use Bash tests (i.e. [[ ]] instead of [ ]) > - Use consistent newlines for if/while > - Drop unnecessary ; line terminators There's a missing ] on one line which I've fixed locally. signature.asc Description: Message signed with OpenPGP

[gentoo-dev] Last rites: app-eselect/eselect-awk, app-eselect/eselect-sh

2022-12-27 Thread Sam James
# Sam James (2022-12-27) # Obsolete and incompatible with app-alternatives/* (see news item). # Removal on 2023-01-27. bug #886019 and bug #886021 respectivly. app-eselect/eselect-awk app-eselect/eselect-sh signature.asc Description: Message signed with OpenPGP

[gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system

2022-12-28 Thread Sam James
yway. Bug: https://bugs.gentoo.org/886017 Bug: https://bugs.gentoo.org/886247 Signed-off-by: Sam James --- profiles/base/packages | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/profiles/base/packages b/profiles/base/packages index e0cee163af993..533a67c70e05c 100644

Re: [gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system

2022-12-28 Thread Sam James
> On 28 Dec 2022, at 16:04, Sam James wrote: > > - Before this commit, nothing pulls in app-alternatives/sh, so we're relying > on > app-shells/bash handling /bin/sh as an orphaned symlink (which is one of the > big > things we're trying to move away from)

Re: [gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system

2022-12-28 Thread Sam James
> On 28 Dec 2022, at 16:27, Sam James wrote: > > > >> On 28 Dec 2022, at 16:04, Sam James wrote: >> >> - Before this commit, nothing pulls in app-alternatives/sh, so we're relying >> on >> app-shells/bash handling /bin/sh as an orphaned symli

Re: [gentoo-dev] [PATCH] profiles/base: add app-alternatives/{awk,bzip2,gzip,sh,tar} to @system

2022-12-28 Thread Sam James
> On 28 Dec 2022, at 18:52, Sam James wrote: > > > >> On 28 Dec 2022, at 16:27, Sam James wrote: >> >> >> >>> On 28 Dec 2022, at 16:04, Sam James wrote: >>> >>> - Before this commit, nothing pulls in app-alternatives/sh, s

[gentoo-dev] [PATCH] 2022-12-28-hardening-fortify-assertions: add item

2022-12-28 Thread Sam James
Bug: https://bugs.gentoo.org/876893 Bug: https://bugs.gentoo.org/876895 Signed-off-by: Sam James --- ...-12-28-hardening-fortify-assertions.en.txt | 57 +++ 1 file changed, 57 insertions(+) create mode 100644 2022-12-28-hardening-fortify-assertions/2022-12-28-hardening-fortify

Re: [gentoo-dev] [PATCH] 2022-12-28-hardening-fortify-assertions: add item

2022-12-28 Thread Sam James
> On 28 Dec 2022, at 19:34, Sam James wrote: > > Bug: https://bugs.gentoo.org/876893 > Bug: https://bugs.gentoo.org/876895 > Signed-off-by: Sam James > --- FYI: The changes for this haven't landed in ::gentoo yet. We're likely to wait until the next GCC 12 snaps

[gentoo-dev] [PATCH] profiles: make USE=heif a global USE flag

2022-12-29 Thread Sam James
Used by 20 packages. Signed-off-by: Sam James --- profiles/use.desc | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/use.desc b/profiles/use.desc index e82b7295be157..04ca8e845ccd9 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -124,6 +124,7 @@ hardened - Activate default

[gentoo-dev] [PATCH] profiles: unset GDK_PIXBUF_MODULE_FILE

2023-01-01 Thread Sam James
-by: Sergei Trofimovich Signed-off-by: Sam James --- profiles/base/make.defaults | 2 +- profiles/embedded/make.defaults | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults index 332b189ec6236..d7bc0fde9322a 100644

Re: [gentoo-dev] Gentoo LTS or: proper backward compatibility?

2023-01-02 Thread Sam James
> On 2 Jan 2023, at 12:48, m1027 wrote: > > Hi and happy new year. > > When we create apps on Gentoo they become easily incompatible for > older Gentoo systems in production where unattended remote world > updates are risky. This is due to new glibc, openssl-3 etc. > > So, what we've thought

[gentoo-dev] [PATCH 1/3] dotnet.eclass: pass -S to file to disable seccomp

2023-01-02 Thread Sam James
to get a newer file/portage/???, but can't because of various ebuilds (like ones using this eclass) failing. Disable seccomp for these calls to keep working. Bug: https://bugs.gentoo.org/811462 Bug: https://bugs.gentoo.org/815877 Bug: https://bugs.gentoo.org/889046 Signed-off-by: Sam

[gentoo-dev] [PATCH 2/3] mono.eclass: pass -S to file to disable seccomp

2023-01-02 Thread Sam James
to get a newer file/portage/???, but can't because of various ebuilds (like ones using this eclass) failing. Disable seccomp for these calls to keep working. Bug: https://bugs.gentoo.org/811462 Bug: https://bugs.gentoo.org/815877 Bug: https://bugs.gentoo.org/889046 Signed-off-by: Sam

[gentoo-dev] [PATCH 3/3] unpacker.eclass: pass -S to file to disable seccomp

2023-01-02 Thread Sam James
to get a newer file/portage/???, but can't because of various ebuilds (like ones using this eclass) failing. Disable seccomp for these calls to keep working. Bug: https://bugs.gentoo.org/811462 Bug: https://bugs.gentoo.org/815877 Bug: https://bugs.gentoo.org/889046 Signed-off-by: Sam

[gentoo-dev] [PATCH 1/2] cmake.eclass: mark CMAKE_VERBOSE as @USER_VARIABLE

2023-01-02 Thread Sam James
It's a policy requirement that ebuilds produce verbose logs, so ebuilds themselves must not set CMAKE_VERBOSE. But users can. Signed-off-by: Sam James --- eclass/cmake.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass

[gentoo-dev] [PATCH 2/2] cmake.eclass: add base-system as @MAINTAINER too (align with dev-util/cmake)

2023-01-02 Thread Sam James
Signed-off-by: Sam James --- eclass/cmake.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 6787735d5416d..2c5620adede58 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -4,6 +4,7 @@ # @ECLASS: cmake.eclass # @MAINTAINER

Re: [gentoo-dev] [PATCH 1/3] dotnet.eclass: pass -S to file to disable seccomp

2023-01-04 Thread Sam James
> On 3 Jan 2023, at 11:47, Ulrich Mueller wrote: > >>>>>> On Tue, 03 Jan 2023, Sam James wrote: > >> - if [[ "$(file "${exe}")" == *"shell script text"* ]] >> + if [[ "$(file -S "${exe}")" == *"sh

Re: [gentoo-dev] [PATCH] distutils-r1.eclass: support nonfatal in test

2023-01-05 Thread Sam James
> On 6 Jan 2023, at 00:05, Alexey Sokolov wrote: > > 06.01.2023 00:03, Anna пишет: >> On 2023-01-05 23:55, alexey+gen...@asokolov.org wrote: >>> From: Alexey Sokolov >>> >>> if [[ ${?} -ne 0 ]]; then >>> - die "Tests failed with ${EPYTHON}" >>> + die -n "Tests failed with ${EPYTHON}" >> I d

Re: [gentoo-dev] [PATCH] gradle.eclass: add new eclass

2023-01-06 Thread Sam James
> On 6 Jan 2023, at 17:20, Florian Schmaus wrote: > > Signed-off-by: Florian Schmaus > --- > eclass/gradle.eclass | 149 + > eclass/tests/gradle.sh | 62 + > 2 files changed, 211 insertions(+) > create mode 100644 eclass/gradle.eclass >

Re: [gentoo-dev] [PATCH v2] distutils-r1.eclass: support nonfatal in test

2023-01-07 Thread Sam James
> On 6 Jan 2023, at 16:31, Michał Górny wrote: > > On Fri, 2023-01-06 at 16:27 +0100, Toralf Förster wrote: >> On 1/6/23 01:20, alexey+gen...@asokolov.org wrote: >>> If the test fails with "die", Xvfb keeps running forever; but it's >>> cleaned up correctly with die -n >> >> At my tinderbox I

[gentoo-dev] Last rites: sys-libs/db:6.0

2023-01-09 Thread Sam James
# Sam James (2023-01-10) # This version had a controversial licence change which stinted its adoption. # No reverse dependencies. # See also the old 2021-05-30-deprecate-old-bdb-slots news item for # additional context and bug #837629. # Removal on 2023-02-09. sys-libs/db:6.0 signature.asc

Re: [gentoo-dev] Eclass up for grabs: pam.eclass

2023-01-13 Thread Sam James
> On 13 Jan 2023, at 13:53, Michał Górny wrote: > > On Fri, 2023-01-13 at 14:35 +0100, Michał Górny wrote: >> Friends, >> >> Our dear friend zlogene has been inactive recently, and for this reason >> the packages listed below are looking for new maintainers. Please take >> a look and see if y

Re: [gentoo-dev] Last rites: sys-libs/db:6.0

2023-01-13 Thread Sam James
> On 10 Jan 2023, at 03:48, Sam James wrote: > > # Sam James (2023-01-10) > # This version had a controversial licence change which stinted its adoption. > # No reverse dependencies. > # See also the old 2021-05-30-deprecate-old-bdb-slots news item for > # additional co

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 comm

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

2023-01-16 Thread Sam James
y-sig + 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(+

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

2023-01-16 Thread Sam James
#x27;s more than one 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/unpa

[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

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 do

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] 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] 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 are:

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

2023-01-29 Thread Sam James
to the eclass. Bug: 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.eclas

[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 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 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 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 --- a

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 issu

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, th

[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

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