> On May 5, 2015, at 5:03 AM, Kevin Horton <khorto...@rogers.com> wrote:
> 
> On May 5, 2015 at 1:07:15 AM, Daniel Macks (dma...@netspace.org) wrote:
>> On Mon, 04 May 2015 10:22:26 -0400, Daniel Macks <dma...@netspace.org> wrote:
>> On Mon, 4 May 2015 08:41:55 -0400, Kevin Horton <khorto...@rogers.com> wrote:
>> > I’m looking at taking over dbi-pm from Benjamin Reed, but I’ve
>> > discovered a problem with the existing package that has me stumped. >
>> > > dbi-pm5182-1:1.630-1 fails to compile on OS X 10.10.4 (beta) with:
>> > >
>> > > cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
>> > > "/usr/bin/arch" -x86_64 perl5.18 -x86_64 perl5.18 "-Iblib/arch" >
>> > "-Iblib/lib" dbilogstrip.PL dbilogstrip
>> > > "/usr/bin/arch" -x86_64 perl5.18 -x86_64 perl5.18 "-Iblib/arch" >
>> > "-Iblib/lib" dbiprof.PL dbiprof
>> > > "/usr/bin/arch" -x86_64 perl5.18 -x86_64 perl5.18 "-Iblib/arch" >
>> > "-Iblib/lib" dbiproxy.PL dbiproxy
>> > > Can't open perl script "perl5.18": No such file or directory
>> > > Can't open perl script "perl5.18": No such file or directory
>> > > make: *** [dbiproxy] Error 2
>> > >
>> > > Any hints would be greatly appreciated.
>> >
>> > It's double-passing "-x86_64 perl5.18". That's a bug in...some
>> > version of some underlying perlmod used in the build toolchain, can't
>> > remember which. Will look it up later today.
>> 
>> It's a bug/regression in recent versions of ExtUtils::MakeMaker that
>> affects several perlmod packages that supply scripts. Adding
>> extutils-makemaker-pmXXX maintainer to CC. A few months ago I narrowed
>> down what version introduced this problem...somewhere on #fink...can't
>> find it.
>> 
>> dan
>> 
> 
> It builds correctly with extutils-makemaker-pm5182_6.98-1 installed.  It 
> fails with extutils-makemaker-pm5182_7.00-1 or 7.04-1 installed.
> 
> I’ll rollback to extutils-makemaker-pm5182_6.98-1 pending a fix.
> 
> Thanks for the detective work.
> 
> —
> Kevin Horton

I figured out the issue. In extutils-makemaker > 6.98, $perlflags was getting 
added twice to perl calls in generated Makefiles thus the double “-x86_64 
perl5.18 -x86_64 perl5.18”. Patching out the second $perlflags fixes it. 
dbi-pm5182 now builds with the newly committed 
extutils-makemaker-pm5182-7.05-0.20 (it’s a prerelease version, thus the -0.20).

Daniel

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to