Opened 9 years ago

Closed 9 years ago

#6565 closed enhancement (fixed)

Review perl modules using Build.pm with perl-5.22.

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 7.8
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Perl-5.22 is reported to have dropped Build.pm (5.20 produced a warning that it would be dropped). Several of the modules used by biblatex-biber, and biblatex-biber itself, use Build.

Assuming it has indeed been dropped, we will need to add separate Build.pm to the perl modules, and make every module using it require it, similarly make biblatex-biber require it.

Change History (6)

comment:1 by bdubbs@…, 9 years ago

If it has indeed been dropped, it would probably be easier to add it to LFS instead of changing every BLFS package that might need it. I'll investigate.

comment:2 by bdubbs@…, 9 years ago

I've made a test LFS build with perl-5.22.0 and Modiles:Build is indeed missing.

We already have a module installed in LFS, XML::Parser. Adding another page for this would not be hard: perl Makefile.PL; make; make test; make install.

There is a warning in the first step:

{{{Checking optional features... inc_bundling_support....disabled

requires:

! inc::latest is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES. }}}

but cpan says inc::latest is experimental. This should probably be addressed in a note.

The file is located at https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-0.4212.tar.gz and is 298KB in size. Build/test time is about a minute (0.5 SBU or so).

I need feedback. Is this better in LFS or BLFS?

comment:3 by ken@…, 9 years ago

BLFS definitely. I only came across it for the first time when I built modules for biber.

comment:4 by ken@…, 9 years ago

Owner: changed from blfs-book@… to ken@…
Status: newassigned

Bruce, thanks for those notes. I'll take this, and then take a look when I get to Biber (that is, after TL-2015 has been released).

comment:5 by Douglas R. Reno, 9 years ago

I think that it is better in BLFS as well.

comment:6 by ken@…, 9 years ago

Resolution: fixed
Status: assignedclosed

I've added Module::Build in r16166. Currently used by biber, Text-BibTeX, and the latter's ExtUtils-LibBuilder, so the latter is the only link to it. Also mentioned in the Installation of Perl Modules which use Build.PL section, but not linked from there.

I don't use jhalfs, but I think this should be enough for it to pull Module::Build in.

Note: See TracTickets for help on using tickets.