From ugokanain at newsguy.com Sun Sep 12 00:20:03 2010 From: ugokanain at newsguy.com (Ugo Kanain) Date: Sun, 12 Sep 2010 02:20:03 -0500 Subject: jaxp failure Message-ID: After my last try with openjdk, I wasn't about to compile it again. However, I was getting errors when running something, so I swallowed hard and built my courage. Anyhow, if anyone know why I am getting a jaxp error I would appreciate any help. I am using the following build command (it probably is too much, but worked last time): sudo make \ CC=gcc-4.0 \ CXX=g++-4.0 \ SYS_CFLAGS="" LANG="C" JAVA_HOME="" CLASSPATH="" \ LD_LIBRARY_PATH="" MAKEFLAGS="" SKIP_COMPARE_IMAGES="YES" \ ALT_BOOTDIR=/opt/local/share/java/openjdk7-macppc-2009-12-16-b4 \ ALT_BINARY_PLUGS_PATH=/opt/local/share/java/icedtea6-plugs \ ALT_MOTIF_DIR=/opt/local \ LC_RPATH=~/bsd-port/build/bsd-ppc/j2sdk-image/jre/lib/ppc \ DARWIN_SDK=/Developer/SDKs/MacOSX10.5u.sdk \ ALT_DEVTOOLS_PATH=/usr \ ANT_HOME=/usr/share/ant \ ALT_FREETYPE_HEADERS_PATH=/usr/X11/include \ ALT_FREETYPE_LIB_PATH=/usr/X11/lib \ ALT_JIBX_LIBS_PATH=/opt/local/share/java/jibx/lib \ ALT_CUPS_HEADERS_PATH=/usr/include \ ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/ security/cacerts \ LIBFFI_CFLAGS="-I/usr/include/ffi" \ NO_DOCS=true \ ANT_HOME=/usr/share/ant \ HOTSPOT_BUILD_JOBS=1 PARALLEL_BUILD_JOBS=1 \ BUILD_DEPLOY="false" \ ZERO_BUILD=true \ ZERO_ENDIANNESS=big \ ZERO_LIBARCH=ppc \ ZERO_ARCHDEF=PPC \ ZERO_ARCHFLAG=-m32 This is the output from the make ######################################################################## ######################################################################## ##### Entering jaxp for target all ##### ######################################################################## (cd ./jaxp/make && \ make JDK_TOPDIR=~/bsd-port/jdk JDK_MAKE_SHARED_DIR=~/bsd-port/jdk/ make/common/shared EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7 MILESTONE=internal BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00 FULL_VERSION=1.7.0-internal- root_2010_09_11_05_17-b00 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=32 COOKED_BUILD_NUMBER=0 ANT_HOME="/usr/share/ant" ALT_OUTPUTDIR=~/bsd-port/build/bsd-ppc/jaxp ALT_BOOTDIR=/opt/local/share/java/openjdk7-macppc-2009-12-16-b4 ALT_JDK_IMPORT_PATH=/NOT-SET/re/jdk/1.7.0/promoted/latest/binaries/bsd- ppc ALT_LANGTOOLS_DIST=~/bsd-port/build/bsd-ppc/langtools/dist all) cd .. && JAVA_HOME=/opt/local/share/java/openjdk7-macppc-2009-12-16- b4 /usr/share/ant/bin/ant -Djavac.target=7 -Djavac.source=7 - Ddrops.dir=/java/devtools/share/jdk7-drops -Doutput.dir=~/bsd-port/ build/bsd-ppc/jaxp -Djdk.home=/opt/local/share/java/openjdk7- macppc-2009-12-16-b4 -Dbootstrap.dir=~/bsd-port/build/bsd-ppc/ langtools/dist/bootstrap -version Apache Ant version 1.7.1 compiled on April 8 2010 cd .. && JAVA_HOME=/opt/local/share/java/openjdk7-macppc-2009-12-16- b4 /usr/share/ant/bin/ant -Djavac.target=7 -Djavac.source=7 - Ddrops.dir=/java/devtools/share/jdk7-drops -Doutput.dir=~/bsd-port/ build/bsd-ppc/jaxp -Djdk.home=/opt/local/share/java/openjdk7- macppc-2009-12-16-b4 -Dbootstrap.dir=~/bsd-port/build/bsd-ppc/ langtools/dist/bootstrap all Buildfile: build.xml [mkdir] Created dir: ~/bsd-port/build/bsd-ppc/jaxp/build/ xml_generated [copy] Copying 1 file to ~/bsd-port/build/bsd-ppc/jaxp/build/ xml_generated -banner: [echo] +---------------------------------------+ [echo] + Starting ant project jaxp + [echo] +---------------------------------------+ -javac-jar-exists: sanity: [echo] Sanity Settings: [echo] ant.home=/usr/share/ant [echo] ant.version=Apache Ant version 1.7.1 compiled on April 8 2010 [echo] ant.java.version=1.6 [echo] java.home=/opt/local/share/java/openjdk7-macppc-2009-12-16- b4/jre [echo] java.version=1.7.0-internal [echo] os.name=Darwin [echo] os.arch=ppc [echo] os.version=9.8.0 [echo] bootstrap.dir=~/bsd-port/build/bsd-ppc/langtools/dist/ bootstrap [echo] javac.jar=~/bsd-port/build/bsd-ppc/langtools/dist/ bootstrap/lib/javac.jar [echo] javac.memoryInitialSize=256m [echo] javac.memoryMaximumSize=512m [echo] javac.source=7 [echo] javac.debug=true [echo] javac.target=7 [echo] javac.version.opt= [echo] javac.lint.opts= [echo] javac.no.jdk.warnings=-XDignore.symbol.file=true [echo] output.dir=~/bsd-port/build/bsd-ppc/jaxp [echo] build.dir=~/bsd-port/build/bsd-ppc/jaxp/build [echo] dist.dir=~/bsd-port/build/bsd-ppc/jaxp/dist [echo] drop.dir=${drop.dir} [echo] drops.dir=/java/devtools/share/jdk7-drops init: [mkdir] Created dir: ~/bsd-port/build/bsd-ppc/jaxp/build/classes [mkdir] Created dir: ~/bsd-port/build/bsd-ppc/jaxp/dist [mkdir] Created dir: ~/bsd-port/build/bsd-ppc/jaxp/dist/lib -jaxp_src-ready: -jaxp_src-copy-bundle: -jaxp_src-url-should-be-used: -jaxp_src-url-bundle: jaxp_src-update: -set-props: -use-drop: -src-help: BUILD FAILED ~/bsd-port/jaxp/build-defs.xml:70: ERROR: Cannot find source for project jaxp. HINT: Try setting drops.dir to indicate where the bundles can be found, or try setting the ant property allow.downloads=true to download the bundle from the URL. e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory Total time: 9 seconds make[2]: *** [all] Error 1 make[1]: *** [jaxp-build] Error 2 make: *** [build_product_image] Error 2 From peter.schuller at infidyne.com Sun Sep 12 02:23:27 2010 From: peter.schuller at infidyne.com (Peter Schuller) Date: Sun, 12 Sep 2010 11:23:27 +0200 Subject: jaxp failure In-Reply-To: References: Message-ID: > HINT: Try setting drops.dir to indicate where the bundles can be > found, or try setting the ant property allow.downloads=true to > download the bundle from the URL. > e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory Pass "ALLOW_DOWNLOADS=true" to gmake. -- / Peter Schuller From johnyeary at gmail.com Sun Sep 12 10:19:47 2010 From: johnyeary at gmail.com (John Yeary) Date: Sun, 12 Sep 2010 13:19:47 -0400 Subject: jaxp failure In-Reply-To: References: Message-ID: Oops I did not send this to the list. On Sun, Sep 12, 2010 at 1:18 PM, John Yeary wrote: > Check out the instructions with build examples here > > http://wikis.sun.com/display/OpenJDK/Darwin9Build - 10.5 > http://wikis.sun.com/display/OpenJDK/Darwin10Build - 10.6 > > John > > > On Sun, Sep 12, 2010 at 5:23 AM, Peter Schuller < > peter.schuller at infidyne.com> wrote: > >> > HINT: Try setting drops.dir to indicate where the bundles can be >> > found, or try setting the ant property allow.downloads=true to >> > download the bundle from the URL. >> > e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory >> >> Pass "ALLOW_DOWNLOADS=true" to gmake. >> >> -- >> / Peter Schuller >> >> > > > -- > John Yeary > -- > http://javaevangelist.blogspot.com > > "Far better it is to dare mighty things, to win glorious triumphs, even > though checkered by failure, than to take rank with those poor spirits who > neither enjoy much nor suffer much, because they live in the gray twilight > that knows not victory nor defeat." > -- Theodore Roosevelt > -- John Yeary -- http://javaevangelist.blogspot.com "Far better it is to dare mighty things, to win glorious triumphs, even though checkered by failure, than to take rank with those poor spirits who neither enjoy much nor suffer much, because they live in the gray twilight that knows not victory nor defeat." -- Theodore Roosevelt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100912/27cbba7e/attachment.html From ugokanain at newsguy.com Mon Sep 13 20:25:51 2010 From: ugokanain at newsguy.com (Ugo Kanain) Date: Mon, 13 Sep 2010 22:25:51 -0500 Subject: bsd-port-dev Digest, Vol 25, Issue 1 In-Reply-To: References: Message-ID: <695A9658-2CC1-4AE6-A4F5-BB7C690B3CF8@newsguy.com> What a difference a little line makes :) Thanks. This time everything worked great, seems the port has come a long way from those versions that had daily changes so that it would compile. Kudos to all the guys that have made this happen. THANKS. On 12 Sep 2010, at 14:00 , bsd-port-dev-request at openjdk.java.net wrote: > On Sun, Sep 12, 2010 at 1:18 PM, John Yeary > wrote: > >> Check out the instructions with build examples here >> >> http://wikis.sun.com/display/OpenJDK/Darwin9Build - 10.5 >> http://wikis.sun.com/display/OpenJDK/Darwin10Build - 10.6 >> >> John >> >> >> On Sun, Sep 12, 2010 at 5:23 AM, Peter Schuller < >> peter.schuller at infidyne.com> wrote: >> >>>> HINT: Try setting drops.dir to indicate where the bundles can be >>>> found, or try setting the ant property allow.downloads=true to >>>> download the bundle from the URL. >>>> e.g. ant -Dallow.downloads=true -OR- ant -Ddrops.dir=some_directory >>> >>> Pass "ALLOW_DOWNLOADS=true" to gmake. >>> >>> -- >>> / Peter Schuller >>> >>> >> >> >> -- >> John Yeary >> -- >> http://javaevangelist.blogspot.com >> >> "Far better it is to dare mighty things, to win glorious triumphs, >> even >> though checkered by failure, than to take rank with those poor >> spirits who >> neither enjoy much nor suffer much, because they live in the gray >> twilight >> that knows not victory nor defeat." >> -- Theodore Roosevelt