| View previous topic :: View next topic |
| Author |
Message |
skelter n00b

Joined: 26 Jun 2004 Posts: 22
|
Posted: Wed Aug 08, 2007 4:49 pm Post subject: wrong JDK emerging java docs for groovy->xtream [RESOLVED |
|
|
Question to the hive before I report what might not be a bug.
I'm running into problems emerging groovy. It appears that emerge is using the wrong JDK when emerging xtream.
I'm not sure where this is set or why it is set to 1.4. Is this set in the xtream ebuild?
Is anyone else running into this?
| Code: | java-config -L
The following VMs are available for generation-2:
1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
*) Sun JDK 1.5.0.12 [sun-jdk-1.5]
3) Sun JRE 1.6.0.02 [sun-jre-bin-1.6]
|
| Code: |
>>> Source unpacked.
>>> Compiling source in /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2 ...
* Using all available ANT_TASKS
Buildfile: build.xml
compile:init:
[mkdir] Created dir: /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/build/java
[echo] Java version used for compile: 1.4.2-03
compile:java3:
[javac] Compiling 191 source files to /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/build/java
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
compile:java5:
compile:
jar:
[jar] Building jar: /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/xstream-1.2.jar
jdk-check:
[echo] ***************** WARNING ***********************************
[echo] * You are compiling XStream with JDK 1.4.2-03.
[echo] * Some classes that provide improved support for JDK 1.5 have
[echo] * been excluded. This is fine for you as you aren't using
[echo] * JDK 1.5, but the resulting Jar is not suitable for others.
[echo] * PLEASE DON'T REDISTRIBUTE THIS BUILD!
[echo] *************************************************************
javadoc:
[mkdir] Created dir: /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/javadoc
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package com.thoughtworks.xstream...
[javadoc] Loading source files for package com.thoughtworks.xstream.alias...
[javadoc] Loading source files for package com.thoughtworks.xstream.annotations...
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:25: <identifier> expected
[javadoc] private static final Set<Class<?>> configuredTypes = new HashSet<Class<?>>();
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:40: <identifier> expected
[javadoc] public static synchronized void configureAliases(XStream xstream, Class<?>... topLevelClasses) {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:53: ')' expected
[javadoc] if(Converter.class.isAssignableFrom(configurableClass)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:53: <identifier> expected
[javadoc] if(Converter.class.isAssignableFrom(configurableClass)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:60: '{' expected
[javadoc] AnnotatedElement element = configurableClass;
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:61: illegal start of type
[javadoc] if(configurableClass.isAnnotationPresent(XStreamConverters.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:61: <identifier> expected
[javadoc] if(configurableClass.isAnnotationPresent(XStreamConverters.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:61: <identifier> expected
[javadoc] if(configurableClass.isAnnotationPresent(XStreamConverters.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:62: '{' expected
[javadoc] XStreamConverters convertersAnnotation = element.getAnnotation(XStreamConverters.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:62: <identifier> expected
[javadoc] XStreamConverters convertersAnnotation = element.getAnnotation(XStreamConverters.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:62: '{' expected
[javadoc] XStreamConverters convertersAnnotation = element.getAnnotation(XStreamConverters.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:63: illegal start of type
[javadoc] for(XStreamConverter converterAnnotation : convertersAnnotation.value()){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:66: <identifier> expected
[javadoc] }
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:69: illegal start of type
[javadoc] if(configurableClass.isAnnotationPresent(XStreamConverter.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:69: <identifier> expected
[javadoc] if(configurableClass.isAnnotationPresent(XStreamConverter.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:69: <identifier> expected
[javadoc] if(configurableClass.isAnnotationPresent(XStreamConverter.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:70: '{' expected
[javadoc] XStreamConverter converterAnnotation = element.getAnnotation(XStreamConverter.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:70: <identifier> expected
[javadoc] XStreamConverter converterAnnotation = element.getAnnotation(XStreamConverter.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:70: '{' expected
[javadoc] XStreamConverter converterAnnotation = element.getAnnotation(XStreamConverter.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:71: invalid method declaration; return type required
[javadoc] registerConverter(xstream, converterAnnotation.value());
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:71: <identifier> expected
[javadoc] registerConverter(xstream, converterAnnotation.value());
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:71: ')' expected
[javadoc] registerConverter(xstream, converterAnnotation.value());
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:75: illegal start of type
[javadoc] if(configurableClass.isAnnotationPresent(XStreamAlias.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:75: <identifier> expected
[javadoc] if(configurableClass.isAnnotationPresent(XStreamAlias.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:75: <identifier> expected
[javadoc] if(configurableClass.isAnnotationPresent(XStreamAlias.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:76: '{' expected
[javadoc] XStreamAlias aliasAnnotation = element.getAnnotation(XStreamAlias.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:76: <identifier> expected
[javadoc] XStreamAlias aliasAnnotation = element.getAnnotation(XStreamAlias.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:76: '{' expected
[javadoc] XStreamAlias aliasAnnotation = element.getAnnotation(XStreamAlias.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:77: illegal start of type
[javadoc] if(aliasAnnotation.impl() != Void.class){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:77: <identifier> expected
[javadoc] if(aliasAnnotation.impl() != Void.class){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:77: <identifier> expected
[javadoc] if(aliasAnnotation.impl() != Void.class){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:89: '{' expected
[javadoc] }
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:92: illegal start of type
[javadoc] if(configurableClass.isAnnotationPresent(XStreamImplicitCollection.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:92: <identifier> expected
[javadoc] if(configurableClass.isAnnotationPresent(XStreamImplicitCollection.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:92: <identifier> expected
[javadoc] if(configurableClass.isAnnotationPresent(XStreamImplicitCollection.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:93: '{' expected
[javadoc] XStreamImplicitCollection implicitColAnnotation = element.getAnnotation(XStreamImplicitCollection.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:93: <identifier> expected
[javadoc] XStreamImplicitCollection implicitColAnnotation = element.getAnnotation(XStreamImplicitCollection.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:93: '{' expected
[javadoc] XStreamImplicitCollection implicitColAnnotation = element.getAnnotation(XStreamImplicitCollection.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:97: illegal start of type
[javadoc] try {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:115: <identifier> expected
[javadoc] }
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:119: illegal start of type
[javadoc] for (Field field : fields) {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:124: <identifier> expected
[javadoc] if (Collection.class.isAssignableFrom(fieldType)) {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:124: <identifier> expected
[javadoc] if (Collection.class.isAssignableFrom(fieldType)) {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:125: '{' expected
[javadoc] if(field.isAnnotationPresent(XStreamContainedType.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:125: <identifier> expected
[javadoc] if(field.isAnnotationPresent(XStreamContainedType.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:129: '{' expected
[javadoc] }
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:130: illegal start of type
[javadoc] if(field.isAnnotationPresent(XStreamAlias.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:130: <identifier> expected
[javadoc] if(field.isAnnotationPresent(XStreamAlias.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:130: <identifier> expected
[javadoc] if(field.isAnnotationPresent(XStreamAlias.class)){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:131: '{' expected
[javadoc] XStreamAlias fieldXStreamAliasAnnotation = field.getAnnotation(XStreamAlias.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:131: <identifier> expected
[javadoc] XStreamAlias fieldXStreamAliasAnnotation = field.getAnnotation(XStreamAlias.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:131: '{' expected
[javadoc] XStreamAlias fieldXStreamAliasAnnotation = field.getAnnotation(XStreamAlias.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:132: <identifier> expected
[javadoc] xstream.aliasField(fieldXStreamAliasAnnotation.value(), configurableClass, field.getName());
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:133: invalid method declaration; return type required
[javadoc] configureClass(xstream, field.getType());
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:133: <identifier> expected
[javadoc] configureClass(xstream, field.getType());
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:133: ')' expected
[javadoc] configureClass(xstream, field.getType());
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:138: illegal start of type
[javadoc] for(Class<?>memberClass : configurableClass.getDeclaredClasses()){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:143: <identifier> expected
[javadoc] Class superClass = configurableClass.getSuperclass();
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:144: illegal start of type
[javadoc] if (superClass != null && !Object.class.equals(superClass))
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:144: <identifier> expected
[javadoc] if (superClass != null && !Object.class.equals(superClass))
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:144: <identifier> expected
[javadoc] if (superClass != null && !Object.class.equals(superClass))
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:145: '{' expected
[javadoc] configureClass(xstream, superClass);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:147: illegal start of type
[javadoc] for(Class intf : interfaces){
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:150: <identifier> expected
[javadoc] }
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:153: <identifier> expected
[javadoc] private static void registerConverter(XStream xstream, Class<? extends Converter> converterType) {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:157: ')' expected
[javadoc] if (AbstractCollectionConverter.class.isAssignableFrom(converterType)) {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:157: <identifier> expected
[javadoc] if (AbstractCollectionConverter.class.isAssignableFrom(converterType)) {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:159: '{' expected
[javadoc] Constructor<? extends Converter> converterConstructor = converterType.getConstructor(Mapper.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:159: <identifier> expected
[javadoc] Constructor<? extends Converter> converterConstructor = converterType.getConstructor(Mapper.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:159: '{' expected
[javadoc] Constructor<? extends Converter> converterConstructor = converterType.getConstructor(Mapper.class);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:160: <identifier> expected
[javadoc] converter = converterConstructor.newInstance(xstream.getMapper());
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:161: illegal start of type
[javadoc] } catch (Exception e) {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:165: <identifier> expected
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:166: illegal start of type
[javadoc] } else {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:174: <identifier> expected
[javadoc] xstream.registerConverter(converter);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:175: <identifier> expected
[javadoc] configuredTypes.add(converterType);
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:192: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
[javadoc] assert !type.isInterface() : type;
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:192: not a statement
[javadoc] assert !type.isInterface() : type;
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:192: ';' expected
[javadoc] assert !type.isInterface() : type;
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:196: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
[javadoc] assert false : "Field is raw type :" + field;
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:196: not a statement
[javadoc] assert false : "Field is raw type :" + field;
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:196: ';' expected
[javadoc] assert false : "Field is raw type :" + field;
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/Annotations.java:200: '}' expected
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamConverters.java:12: illegal character: \64
[javadoc] @Retention(RetentionPolicy.RUNTIME)
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamConverters.java:13: illegal character: \64
[javadoc] @Target(ElementType.TYPE)
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamConverters.java:14: illegal character: \64
[javadoc] public @interface XStreamConverters {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamContainedType.java:16: illegal character: \64
[javadoc] @Retention(RetentionPolicy.RUNTIME)
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamContainedType.java:17: illegal character: \64
[javadoc] @Target(ElementType.FIELD)
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamContainedType.java:18: illegal character: \64
[javadoc] public @interface XStreamContainedType {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamImplicitCollection.java:12: illegal character: \64
[javadoc] @Retention(RetentionPolicy.RUNTIME)
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamImplicitCollection.java:13: illegal character: \64
[javadoc] @Target(ElementType.TYPE)
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamImplicitCollection.java:14: illegal character: \64
[javadoc] public @interface XStreamImplicitCollection {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamImplicitCollection.java:16: ';' expected
[javadoc] String item() default ""; //itemfieldName
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/AnnotationProvider.java:20: illegal start of type
[javadoc] public <T extends Annotation> T getAnnotation(Field field,
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/AnnotationProvider.java:24: <identifier> expected
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamAlias.java:14: illegal character: \64
[javadoc] @Retention(RetentionPolicy.RUNTIME)
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamAlias.java:15: illegal character: \64
[javadoc] @Target({ElementType.TYPE, ElementType.FIELD})
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamAlias.java:16: illegal character: \64
[javadoc] public @interface XStreamAlias {
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamAlias.java:21: <identifier> expected
[javadoc] public Class<?> impl() default Void.class; //Use Void to denote as Null
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamAlias.java:21: = expected
[javadoc] public Class<?> impl() default Void.class; //Use Void to denote as Null
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamAlias.java:21: <identifier> expected
[javadoc] public Class<?> impl() default Void.class; //Use Void to denote as Null
[javadoc] ^
[javadoc] /home/portagetmp/portage/dev-java/xstream-1.2/work/xstream-1.2/src/java/com/thoughtworks/xstream/annotations/XStreamAlias.java:23: '}' expected
[javadoc] ^
[javadoc] Loading source files for package com.thoughtworks.xstream.converters...
[javadoc] Loading source files for package com.thoughtworks.xstream.converters.basic...
[javadoc] Loading source files for package com.thoughtworks.xstream.converters.collections...
[javadoc] Loading source files for package com.thoughtworks.xstream.converters.enums...
[javadoc] Loading source files for package com.thoughtworks.xstream.converters.extended...
[javadoc] Loading source files for package com.thoughtworks.xstream.converters.javabean...
[javadoc] Loading source files for package com.thoughtworks.xstream.converters.reflection...
[javadoc] Loading source files for package com.thoughtworks.xstream.io...
[javadoc] Loading source files for package com.thoughtworks.xstream.io.binary...
[javadoc] Loading source files for package com.thoughtworks.xstream.io.copy...
[javadoc] Loading source files for package com.thoughtworks.xstream.io.json...
[javadoc] Loading source files for package com.thoughtworks.xstream.io.path...
[javadoc] Loading source files for package com.thoughtworks.xstream.io.xml...
[javadoc] Loading source files for package com.thoughtworks.xstream.mapper...
[javadoc] Loading source files for package com.thoughtworks.xstream.persistence...
[javadoc] 100 errors
[javadoc] 2 warnings
BUILD SUCCESSFUL
Total time: 4 seconds
>>> Source compiled.
>>> Test phase [not enabled]: dev-java/xstream-1.2
>>> Install xstream-1.2 into /home/portagetmp/portage/dev-java/xstream-1.2/image/ category dev-java
/usr/portage/dev-java/xstream/xstream-1.2.ebuild: line 78: html: command not found
!!! ERROR: dev-java/xstream-1.2 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_install
ebuild.sh, line 1077: Called qa_call 'src_install'
ebuild.sh, line 44: Called src_install
xstream-1.2.ebuild, line 78: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/home/portagetmp/portage/dev-java/xstream-1.2/temp/build.log'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="." JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info
|
emerge --info
| Code: |
Portage 2.1.2.11 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 08 Aug 2007 14:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.utdlug.org/linux/distributions/gentoo/ "
MAKEOPTS="-j3 "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/portagetmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac accessibility acl alsa berkdb bitmap-fonts browserplugin cdr cli cracklib crypt cups dbus doc docs dri dvd egg esd ffmpeg firefox flac fortran gdbm gnome gpm gtk gtk2 iconv isdnlog jpeg jpg libg++ mad mbrola midi mpeg mpg mudflap ncurses nls nptl nptlonly nsplugin openmp pam pcre perl png pppd python readline reflection session spl ssl tcpd theora truetype-fonts turetype type1 type1-fonts unicode vorbis wmv x86 xine xinerama xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
package.keywords
| Code: | # cat /etc/portage/package.keywords
dev-util/subversion ~x86
x11-misc/bubblemon ~x86
app-emulation/xen
app-emulation/xen-tools
sys-kernel/xen-sources
#Beryl Core
x11-wm/beryl
x11-wm/beryl-core
x11-plugins/beryl-plugins
x11-plugins/beryl-dbus
x11-misc/beryl-manager
x11-misc/beryl-settings
x11-misc/beryl-settings-bindings
x11-apps/xlsclients
x11-proto/damageproto
#Window Decorators
x11-wm/emerald
x11-themes/emerald-themes
x11-wm/heliodor
x11-wm/aquamarine
net-im/skype ~x86 -qt-static
dev-java/groovy ~x86
dev-java/asm ~x86
dev-java/xstream ~x86
dev-java/cglib ~x86
|
| Code: | dev-java/xstream
Latest version available: 1.2
Latest version installed: [ Not Installed ]
Size of files: 5,359 kB
Homepage: http://xstream.codehaus.org/index.html
Description: A text-processing Java classes that serialize objects to XML and back again.
License: BSD
|
Last edited by skelter on Thu Aug 09, 2007 9:39 pm; edited 1 time in total |
|
| Back to top |
|
 |
alistair Retired Dev


Joined: 15 Jul 2005 Posts: 869
|
Posted: Thu Aug 09, 2007 12:10 am Post subject: |
|
|
There is no error with the ebuild using java-1.4, in fact that this a very important feature.
If you want to it to compile for a 1.5 vm then add the java5 USE flag to your make.conf.
As for the actually error. That is an error, which I have just logged https://bugs.gentoo.org/show_bug.cgi?id=188192 _________________ ______________
Help the gentoo-java project. Visit Gentoo Java Project
what good are admin powers if you don't abuse them for personal gain - mark_alec |
|
| Back to top |
|
 |
skelter n00b

Joined: 26 Jun 2004 Posts: 22
|
Posted: Thu Aug 09, 2007 8:55 pm Post subject: ah, its the docs |
|
|
Ah, cool, it's the docs. I might be able to turn off the docs for this package using a /etc/portage/package.use. I'll try that and follow up.
Thank you, Alistair! |
|
| Back to top |
|
 |
skelter n00b

Joined: 26 Jun 2004 Posts: 22
|
Posted: Thu Aug 09, 2007 9:38 pm Post subject: Dodging the docs problem is enough. |
|
|
Yep, dodging the docs for xtream allows the ebuild to proceed.
package.use
| Code: |
#bug: xstream's ebuild and javadoc build causes javadocs to fail, so don't install docs
# remove this later when they fix it. Aug9,2007
dev-java/xstream -doc -docs
|
I probably (knock on wood) won't need the docs for xtream, but I do like to have the docs for libraries around in case I need to go digging.
| Code: |
...
BUILD SUCCESSFUL
...
>>> Merging dev-java/groovy-1.0-r1 to /
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|