In check_rebuild(): elif [[ "${REPLACING_VERSIONS%.*}" != "${PV%.*}" ]]; then REPLACING_VERSIONS is a space-separated list and can contain zero or more version elements, therefore it cannot be used in a comparison like this.
Created attachment 918934 [details, diff] Patch for perl-5.40.0-r1.ebuild Something like this patch should fix it. (Only included one ebuild, the others are the same.)
Fix added to https://github.com/gentoo/gentoo/pull/40573
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de0b9ff858352a9278a8f000627eb970c0f80ed3 commit de0b9ff858352a9278a8f000627eb970c0f80ed3 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2025-02-15 09:57:48 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2025-02-22 07:57:49 +0000 dev-lang/perl: Fix incorrect REPLACING_VERSIONS usage Closes: https://bugs.gentoo.org/949735 Signed-off-by: Ulrich Müller <ulm@gentoo.org> dev-lang/perl/perl-5.40.0-r1.ebuild | 17 ++++++++++------- dev-lang/perl/perl-5.40.1_rc1.ebuild | 17 ++++++++++------- 2 files changed, 20 insertions(+), 14 deletions(-)