[MacPorts] #30413: Issue in make script
#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: --------------------------------+------------------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/30413> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: --------------------------------+------------------------------------------- Comment(by jmeyer@…): Here is the dtrace version. dtrace: Sun D 1.6.2 -- Ticket URL: <https://trac.macports.org/ticket/30413#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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: --------------------------------+------------------------------------------- Comment(by jmeyer@…): Replying to [comment:2 ryandesign@…]:
Please use WikiFormatting.
What port are you trying to install that is generating this error?
The glib2 install is where it is failing. I was trying to install metasploit3 port. Thanks -- Ticket URL: <https://trac.macports.org/ticket/30413#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30413: glib2: Issue in make script --------------------------------+------------------------------------------- Reporter: jmeyer@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: glib2 --------------------------------+------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => ryandesign@… * port: => glib2 -- Ticket URL: <https://trac.macports.org/ticket/30413#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30413: glib2: Issue in make script --------------------------------+------------------------------------------- Reporter: jmeyer@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: glib2 --------------------------------+------------------------------------------- Comment(by ryandesign@…): The log is incomplete. Please clean glib2 and try again and attach the complete main.log. dtrace support was added to glib2 in the 2.25.x development series but was disabled on Mac OS X because it did not work there; I wonder why it's being enabled on your system. Hopefully the complete log will tell us. -- Ticket URL: <https://trac.macports.org/ticket/30413#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30413: glib2 build tries to use dtrace and fails --------------------------------+------------------------------------------- Reporter: jmeyer@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: lion | Port: glib2 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * keywords: => lion Comment: Hmm, it looks like glib2's check for whether to use dtrace on Mac OS X is based only on whether Carbon is available. Carbon is disappearing more and more in each version of Mac OS X so that doesn't seem like the best way to test for this. Still, I wonder why the problem only affects you and not all the other MacPorts users who have upgraded to Lion and are not seeing this problem. -- Ticket URL: <https://trac.macports.org/ticket/30413#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30413: glib2 build tries to use dtrace and fails --------------------------------+------------------------------------------- Reporter: jmeyer@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: lion | Port: glib2 --------------------------------+------------------------------------------- Comment(by ryandesign@…): In r81247 I've modified glib2 (and glib2-devel) to ensure we don't try to enable dtrace. Wait 30 minutes then "sudo port selfupdate" and see if that helps. -- Ticket URL: <https://trac.macports.org/ticket/30413#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30413: glib2 build tries to use dtrace and fails --------------------------------+------------------------------------------- Reporter: jmeyer@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: lion | Port: glib2 --------------------------------+------------------------------------------- Comment(by jmeyer@…): Replying to [comment:7 ryandesign@…]:
In r81247 I've modified glib2 (and glib2-devel) to ensure we don't try to enable dtrace. Wait 30 minutes then "sudo port selfupdate" and see if that helps.
Thanks - that worked and I am up and running. As to why it only affected me, maybe because I had upgraded my xCode tools to the latest version from the AppStore. My guess would be that after the upgrade the old version is not completely uninstalled? Thanks for your work on this. -- Ticket URL: <https://trac.macports.org/ticket/30413#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30413: glib2 build tries to use dtrace and fails ---------------------------------+------------------------------------------ Reporter: jmeyer@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: lion Port: glib2 | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/30413#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts