I noticed that mercurial calls 'strip-flags' with parameters and added https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8669c1089dd9962d946c7be46a17fdd1cd2ebd8 In the following code python_compile() { strip-flags -ftracer -ftree-vectorize ... } before the change this code effectively called python_compile() { strip-flags ... } which strips most flags in CFLAGS. This probably is not what you want. You probably need: python_compile() { filter-flags -ftracer -ftree-vectorize ... } or something more future-proof: python_compile() { append-flags $(test-flags-CC -no-ftracer -fno-tree-vectorize) ... } Or even remove this stale filtering.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55991445032636c59c63aab64642dab4957a2af commit b55991445032636c59c63aab64642dab4957a2af Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-03-15 09:28:00 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-03-15 09:28:22 +0000 dev-vcs/mercurial: drop 'strip-flags' parameters, bug #712594 This is not a fix for bug #712594. The code change only gets ebuild to the state it was before f8669c1089dd9962d946c7be46 "flag-o-matic.eclass: add assertions around argument counts" was submitted. We'll need a proper fix. I've left a TODO in ebuild. Bug: https://bugs.gentoo.org/712594 Package-Manager: Portage-2.3.94, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-vcs/mercurial/mercurial-4.6.2.ebuild | 2 +- dev-vcs/mercurial/mercurial-4.9-r2.ebuild | 2 +- dev-vcs/mercurial/mercurial-4.9.1.ebuild | 4 ++-- dev-vcs/mercurial/mercurial-5.0.2.ebuild | 4 ++-- dev-vcs/mercurial/mercurial-5.1.2.ebuild | 2 +- dev-vcs/mercurial/mercurial-5.2.2-r1.ebuild | 2 +- dev-vcs/mercurial/mercurial-9999.ebuild | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-)
Same problem here.
(In reply to Samuel Bernardo from comment #2) > Same problem here. I just tested the proposed patch installing mercurial-5.2.2-r1 and it worked as expected. Since this is blocking ebuilds such as layman, I need to mask it from gentoo repository.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a0eb5cfdc61e517ac28c13cd3832e92b96fd1a3 commit 7a0eb5cfdc61e517ac28c13cd3832e92b96fd1a3 Author: Cédric Krier <cedk@gentoo.org> AuthorDate: 2020-03-15 10:24:28 +0000 Commit: Cédric Krier <cedk@gentoo.org> CommitDate: 2020-03-16 11:03:14 +0000 dev-vcs/mercurial: Use filter-flags instead of strip-flags Closes: https://bugs.gentoo.org/712594 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Cédric Krier <cedk@gentoo.org> dev-vcs/mercurial/mercurial-4.6.2.ebuild | 2 +- dev-vcs/mercurial/mercurial-4.9-r2.ebuild | 2 +- dev-vcs/mercurial/mercurial-4.9.1.ebuild | 2 +- dev-vcs/mercurial/mercurial-5.0.2.ebuild | 2 +- dev-vcs/mercurial/mercurial-5.1.2.ebuild | 2 +- dev-vcs/mercurial/mercurial-5.2.2-r1.ebuild | 2 +- dev-vcs/mercurial/mercurial-9999.ebuild | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-)