[gentoo-dev] stable users: sys-libs/glibc-2.33-r10 needs testers

2022-01-27 Thread Andreas K. Huettel
Am Mittwoch, 26. Januar 2022, 00:11:42 CET schrieb Andreas K. Huettel:
> Hey all, 
> 
> I just added sys-libs/glibc-2.33-r9 which is a security fix for the 2.33 
> series 
> (and also adds ebuild improvements backported from the 2.34 series).

This just became 2.33-r10 - but the message stays the same!

> 
> Please, if you're still running glibc-2.33, consider testing it! We want to 
> stabilize it rather soon. Building and normal use...
> 
> (~arch users are already at glibc-2.34, and as you certainly know downgrading
> glibc is not possible.)
> 
> Thanks,
> Andreas
> 
> 


-- 
Andreas K. Hüttel
dilfri...@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)

signature.asc
Description: This is a digitally signed message part.


[gentoo-dev] [PATCH 2/2] eclass: Update links to Gentoo Python Guide

2022-01-27 Thread Michał Górny
Signed-off-by: Michał Górny 
---
 eclass/distutils-r1.eclass | 2 +-
 eclass/python-any-r1.eclass| 2 +-
 eclass/python-r1.eclass| 2 +-
 eclass/python-single-r1.eclass | 2 +-
 eclass/python-utils-r1.eclass  | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index f7c6ea202ab0..e25263ee7e1d 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -42,7 +42,7 @@
 # relevant to the packages using distutils-r1.
 #
 # For more information, please see the Python Guide:
-# https://dev.gentoo.org/~mgorny/python-guide/
+# https://projects.gentoo.org/python/guide/
 
 case "${EAPI:-0}" in
[0-5])
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
index 7af9474d9a1f..f7cc6e10e9be 100644
--- a/eclass/python-any-r1.eclass
+++ b/eclass/python-any-r1.eclass
@@ -36,7 +36,7 @@
 # both.
 #
 # For more information, please see the Python Guide:
-# https://dev.gentoo.org/~mgorny/python-guide/
+# https://projects.gentoo.org/python/guide/
 
 case "${EAPI:-0}" in
[0-5]) die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" ;;
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 4b51cc18b959..40ad4ef4bbf8 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -28,7 +28,7 @@
 # both.
 #
 # For more information, please see the Python Guide:
-# https://dev.gentoo.org/~mgorny/python-guide/
+# https://projects.gentoo.org/python/guide/
 
 case "${EAPI:-0}" in
[0-5])
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
index 5a4bcea55da4..574ee9cfc04e 100644
--- a/eclass/python-single-r1.eclass
+++ b/eclass/python-single-r1.eclass
@@ -35,7 +35,7 @@
 # to inherit both.
 #
 # For more information, please see the Python Guide:
-# https://dev.gentoo.org/~mgorny/python-guide/
+# https://projects.gentoo.org/python/guide/
 
 case "${EAPI:-0}" in
[0-5])
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 3d55bc0905f2..c8367f8065f4 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -17,7 +17,7 @@
 # functions. It can be inherited safely.
 #
 # For more information, please see the Python Guide:
-# https://dev.gentoo.org/~mgorny/python-guide/
+# https://projects.gentoo.org/python/guide/
 
 # NOTE: When dropping support for EAPIs here, we need to update
 # metadata/install-qa-check.d/60python-pyc
-- 
2.35.0




[gentoo-dev] [PATCH 1/2 v2] distutils-r1.eclass: Support deprecated flit/poetry backends

2022-01-27 Thread Michał Górny
Detect, report and fix the deprecated flit/poetry backends to use
flit_core and poetry_core respectively.  In both cases, the end result
is the same.  Using flit involves unnecessary dependencies, and poetry
is not even packaged right now (and has even worse dependency hell).

Signed-off-by: Michał Górny 
---
 eclass/distutils-r1.eclass | 25 +++--
 1 file changed, 23 insertions(+), 2 deletions(-)

Changes in v2: instead of failing and requiring patching ebuilds,
just emit a QA warning and switch backend internally.

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 7dfd92691b59..f7c6ea202ab0 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -862,13 +862,13 @@ _distutils-r1_backend_to_key() {
 
local backend=${1}
case ${backend} in
-   flit_core.buildapi)
+   flit_core.buildapi|flit.buildapi)
echo flit
;;
pdm.pep517.api)
echo pdm
;;
-   poetry.core.masonry.api)
+   poetry.core.masonry.api|poetry.masonry.api)
echo poetry
;;
setuptools.build_meta|setuptools.build_meta:__legacy__)
@@ -950,6 +950,27 @@ distutils-r1_python_compile() {
eerror "(backend: ${build_backend})"
die "DISTUTILS_USE_PEP517 value incorrect"
fi
+
+   # fix deprecated backends up
+   local new_backend=
+   case ${build_backend} in
+   flit.buildapi)
+   new_backend=flit_core.buildapi
+   ;;
+   poetry.masonry.api)
+   new_backend=poetry.core.masonry.api
+   ;;
+   esac
+
+   if [[ -n ${new_backend} ]]; then
+   if [[ ! ${_DISTUTILS_DEPRECATED_BACKEND_WARNED} 
]]; then
+   eqawarn "${build_backend} backend is 
deprecated.  Please see:"
+   eqawarn 
"https://projects.gentoo.org/python/guide/distutils.html#deprecated-pep-517-backends";
+   eqawarn "The eclass will be using 
${new_backend} instead."
+   _DISTUTILS_DEPRECATED_BACKEND_WARNED=1
+   fi
+   build_backend=${new_backend}
+   fi
fi
 
