[Bug 441] New: make hotspot fails on --with-openjdk builds

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Feb 8 03:04:10 PST 2010


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=441

           Summary: make hotspot fails on --with-openjdk builds
           Product: IcedTea
           Version: 6-hg
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IcedTea6
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: gnu_andrew at member.fsf.org


The make hotspot target assumes a full bootstrap build has been configured and
fails if configure has actually been passed --with-openjdk:

andrew at rivendell /tmp/icedtea6 $ make hotspot
rm -f stamps/bootstrap-directory-symlink-ecj.stamp
rm -f stamps/icedtea-ecj.stamp
rm -f stamps/icedtea-against-ecj.stamp
/usr/bin/make hotspot-helper
make[1]: Entering directory `/tmp/icedtea6'
mkdir -p stamps ; \
        if test "xno" != "xno"; then \
          no -g -O2 -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
            --main=org.eclipse.jdt.internal.compiler.batch.Main  ; \
        fi ; \
        touch stamps/native-ecj.stamp
mkdir -p bootstrap/ecj/bin stamps/
ln -sf /usr/lib/jvm/icedtea6/bin/java bootstrap/ecj/bin/java
ln -sf /usr/lib/jvm/icedtea6/bin/javah bootstrap/ecj/bin/javah
ln -sf /usr/lib/jvm/icedtea6/bin/rmic bootstrap/ecj/bin/rmic
ln -sf /usr/lib/jvm/icedtea6/bin/jar bootstrap/ecj/bin/jar
ln -sf ../../../javac bootstrap/ecj/bin/javac
ln -sf ../../../javap bootstrap/ecj/bin/javap
mkdir -p bootstrap/ecj/lib/endorsed
ln -sf  bootstrap/ecj/lib/endorsed/xalan-j2.jar
ln -sf  \
          bootstrap/ecj/lib/endorsed/xalan-j2-serializer.jar
ln -sf  bootstrap/ecj/lib/endorsed/xerces-j2.jar
mkdir -p bootstrap/ecj/jre/lib; \
        ln -sf /jre/lib/amd64 \
          bootstrap/ecj/jre/lib/; \
        if ! test -d bootstrap/ecj/jre/lib/amd64; \
          then \
          ln -sf ./amd64 \
            bootstrap/ecj/jre/lib/amd64; \
        fi; \
        mkdir -p bootstrap/ecj/include; \
        for i in /include/*; do \
          test -r $i | continue; \
          i=`basename $i`; \
          rm -f bootstrap/ecj/include/$i; \
          ln -s /include/$i bootstrap/ecj/include/$i; \
        done; \
        if test -f /tmp/icedtea6/bootstrap/jdk1.7.0/jre/lib/tools.jar ; \
        then \
          mkdir -p /tmp/icedtea6/bootstrap/ecj/lib ; \
          ln -sf /tmp/icedtea6/bootstrap/jdk1.7.0/jre/lib/tools.jar \
            /tmp/icedtea6/bootstrap/ecj/lib/tools.jar ; \
        fi
if test -f \
          /tmp/icedtea6/bootstrap/jdk1.7.0/jre/lib/rt-closed.jar ; \
        then \
          cp /tmp/icedtea6/bootstrap/jdk1.7.0/jre/lib/rt-closed.jar \
            /tmp/icedtea6/bootstrap/ecj/jre/lib/rt.jar ; \
        fi
mkdir -p stamps
touch stamps/bootstrap-directory-ecj.stamp
rm -f bootstrap/jdk1.6.0
ln -sf ecj bootstrap/jdk1.6.0
mkdir -p stamps
touch stamps/bootstrap-directory-symlink-ecj.stamp
for copy_dir in \
          `cat
/home/andrew/projects/openjdk/icedtea6/tools-copy/tools-jdk-copy-files.txt` ; \
        do \
          mkdir -p hotspot-tools/$copy_dir ; \
          cp -pPRf openjdk/jdk/src/share/classes/$copy_dir/* \
            hotspot-tools/$copy_dir ; \
        done
cp: cannot stat `openjdk/jdk/src/share/classes/org/relaxng/datatype//*': No
such file or directory
cp: cannot stat
`openjdk/jdk/src/share/classes/org/relaxng/datatype/helpers//*': No such file
or directory
for copy_dir in \
          `cat
/home/andrew/projects/openjdk/icedtea6/tools-copy/tools-langtools-copy-files.txt`
; \
        do \
          mkdir -p hotspot-tools/$copy_dir ; \
          cp -pPRf openjdk/langtools/src/share/classes/$copy_dir/* \
            hotspot-tools/$copy_dir ; \
        done
for copy_dir in \
          `cat
/home/andrew/projects/openjdk/icedtea6/tools-copy/tools-corba-copy-files.txt` ;
\
        do \
          mkdir -p hotspot-tools/$copy_dir ; \
          cp -pPRf openjdk/corba/src/share/classes/$copy_dir/* \
            hotspot-tools/$copy_dir ; \
        done
for copy_dir in \
          `cat
/home/andrew/projects/openjdk/icedtea6/tools-copy/tools-jaxws-copy-files.txt` ;
\
        do \
          mkdir -p hotspot-tools/$copy_dir ; \
          cp -pPRf openjdk/jaxws/src/share/classes/$copy_dir/* \
            hotspot-tools/$copy_dir ; \
        done
mkdir -p stamps
touch stamps/hotspot-tools-copy-source-files.stamp
find hotspot-tools -name '*.java' | sort > hotspot-tools-source-files.txt
mkdir -p lib/hotspot-tools
/tmp/icedtea6/bootstrap/jdk1.6.0/bin/javac -J-Xmx1024m -g \
          -d lib/hotspot-tools \
          -source 1.5 \
          -sourcepath \
           
'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:/tmp/icedtea6/generated:/tmp/icedtea6/rt:/home/andrew/projects/openjdk/icedtea6/rt:/home/andrew/projects/openjdk/icedtea6/plugin/icedteanp/java'
\
          -classpath \'\' -bootclasspath \'\' @hotspot-tools-source-files.txt ;
/bin/sh: /tmp/icedtea6/bootstrap/jdk1.6.0/bin/javac: No such file or directory
make[1]: *** [stamps/hotspot-tools-class-files.stamp] Error 127
make[1]: Leaving directory `/tmp/icedtea6'
make: *** [hotspot] Error 2


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list