USE=lua led to confusion that some action is needed, let's be
more verbose and only mention it when it's not set.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
The code being removed here can't work with modern Perl:
```
$ perl -e 'use utf8; use re; package utf8; require "utf8_heavy.pl";';
Can't locate utf8_heavy.pl in @INC (@INC entries checked: /etc/perl /usr/local/lib64/perl5/5.38/x86_64-linux /usr/local/lib64/perl5/5.38 /usr/lib64/perl5/vendor_perl/5.38/x86_64-linux /usr/lib64/perl5/vendor_perl/5.38 /usr/lib64/perl5/5.38/x86_64-linux /usr/lib64/perl5/5.38) at -e line 1.
```
The original reporter of the bug it was added for (bug #518522) was Chris Mayo
who can't reproduce the original problem. Given it now actively causes an issue,
let's drop it, and not worry about replacing it with something else right now -
it's unclear anything is needed now.
This still leaves pollution in postgresql.conf - which I leave to the pgsql
maintainers to resolve, but at least we're not adding it for new installs now.
Note that it's likely https://bugs.gentoo.org/518522#c6 was still an issue
and this will be resolved now too.
Bug: https://bugs.gentoo.org/518522
Bug: https://bugs.gentoo.org/792537
Signed-off-by: Sam James <sam@gentoo.org>
People shouldn't really pass -ftrapv in global flags anyway but let's
filter out -ftrapv in Perl specifically given we know it requires -fwrapv
semantics and it even passes that during the build, but -ftrapv if set
by the user will be appended and take precdence...
Bug: https://bugs.gentoo.org/928904
Signed-off-by: Sam James <sam@gentoo.org>
Having perl-cleaner in IDEPEND should allow it to be depcleaned with ROOT.
If this ends up not being sufficient, perhaps we should try putting
it into @system directly, as then people can easily remove it.
Note that I've also adjusted perl-cleaner to move its dev-lang/perl dep
from RDEPEND->PDEPEND to avoid a circular dependency here now...
Bug: https://bugs.gentoo.org/915046
Signed-off-by: Sam James <sam@gentoo.org>
This is in preparation for moving app-admin/perl-cleaner in dev-lang/perl
from PDEPEND->IDEPEND to allow depcleaning it with ROOT.
No ebuilds should use perl-cleaner directly so this should be fine.
Bug: https://bugs.gentoo.org/915046
Signed-off-by: Sam James <sam@gentoo.org>
This was added in f8f7c13303 (thx to csfore
for finding it), but tests pass for me with 5.38.2 with this removed
and with -O3 -flto -march=znver2.
I see indications other distros are building Perl with LTO and some
(old) bugs upstream where it appears supported.
Signed-off-by: Sam James <sam@gentoo.org>
Not fixed upstream yet so change workaround to look for sys-devel/gcc[debug]
instead as 14 is released now.
Bug: https://bugs.gentoo.org/912152
Signed-off-by: Sam James <sam@gentoo.org>
While at it, sync src_unpack with app-shells/bash, as we need that
to avoid trying and failing to verify an unsigned patch from devspace.
Signed-off-by: Sam James <sam@gentoo.org>