pkgsrc-Bugs archive

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

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



>Number:         48516
>Category:       pkg
>Synopsis:       lang/perl5 build under OS X 10.9.1 (Mavericks) fails when 
>dtrace option is enabled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 13 03:10:01 +0000 2014
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.28
>Organization:
        
>Environment:
        
        
System: Darwin technetium.elements.tetera.org 13.0.0 Darwin Kernel Version 
13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
>Description:
I have setup 64bit ABI pkgsrc with the following command with Xcode 5.0.2.

# ./bootstrap --workdir /tmp/bs --varbase /usr/pkg/var --compiler clang --abi 64

And I want to build lang/perl5, but its build fails with following error.
OS X 10.9.1 Mavericks' dtrace command does not accept -G option.

(snip)
==========================================================================
The supported build options for perl are:

        64bitall 64bitauto 64bitint 64bitmore 64bitnone
        debug dtrace mstats threads

The currently selected options are:

        64bitauto dtrace threads

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.perl (not defined)

==========================================================================
(snip)
/usr/sbin/dtrace -G -s perldtrace.d -o miniperldtrace.o perlmini.o opmini.o 
miniperlmain.o   gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o 
reentr.o mro.o keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o 
pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o 
perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  perlmini.o
Usage: dtrace [-aACeFHlqSvVwZ] [-arch i386|x86_64] [-b bufsz] [-c cmd] [-D 
name[=def]]
        [-I path] [-L path] [-o output] [-p pid] [-s script] [-U name]
        [-x opt[=val]]

        [-P provider [[ predicate ] action ]]
        [-m [ provider: ] module [[ predicate ] action ]]
        [-f [[ provider: ] module: ] func [[ predicate ] action ]]
        [-n [[[ provider: ] module: ] func: ] name [[ predicate ] action ]]
        [-i probe-id [[ predicate ] action ]] [ args ... ]

        predicate -> '/' D-expression '/'
           action -> '{' D-statements '}'

        -arch Generate programs and Mach-O files for the specified architecture

        -a  claim anonymous tracing state
        -A  generate plist(5) entries for anonymous tracing
        -b  set trace buffer size
        -c  run specified command and exit upon its completion
        -C  run cpp(1) preprocessor on script files
        -D  define symbol when invoking preprocessor
        -e  exit after compiling request but prior to enabling probes
        -f  enable or list probes matching the specified function name
        -F  coalesce trace output by function
        -h  generate a header file with definitions for static probes
        -H  print included files when invoking preprocessor
        -i  enable or list probes matching the specified probe id
        -I  add include directory to preprocessor search path
        -l  list probes matching specified criteria
        -L  add library directory to library search path
        -m  enable or list probes matching the specified module name
        -n  enable or list probes matching the specified probe name
        -o  set output file
        -p  grab specified process-ID and cache its symbol tables
        -P  enable or list probes matching the specified provider name
        -q  set quiet mode (only output explicitly traced data)
        -s  enable or list probes according to the specified D script
        -S  print D compiler intermediate code
        -U  undefine symbol when invoking preprocessor
        -v  set verbose mode (report stability attributes, arguments)
        -V  report DTrace API version
        -w  permit destructive actions
        -x  enable or modify compiler and tracing options
        -Z  permit probe descriptions that match zero probes
gnumake: *** [miniperldtrace.o] Error 2
gnumake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake: stopped in /mnt/pkgsrc/lang/perl5
*** Error code 1

Stop.
bmake: stopped in /mnt/pkgsrc/lang/perl5

        
>How-To-Repeat:
Under OS X 10.9.1 Mavericks,
$ cd pkgsrc/lang/perl5
$ /usr/pkg/bin/bmake
        
>Fix:
        
I have no idea.
How about other version of OS X?

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index