* [gentoo-user] PERL_FEATURES
@ 2024-05-07 16:33 Helmut Jarausch
2024-05-07 18:29 ` Jack
0 siblings, 1 reply; 3+ messages in thread
From: Helmut Jarausch @ 2024-05-07 16:33 UTC (permalink / raw
To: gentoo-user
Hi,
according to the NEWS from today one has to set PERL_FEATURES in
/etc/portage/make.conf.
But how to do that?
I've tried
PERL_FEATURES="debug ithreads quadmath"
but emerging dev-lang/perl-5.38.2-r3 I get
* As of dev-lang/perl-5.38.2-r3, the useflags debug, ithreads,
quadmath move into
* a use-expand variable PERL_FEATURES, which should be set globally
in make.conf.
* It appears that you have not set this variable properly yet.
Many thanks for hint,
Helmut
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] PERL_FEATURES
2024-05-07 16:33 [gentoo-user] PERL_FEATURES Helmut Jarausch
@ 2024-05-07 18:29 ` Jack
2024-05-07 19:46 ` Helmut Jarausch
0 siblings, 1 reply; 3+ messages in thread
From: Jack @ 2024-05-07 18:29 UTC (permalink / raw
To: gentoo-user
On 2024.05.07 12:33, Helmut Jarausch wrote:
> Hi,
>
> according to the NEWS from today one has to set PERL_FEATURES in
> /etc/portage/make.conf.
> But how to do that?
>
> I've tried
>
> PERL_FEATURES="debug ithreads quadmath"
>
> but emerging dev-lang/perl-5.38.2-r3 I get
>
>
> * As of dev-lang/perl-5.38.2-r3, the useflags debug, ithreads,
> quadmath move into
> * a use-expand variable PERL_FEATURES, which should be set globally
> in make.conf.
> * It appears that you have not set this variable properly yet.
>
> Many thanks for hint,
> Helmut
The section of the ebuild that decides whether or not to issue that
warning is:
pkg_pretend() {
if \
( use perl_features_ithreads && has_version
'<dev-lang/perl-5.38.2-r3[-ithreads]' ) || \
( ! use perl_features_ithreads && has_version
'<dev-lang/perl-5.38.2-r3[ithreads]' ) || \
( use perl_features_quadmath && has_version
'<dev-lang/perl-5.38.2-r3[-quadmath]' ) || \
( ! use perl_features_quadmath && has_version
'<dev-lang/perl-5.38.2-r3[quadmath]' ) || \
( use perl_features_debug && has_version
'<dev-lang/perl-5.38.2-r3[-debug]' ) || \
( ! use perl_features_debug && has_version
'<dev-lang/perl-5.38.2-r3[debug]' ) ; \
then
(issue the warning)
As I read it (which may well be wrong) it is looking to see whether the
value for each of the three items is the same by the old use flag and
by the new PERL_FEATURES. Check how those three use flags are set for
-r2 and that the value for PERL_FEATURES for -r3 matches for each.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] PERL_FEATURES
2024-05-07 18:29 ` Jack
@ 2024-05-07 19:46 ` Helmut Jarausch
0 siblings, 0 replies; 3+ messages in thread
From: Helmut Jarausch @ 2024-05-07 19:46 UTC (permalink / raw
To: gentoo-user
Many thanks, that helped a lot!
Now I have set only those features in the PERL_FEATURES entry that were
installed before -
the warning has gone and I hoped the correct version of perl is
installed now.
Helmut
On 05/07/2024 08:29:28 PM, Jack wrote:
> On 2024.05.07 12:33, Helmut Jarausch wrote:
>> Hi,
>>
>> according to the NEWS from today one has to set PERL_FEATURES in
>> /etc/portage/make.conf.
>> But how to do that?
>>
>> I've tried
>>
>> PERL_FEATURES="debug ithreads quadmath"
>>
>> but emerging dev-lang/perl-5.38.2-r3 I get
>>
>>
>> * As of dev-lang/perl-5.38.2-r3, the useflags debug, ithreads,
>> quadmath move into
>> * a use-expand variable PERL_FEATURES, which should be set globally
>> in make.conf.
>> * It appears that you have not set this variable properly yet.
>>
>> Many thanks for hint,
>> Helmut
>
> The section of the ebuild that decides whether or not to issue that
> warning is:
>
> pkg_pretend() {
> if \
> ( use perl_features_ithreads && has_version
> '<dev-lang/perl-5.38.2-r3[-ithreads]' ) || \
> ( ! use perl_features_ithreads && has_version
> '<dev-lang/perl-5.38.2-r3[ithreads]' ) || \
> ( use perl_features_quadmath && has_version
> '<dev-lang/perl-5.38.2-r3[-quadmath]' ) || \
> ( ! use perl_features_quadmath && has_version
> '<dev-lang/perl-5.38.2-r3[quadmath]' ) || \
> ( use perl_features_debug && has_version
> '<dev-lang/perl-5.38.2-r3[-debug]' ) || \
> ( ! use perl_features_debug && has_version
> '<dev-lang/perl-5.38.2-r3[debug]' ) ; \
> then
> (issue the warning)
>
> As I read it (which may well be wrong) it is looking to see whether
> the value for each of the three items is the same by the old use flag
> and by the new PERL_FEATURES. Check how those three use flags are
> set for -r2 and that the value for PERL_FEATURES for -r3 matches for
> each.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-07 19:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-07 16:33 [gentoo-user] PERL_FEATURES Helmut Jarausch
2024-05-07 18:29 ` Jack
2024-05-07 19:46 ` Helmut Jarausch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox