Problem z budowaniem jakarta-struts - potrzebnego do jakarta-tomcat

Marcin Kawelski kardigen w o2.pl
Wto, 2 Sty 2007, 20:43:03 CET


Witam,
  podczas budowania jakarta-struts dostaje cos takiego:

[root w hope SPECS]# ./builder jakarta-struts
# $Revision: 1.11 $, $Date: 2006/05/19 11:28:19 $
Available branches:
struts-1.2.6-src.tar.gz having proper md5sum already exists
Budowanie dla platform: noarch
Budowanie dla noarch
Wykonywanie(%prep): /bin/sh -e /var/tmp/rpm-tmp.85987
+ umask 022
+ cd /home/users/kardigen/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ unset LINGUAS
+ cd /home/users/kardigen/rpm/BUILD
+ rm -rf struts-1.2.6-src
+ /bin/gzip -dc /home/users/kardigen/rpm/SOURCES/struts-1.2.6-src.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd struts-1.2.6-src
+ /bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rhf root:root .
+ true .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo Patch #0 (jakarta-struts-build.patch):
Patch #0 (jakarta-struts-build.patch):
+ patch -p1 -s
+ < /home/users/kardigen/rpm/SOURCES/jakarta-struts-build.patch
+ find . -name *.jar -exec rm -f {} ;
+ exit 0
Wykonywanie(%build): /bin/sh -e /var/tmp/rpm-tmp.35134
+ umask 022
+ cd /home/users/kardigen/rpm/BUILD
+ cd struts-1.2.6-src
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ unset LINGUAS
+ ant compile.library compile.webapps compile.javadoc 
-Dantlr.jar=/usr/share/java/antlr.jar 
-Dcommons-beanutils.jar=/usr/share/java/commons-beanutils.jar 
-Dcommons-collections.jar=/usr/share/java/commons-collections.jar 
-Dcommons-digester.jar=/usr/share/java/commons-digester.jar 
-Dcommons-fileupload.jar=/usr/share/java/commons-fileupload.jar 
-Dcommons-lang.jar=/usr/share/java/commons-lang.jar 
-Dcommons-logging.jar=/usr/share/java/commons-logging.jar 
-Dcommons-validator.jar=/usr/share/java/commons-validator.jar 
-Djakarta-oro.jar=/usr/share/java/oro.jar 
-Djdbc20ext.jar=/usr/share/java/jdbc-stdext.jar 
-Dservlet.jar=/usr/share/java/servlet.jar 
-Dstruts-legacy.jar=/usr/share/java/struts-legacy.jar
Buildfile: build.xml

init:
     [echo] --------- struts 1.2.6 ---------

     [echo] java.class.path = 
/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/lib64/jvm-exports/java/jaxp_parser_impl.jar:/usr/lib64/jvm-exports/java/xml-commons-apis.jar:/usr/share/java/bcel.jar:/usr/share/java/ant/ant-apache-bcel.jar:/usr/share/java/bsf.jar:/usr/share/java/ant/ant-apache-bsf.jar:/usr/share/java/log4j.jar:/usr/share/java/ant.jar:/usr/share/java/oro.jar:/usr/share/java/ant/ant-apache-oro.jar:/usr/share/java/regexp.jar:/usr/share/java/ant/ant-apache-regexp.jar:/usr/share/java/junit.jar:/usr/share/java/ant/ant-junit.jar:/usr/lib64/jvm/java/lib/tools.jar
     [echo] java.home = /usr/lib64/jvm/java-sun-1.5.0.10/jre
     [echo] user.home = /root

prepare.library:
    [mkdir] Created dir: 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library/classes/META-INF
    [mkdir] Created dir: 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library/classes/META-INF/tlds
    [mkdir] Created dir: 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library/classes/org/apache/struts/resources
     [copy] Copying 1 file to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library/classes/META-INF
     [copy] Copying 1 file to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library/classes/META-INF
     [copy] Copying 6 files to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library/classes/org/apache/struts/resources
     [copy] Copying 1 file to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library
     [copy] Copying 1 file to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library
     [copy] Copying 1 file to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library
     [copy] Copying 1 file to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library
     [copy] Copying 1 file to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library
     [copy] Copying 1 file to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library
     [copy] Copying 1 file to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library

compile.library:
    [javac] Compiling 272 source files to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library/classes
    [javac] 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/src/share/org/apache/struts/util/IteratorAdapter.java:35: 
warning: as of release 1.5, 'enum' is a keyword, and may not be used as 
an identifier
    [javac] (try -source 1.5 to use 'enum' as a keyword)
    [javac]     private java.util.Enumeration enum;
    [javac]                                   ^
    [javac] 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/src/share/org/apache/struts/util/IteratorAdapter.java:37: 
warning: as of release 1.5, 'enum' is a keyword, and may not be used as 
an identifier
    [javac] (try -source 1.5 to use 'enum' as a keyword)
    [javac]     public IteratorAdapter(java.util.Enumeration enum) {
    [javac]                                                  ^
    [javac] 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/src/share/org/apache/struts/util/IteratorAdapter.java:38: 
warning: as of release 1.5, 'enum' is a keyword, and may not be used as 
an identifier
    [javac] (try -source 1.5 to use 'enum' as a keyword)
    [javac]         this.enum = enum;
    [javac]              ^
    [javac] 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/src/share/org/apache/struts/util/IteratorAdapter.java:38: 
warning: as of release 1.5, 'enum' is a keyword, and may not be used as 
an identifier
    [javac] (try -source 1.5 to use 'enum' as a keyword)
    [javac]         this.enum = enum;
    [javac]                     ^
    [javac] 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/src/share/org/apache/struts/util/IteratorAdapter.java:42: 
warning: as of release 1.5, 'enum' is a keyword, and may not be used as 
an identifier
    [javac] (try -source 1.5 to use 'enum' as a keyword)
    [javac]         return enum.hasMoreElements();
    [javac]                ^
    [javac] 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/src/share/org/apache/struts/util/IteratorAdapter.java:46: 
warning: as of release 1.5, 'enum' is a keyword, and may not be used as 
an identifier
    [javac] (try -source 1.5 to use 'enum' as a keyword)
    [javac]         if (!enum.hasMoreElements()) {
    [javac]              ^
    [javac] 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/src/share/org/apache/struts/util/IteratorAdapter.java:49: 
warning: as of release 1.5, 'enum' is a keyword, and may not be used as 
an identifier
    [javac] (try -source 1.5 to use 'enum' as a keyword)
    [javac]         return enum.nextElement();
    [javac]                ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 7 warnings
     [copy] Copying 16 files to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library/classes
     [copy] Copying 7 files to 
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/target/library
    [style] DEPRECATED - xalan processor is deprecated. Use trax instead.
    [style] DEPRECATED - xslp processor is deprecated. Use trax instead.
    [style] java.lang.ClassNotFoundException: 
org.apache.tools.ant.taskdefs.optional.XslpLiaison
    [style]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    [style]     at java.security.AccessController.doPrivileged(Native 
Method)
    [style]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [style]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [style]     at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    [style]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [style]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [style]     at java.lang.Class.forName0(Native Method)
    [style]     at java.lang.Class.forName(Class.java:164)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:419)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:397)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:619)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:212)
    [style]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [style]     at org.apache.tools.ant.Task.perform(Task.java:364)
    [style]     at org.apache.tools.ant.Target.execute(Target.java:341)
    [style]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [style]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [style]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [style]     at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [style]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [style]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [style]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [style]     at 
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [style]     at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [style] java.lang.ClassNotFoundException: 
org.apache.tools.ant.taskdefs.optional.XalanLiaison
    [style]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    [style]     at java.security.AccessController.doPrivileged(Native 
Method)
    [style]     at 
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [style]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [style]     at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    [style]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [style]     at 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [style]     at java.lang.Class.forName0(Native Method)
    [style]     at java.lang.Class.forName(Class.java:164)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:419)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:402)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:616)
    [style]     at 
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:212)
    [style]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [style]     at org.apache.tools.ant.Task.perform(Task.java:364)
    [style]     at org.apache.tools.ant.Target.execute(Target.java:341)
    [style]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [style]     at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [style]     at 
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [style]     at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    [style]     at 
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [style]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [style]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [style]     at 
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [style]     at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

BUILD FAILED
/home/users/kardigen/rpm/BUILD/struts-1.2.6-src/build.xml:317: 
java.lang.ClassNotFoundException: 
org.apache.tools.ant.taskdefs.optional.TraXLiaison

Total time: 20 seconds
błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.35134 (%build)


Błędy budowania RPM-a:
    Błędny status wyjścia z /var/tmp/rpm-tmp.35134 (%build)
Error: package build failed. (no more info)




Więcej informacji o liście dyskusyjnej pld-users-pl