einfo "  Building the wheel via ${build_backend}"
-- 
2.35.0




Re: [gentoo-dev] Itanium (IA64) port: call for help

2022-01-27 Thread Sam James


> On 27 Jan 2022, at 18:22, Sam James  wrote:
> 
> Hi all,
> 
> TL;DR: We really need help! There aren't many developers in Gentoo
> Currently interested in working on Itanium. Come hang around in #gentoo-ia64
> on libera.chat (IRC) if you're interested in helping.
> [snip]
> (This is a good time to note that friends and users of "alternative
> hardware" are welcome to join e.g. #gentoo-ia64, #gentoo-alpha,
> #gentoo-arm, #gentoo-hppa, #gentoo-sparc, and #gentoo-embedded too!)

I'm sorry, I forgot the inimitable #gentoo-powerpc too :)

Best,
sam



signature.asc
Description: Message signed with OpenPGP


[gentoo-dev] Itanium (IA64) port: call for help

2022-01-27 Thread Sam James
Hi all,

TL;DR: We really need help! There aren't many developers in Gentoo
Currently interested in working on Itanium. Come hang around in #gentoo-ia64
on libera.chat (IRC) if you're interested in helping.

As discussed in the recent Gentoo Council meeting [0], concerns were raised
about the status of Itanium (IA64) and I agreed to write to gentoo-dev to
assess the level of interest & put out a call for volunteers.

What we need from volunteers is at least one of the following:
- Package testers to perform "keywording" (verifying a package compiles and 
ideally
passes tests on IA64)
- An advocate for the arch/port (it's hard to be motivated for
something not working unless we know _someone_ out there is affected
or cares)
- Possibly general work on reporting bugs upstream, triaging failures,
and even trying to fix them where possible (but it's okay to not
be an expert in IA64 internals).
- Folks simply using IA64 on Gentoo to let us know!
- Anything else if you think it'd help the port effort.

But ultimately, if you're using IA64, you can help in some way.

There were rumours of GCC support being deprecated (and subsequent
removal) [2][3] but this does NOT appear to have happened so far [4].

It might be worth a volunteer could investigate setting up
CI for GCC upstream (and possibly glibc if they need it).

Gentoo does have a machine ("guppy") for performing development
work on, but we need people to actually use it.

(This is a good time to note that friends and users of "alternative
hardware" are welcome to join e.g. #gentoo-ia64, #gentoo-alpha,
#gentoo-arm, #gentoo-hppa, #gentoo-sparc, and #gentoo-embedded too!)

[0] https://projects.gentoo.org/council/meeting-logs/20220109-summary.txt
[1] 
https://www.reddit.com/r/Gentoo/comments/s0emlj/trying_to_boot_latest_ia64_release/
[2] 
https://www.phoronix.com/scan.php?page=news_item&px=Intel-IA-64-GCC-Deprecation
[3] https://gcc.gnu.org/legacy-ml/gcc/2019-06/msg00125.html
[4] https://gcc.gnu.org/git/?p=gcc.git&a=search&h=HEAD&st=commit&s=ia64

best,
sam



signature.asc
Description: Message signed with OpenPGP


[gentoo-dev] [PATCH] distutils-r1.eclass: Provide detailed flit/poetry migration info

2022-01-27 Thread Michał Górny
Signed-off-by: Michał Górny 
---
 eclass/distutils-r1.eclass | 20 
 1 file changed, 20 insertions(+)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 7dfd92691b59..b4183e010b9c 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -874,6 +874,26 @@ _distutils-r1_backend_to_key() {
setuptools.build_meta|setuptools.build_meta:__legacy__)
echo setuptools
;;
+   flit.buildapi)
+   eerror "flit.buildapi backend is deprecated.  Please 
update upstream:"
+   eerror
+   eerror '-requires = ["flit"]'
+   eerror '+requires = ["flit_core"]'
+   eerror '-build-backend = "flit.buildapi"'
+   eerror '+build-backend = "flit_core.buildapi"'
+   eerror
+   die "flit.buildapi is deprecated, use flit_core instead"
+   ;;
+   poetry.masonry.api)
+   eerror "poetry.masonry.api backend is deprecated.  
Please update upstream:"
+   eerror
+   eerror '-requires = ["poetry"]'
+   eerror '+requires = ["poetry-core>=1.0.0"]'
+   eerror '-build-backend = "poetry.masonry.api"'
+   eerror '+build-backend = "poetry.core.masonry.api"'
+   eerror
+   die "poetry.masonry.api is deprecated, use poetry-core 
instead"
+   ;;
*)
die "Unknown backend: ${backend}"
;;
-- 
2.35.0