pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48516 (lang/perl5 build under OS X 10.9.1 (Mavericks) fails when dtrace option is enabled)



The following reply was made to PR pkg/48516; it has been noted by GNATS.

From: Sevan Janiyan <sevan%NetBSD.org@localhost>
To: "gnats-bugs%netbsd.org@localhost" <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/48516 (lang/perl5 build under OS X 10.9.1 (Mavericks) fails
 when dtrace option is enabled)
Date: Sat, 18 Jul 2015 20:02:21 +0100

 Just an update on progress, there are two issues with lang/perl5 in
 pkgsrc that prevent perl being built with DTrace support.
 
 As mentioned previously, DTrace on OS X does not have -G because it use
 MACH-O binary format rather than ELF.
 
 Modifying the calls to dtrace to use -arch i386 in Makefile.SH instead
 of -G resolves the issue reported.
 
 The build then fails at a different place with
 perldtrace.d: line 21: extraneous argument 'perlmini.o' ($40 is not
 referenced)
 
 This is due to the changes made by lang/perl5/patches/patch-Makefile.SH
 
 By not applying this patch, lang/perl5 builds successfully on 10.95 with
 dtrace support enabled.
 
 I've filed a bug upstream to highlight the issue with -G / -arch flags
 [perl #125639]
 https://rt.perl.org/Ticket/Display.html?id=125639
 
 Not found a solution for the fallout from the changes introduced by
 lang/perl5/patches/patch-Makefile.SH, yet!
 
 
 Sevan
 


Home | Main Index | Thread Index | Old Index