public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jack <ostroffjh@users.sourceforge.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] PERL_FEATURES
Date: Tue, 07 May 2024 14:29:28 -0400	[thread overview]
Message-ID: <YDI6UPH3.C5P5QHPU.R5XRUPSU@CQ7WP3QH.YCFGLRY7.7FM64MQR> (raw)
In-Reply-To: <7AZ7LPPO.BU4XOJGB.I4T3O46I@NXSZWLD4.WM7M25V3.ANCY4XXH>

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.


  reply	other threads:[~2024-05-07 18:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-07 16:33 [gentoo-user] PERL_FEATURES Helmut Jarausch
2024-05-07 18:29 ` Jack [this message]
2024-05-07 19:46   ` Helmut Jarausch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YDI6UPH3.C5P5QHPU.R5XRUPSU@CQ7WP3QH.YCFGLRY7.7FM64MQR \
    --to=ostroffjh@users.sourceforge.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox