[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-devel
Subject:    Re: [Fink-devel] dbi-pm fails to compile
From:       Daniel Johnson <daniel.johnson31 () gmail ! com>
Date:       2015-05-06 1:26:27
Message-ID: 235AD7F8-1469-4AA5-89D5-A0A16625D0F8 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


> On May 5, 2015, at 6:27 PM, Kevin Horton <khorton01@rogers.com> wrote:
> 
> On May 5, 2015 at 4:48:25 PM, Daniel Johnson (daniel.johnson31@gmail.com) wrote:
> > 
> > > On May 5, 2015, at 5:03 AM, Kevin Horton <khorton01@rogers.com> wrote:
> > > 
> > > On May 5, 2015 at 1:07:15 AM, Daniel Macks (dmacks@netspace.org) wrote:
> > > > On Mon, 04 May 2015 10:22:26 -0400, Daniel Macks <dmacks@netspace.org> wrote:
> > > > On Mon, 4 May 2015 08:41:55 -0400, Kevin Horton <khorton01@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). 
> > 
> 
> 
> Thanks for the quick diagnosis and fix.
> 
> extutils-makemaker-pm5182-7.05-0.20 builds with Fink's sed, but it fails to build \
> with the system sed: 
> sudo -u fink-bld [ENV] sh -c /tmp/fink.VxqQv
> [ -r /sw/fink/dists/stable/main/finkinfo/libs/perlmods/extutils-makemaker-pm.patch \
> ] sudo -u fink-bld [ENV] sh -c /tmp/fink.BEoWo
> /tmp/fink.s0Uhb
> #!/bin/bash -ev
> sed 's|@PREFIX@|/sw|g' < \
> /sw/fink/dists/stable/main/finkinfo/libs/perlmods/extutils-makemaker-pm.patch | \
> patch -p1 patching file lib/ExtUtils/MakeMaker.pm
> Hunk #1 succeeded at 228 (offset 19 lines).
> Hunk #2 succeeded at 399 (offset 36 lines).
> 
> sed -i "s/'\.\$perlflags\.'//" lib/ExtUtils/MM_Unix.pm
> sed: 1: "lib/ExtUtils/MM_Unix.pm": extra characters at the end of l command
> ### execution of /tmp/fink.s0Uhb failed, exit code 1
> ### execution of /tmp/fink.BEoWo failed, exit code 1
> 
> ===================
> I'm on OS X 10.10.4 (beta).  I intend to get off the beta train as soon as the real \
> 10.10.4 is out, but I'm stuck on it for the moment.  I don't know if that is the \
> explanation or not. 
> —
> Kevin Horton
> 

Nuts. I forgot to check if I had fink's sed installed. This is why one should always \
use /usr/bin/sed directly. Now fixed.

Daniel


["signature.asc" (signature.asc)]

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJVSW3DAAoJEHIZ9WxpsAjhnNgQAIllmhLa1c+d5xVY/u+YjDks
cW9zAO7+OWWnv1m8cHe/TRSPyv7J3aRaP0IZssw0nSbDDEM8jyCp2zDn/eDFFzWx
3q8THjt1LfPWWK8esqhSgmi2mqfJYJusLL0lXi4DlUsQzHMFTOV4e8UFssgFjciB
7p/YjNYdVcRQxo2DgUNPt8NiAT360Rw6fVJBxKHdOiQ5OwBzVOZ/AWLLlv03yboM
DsBaAb7KG7bp09G9fVxBk3a53dw+fo87+Wd6D15aqcOaDtg0oXhMwp9vrMvZd4+6
REKTHwy9BZY5Wc7ymOnwbvpIM9e9uGfUJMfa6DJHef0ab1EcIcH9XSvcxnEYPT2j
llKZAgy+VamuKqrwI5MM/M0fy3ArVo5DL1hKIHKgO8uO21uzDa29J39RmOKfZz9Y
OrvDYFwW++BXYbpD9HzCs9U/8SMuyAaEui3INuqOM6sXNvYFVm8FIRWU7JUyVno9
VvLF6dch6vYkhybvYbhY/3z65YfLzV4NRbnkYV6henajKk+E7ieKvxjjKXywm2uH
G/TLodoO6hV3Q1kZdTIo81dtPs5rF9XrRp18Pum9wvt9kplPv+XIAuxt6h3HJAnV
7AGjdH6F0807Qa52Hfy3bT+ZQADmNd36HIXKcpwYyfNL6+kbdLJ/mWA3lH9KuKTZ
Ovw4iOQJnQO65lGuaTTF
=Ki70
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic