← Back to team overview

openjdk team mailing list archive

Bug#543019: openjdk-6: FTBFS: The type package-info is already defined

 

Package: openjdk-6
Version: 6b16-4
Severity: serious
User: debian-qa@xxxxxxxxxxxxxxxx
Usertags: qa-ftbfs-20090822 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build'
> 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 /usr/share/java/eclipse-ecj.jar ; \
> 	fi ; \
> 	touch stamps/native-ecj.stamp
> mkdir -p bootstrap/ecj/bin stamps/
> ln -sf /usr/lib/jvm/java-gcj/bin/java bootstrap/ecj/bin/java
> ln -sf /usr/bin/gjavah-4.3 bootstrap/ecj/bin/javah
> ln -sf /usr/bin/grmic-4.3 bootstrap/ecj/bin/rmic
> ln -sf /usr/bin/fastjar 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 /usr/share/java/xalan2.jar bootstrap/ecj/lib/endorsed/xalan-j2.jar
> ln -sf /usr/share/java/serializer.jar \
> 	  bootstrap/ecj/lib/endorsed/xalan-j2-serializer.jar
> ln -sf /usr/share/java/xercesImpl.jar bootstrap/ecj/lib/endorsed/xerces-j2.jar
> mkdir -p bootstrap/ecj/jre/lib; \
> 	ln -sf /usr/lib/jvm/java-gcj/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 /usr/lib/jvm/java-gcj/include/*; do \
> 	  test -r $i | continue; \
> 	  i=`basename $i`; \
> 	  rm -f bootstrap/ecj/include/$i; \
> 	  ln -s /usr/lib/jvm/java-gcj/include/$i bootstrap/ecj/include/$i; \
> 	done; \
> 	if test -f /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/bootstrap/jdk1.7.0/jre/lib/tools.jar ; \
> 	then \
> 	  mkdir -p /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/bootstrap/ecj/lib ; \
> 	  ln -sf /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/bootstrap/jdk1.7.0/jre/lib/tools.jar \
> 	    /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/bootstrap/ecj/lib/tools.jar ; \
> 	fi
> if test -f \
> 	  /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/bootstrap/jdk1.7.0/jre/lib/rt-closed.jar ; \
> 	then \
> 	  cp /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/bootstrap/jdk1.7.0/jre/lib/rt-closed.jar \
> 	    /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/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 /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/../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 /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/../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 /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/../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 /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/../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
> if ! test -d /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/bootstrap/jdk1.6.0 ; \
> 	then \
> 	  /usr/bin/ecj -nowarn  -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:/build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/generated:/build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/../rt' \
>             -bootclasspath \'\' @hotspot-tools-source-files.txt ; \
> 	else \
> 	  /build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/bootstrap/jdk1.6.0/bin/javac  -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:/build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/generated:/build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build/../rt' \
> 	    -bootclasspath \'\' @hotspot-tools-source-files.txt ; \
> 	fi
> incorrect classpath: ''
> ----------
> 1. ERROR in hotspot-tools/com/sun/codemodel/internal/package-info.java (at line 1)
> 	/*
> 	^
> The type package-info is already defined
> ----------
> ----------
> 2. ERROR in hotspot-tools/com/sun/source/tree/package-info.java (at line 1)
> 	/*
> 	^
> The type package-info is already defined
> ----------
> ----------
> 3. ERROR in hotspot-tools/com/sun/source/util/package-info.java (at line 1)
> 	/*
> 	^
> The type package-info is already defined
> ----------
> ----------
> 4. ERROR in hotspot-tools/com/sun/tools/internal/xjc/model/package-info.java (at line 1)
> 	/*
> 	^
> The type package-info is already defined
> ----------
> ----------
> 5. ERROR in hotspot-tools/com/sun/tools/internal/xjc/package-info.java (at line 1)
> 	/*
> 	^
> The type package-info is already defined
> ----------
> ----------
> 6. ERROR in hotspot-tools/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/package-info.java (at line 1)
> 	/*
> 	^
> The type package-info is already defined
> ----------
> 6 problems (6 errors)make[1]: *** [stamps/hotspot-tools-class-files.stamp] Error 255
> make[1]: Leaving directory `/build/user-openjdk-6_6b16-4-amd64-f7oXli/openjdk-6-6b16/build'
> make: *** [stamps/build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/08/22/openjdk-6_6b16-4_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@xxxxxxxxxxxxxxxxxx   http://www.lucas-nussbaum.net/ |
| jabber: lucas@xxxxxxxxxxx             GPG: 1024D/023B3F4F |