From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96881 invoked by alias); 21 Sep 2015 05:00:08 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 96705 invoked by uid 89); 21 Sep 2015 05:00:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: maximusconfessor.all2all.org Received: from maximusconfessor.all2all.org (HELO maximusconfessor.all2all.org) (79.99.200.102) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 21 Sep 2015 04:59:55 +0000 Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id B78D4A04C14C for ; Mon, 21 Sep 2015 06:59:52 +0200 (CEST) Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id 3y8ITKVBKkv0 for ; Mon, 21 Sep 2015 06:59:39 +0200 (CEST) Received: from capac (unknown [179.210.43.150]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 78E32A04C0EF for ; Mon, 21 Sep 2015 06:59:38 +0200 (CEST) Date: Mon, 21 Sep 2015 05:00:00 -0000 From: David Pirotte To: kawa@sourceware.org Subject: kawa build from source fails - revision 8603 Message-ID: <20150921015935.4c2a05c2@capac> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/MJuhSsNl6yfETsq.GojwuKi"; protocol="application/pgp-signature" X-IsSubscribed: yes X-SW-Source: 2015-q3/txt/msg00058.txt.bz2 --Sig_/MJuhSsNl6yfETsq.GojwuKi Content-Type: multipart/mixed; boundary="MP_/lpY93CHeBFAO4avQ9ZaLg4O" --MP_/lpY93CHeBFAO4avQ9ZaLg4O Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 50039 Hello, david@capac:/usr/local/src/kawa/svn 14 $ svn update Updating '.': At revision 8603. The configure step seems ok [see config.log attach for full details], but r= eports some minor problems: david@capac:/usr/local/src/kawa/svn 16 $ ./configure --prefix=3D/opt checking whether to enable maintainer-specific portions of Makefiles... no ... config.status: creating Makefile chmod: cannot access 'bin/qexo': No such file or directory config.status: creating gnu/bytecode/Makefile chmod: cannot access 'bin/qexo': No such file or directory config.status: creating gnu/math/Makefile chmod: cannot access 'bin/qexo': No such file or directory config.status: creating gnu/Makefile chmod: cannot access 'bin/qexo': No such file or directory config.status: creating bin/kawa.sh chmod: cannot access 'bin/qexo': No such file or directory config.status: creating bin/qexo config.status: creating gnu/kawa/servlet/Makefile config.status: creating gnu/brl/Makefile ... The make fails, see below Cheers, David david@capac:/usr/local/src/kawa/svn 2 $ make test -f ./.svn/entries \ && SVN_REVISION=3D`cd . && svnversion 2>/dev/null` \ && test -n "$SVN_REVISION" \ && SVN_REVISION=3D" (revision ${SVN_REVISION})"; \ sed -e 's|VERSION|2.0.1'"$SVN_REVISION|" <./kawa/Version.java.in >kawa/Vers= ion.java current java-source is ok Making all in doc make[1]: Entering directory '/usr/local/src/kawa/svn/doc' nroff -man ./kawa.man > tpm-kawa.1 mv tpm-kawa.1 kawa.1 nroff -man ./qexo.man > tpm-qexo1 mv tpm-qexo1 qexo.1 make[1]: Leaving directory '/usr/local/src/kawa/svn/doc' Making all in testsuite make[1]: Entering directory '/usr/local/src/kawa/svn/testsuite' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/local/src/kawa/svn/testsuite' Making all in gnu/bytecode make[1]: Entering directory '/usr/local/src/kawa/svn/gnu/bytecode' javac -d ../.. -classpath "../..:./../..:$CLASSPATH" -g Access.java Annotat= ionDefaultAttr.java AnnotationEntry.java Attribute.java AttrContainer.java = ObjectType.java ArrayType.java ClassType.java ConstantPool.java CpoolClass.= java CpoolEntry.java CpoolInvokeDynamic.java CpoolValue1.java CpoolValue2.j= ava CpoolNameAndType.java CpoolMethodHandle.java CpoolMethodType.java Cpool= Ref.java CpoolString.java CpoolUtf8.java EnclosingMethodAttr.java ExitableB= lock.java Filter.java Location.java Field.java Label.java IfState.java TryS= tate.java SwitchState.java Member.java Method.java CodeAttr.java ConstantVa= lueAttr.java LineNumbersAttr.java LocalVarsAttr.java InnerClassesAttr.java = MiscAttr.java ParameterizedType.java PrimType.java RuntimeAnnotationsAttr.j= ava Scope.java SignatureAttr.java SourceDebugExtAttr.java SourceFileAttr.ja= va SpecialObjectType.java StackMapTableAttr.java Type.java UninitializedTyp= e.java Variable.java VarEnumerator.java TypeVariable.java ZipArchive.java Z= ipLoader.java ArrayClassLoader.java ClassFileInput.java ClassTypeWriter.jav= a ExceptionsAttr.java dump.java ListCodeSize.java /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:10: error: The im= port javax.lang cannot be resolved import javax.lang.model.element.*; ^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:29: warning: Type= safety: The method getAnnotation(Class) belongs to the raw type Class. Ref= erences to generic type Class should be parameterized Annotation retention =3D getAnnotationType().getReflectClass() .getAnnotation(Retention.class); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:43: warning: Type= safety: The method getAnnotation(Class) belongs to the raw type Class. Ref= erences to generic type Class should be parameterized Annotation target =3D getAnnotationType().getReflectClass() .getAnnotation(Target.class); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:49: warning: Unne= cessary cast from ElementType[] to ElementType[] ElementType[] etypes =3D (ElementType[]) ((Target) target).value(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:97: warning: Unne= cessary cast from Object to String val =3D (String) val; ^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:103: warning: Unn= ecessary cast from Object to Type val =3D (Type) val; ^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:105: warning: Cla= ss is a raw type. References to generic type Class should be parameteriz= ed val =3D Type.make((Class) val); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:114: warning: Unn= ecessary cast from InvocationHandler to AnnotationEntry val =3D (AnnotationEntry) Proxy.getInvocationHandler(val); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:145: warning: Unn= ecessary cast from Class to Class return (Class) annotationType.g= etReflectClass(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^= ^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:258: error: Annot= ationValue cannot be resolved to a type implements AnnotationValue ^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:303: warning: Typ= e safety: Unchecked cast from Object to List (List) value; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:305: warning: Cla= ss is a raw type. References to generic type Class should be parameteriz= ed Class eltype =3D type.getReflectClass().getComponentType(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:331: warning: Enu= m is a raw type. References to generic type Enum should be parameterized Class eclas =3D clas.asSubclass(Enum.class); ^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:332: warning: Enu= m is a raw type. References to generic type Enum should be parameterized Enum val =3D Enum.valueOf(eclas, name); ^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:332: warning: Typ= e safety: Unchecked invocation valueOf(Class, = String) of the generic method valueOf(Class, String) of type Enum Enum val =3D Enum.valueOf(eclas, name); ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:345: error: Annot= ationValueVisitor cannot be resolved to a type public R accept(AnnotationValueVisitor v, P p) ^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:359: warning: Typ= e safety: Unchecked cast from Object to List return v.visitArray((List) value, p); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:359: error: Annot= ationValue cannot be resolved to a type return v.visitArray((List) value, p); ^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:424: warning: Typ= e safety: Unchecked cast from Object to List List vals =3D (List) value; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:450: warning: Enu= m is a raw type. References to generic type Enum should be parameterized Enum evalue =3D (Enum) value; ^^^^ /usr/local/src/kawa/svn/gnu/bytecode/AnnotationEntry.java:450: warning: Enu= m is a raw type. References to generic type Enum should be parameterized Enum evalue =3D (Enum) value; ^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ObjectType.java:85: warning: Class is = a raw type. References to generic type Class should be parameterized public static Class getContextClass (String cname) ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ObjectType.java:110: warning: Class is= a raw type. References to generic type Class should be parameterized public Class getReflectClass() ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ObjectType.java:135: warning: The valu= e of the parameter name is not used public Field getField(String name, int mask) ^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ObjectType.java:135: warning: The valu= e of the parameter mask is not used public Field getField(String name, int mask) ^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ObjectType.java:147: warning: Vector i= s a raw type. References to generic type Vector should be parameterized Vector result, String context) ^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ObjectType.java:147: warning: The valu= e of the parameter context is not used Vector result, String context) ^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ObjectType.java:149: warning: Type saf= ety: The expression of type Vector needs unchecked conversion to conform to= List return getMethods(filter, searchSupers, result); ^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ObjectType.java:177: warning: Class is= a raw type. References to generic type Class should be parameterized Class clas =3D getReflectClass(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ObjectType.java:178: warning: Class is= a raw type. References to generic type Class should be parameterized Class objClass =3D obj.getClass(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ArrayType.java:64: warning: Class is a= raw type. References to generic type Class should be parameterized public Class getReflectClass() { ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ArrayType.java:68: warning: Class is a= raw type. References to generic type Class should be parameterized Class elClass =3D elements.getReflectClass(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ArrayType.java:133: warning: The decla= red exception ObjectStreamException is not actually thrown by the method re= adResolve() from type ArrayType public Object readResolve() throws ObjectStreamException { ^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:205: warning: Class is = a raw type. References to generic type Class should be parameterized Class clas =3D getReflectClass(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:208: warning: Class is = a raw type. References to generic type Class should be parameterized Class dclas; ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:221: warning: Construct= or is a raw type. References to generic type Constructor should be param= eterized java.lang.reflect.Constructor rcons =3D clas.getEnclosingConstructor(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:240: warning: Class is = a raw type. References to generic type Class should be parameterized Class clas =3D getReflectClass(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:242: warning: Class is = a raw type. References to generic type Class should be parameterized Class[] memberClasses =3D clas.getClasses(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:398: warning: TypeVaria= ble is a raw type. References to generic type TypeVariable should be par= ameterized java.lang.reflect.TypeVariable[] rparams ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:416: warning: The field= Type.pointer_type is deprecated setSuper(name =3D=3D null ? Type.pointer_type : ClassType.make(name)); ^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:452: warning: Class is = a raw type. References to generic type Class should be parameterized Class[] reflectInterfaces =3D reflectClass.getInterfaces(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:659: warning: Class is = a raw type. References to generic type Class should be parameterized Class clas =3D getReflectClass(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:755: warning: Class is = a raw type. References to generic type Class should be parameterized Class[] paramTypes =3D method.getParameterTypes(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:767: warning: Construct= or is a raw type. References to generic type Constructor should be param= eterized public Method addMethod (java.lang.reflect.Constructor method) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:769: warning: Class is = a raw type. References to generic type Class should be parameterized Class[] paramTypes =3D method.getParameterTypes(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:793: warning: Class is = a raw type. References to generic type Class should be parameterized Class[] parameterClasses =3D method.getParameterTypes(); ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:817: warning: Vector is= a raw type. References to generic type Vector should be parameterized Vector vec =3D new Vector(); ^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:817: warning: Vector is= a raw type. References to generic type Vector should be parameterized Vector vec =3D new Vector(); ^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:818: warning: Type safe= ty: The expression of type Vector needs unchecked conversion to conform to = List getMethods(filter, searchSupers, vec); ^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:836: warning: Type safe= ty: The expression of type Vector needs unchecked conversion to conform to = Vector Vector vec =3D new Vector(); ^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:836: warning: Vector is= a raw type. References to generic type Vector should be parameterized Vector vec =3D new Vector(); ^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:1063: warning: Class is= a raw type. References to generic type Class should be parameterized public synchronized void addMethods(Class clas) ^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:1089: warning: Construc= tor is a raw type. References to generic type Constructor should be para= meterized java.lang.reflect.Constructor[] cmethods; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:1101: warning: Construc= tor is a raw type. References to generic type Constructor should be para= meterized java.lang.reflect.Constructor method =3D cmethods[i]; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:1111: warning: Vector i= s a raw type. References to generic type Vector should be parameterized java.util.Vector matches =3D new java.util.Vector(10); ^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:1111: warning: Vector i= s a raw type. References to generic type Vector should be parameterized java.util.Vector matches =3D new java.util.Vector(10); ^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:1124: warning: Type saf= ety: The method addElement(Object) belongs to the raw type Vector. Referenc= es to generic type Vector should be parameterized matches.addElement(method); ^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:1460: warning: The stat= ic field ObjectType.EXISTING_CLASS should be accessed directly flags |=3D ClassType.EXISTING_CLASS; ^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:1463: warning: The decl= ared exception ObjectStreamException is not actually thrown by the method r= eadResolve() from type ClassType public Object readResolve() throws ObjectStreamException ^^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/ClassType.java:1473: warning: Unnecess= ary cast from Type to Type Type found =3D (Type) map.get(name); ^^^^^^^^^^^^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/Field.java:82: warning: The value of t= he parameter classfile is not used void write(DataOutputStream dstr, ClassType classfile) ^^^^^^^^^ /usr/local/src/kawa/svn/gnu/bytecode/Label.java:37: warning: The value of t= he parameter code is not used public Label (CodeAttr code) ^^^^ /usr/local/src/kawa/svn/gnu/bytecode/Label.java:145: warning: Type safety: = Unchecked cast from Object to ArrayList