Re: [gentoo-dev] verifying commits via server-side git pre-receive hook

2025-06-02 Thread Sam James
Tim Harder writes: > For anyone interested, > > I've hacked up an initial, rough implementation of a pkgcruft-git > service that enables verifying ebuild commits during git's pre-receive > hook phase. > > Currently it comes with a simple script that runs a local demo instance > targeting the gent

Re: [gentoo-dev] [PATCH v2 1/2] sysroot.eclass: New eclass for using a different sysroot

2025-05-27 Thread James Le Cuirot
On Tue, 2025-05-27 at 17:35 +0100, Roy Bamford wrote: > On 2025.05.27 12:08, James Le Cuirot wrote: > > I also intend to add another wrapper script generation function for > > running executables while changing the root directory. > > > +# Return the QEMU architecture name

[gentoo-dev] [PATCH v2 2/2] waf-utils.eclass: Use a sysroot wrapper script when appropriate

2025-05-27 Thread James Le Cuirot
waf supports executing binaries via a wrapper for cross-compiling. I have used this to cross-compile Samba and its waf-based dependencies. Signed-off-by: James Le Cuirot --- eclass/waf-utils.eclass | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/eclass/waf

[gentoo-dev] [PATCH v2 1/2] sysroot.eclass: New eclass for using a different sysroot

2025-05-27 Thread James Le Cuirot
I also intend to add another wrapper script generation function for running executables while changing the root directory. Signed-off-by: James Le Cuirot --- eclass/sysroot.eclass | 85 +++ 1 file changed, 85 insertions(+) create mode 100644 eclass

Re: [gentoo-dev] [PATCH 2/2] wxwidgets.eclass: remove EAPI 7 support

2025-05-25 Thread James Le Cuirot
On Sun, 2025-05-25 at 11:00 +0200, David Seifert wrote: > Signed-off-by: David Seifert > --- > eclass/wxwidgets.eclass | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass > index 0fd3e7260693..617b54dc90da 100644 > --- a/

[gentoo-dev] [PATCH v3] linux-mod-r1.eclass: Fix building with different arch than KV_OUT_DIR

2025-05-24 Thread James Le Cuirot
me ebuilds have their own src_configure and src_compile functions. It will not trigger in the vast majority of cases, and it is not done when installing binary packages. Signed-off-by: James Le Cuirot --- eclass/linux-mod-r1.eclass | 32 1 file changed, 32 insertion

Re: [gentoo-dev] [PATCH v2] linux-mod-r1.eclass: Fix building with different arch than KV_OUT_DIR

2025-05-24 Thread James Le Cuirot
On Fri, 2025-05-23 at 20:02 -0400, Ionen Wolkens wrote: > On Fri, May 23, 2025 at 06:40:38PM +0100, James Le Cuirot wrote: > > The kernel we're building against may have had its tools (e.g. modpost) > > built for the target arch or even some other arch than the we're >

[gentoo-dev] [PATCH v2] linux-mod-r1.eclass: Fix building with different arch than KV_OUT_DIR

2025-05-23 Thread James Le Cuirot
me ebuilds have their own src_configure and src_compile functions. It will not trigger in the vast majority of cases, and it is not done when installing binary packages. Signed-off-by: James Le Cuirot --- eclass/linux-mod-r1.eclass | 25 + 1 file changed, 25 insertions(+) di

[gentoo-dev] [PATCH 6/6] linux-info.eclass: Rework get_version and fix output directory detection

2025-05-23 Thread James Le Cuirot
62772 Signed-off-by: James Le Cuirot --- eclass/linux-info.eclass | 59 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 067c94ccdc1f8..a2b38d604b214 100644 --- a/eclass/linux-info.eclass

[gentoo-dev] [PATCH 5/6] linux-info.eclass: Don't try to read KBUILD_OUTPUT from the Makefile

2025-05-23 Thread James Le Cuirot
This code originates from 21 years ago, but I don't think it ever made sense. KBUILD_OUTPUT was never written anywhere until last year. Now it is written to the Makefile in the output directory, which is what we're trying to locate in the first place! Signed-off-by: James Le Cuirot -

[gentoo-dev] [PATCH 4/6] linux-info.eclass: Pass an empty KBUILD_OUTPUT to make in getfilevar

2025-05-23 Thread James Le Cuirot
If KBUILD_OUTPUT is set but doesn't exist, the Makefile will try to create it, which will probably fail due to permissions issues. We don't actually want to write anything here, so there is no need to set it. Signed-off-by: James Le Cuirot --- eclass/linux-info.eclass | 3 ++- 1 file

[gentoo-dev] [PATCH 3/6] linux-info.eclass: Set the correct ARCH for make in getfilevar

2025-05-23 Thread James Le Cuirot
manner. It saves space by only including the arch files for the target architecture. I checked the history, and tc-arch-kernel didn't exist when the unset line was added. If it had, this approach probably would have been taken at the time. Signed-off-by: James Le Cuirot --- eclass/

