ports/159939: [patch] lang/perl5.10 to address build failure in ext/Sys-Syslog
Ryan Steinmetz
zi at FreeBSD.org
Sat Aug 20 14:50:09 UTC 2011
>Number: 159939
>Category: ports
>Synopsis: [patch] lang/perl5.10 to address build failure in ext/Sys-Syslog
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 20 14:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Ryan Steinmetz
>Release: 8.2-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
>Description:
With lang/perl5.10 installed, attempting to update it to the latest PORTREVISION (using portmaster) results in the following error:
Running Makefile.PL in ext/Sys-Syslog
./../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.so LINKTYPE=dynamic
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at ../../lib/overload.pm line 94.
65280 from ext/Sys-Syslog's Makefile.PL at make_ext.pl line 301.
Warning: No Makefile!
make: don't know how to make config. Stop
make config PERL_CORE=1 LIBPERL_A=libperl.so LINKTYPE=dynamic failed, continuing anyway...
Making all in ext/Sys-Syslog
make all PERL_CORE=1 LIBPERL_A=libperl.so LINKTYPE=dynamic
make: don't know how to make all. Stop
Unsuccessful make(ext/Sys-Syslog): code=512 at make_ext.pl line 360.
*** Error code 2
Stop in /usr/ports/lang/perl5.10/work/perl-5.10.1.
*** Error code 1
Currently installed:
perl-threaded-5.10.1_3
Stop in /usr/ports/lang/perl5.10.
*** Error code 1
Stop in /usr/ports/lang/perl5.10.
>How-To-Repeat:
% portmaster perl-threaded-5.10.1_3
>Fix:
Based on http://www.gossamer-threads.com/lists/perl/porters/242181 I created the attached patch, which allowed my build to succeed.
Patch attached with submission follows:
--- ./ext/Sys-Syslog/Makefile.PL.orig 2011-08-20 10:31:26.000000000 -0400
+++ ./ext/Sys-Syslog/Makefile.PL 2011-08-20 10:31:43.000000000 -0400
@@ -1,7 +1,6 @@
use strict;
use Config;
use ExtUtils::MakeMaker;
-eval 'use ExtUtils::MakeMaker::Coverage';
use File::Copy;
use File::Path;
use File::Spec;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list