Bug 248639

Summary: lang/perl5.32: build failure in lib/auto/Encode
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Mathieu Arnold <mat>
Status: Closed Feedback Timeout    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (mat)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2020-08-13 11:07:41 UTC
After updating /usr/ports/UPDATING and according to entry 20200803:
  AFFECTS: users of lang/perl5*
  AUTHOR: mat@FreeBSD.org

replacing lang/perl5.30 with lang/perl5.32 fails due to the error shown below. The box in question is running recent CURRENT (FreeBSD 13.0-CURRENT #12 r364186: Thu Aug 13 12:05:05 CEST 2020 amd64) and amongst other CURRENT systems it seems it is one of the rare occassions where this problem occurs. On CURRENT switching from perl5.28 to perl5.32 everything ran smooth, also CURRENT with perl5.30 had no problems.
The box in question is a server with a minimalistic installation.

[...]
--- lib/auto/Encode/Encode.so ---
ERROR from evaluation of /usr/ports/lang/perl5.32/work/perl-5.32.0/cpan/Encode/Byte/Makefile.PL: Can't locate File/Spec/Functions.pm in @INC (you may need to install the File::Spec::Functions module) (@INC contains: /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/AutoLoader/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/dist/Carp/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/dist/PathTools /tmp/ports/lang/perl5.32/work/perl-5.32.0/dist/PathTools/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/ExtUtils-Install/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/ExtUtils-MakeMaker/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/ExtUtils-Manifest/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/File-Path/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/ext/re /tmp/ports/lang/perl5.32/work/perl-5.32.0/dist/Term-ReadLine/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/dist/Exporter/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/ext/File-Find/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/Text-Tabs/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/dist/constant/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/version/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/Getopt-Long/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/Text-ParseWords/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/lib /tmp/ports/lang/perl5.32/work/perl-5.32.0/cpan/Encode .) at ./Makefile.PL line 4.
BEGIN failed--compilation aborted at ./Makefile.PL line 4.
Unsuccessful Makefile.PL(cpan/Encode): code=512 at make_ext.pl line 536.
*** [lib/auto/Encode/Encode.so] Error code 2
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2020-08-26 14:44:54 UTC
I cannot seem to reproduce this, can you provide the full build log?