Re: dbi-pm fails to compile

Daniel Johnson <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
> On May 5, 2015, at 5:03 AM, Kevin Horton <[email protected]> wrote:
> 
> On May 5, 2015 at 1:07:15 AM, Daniel Macks ([email protected]) wrote:
>> On Mon, 04 May 2015 10:22:26 -0400, Daniel Macks <[email protected]> wrote:
>> On Mon, 4 May 2015 08:41:55 -0400, Kevin Horton <[email protected]> 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

------------------------------------------------------------------------------
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
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJVSSyVAAoJEHIZ9WxpsAjhnT0QAKzWXQkWATFKcP2Q+b9/uy5+
7v+dxBdPsRWp+5R20w+gbXTH6EvZ/Oq2jgvKEk4pk+hDRmtC+xCHFDyDjGKhEV+R
TX/FWNNf3S4pa4kM+hHRHsDjmGNOccKjzS8yCrCMyYiu/46JFltue5twkLadxMxC
pvNlwtFDiPruPnPM2qKNbko7V2jrwGAYRpyL0GRSN8Bf+a1Wek+IZFyyldP9teqi
8IMr28by6lQdrmNS3hU3cmtxP5ziVrGOudMQbz4kwhh3Cc2/K53NAEoMmpS5CUi6
goH9nIGHV3TdQrlWFg+HHTYE9Z1deaKbUNZe3NGv8dD6ajMhv5QVrtK6FUjKh6rY
WXzhuLPGAAM0f024YREPc5fxtPXUN8Gv3q0A+s83j8VvQA6FkW8LzKnFSsg0IfNs
xTlmkd0HJbAlWu29WMBFWeGmh2Tf0eGnxzRDrs4061g+gtN3l32dAW57dAyhfkoi
BjO9iWzY7NTlsKHwrqvs2eIXlN5YD4OG3QRzirwusnnvlQUdIdQGc4zwkLQq7s3o
n5gyIRuNVvKE68czAnJBEvVoMYurHGfooIrh2izJRkgL8qXf6R/epi8d/us58Hw2
20F3axyIsLziEWEWY1jFPRfVe8oCsFBfTLqbWJ859QhpeapfKOI0AWgQ5rtbF+Xs
mHd/h5VaoDpr8gBRDXXU
=efyy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.