[MacPorts] #30413: Issue in make script

MacPorts noreply at macports.org
Wed Jul 27 15:34:52 PDT 2011


#30413: Issue in make script
--------------------------------+-------------------------------------------
 Reporter:  jmeyer@…            |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.0                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------

Old description:

> It appears that dtrace doesn't support -G.  I am running Lion 10.7.
> xCode 4.1.
>

> :info:build dtrace -G -s glib_probes.d -o glib_probes.o
> :info:build Usage: dtrace [-aACeFHlqSvVwZ] [-arch i386|x86_64] [-b bufsz]
> [-c cmd] [-D name[=def]]
> :info:build     [-I path] [-L path] [-o output] [-p pid] [-s script] [-U
> name]
> :info:build     [-x opt[=val]]
> :info:build
> :info:build     [-P provider [[ predicate ] action ]]
> :info:build     [-m [ provider: ] module [[ predicate ] action ]]
> :info:build     [-f [[ provider: ] module: ] func [[ predicate ] action
> ]]
> :info:build     [-n [[[ provider: ] module: ] func: ] name [[ predicate ]
> action ]]
> :info:build     [-i probe-id [[ predicate ] action ]] [ args ... ]
> :info:build
> :info:build     predicate -> '/' D-expression '/'
> :info:build        action -> '{' D-statements '}'
> :info:build
> :info:build     -arch Generate programs and Mach-O files for the
> specified architecture
> :info:build
> :info:build     -a  claim anonymous tracing state
> :info:build     -A  generate plist(5) entries for anonymous tracing
> :info:build     -b  set trace buffer size
> :info:build     -c  run specified command and exit upon its completion
> :info:build     -C  run cpp(1) preprocessor on script files
> :info:build     -D  define symbol when invoking preprocessor
> :info:build     -e  exit after compiling request but prior to enabling
> probes
> :info:build     -f  enable or list probes matching the specified function
> name
> :info:build     -F  coalesce trace output by function
> :info:build     -h  generate a header file with definitions for static
> probes
> :info:build     -H  print included files when invoking preprocessor
> :info:build     -i  enable or list probes matching the specified probe id
> :info:build     -I  add include directory to preprocessor search path
> :info:build     -l  list probes matching specified criteria
> :info:build     -L  add library directory to library search path
> :info:build     -m  enable or list probes matching the specified module
> name
> :info:build     -n  enable or list probes matching the specified probe
> name
> :info:build     -o  set output file
> :info:build     -p  grab specified process-ID and cache its symbol tables
> :info:build     -P  enable or list probes matching the specified provider
> name
> :info:build     -q  set quiet mode (only output explicitly traced data)
> :info:build     -s  enable or list probes according to the specified D
> script
> :info:build     -S  print D compiler intermediate code
> :info:build     -U  undefine symbol when invoking preprocessor
> :info:build     -v  set verbose mode (report stability attributes,
> arguments)
> :info:build     -V  report DTrace API version
> :info:build     -w  permit destructive actions
> :info:build     -x  enable or modify compiler and tracing options
> :info:build     -Z  permit probe descriptions that match zero probes
> :info:build make[2]: *** [glib_probes.o] Error 2

New description:

 It appears that dtrace doesn't support -G.  I am running Lion 10.7.  xCode
 4.1.

 {{{
 :info:build dtrace -G -s glib_probes.d -o glib_probes.o
 :info:build Usage: dtrace [-aACeFHlqSvVwZ] [-arch i386|x86_64] [-b bufsz]
 [-c cmd] [-D name[=def]]
 :info:build     [-I path] [-L path] [-o output] [-p pid] [-s script] [-U
 name]
 :info:build     [-x opt[=val]]
 :info:build
 :info:build     [-P provider [[ predicate ] action ]]
 :info:build     [-m [ provider: ] module [[ predicate ] action ]]
 :info:build     [-f [[ provider: ] module: ] func [[ predicate ] action ]]
 :info:build     [-n [[[ provider: ] module: ] func: ] name [[ predicate ]
 action ]]
 :info:build     [-i probe-id [[ predicate ] action ]] [ args ... ]
 :info:build
 :info:build     predicate -> '/' D-expression '/'
 :info:build        action -> '{' D-statements '}'
 :info:build
 :info:build     -arch Generate programs and Mach-O files for the specified
 architecture
 :info:build
 :info:build     -a  claim anonymous tracing state
 :info:build     -A  generate plist(5) entries for anonymous tracing
 :info:build     -b  set trace buffer size
 :info:build     -c  run specified command and exit upon its completion
 :info:build     -C  run cpp(1) preprocessor on script files
 :info:build     -D  define symbol when invoking preprocessor
 :info:build     -e  exit after compiling request but prior to enabling
 probes
 :info:build     -f  enable or list probes matching the specified function
 name
 :info:build     -F  coalesce trace output by function
 :info:build     -h  generate a header file with definitions for static
 probes
 :info:build     -H  print included files when invoking preprocessor
 :info:build     -i  enable or list probes matching the specified probe id
 :info:build     -I  add include directory to preprocessor search path
 :info:build     -l  list probes matching specified criteria
 :info:build     -L  add library directory to library search path
 :info:build     -m  enable or list probes matching the specified module
 name
 :info:build     -n  enable or list probes matching the specified probe
 name
 :info:build     -o  set output file
 :info:build     -p  grab specified process-ID and cache its symbol tables
 :info:build     -P  enable or list probes matching the specified provider
 name
 :info:build     -q  set quiet mode (only output explicitly traced data)
 :info:build     -s  enable or list probes according to the specified D
 script
 :info:build     -S  print D compiler intermediate code
 :info:build     -U  undefine symbol when invoking preprocessor
 :info:build     -v  set verbose mode (report stability attributes,
 arguments)
 :info:build     -V  report DTrace API version
 :info:build     -w  permit destructive actions
 :info:build     -x  enable or modify compiler and tracing options
 :info:build     -Z  permit probe descriptions that match zero probes
 :info:build make[2]: *** [glib_probes.o] Error 2
 }}}

--

Comment(by ryandesign@…):

 Please use WikiFormatting.

 What port are you trying to install that is generating this error?

-- 
Ticket URL: <https://trac.macports.org/ticket/30413#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list