[AC} jakarta-ant.spec

Maciej 'mco' Świętochowski mco w mco.hdtv.pl
Nie, 20 Cze 2004, 00:12:40 CEST


Witam :)

Mam problem z budowaniem pakietu jakarta-ant z aktualnego speca. Efekt 
końcowy jest taki:

-------------- CIACH ----------------
src/main/org/apache/tools/ant/TaskAdapter.java:57: warning: non-varargs 
call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this 
warning
             final Method executeM = taskClass.getMethod("execute", null);
                                                                    ^
src/main/org/apache/tools/ant/TaskAdapter.java:124: warning: non-varargs 
call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this 
warning
             executeM.invoke(proxy, null);
                                    ^
src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java:179: 
warning: non-varargs call of varargs method with inexact argument type 
for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this 
warning
                                     (Reader) 
constructors[j].newInstance(rdr);
                                                                          ^
src/main/org/apache/tools/ant/taskdefs/rmic/KaffeRmic.java:43: warning: 
non-varargs call of varargs method with inexact argument type for last 
parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this 
warning
             Method doRmic = c.getMethod("run", null);
-------------- CIACH ----------------
I dużo takich, a na końcu:

-------------- CIACH ----------------Note: * uses or overrides a 
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
19 warnings
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml

bootstrap:

prepare:

check_for_optional_packages:

build:
Created dir: /home/users/builder/rpm/BUILD/apache-ant-1.6.1/build/lib
Compiling 206 source files to 
/home/users/builder/rpm/BUILD/apache-ant-1.6.1/build/classes
javac: target release 1.1 conflicts with default source release 1.5

BUILD FAILED
/home/users/builder/rpm/BUILD/apache-ant-1.6.1/build.xml:1036: Following 
error occured while executing this line
/home/users/builder/rpm/BUILD/apache-ant-1.6.1/build.xml:602: Compile 
failed; see the compiler error outTotal time: 4 seconds
... Failed Building Ant Distribution !
Bootstrap FAILED
+ exit 0
Wykonywanie(%install): /bin/sh -e /tmp/rpm-tmp.85438
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ cd apache-ant-1.6.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /home/users/builder/tmp/jakarta-ant-1.6.1-root-builder
+ install -d /home/users/builder/tmp/jakarta-ant-1.6.1-root-builder/usr/bin
+ install -d 
/home/users/builder/tmp/jakarta-ant-1.6.1-root-builder/usr/share/java
+ install bootstrap/bin/ant bootstrap/bin/antRun bootstrap/bin/runant.pl 
bootstrap/bin/runant.py 
/home/users/builder/tmp/jakarta-ant-1.6.1-root-builder/usr/bin
install: nie można wykonać stat na `bootstrap/bin/ant': Nie ma takiego 
pliku ani katalogu
install: nie można wykonać stat na `bootstrap/bin/antRun': Nie ma 
takiego pliku ani katalogu
install: nie można wykonać stat na `bootstrap/bin/runant.pl': Nie ma 
takiego pliku ani katalogu
install: nie można wykonać stat na `bootstrap/bin/runant.py': Nie ma 
takiego pliku ani katalogu
błąd: Błędny status wyjścia z /tmp/rpm-tmp.85438 (%install)
put for details.

-------------- CIACH ----------------
Próbowałem cos w specu zmienić, ale moje zdolności są niewystarczające. 
Przy budowaniu korzystam z najświeższych pakietów oraz z Java SDK 1.5.0 
z java.sun.com.

Pozdrawiam wszystkich :)

-- 
Maciej 'mco' Świętochowski
[ mco ][ http://mco.hdtv.pl ][ mco w mco.hdtv.pl ]
[ RLU#288919 ] [ Myśl przewodnia na chwilę obecną: ]
[ Nigdy nie nurkuj w mętnej wodzie ]



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