[gentoo-dev] [PATCH 2/6] linux-info.eclass: Drop unused myARCH variable in getfilevar_noexec

2025-05-23 Thread James Le Cuirot
This was copied from getfilevar but never used. Signed-off-by: James Le Cuirot --- eclass/linux-info.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 0f61381501442..c7950b4e22920 100644 --- a/eclass/linux

[gentoo-dev] [PATCH 1/6] linux-mod-r1.eclass: Fix building with different arch than KV_OUT_DIR

2025-05-23 Thread James Le Cuirot
me ebuilds have their own src_configure and src_compile functions. It will not trigger in the vast majority of cases, and it is not done when installing binary packages. Signed-off-by: James Le Cuirot --- eclass/linux-mod-r1.eclass | 25 + 1 file changed, 25 insertions(+) di

Re: [gentoo-dev] [PATCH] meson.eclass: setup python binaries if python eclasses are used

2025-05-22 Thread James Le Cuirot
On Thu, 2025-05-22 at 00:35 -0400, Eli Schwartz wrote: > This has been bothering me for a while. Meson will detect > find_program('python3') as the dummy shim in ${T} defined by the eclass, > and py.find_installation() may be the python that *Meson* was built > with. In DISTUTILS_USE_PEP517=meson-p

Re: [gentoo-dev] [PATCH] 2025-05-23-nftables-service: add news item

2025-05-21 Thread Sam James
Mike Gilbert writes: > Closes: https://bugs.gentoo.org/955372 > Signed-off-by: Mike Gilbert > --- > .../2025-05-23-nftables-service.en.txt| 23 +++ > 1 file changed, 23 insertions(+) > create mode 100644 > 2025-05-23-nftables-service/2025-05-23-nftables-service.en.txt

Re: [gentoo-dev] news item draft: dovecot-2_4_upgrade

2025-05-20 Thread Sam James
Eray Aslan writes: > To be published ASAP, feedback welcome > > > Title: net-mail/dovecot-2.4.x may break on upgrade > Author: Eray Aslan > Posted: 2025-05-20 > Revision: 1 > News-Item-Format: 2.0 LGTM. Thanks for doing this. One comment below. > Display-If-Installed: > Dovecot-2.4 introduce

Re: [gentoo-dev] Dovecot 2.4.x series should come with a news item

2025-05-19 Thread Sam James
Michael Orlitzky writes: > On Mon, 2025-05-19 at 07:36 -0700, Zoltan Puskas wrote: >> >> So again, please write a news item, as otherwise it will lead to a lot of >> user >> frustration for anyone using testing. >> > > While we are piling on, it would be good to include this patch as well: > >

Re: [gentoo-dev] Dovecot 2.4.x series should come with a news item

2025-05-19 Thread Sam James
Zoltan Puskas writes: > Hi, > > Dovecot 2.4.1 has been recently added to the portage tree and it brings some > breaking changes. I recommend CCing its maintainer then. > > While after updating to it it prints a postinst message of: > > """ > Dovecot-2.4.x has new settings and WILL NOT work > un

Re: [gentoo-dev] [PATCH 2/2] waf-utils.eclass: Set up QEMU when cross-compiling

2025-05-09 Thread James Le Cuirot
On Fri, 2025-05-09 at 18:31 +0100, James Le Cuirot wrote: > waf supports executing binaries via a wrapper for cross-compiling. This > may already be handled by a QEMU outside this environment if binfmt_misc > has been used with the F flag, and we cannot add a cross-only dependency >

[gentoo-dev] [PATCH 2/2] waf-utils.eclass: Set up QEMU when cross-compiling

2025-05-09 Thread James Le Cuirot
adding QEMU's -L arg to the --cross-execute option, and it checks whether QEMU is present before trying to use it. I have used this to cross-compile Samba and its waf-based dependencies. Signed-off-by: James Le Cuirot --- eclass/waf-utils.eclass | 19 +++ 1 file change

[gentoo-dev] [PATCH 1/2] sysroot.eclass: New eclass for using a different sysroot

2025-05-09 Thread James Le Cuirot
This only has one function for now, but I intend to add a general purpose sysroot wrapper script for use with Meson, Perl, and more. It just needs longer in the oven. Signed-off-by: James Le Cuirot --- eclass/sysroot.eclass | 34 ++ 1 file changed, 34 insertions

[gentoo-dev] Up for grabs: sys-devel/mold

2025-05-06 Thread Sam James
Hi, sys-devel/mold is up for grabs. matthew@ is still listed as a maintainer but he's not been around for a while. I don't have the time to investigate issues with using mold. thanks, sam

Re: [gentoo-dev] [PATCH 1/5] dot-a.eclass: new eclass for handling LTO in static archives

2025-05-03 Thread Sam James
Sam James writes: > Sam James writes: > >> Michał Górny writes: >> [...] >>>> + local arg >>>> + for arg in "$@" ; do >>>> + if [[ -d ${arg} ]] ; then >>>> + mapfile -t -d &#x

Re: [gentoo-dev] [PATCH 1/5] dot-a.eclass: new eclass for handling LTO in static archives

2025-05-02 Thread Sam James
Sam James writes: > Michał Górny writes: > [...] >>> + local arg >>> + for arg in "$@" ; do >>> + if [[ -d ${arg} ]] ; then >>> + mapfile -t -d '' -O "${#files[@]}" files &

Re: [gentoo-dev] [RFC 2/3] eclass: Add xorg-meson eclass

2025-05-02 Thread Sam James
Matt Turner writes: > To be used by X.Org packages with a meson build system. Largely a copy > of xorg-3.eclass with changes necessary to switch from autotools to > meson. > > Compared with xorg-3, I've dropped a few things that I don't think are > necessary (at least initially), namely: > > - fo

Re: [gentoo-dev] [RFC 1/3] eclass: Add eqawarn to xorg-3.eclass if package contains a meson.build

2025-05-02 Thread Sam James
Matt Turner writes: > --- > eclass/xorg-3.eclass | 4 > 1 file changed, 4 insertions(+) > > diff --git ./eclass/xorg-3.eclass ./eclass/xorg-3.eclass > index 4947cb86b8b0..81df265c922f 100644 > --- ./eclass/xorg-3.eclass > +++ ./eclass/xorg-3.eclass > @@ -285,6 +285,10 @@ xorg-3_reconf_sourc

Re: [gentoo-dev] [PATCH 1/5] dot-a.eclass: new eclass for handling LTO in static archives

2025-05-02 Thread Sam James
Michał Górny writes: > Hi, > > Sorry for not looking earlier. > Thanks for reviewing (and no worries, this has been loong overdue). > On Fri, 2025-05-02 at 21:13 +0100, Sam James wrote: >> diff --git a/eclass/dot-a.eclass b/eclass/dot-a.eclass >> ne

[gentoo-dev] [PATCH 5/5] sys-devel/flex: use dot-a.eclass for LTO

2025-05-02 Thread Sam James
2 Closes: https://bugs.gentoo.org/938858 Closes: https://bugs.gentoo.org/940541 Closes: https://bugs.gentoo.org/944291 Closes: https://bugs.gentoo.org/945923 Signed-off-by: Sam James --- sys-devel/flex/flex-2.6.4-r6.ebuild | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a

[gentoo-dev] [PATCH 4/5] dev-util/sysprof-capture: use dot-a.eclass for LTO

2025-05-02 Thread Sam James
This means that USE=static-libs doesn't produce a "broken" library when built w/ LTO. Bug: https://bugs.gentoo.org/818097 Bug: https://bugs.gentoo.org/889004 Bug: https://bugs.gentoo.org/927994 Bug: https://bugs.gentoo.org/939515 Signed-off-by: Sam James --- .../sysprof-capture/

[gentoo-dev] [PATCH 3/5] dev-libs/glib: use dot-a.eclass for LTO

2025-05-02 Thread Sam James
This means that USE=static-libs doesn't produce a "broken" library when built w/ LTO. Bug: https://bugs.gentoo.org/927994 Signed-off-by: Sam James --- dev-libs/glib/glib-2.78.6.ebuild| 7 +++ dev-libs/glib/glib-2.80.5-r1.ebuild | 7 +++ dev-libs/glib/glib-2.82.

[gentoo-dev] [PATCH 2/5] sys-libs/zlib: use dot-a.eclass for LTO

2025-05-02 Thread Sam James
This means that USE=static-libs doesn't produce a "broken" library when built w/ LTO. Signed-off-by: Sam James --- sys-libs/zlib/zlib-1.3.1-r1.ebuild | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sys-libs/zlib/zlib-1.3.1-r1.ebuild b/sys-libs/zli

[gentoo-dev] [PATCH 1/5] dot-a.eclass: new eclass for handling LTO in static archives

2025-05-02 Thread Sam James
g/926120 Thanks-to: Arsen Arsenović Co-authored-by: Eli Schwartz Signed-off-by: Sam James --- eclass/dot-a.eclass | 124 + eclass/tests/dot-a.sh | 314 ++ 2 files changed, 438 insertions(+) create mode 100644 eclass/dot-a.eclass create mode

[gentoo-dev] [PATCH 0/5] Handle LTO with static libraries

2025-05-02 Thread Sam James
See the commit message for dot-a.eclass for the details. More packages will need to be ported (libpcre2, Qt, ...) later. Sam James (5): dot-a.eclass: new eclass for handling LTO in static archives sys-libs/zlib: use dot-a.eclass for LTO dev-libs/glib: use dot-a.eclass for LTO dev-util

[gentoo-dev] [PATCH 11/16] java-pkg-simple.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/java-pkg-simple.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/java-pkg-simple.eclass b/eclass/java-pkg-simple.eclass index

[gentoo-dev] [PATCH 07/16] cmake.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/cmake.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index e1bad4cbd16fe..c97f74e8a2eda 100644 --- a

[gentoo-dev] [PATCH 12/16] rpm.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/rpm.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/rpm.eclass b/eclass/rpm.eclass index c9c21aa6ebbde..e00332e55ca0e 100644 --- a

[gentoo-dev] [PATCH 16/16] xorg-3.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/xorg-3.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass index db2d8fa85df9a..4947cb86b8b02 100644

[gentoo-dev] [PATCH 15/16] wxwidgets.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/wxwidgets.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass index 0a58c44bbf408

[gentoo-dev] [PATCH 14/16] toolchain.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 0857395b42343..2e9350f3f5962

[gentoo-dev] [PATCH 13/16] ruby-ng.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. 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 87337dc7f1735..c7425aae434c2 100644

[gentoo-dev] [PATCH 10/16] haskell-cabal.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/haskell-cabal.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index 7895d9256eba6

[gentoo-dev] [PATCH 09/16] go-module.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/go-module.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index 73e9ee51c7d58

[gentoo-dev] [PATCH 08/16] ecm.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/ecm.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass index 9caaf59cb3fab..7a3d51c9913a3 100644 --- a

[gentoo-dev] [PATCH 06/16] chromium-2.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/chromium-2.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass index 0831f1f17aa5a

[gentoo-dev] [PATCH 05/16] cargo.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/cargo.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 428341d568db6..247d1bf535b96 100644 --- a

[gentoo-dev] [PATCH 04/16] autotools.eclass: use 'QA Notice:' prefix in eqawarn

2025-04-23 Thread Sam James
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James --- eclass/autotools.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 1545b88bc4263

[gentoo-dev] [PATCH 03/16] python-utils-r1.eclass: add 'QA Notice:' prefix to eqawarn

2025-04-23 Thread Sam James
We need to fix this properly at some point in Portage/PMS but whatever, for now, add the 'QA Prefix:' prefix to eqawarn so tinderboxes pick these up and report them. Bug: https://bugs.gentoo.org/954151 Signed-off-by: Sam James --- eclass/python-utils-r1.eclass | 2 +- 1 file

[gentoo-dev] [PATCH 02/16] python-r1.eclass: add 'QA Notice:' prefix to eqawarn

2025-04-23 Thread Sam James
We need to fix this properly at some point in Portage/PMS but whatever, for now, add the 'QA Prefix:' prefix to eqawarn so tinderboxes pick these up and report them. Bug: https://bugs.gentoo.org/954151 Signed-off-by: Sam James --- eclass/python-r1.eclass | 2 +- 1 file changed, 1

[gentoo-dev] [PATCH 01/16] distutils-r1.eclass: add 'QA Notice:' prefix to eqawarn

2025-04-23 Thread Sam James
We need to fix this properly at some point in Portage/PMS but whatever, for now, add the 'QA Prefix:' prefix to eqawarn so tinderboxes pick these up and report them. Bug: https://bugs.gentoo.org/954151 Signed-off-by: Sam James --- eclass/distutils-r1.eclass | 10 +- 1 file

[gentoo-dev] [PATCH 00/16] eclass: add 'QA Notice:' prefix to eqawarn

2025-04-23 Thread Sam James
ke to push this later today given the distutils-r1 especially means we may well be missing some serious issues right now. Sam James (16): distutils-r1.eclass: add 'QA Notice:' prefix to eqawarn python-r1.eclass: add 'QA Notice:' prefix to eqawarn python-utils-r1.eclass: add 

Re: [gentoo-dev] [PATCH] wine.eclass: new eclass

2025-04-19 Thread Sam James
Ionen Wolkens writes: > Trying to keep Wine ebuilds in sync between wine-vanilla, wine-staging, > and wine-proton which each have several ebuilds been giving headaches, > and the addition of arm64 support is not helping. > > Goal is to offload only the gritty toolchain and slotting bits, and > le

Re: [gentoo-dev] [PATCH] metadata/install-qa-check.d: fix python checks for non-distutils software

2025-04-18 Thread Sam James
Sam James writes: > From: Eli Schwartz > > The existing check makes an intimidating value proposition: that all > software being checked was installed using distutils-r1.eclass, hence > moving the check from there as-is to a new home is sufficient. This > includes the use of

Re: [gentoo-dev] [PATCH 1/2] cargo.eclass: Pull check for rust_pkg_setup into its own function

2025-04-18 Thread Sam James
Christopher Fore writes: > This reduces repetitiveness and allows for easier maintainability in the > future. > > Bug: https://bugs.gentoo.org/953515 > Bug: https://bugs.gentoo.org/953532 > Signed-off-by: Christopher Fore LGTM. Pushed both, thanks! > --- > eclass/cargo.eclass | 26 +++

[gentoo-dev] [PATCH] metadata/install-qa-check.d: fix python checks for non-distutils software

2025-04-18 Thread Sam James
config variable which is unambiguous where present). Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- This fixes the case where we install some .so without distutils-r1 because of multilib.eclass not being inherited. It's also a bit faster hopefully (cost of Python startup once vs r

Re: [gentoo-dev] news item draft: Gentoo raises s390x baseline to z10

2025-04-15 Thread Sam James
Sam James writes: > "Andreas K. Huettel" writes: > >> Draft to be published ASAP, feedback welcome... >> >> >> >> Title: Gentoo raises s390x baseline to z10 >> Author: Andreas K. Hüttel >> Posted: -xx-xx >> Revision: x >>

Re: [gentoo-dev] news item draft: Gentoo raises s390x baseline to z10

2025-04-15 Thread Sam James
"Andreas K. Huettel" writes: > Draft to be published ASAP, feedback welcome... > > > > Title: Gentoo raises s390x baseline to z10 > Author: Andreas K. Hüttel > Posted: -xx-xx > Revision: x > News-Item-Format: 2.0 > Display-If-Profile: default/linux/s390/17.0/s390x > Display-If-Profile: defau

Re: [gentoo-dev] Re: [PATCH] profiles: update package.mask's header for GLEP 84

2025-04-15 Thread Sam James
Duncan <1i5t5.dun...@cox.net> writes: > alexey+gentoo posted on Sat, 12 Apr 2025 20:20:38 + as excerpted: > >> ## Example: >> ## >> ## # Dev E. Loper (2019-07-01) >> -## # Masked for removal in 30 days. Doesn't work >> -## # with new libfoo. Upstream dead, gtk-1, smells >> -## # funny. (b

[gentoo-dev] [PATCH 5/5] media-libs/qhull: inherit multilib for get_libname

2025-04-12 Thread Sam James
Signed-off-by: Sam James --- media-libs/qhull/qhull-2020.2-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/qhull/qhull-2020.2-r3.ebuild b/media-libs/qhull/qhull-2020.2-r3.ebuild index 3461992646ddc..aa4250b2493e6 100644 --- a/media-libs/qhull/qhull

[gentoo-dev] [PATCH 4/5] x11-misc/bumblebee: inherit multilib for get_all_libdirs

2025-04-12 Thread Sam James
We used to inherit multilib via systemd->toolchain-funcs->multilib so this was only a missing direct inherit before. Signed-off-by: Sam James --- x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild | 4 ++-- x11-misc/bumblebee/bumblebee-.ebuild | 4 ++-- 2 files chan

[gentoo-dev] [PATCH 3/5] app-arch/bzip2: drop gen_usr_ldscript from live too

2025-04-12 Thread Sam James
Dropped from non-live some time ago. The live ebuild actually has its own issues but we were/are waiting for a new upstream release with autotools merged before it's worth fixing that. Signed-off-by: Sam James --- app-arch/bzip2/bzip2-.ebuild | 10 +- 1 file changed, 1 inse

[gentoo-dev] [PATCH 2/5] toolchain-funcs.eclass: update tc-get-cxx-stdlib for C++20

2025-04-12 Thread Sam James
is gone from C++20, so use for >= C++20. See https://stackoverflow.com/a/31658120. Signed-off-by: Sam James --- eclass/toolchain-funcs.eclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass in

[gentoo-dev] [PATCH 1/5] toolchain-funcs.eclass: drop deprecated gen_usr_ldscript and multilib inherit

2025-04-12 Thread Sam James
Drop toolchain-funcs.eclass's gen_usr_ldscript and along with it, inheriting multilib. gen_usr_ldscript is itself deprecaated but the version in toolchain-funcs doubly so, as it was replaced by the one in usr-ldscript.eclass. Signed-off-by: Sam James --- Tested by `pkgcheck sc

Re: [gentoo-dev] [COMMITTED] kernel-build.eclass: disable -Werror (for host tools at least)

2025-04-10 Thread Sam James
Sam James writes: > Jérôme Carretero writes: > >> Hi Sam, >> > > Hi, > >> >> Slight nit-picking, but while: >> >> commit 3fe617ccafd6f5bb33c2391d6f4eeb41c1fd0151 >> Author: Linus Torvalds >> Date: 2021-09-05 11:24:05 -0700 >&g

Re: [gentoo-dev] [COMMITTED] kernel-build.eclass: disable -Werror (for host tools at least)

2025-04-10 Thread Sam James
Jérôme Carretero writes: > Hi Sam, > Hi, > > Slight nit-picking, but while: > > commit 3fe617ccafd6f5bb33c2391d6f4eeb41c1fd0151 > Author: Linus Torvalds > Date: 2021-09-05 11:24:05 -0700 > > Enable '-Werror' by default for all kernel builds > > did provide that WERROR=0 option... > I'm

[gentoo-dev] [COMMITTED] kernel-build.eclass: disable -Werror (for host tools at least)

2025-04-07 Thread Sam James
WERROR=0 disables -Werror for host tools at least, so let's use that. I'll also send a config change. Bug: https://bugs.gentoo.org/939106 Bug: https://bugs.gentoo.org/940904 Bug: https://bugs.gentoo.org/942303 Signed-off-by: Sam James --- Pushed. eclass/kernel-build.eclass | 1

[gentoo-dev] [PATCH 2/2] meson.eclass: build test targets first in meson_src_test

2025-04-05 Thread Sam James
added in meson-0.63.0 and we depend on >=meson-1.2.3 in the eclass. [0] https://mesonbuild.com/Release-notes-for-1-7-0.html#test-targets-no-longer-built-by-default Signed-off-by: Sam James --- eclass/meson.eclass | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ecl

[gentoo-dev] [PATCH 1/2] meson.eclass: use edo

2025-04-05 Thread Sam James
; see afe0521495aeed0a22a3656e7bad193fba39805e). Signed-off-by: Sam James --- eclass/meson.eclass | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index a2bc5537e4589..382c80ec08214 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.e

[gentoo-dev] [PATCH] cargo.eclass: fix live unpack to use selected cargo

2025-04-04 Thread Sam James
ST_MIN_VER / RUST_MAX_VER. Ensure we consistently use the variable referencing the $CARGO that is definitely guaranteed to exist. Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- I've pushed this. eclass/cargo.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [gentoo-dev] [PATCH] cargo.eclass: Only tell Cargo to cross-compile when actually needed

2025-03-29 Thread Sam James
James Le Cuirot writes: > This avoids the build host vs target flag separation issue. Sometimes it > is important for the build host to use the right flags. We cannot fix > this for cross-compiling now, but it should at least work for native > builds. > LGTM. > Closes: https

[gentoo-dev] [PATCH] cargo.eclass: Only tell Cargo to cross-compile when actually needed

2025-03-23 Thread James Le Cuirot
This avoids the build host vs target flag separation issue. Sometimes it is important for the build host to use the right flags. We cannot fix this for cross-compiling now, but it should at least work for native builds. Closes: https://bugs.gentoo.org/951740 Signed-off-by: James Le Cuirot

Re: [gentoo-dev] [PATCH] 1/1] autotools.eclass: add slibtool dir for aclocal

2025-03-23 Thread Sam James
Eli Schwartz writes: > On 3/14/25 11:31 AM, orbea wrote: >> Changing it as you suggested I think would be significantly more >> complicated and would require refactoring the eclass. > > > Yes, it's unfortunately the type of thing that would be a somewhat > involved change. :( > > >> However I won

Re: [gentoo-dev] The uncertain future of repository mirrors

2025-03-22 Thread Sam James
Jay Faulkner writes: > On 3/21/2025 6:42 PM, Ionen Wolkens wrote: >> On Fri, Mar 21, 2025 at 02:32:31PM +0100, Michał Górny wrote: >>> Hello, everyone. >>> >>> TL;DR: I'm thinking of shutting down all gentoo-mirror repositories, >>> except for gentoo and guru. >> Unfortunate, but just to say that

Re: [gentoo-dev] Re: [PATCH 4/5] linux-mod-r1.eclass: make modules_process_dracut.conf.d public

2025-03-19 Thread Sam James
Nowa Ammerlaan writes: > On 19/03/2025 02:07, Ionen Wolkens wrote: >> On Tue, Mar 18, 2025 at 08:34:43PM -0400, Ionen Wolkens wrote: >>> On Tue, Mar 18, 2025 at 03:14:13AM -, Duncan wrote: Nowa Ammerlaan posted on Mon, 17 Mar 2025 11:11:06 +0100 as excerpted: > I had really hope

Re: [gentoo-dev] Re: [PATCH 4/5] linux-mod-r1.eclass: make modules_process_dracut.conf.d public

2025-03-19 Thread Sam James
Duncan <1i5t5.dun...@cox.net> writes: > Nowa Ammerlaan posted on Mon, 17 Mar 2025 11:11:06 +0100 as excerpted: > >> I had really hoped to receive more comments on my earlier RFC. [...] >> I really do want to know what others think so I can >> make a better judgment on whether or not my idea is rea

Re: [gentoo-dev] New category for AI related packages

2025-03-15 Thread Sam James
Arsen Arsenović writes: > Filip Kobierski writes: > >> On Monday, March 10th, 2025 at 21:40, Alfredo Tupone >> wrote: >>> To declutter sci-libs and dev-libs from most of the "so called" >>> AI packages I think that a new category should be created. >>> Maybe sci-ai/ or dev-ai/ or sci-dl/ (deep

[gentoo-dev] Last rites: dev-lang/gnat-gpl

2025-03-09 Thread Sam James
# Sam James (2025-03-09) # Obsolete in favour of dev-lang/ada-bootstrap. Using sys-devel/gcc[ada] # should now Just Work. Removal on 2025-04-10. dev-lang/gnat-gpl

Re: [gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-09 Thread James Le Cuirot
On Sun, 2025-03-09 at 06:27 -0400, Ionen Wolkens wrote: > On Sun, Mar 09, 2025 at 10:17:42AM +0000, James Le Cuirot wrote: > > > +ffmpeg_compat_setup() { > > > + (( ${#} == 1 )) || die "Usage: ${FUNCNAME} " > > > + > > > + loc

Re: [gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-09 Thread James Le Cuirot
On Sat, 2025-03-08 at 22:34 -0500, Ionen Wolkens wrote: > Sending this to dev ML in advance given it's simple and "probably" > won't need to change the code further. > > If interested in the whole deal, see the PR instead: > https://github.com/gentoo/gentoo/pull/40942 > > --- (actual commit messa

Re: [gentoo-dev] [PATCH 4/5] cargo.eclass: Enable dynamic linking by default

2025-03-08 Thread James Le Cuirot
On Sat, 2025-03-08 at 15:59 +0200, Arthur Zamarin wrote: > From: Michal Rostecki > > Rust defaults to static linking (`-C target-feature=+crt-static`) on > musl targets. We already patch dev-lang/rust to always prefer dynamic > linking, but to ensure that behavior with dev-lang/rust-bin, set the

[gentoo-dev] Last rites: sys-apps/openrc-navi

2025-03-08 Thread Sam James
# Anna (navi) Figueiredo Gomes (2025-03-08) # User services is merged and released in openrc-0.60, this fork # is now unmaintained and superseded. # Removal on 2025-04-08. Bug #950367 sys-apps/openrc-navi

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: avoid using tc-getCPP in compiler checks

2025-02-05 Thread James Le Cuirot
On Wed, 2025-02-05 at 13:10 -0500, Mike Gilbert wrote: > We usually want to invoke cc -E rather than cpp directly. We should not > rely on the quirk of tc-getCPP defaulting to "cc -E" when CPP is unset. > > Resolves a warning when CPP is set to llvm-cpp, which does not accept > the -E option. > >

[gentoo-dev] [PATCH] cargo.eclass: respect MAKEOPTS for `cargo test`

2025-01-28 Thread Sam James
/cargo/issues/8430 Signed-off-by: Sam James --- Pushed. eclass/cargo.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 0bc24feea222e..25a2127f6391f 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -396,6 +396,9

Re: [gentoo-dev] A new bugzilla keyword for bug investigation

2025-01-18 Thread Sam James
Agostino Sarubbo writes: > Good morning everyone, > > during tinderbox activity I realized that sometimes there are bugs with > unknown causes at the time of filing. > > Examples are: > > - no "error: " string > > - mysterious test failures > > - hidden bugs on build.log but present on config.lo

Re: [gentoo-dev] [PATCH] autotools.eclass: simplify WANT_AUTOCONF logic

2025-01-18 Thread Sam James
Mike Gilbert writes: > Update WANT_AUTOMAKE atoms to match. > Drop 2.71 from _LATEST_AUTOCONF since 2.72 is stable. > > Closes: https://bugs.gentoo.org/948125 > Signed-off-by: Mike Gilbert > --- LGTM. Thanks. > PR: https://github.com/gentoo/gentoo/pull/40187 > > eclass/autotools.eclass | 21 +

[gentoo-dev] Last rites: dev-qt/qtstyleplugins

2025-01-09 Thread James Le Cuirot
# James Le Cuirot (2025-01-09) # Obsolete and needs to be dropped along with Qt5. The GTK theme has been # superseded by dev-qt/qtbase[gtk], which uses GTK 3 rather than GTK 2. # Removal on 2025-02-09. See bug #947787. dev-qt/qtstyleplugins signature.asc Description: This is a digitally signed

[gentoo-dev] Last rites: media-plugins/gst-plugins-kate

2025-01-05 Thread Sam James
# Sam James (2025-01-05) # Removed upstream in gstreamer-1.24. See bug #947522. Removal on 2025-02-05. media-plugins/gst-plugins-kate

Re: Fwd: [gentoo-dev] Please actively drop support for Qt5 wherever possible

2025-01-02 Thread Sam James
Zoltan Puskas writes: >> >> So, removing Qt5 will break computers of many users, including my computer. >> In the course of many years of existence of Qt5 a large number of useful >> programs have been created; not all of them have been ported to Qt6. Are we >> going to throw away all this wealt

Re: Fwd: [gentoo-dev] Please actively drop support for Qt5 wherever possible

2025-01-02 Thread Sam James
Andrey Grozin writes: > Here are some packages installed on my computer and (to various > degrees) important for me which depend on Qt5 > I'll note again that at the moment, we're talking about "things which support Qt 6, but the ebuild doesn't even acknowledge that right now, or the ebuild stil

Re: [gentoo-dev] [PATCH] toolchain.eclass: Don't prefixify dynamic linker for cross-compilers

2025-01-02 Thread Sam James
James Le Cuirot writes: > Cross environments within a prefixed system do not have a nested prefix, > i.e. they are located at ${EPREFIX}/usr/${CHOST}, not > ${EPREFIX}/usr/${CHOST}/${EPREFIX}. Binaries built with the > cross-compiler should therefore get an unprefixed dynamic li

[gentoo-dev] [PATCH] toolchain.eclass: Don't prefixify dynamic linker for cross-compilers

2025-01-02 Thread James Le Cuirot
box with QEMU's -L option. Signed-off-by: James Le Cuirot --- eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index c605c437f355a..f5d3b83c2e03b 100644 --- a/eclass/toolchain.eclass +++ b/e

Re: Fwd: [gentoo-dev] Please actively drop support for Qt5 wherever possible

2025-01-02 Thread James Le Cuirot
On Thu, 2025-01-02 at 03:13 -0800, Zoltan Puskas wrote: > > > > So, removing Qt5 will break computers of many users, including my computer. > > In the course of many years of existence of Qt5 a large number of useful > > programs have been created; not all of them have been ported to Qt6. Are we >

[gentoo-dev] Last rites: dev-libs/dmalloc

2024-12-31 Thread Sam James
# Sam James (2024-12-31) # Many open bugs and requires a large amount of patching to build correctly # as a shared library. Breaks reverse dependencies in a few ways. # Removal on 2025-01-30. bug #924174 and friends. dev-libs/dmalloc

Re: [gentoo-dev] [PATCH] toolchain.eclass: Fix strip exclusion for prefixed cross-compilers

2024-12-31 Thread James Le Cuirot
On Mon, 2024-12-30 at 21:31 -0500, Ionen Wolkens wrote: > On Mon, Dec 30, 2024 at 11:35:25PM +0000, James Le Cuirot wrote: > > dostrip limitations mean that we cannot strip the CTARGET binaries in a > > cross-compiler. There is already a `dostrip -x` call to exclude such &g

[gentoo-dev] [PATCH] toolchain.eclass: Fix strip exclusion for prefixed cross-compilers

2024-12-30 Thread James Le Cuirot
dostrip limitations mean that we cannot strip the CTARGET binaries in a cross-compiler. There is already a `dostrip -x` call to exclude such binaries from stripping, but it expects the argument to be unprefixed, and the argument given was prefixed. Signed-off-by: James Le Cuirot --- eclass

[gentoo-dev] Last rites: net-irc/ngircd

2024-12-27 Thread Sam James
g if it lived alongside autotools in the repo.) # Sam James (2024-12-27) # Unfixable modern C issues because of reliance on ancient automake. # Out of date. See bug #946998. Removal on 2025-01-27. net-irc/ngircd thanks, sam signature.asc Description: PGP signature

[gentoo-dev] Last rites: net-irc/ngircd

2024-12-27 Thread Sam James
Maybe upstream would even accept such a thing if it lived alongside autotools in the repo.) # Sam James (2024-12-27) # Unfixable modern C issues because of reliance on ancient automake. # Out of date. See bug #946998. Removal on 2025-01-27. net-irc/ngircd thanks, sam

Re: [gentoo-dev] [PATCH] elisp.eclass: Call makeinfo with --no-split option

2024-12-27 Thread Sam James
Ulrich Müller writes: > Signed-off-by: Ulrich Müller (Why?) > --- > eclass/elisp.eclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass > index 1fa8aab29753..e2f629edf132 100644 > --- a/eclass/elisp.eclass > +++ b/eclass/elisp

[gentoo-dev] Re: [PATCH] guile-utils.eclass: set GUILE_AUTO_COMPILE=fresh

2024-12-26 Thread Sam James
Arsen Arsenović writes: > Hi Sam, > > Sam James writes: > >> Noticed this when looking at app-office/gnucash which was disabling >> GUILE_AUTO_COMPILE entirely (see 72dbf2ec4049df11ad63576971883ee239eadb7f). >> >> We don't want Guile making decisions b

[gentoo-dev] [PATCH] guile-utils.eclass: set GUILE_AUTO_COMPILE=fresh

2024-12-26 Thread Sam James
ware/guile/manual/html_node/Environment-Variables.html#index-GUILE_005fAUTO_005fCOMPILE. Signed-off-by: Sam James --- eclass/guile-utils.eclass | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eclass/guile-utils.eclass b/eclass/guile-utils.eclass index b0660dcfd1ce6..d06

  1   2   3   4   5   6   7   8   9   10   >