Wind River Support Network

HomeDefectsOVP-889
Fixed

OVP-889 : [ovirt-engine] build failed on suse

Created: Sep 9, 2013    Updated: Mar 11, 2016
Resolved Date: Oct 10, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.8
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

ERROR: Function failed: do_compile (see /buildarea2/lyang0/latest/bitbake_build/tmp/work/x86_64-wrs-linux/commons-logging-1.1.1-r0.1/temp/do_compile/log.do_compile.3608 for further information)
ERROR: Logfile of failure stored in: /buildarea2/lyang0/latest/bitbake_build/tmp/work/x86_64-wrs-linux/commons-logging-1.1.1-r0.1/temp/do_compile/log.do_compile.3608
Log data follows:
| DEBUG: Executing shell function do_compile
| javac -sourcepath src/java -cp /buildarea2/lyang0/latest/bitbake_build/tmp/sysroots/x86_64-linux/usr/share/java/log4j-1.2.jar:/buildarea2/lyang0/latest/bitbake_build/tmp/sysroots/x86_64-linux/usr/share/java/servlet-2.3.jar -d build `find src/java -name '*.java' -and -not -name '*Avalon*'`
| ----------
| 1. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 22)
| 	import org.apache.log.Logger;
| 	       ^^^^^^^^^^^^^^
| The import org.apache.log cannot be resolved
| ----------
| 2. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 23)
| 	import org.apache.log.Hierarchy;
| 	       ^^^^^^^^^^^^^^
| The import org.apache.log cannot be resolved
| ----------
| 3. WARNING in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 41)
| 	public class LogKitLogger implements Log, Serializable {
| 	             ^^^^^^^^^^^^
| The serializable class LogKitLogger does not declare a static final serialVersionUID field of type long
| ----------
| 4. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 48)
| 	protected transient Logger logger = null;
| 	                    ^^^^^^
| Logger cannot be resolved to a type
| ----------
| 5. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 65)
| 	this.logger = getLogger();
| 	^^^^^^^^^^^
| Logger cannot be resolved to a type
| ----------
| 6. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 65)
| 	this.logger = getLogger();
| 	              ^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 7. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 75)
| 	public Logger getLogger() {
| 	       ^^^^^^
| Logger cannot be resolved to a type
| ----------
| 8. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 77)
| 	if (logger == null) {
| 	    ^^^^^^
| Logger cannot be resolved to a type
| ----------
| 9. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 78)
| 	logger = Hierarchy.getDefaultHierarchy().getLoggerFor(name);
| 	^^^^^^
| Logger cannot be resolved to a type
| ----------
| 10. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 78)
| 	logger = Hierarchy.getDefaultHierarchy().getLoggerFor(name);
| 	         ^^^^^^^^^
| Hierarchy cannot be resolved
| ----------
| 11. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 80)
| 	return (logger);
| 	       ^^^^^^^^
| Logger cannot be resolved to a type
| ----------
| 12. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 119)
| 	getLogger().debug(String.valueOf(message));
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 13. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 133)
| 	getLogger().debug(String.valueOf(message), t);
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 14. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 146)
| 	getLogger().info(String.valueOf(message));
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 15. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 160)
| 	getLogger().info(String.valueOf(message), t);
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 16. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 173)
| 	getLogger().warn(String.valueOf(message));
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 17. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 187)
| 	getLogger().warn(String.valueOf(message), t);
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 18. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 200)
| 	getLogger().error(String.valueOf(message));
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 19. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 214)
| 	getLogger().error(String.valueOf(message), t);
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 20. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 227)
| 	getLogger().fatalError(String.valueOf(message));
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 21. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 241)
| 	getLogger().fatalError(String.valueOf(message), t);
| 	^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 22. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 250)
| 	return getLogger().isDebugEnabled();
| 	       ^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 23. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 258)
| 	return getLogger().isErrorEnabled();
| 	       ^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 24. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 266)
| 	return getLogger().isFatalErrorEnabled();
| 	       ^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 25. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 274)
| 	return getLogger().isInfoEnabled();
| 	       ^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 26. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 282)
| 	return getLogger().isDebugEnabled();
| 	       ^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| 27. ERROR in src/java/org/apache/commons/logging/impl/LogKitLogger.java (at line 290)
| 	return getLogger().isWarnEnabled();
| 	       ^^^^^^^^^
| The method getLogger() from the type LogKitLogger refers to the missing type Logger
| ----------
| ----------
| 28. WARNING in src/java/org/apache/commons/logging/impl/SimpleLog.java (at line 76)
| 	public class SimpleLog implements Log, Serializable {
| 	             ^^^^^^^^^
| The serializable class SimpleLog does not declare a static final serialVersionUID field of type long
| ----------
| ----------
| 29. WARNING in src/java/org/apache/commons/logging/impl/WeakHashtable.java (at line 111)
| 	public final class WeakHashtable extends Hashtable {
| 	                   ^^^^^^^^^^^^^
| The serializable class WeakHashtable does not declare a static final serialVersionUID field of type long
| ----------
| ----------
| 30. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 50)
| 	public class Log4JLogger implements Log, Serializable {
| 	             ^^^^^^^^^^^
| The serializable class Log4JLogger does not declare a static final serialVersionUID field of type long
| ----------
| 31. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 93)
| 	traceLevel = Priority.DEBUG;
| 	                      ^^^^^
| The field Priority.DEBUG is deprecated
| ----------
| 32. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 177)
| 	getLogger().log(FQCN, Priority.DEBUG, message, null );
| 	                               ^^^^^
| The field Priority.DEBUG is deprecated
| ----------
| 33. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 188)
| 	getLogger().log(FQCN, Priority.DEBUG, message, t );
| 	                               ^^^^^
| The field Priority.DEBUG is deprecated
| ----------
| 34. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 199)
| 	getLogger().log(FQCN, Priority.INFO, message, null );
| 	                               ^^^^
| The field Priority.INFO is deprecated
| ----------
| 35. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 211)
| 	getLogger().log(FQCN, Priority.INFO, message, t );
| 	                               ^^^^
| The field Priority.INFO is deprecated
| ----------
| 36. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 222)
| 	getLogger().log(FQCN, Priority.WARN, message, null );
| 	                               ^^^^
| The field Priority.WARN is deprecated
| ----------
| 37. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 234)
| 	getLogger().log(FQCN, Priority.WARN, message, t );
| 	                               ^^^^
| The field Priority.WARN is deprecated
| ----------
| 38. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 245)
| 	getLogger().log(FQCN, Priority.ERROR, message, null );
| 	                               ^^^^^
| The field Priority.ERROR is deprecated
| ----------
| 39. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 257)
| 	getLogger().log(FQCN, Priority.ERROR, message, t );
| 	                               ^^^^^
| The field Priority.ERROR is deprecated
| ----------
| 40. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 268)
| 	getLogger().log(FQCN, Priority.FATAL, message, null );
| 	                               ^^^^^
| The field Priority.FATAL is deprecated
| ----------
| 41. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 280)
| 	getLogger().log(FQCN, Priority.FATAL, message, t );
| 	                               ^^^^^
| The field Priority.FATAL is deprecated
| ----------
| 42. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 307)
| 	return getLogger().isEnabledFor(Priority.ERROR);
| 	                                         ^^^^^
| The field Priority.ERROR is deprecated
| ----------
| 43. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 315)
| 	return getLogger().isEnabledFor(Priority.FATAL);
| 	                                         ^^^^^
| The field Priority.FATAL is deprecated
| ----------
| 44. WARNING in src/java/org/apache/commons/logging/impl/Log4JLogger.java (at line 340)
| 	return getLogger().isEnabledFor(Priority.WARN);
| 	                                         ^^^^
| The field Priority.WARN is deprecated
| ----------
| ----------
| 45. WARNING in src/java/org/apache/commons/logging/impl/Jdk14Logger.java (at line 40)
| 	public class Jdk14Logger implements Log, Serializable {
| 	             ^^^^^^^^^^^
| The serializable class Jdk14Logger does not declare a static final serialVersionUID field of type long
| ----------
| ----------
| 46. WARNING in src/java/org/apache/commons/logging/impl/Jdk13LumberjackLogger.java (at line 46)
| 	public class Jdk13LumberjackLogger implements Log, Serializable {
| 	             ^^^^^^^^^^^^^^^^^^^^^
| The serializable class Jdk13LumberjackLogger does not declare a static final serialVersionUID field of type long
| ----------
| ----------
| 47. WARNING in src/java/org/apache/commons/logging/impl/NoOpLog.java (at line 34)
| 	public class NoOpLog implements Log, Serializable {
| 	             ^^^^^^^
| The serializable class NoOpLog does not declare a static final serialVersionUID field of type long
| ----------
| ----------
| 48. WARNING in src/java/org/apache/commons/logging/LogConfigurationException.java (at line 30)
| 	public class LogConfigurationException extends RuntimeException {
| 	             ^^^^^^^^^^^^^^^^^^^^^^^^^
| The serializable class LogConfigurationException does not declare a static final serialVersionUID field of type long
| ----------
| 48 problems (26 errors, 22 warnings)WARNING: /buildarea2/lyang0/latest/bitbake_build/tmp/work/x86_64-wrs-linux/commons-logging-1.1.1-r0.1/temp/do_compile/run.do_compile.3608:190 exit 255 from
|   javac -sourcepath src/java -cp $cp -d build `find src/java -name '*.java' -and -not -name '*Avalon*'`
| ERROR: Function failed: do_compile (see /buildarea2/lyang0/latest/bitbake_build/tmp/work/x86_64-wrs-linux/commons-logging-1.1.1-r0.1/temp/do_compile/log.do_compile.3608 for further information)
ERROR: Task 4716 (/buildarea2/lyang0/latest/layers/meta-java/recipes-core/jakarta-commons/commons-logging_1.1.1.bb, do_compile) failed with exit code '1'

Steps to Reproduce

build on suse

lyang0@pek-lpgtest12:/buildarea2/lyang0/latest> cat /etc/issue

Welcome to SUSE Linux Enterprise Desktop 11 SP2  (x86_64) - Kernel \r (\l).


/buildarea2/lyang0/wrlinux-x/wrlinux/configure --enable-board=intel-xeon-core --enable-rootfs=ovp-ovirt-engine --enable-addons=wr-ovp --enable-parallel-pkgbuilds=20 --enable-jobs=20
Live chat
Online