perl 5.20 and .bs files, Mk/Uses/perl5.mk
Mathieu Arnold
mat at FreeBSD.org
Sun Aug 17 22:06:35 UTC 2014
+--On 17 août 2014 23:20:31 +0200 Mathieu Arnold <mat at FreeBSD.org> wrote:
| +--On 17 août 2014 21:58:00 +0200 Kurt Jaeger <pi at FreeBSD.org> wrote:
|| Hi!
||
|| Can you give me a hint on this ?
||
|| The logic of
|
| The .bs files are bootstrap files, thatis, files needed on a few obscure
| cases to know what shared objects to load when having to delay loading the
| shared object of a perl module. (it's as close as I can make it in a
| sentence, also as close as I understand what it does.)
| Those files have always been empty (and thus useless) on FreeBSD. Starting
| with Perl 5.20, the bootstrap files are not installed any more if they are
| empty.
|
| So, this removes them for older Perl too, to be consistent. (When I added
| Perl 5.20, I did full builds, checked all the packages for .bs files, they
| were *all* empty.)
|
|| fails for devel/p5-File-Map -- even with a 5.20 perl, there is a
|| .bs file left over in STAGEDIR. Is this a bug in the perl module
|| and do I have to remove it in post-stage: ?
|
| What do you mean fails ? Is the .bs file empty ? If it is, then, yes,
| there is a bug, if it is not, then, there is no bug, and it should be
| packaged.
Having a look at it, nothing fails, everything works as expected[1], only
the File::Map author must be doing something strange, and manages to get
Perl 5.20 to install a bootstrap file. (Which is not anything fatal, it's
just a stray file lying there[2].)
I'd say remove it in post-install, but this needs a bit more inspection to
see exactly why this port behaves differently than the thousands other we
have that work just fine.
1:
https://pkg.absolight.fr/data/10amd64-pkgng-perl5-20/20140804T043250Z/logs/p5-File-Map-0.61.log
2:
https://pkg.absolight.fr/data/10amd64-pkgng-perl5-20/20140817T235221Z/logs/p5-File-Map-0.61.log
--
Mathieu Arnold
More information about the freebsd-perl
mailing list