Gentoo Archives: gentoo-dev

From: Kent Fredric <kentnl@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 2/2] perl-module.class: Enable EAPI=7 support
Date: Tue, 13 Aug 2019 23:42:44
Message-Id: 20190814114216.7b976191@katipo2.lan
In Reply to: Re: [gentoo-dev] [PATCH 2/2] perl-module.class: Enable EAPI=7 support by James Le Cuirot
1 On Tue, 13 Aug 2019 20:39:01 +0100
2 James Le Cuirot <chewi@g.o> wrote:
3
4 > Unfortunately there's currently no way to say that the versions of a
5 > package across BDEPEND, DEPEND, and RDEPEND must be (roughly?) equal so
6 > there's nothing to stop an ancient Perl in / building a module for a
7 > newer Perl in ROOT but that's a problem that goes far beyond Perl.
8 > Cross-compiling Perl modules is still a bit of a car crash anyway.
9
10 I'd imagine that for CC, you'd need all perl modules installed to
11 BDEPEND _and_ DEPEND _AND_ RDEPEND,
12
13 Because the configure stage runs Makefile.PL on the host perl, and it
14 checks the existence of all "runtime" and "compile time" dependencies
15 itself, and it does this by *loading* them into the host perl.
16
17 Failure to load them on the host perl produces lots of warnings in the
18 best of cases, and errors in the worst of cases.

Replies