You can edit patches/Python-07-dtrace.diff to remove the -h switch. Lukas Oboril wrote: > Hi, > > i'm trying build JDS now. I did step by step by this recipe ... > http://opensolaris.org/os/project/jds/contributing/building/ and build > SUNWPython package failed. Here is relevant part from log ... > > pkgbuild: cc: Warning: illegal option -OPT:Olimit=0 > pkgbuild: /usr/bin/cc -c -OPT:Olimit=0 -DNDEBUG -O -I. -I./Include > -DPy_BUILD_CORE -o Python/ > bltinmodule.o Python/bltinmodule.c > pkgbuild: cc: Warning: illegal option -OPT:Olimit=0 > pkgbuild: /usr/bin/cc -c -OPT:Olimit=0 -DNDEBUG -O -I. -I./Include > -DPy_BUILD_CORE -o Python/ > exceptions.o Python/exceptions.c > pkgbuild: cc: Warning: illegal option -OPT:Olimit=0 > pkgbuild: dtrace -o Python/python.h -32 -C -h -s ./Python/python.d > pkgbuild: dtrace: illegal option -- h > pkgbuild: Usage: dtrace [-32|-64] [-aACeFGHlqSvVwZ] [-b bufsz] [-c > cmd] [-D name[=def]] > pkgbuild: [-I path] [-L path] [-o output] [-p pid] [-s script] [-U name] > pkgbuild: [-x opt[=val]] [-X a|c|s|t] > pkgbuild: > pkgbuild: [-P provider [[ predicate ] action ]] > pkgbuild: [-m [ provider: ] module [[ predicate ] action ]] > pkgbuild: [-f [[ provider: ] module: ] func [[ predicate ] action ]] > pkgbuild: [-n [[[ provider: ] module: ] func: ] name [[ > predicate ] action ]] > pkgbuild: [-i probe-id [[ predicate ] action ]] [ args ... ] > pkgbuild: > pkgbuild: predicate -> '/' D-expression '/' > pkgbuild: action -> '{' D-statements '}' > pkgbuild: > pkgbuild: -32 generate 32-bit D programs and ELF files > pkgbuild: -64 generate 64-bit D programs and ELF files > pkgbuild: > pkgbuild: -a claim anonymous tracing state > pkgbuild: -A generate driver.conf(4) directives for anonymous tracing > pkgbuild: -b set trace buffer size > pkgbuild: -c run specified command and exit upon its completion > pkgbuild: -C run cpp(1) preprocessor on script files > pkgbuild: -D define symbol when invoking preprocessor > pkgbuild: -e exit after compiling request but prior to enabling probes > pkgbuild: -f enable or list probes matching the specified function name > pkgbuild: -F coalesce trace output by function > pkgbuild: -G generate an ELF file containing embedded dtrace program > pkgbuild: -H print included files when invoking preprocessor > pkgbuild: -i enable or list probes matching the specified probe id > pkgbuild: -I add include directory to preprocessor search path > pkgbuild: -l list probes matching specified criteria > pkgbuild: -L add library directory to library search path > pkgbuild: -m enable or list probes matching the specified module name > pkgbuild: -n enable or list probes matching the specified probe name > pkgbuild: -o set output file > pkgbuild: -p grab specified process-ID and cache its symbol tables > pkgbuild: -P enable or list probes matching the specified provider name > pkgbuild: -q set quiet mode (only output explicitly traced data) > pkgbuild: -s enable or list probes according to the specified D script > pkgbuild: -S print D compiler intermediate code > pkgbuild: -U undefine symbol when invoking preprocessor > pkgbuild: -v set verbose mode (report stability attributes, arguments) > pkgbuild: -V report DTrace API version > pkgbuild: -w permit destructive actions > pkgbuild: -x enable or modify compiler and tracing options > pkgbuild: -X specify ISO C conformance settings for preprocessor > pkgbuild: -Z permit probe descriptions that match zero probes > pkgbuild: make: *** [Python/python.h] Error 2 > pkgbuild: Bad exit status from > /var/tmp/pkgbuild-luc/pkgbuild-tmp-2.16297 (%build) > --- command output ends --- finished at Tue Jul 3 13:15:24 CEST 2007 > > INFO: pkgbuild -ba finished at Tue Jul 3 13:15:24 CEST 2007 > > ERROR: SUNWPython FAILED > INFO: Check the build log in /tmp/SUNWPython.log for details > > Any idea what's wrong ??? > > >
-- Damien Carbery, GNOME Release Engineer Ext: x (70) 19218
