Bug#1086291: lucene9: FTBFS: error: package org.objectweb.asm does not exist

Santiago Vila sanvila at debian.org
Tue Oct 29 18:47:18 GMT 2024


Package: src:lucene9
Version: 9.10.0+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --with javahelper
    dh_update_autotools_config
    dh_autoreconf
    jh_linkjars
    debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf lucene/benchmark lucene/core/src/java??
jh_build --javacopts='-source 11 -encoding UTF-8' --no-javadoc lucene9-9.10.0.jar lucene/
jh_build: warning: Java machine does not support --release 7, using --release 8
warning: [options] system modules path not set in conjunction with -source 11
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:48: error: package org.objectweb.asm does not exist
import org.objectweb.asm.ClassWriter;
                         ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:49: error: package org.objectweb.asm does not exist
import org.objectweb.asm.Label;
                         ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:50: error: package org.objectweb.asm does not exist
import org.objectweb.asm.Opcodes;
                         ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:51: error: package org.objectweb.asm does not exist
import org.objectweb.asm.Type;
                         ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:52: error: package org.objectweb.asm.commons does not exist
import org.objectweb.asm.commons.GeneratorAdapter;
                                 ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:103: error: cannot find symbol
   static final Type EXPRESSION_TYPE = Type.getType(Expression.class);
                ^
   symbol:   class Type
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:104: error: cannot find symbol
   static final Type FUNCTION_VALUES_TYPE = Type.getType(DoubleValues.class);
                ^
   symbol:   class Type
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:106: error: package org.objectweb.asm.commons does not exist
   private static final org.objectweb.asm.commons.Method
                                                 ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:110: error: package org.objectweb.asm.commons does not exist
   static final org.objectweb.asm.commons.Method DOUBLE_VAL_METHOD =
                                         ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:114: error: package org.objectweb.asm.commons does not exist
   private static org.objectweb.asm.commons.Method getAsmMethod(
                                           ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:304: error: cannot find symbol
       final ClassWriter classWriter,
             ^
   symbol:   class ClassWriter
   location: class JavascriptCompiler
lucene/expressions/src/test/org/apache/lucene/expressions/js/TestCustomFunctions.java:27: error: package org.objectweb.asm does not exist
import org.objectweb.asm.ClassWriter;
                         ^
lucene/expressions/src/test/org/apache/lucene/expressions/js/TestCustomFunctions.java:28: error: package org.objectweb.asm does not exist
import org.objectweb.asm.Opcodes;
                         ^
lucene/expressions/src/test/org/apache/lucene/expressions/js/TestCustomFunctions.java:29: error: package org.objectweb.asm does not exist
import org.objectweb.asm.Type;
                         ^
lucene/expressions/src/test/org/apache/lucene/expressions/js/TestCustomFunctions.java:30: error: package org.objectweb.asm.commons does not exist
import org.objectweb.asm.commons.GeneratorAdapter;
                                 ^
lucene/expressions/src/test/org/apache/lucene/expressions/js/TestCustomFunctions.java:230: error: cannot find symbol
   static final class Loader extends ClassLoader implements Opcodes {
                                                            ^
   symbol:   class Opcodes
   location: class TestCustomFunctions
lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java:3137: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
         System.getSecurityManager() != null);
               ^
lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java:3139: warning: [removal] AccessController in java.security has been deprecated and marked for removal
     AccessController.checkPermission(new SecurityPermission("createAccessControlContext"));
     ^
lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java:3142: warning: [removal] AccessControlContext in java.security has been deprecated and marked for removal
     final AccessControlContext ctx =
           ^
lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java:3143: warning: [removal] AccessControlContext in java.security has been deprecated and marked for removal
         new AccessControlContext(new ProtectionDomain[] {new ProtectionDomain(null, perms)});
             ^
lucene/test-framework/src/java/org/apache/lucene/tests/util/LuceneTestCase.java:3145: warning: [removal] AccessController in java.security has been deprecated and marked for removal
       return AccessController.doPrivileged(action, ctx);
              ^
lucene/core/src/java/org/apache/lucene/util/RamUsageEstimator.java:548: warning: [removal] AccessController in java.security has been deprecated and marked for removal
             AccessController.doPrivileged((PrivilegedAction<Field[]>) target::getDeclaredFields);
             ^
lucene/core/src/java/org/apache/lucene/util/RamUsageEstimator.java:549: warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
       } catch (AccessControlException e) {
                ^
lucene/core/src/java/org/apache/lucene/search/Query.java:56: warning: [removal] AccessController in java.security has been deprecated and marked for removal
       AccessController.doPrivileged(
       ^
lucene/core/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java:35: warning: [removal] Long(long) in Long has been deprecated and marked for removal
   private static final Long NO_OUTPUT = new Long(0);
                                         ^
lucene/test-framework/src/java/org/apache/lucene/tests/util/RamUsageTester.java:326: warning: [removal] AccessController in java.security has been deprecated and marked for removal
     return AccessController.doPrivileged(
            ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:94: error: cannot find symbol
   private static final int CLASSFILE_VERSION = Opcodes.V1_8;
                                                ^
   symbol:   variable Opcodes
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:103: error: cannot find symbol
   static final Type EXPRESSION_TYPE = Type.getType(Expression.class);
                                       ^
   symbol:   variable Type
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:104: error: cannot find symbol
   static final Type FUNCTION_VALUES_TYPE = Type.getType(DoubleValues.class);
                                            ^
   symbol:   variable Type
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:116: error: package org.objectweb.asm.commons does not exist
     return new org.objectweb.asm.commons.Method(
                                         ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:221: error: cannot find symbol
     final ClassWriter classWriter =
           ^
   symbol:   class ClassWriter
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:222: error: cannot find symbol
         new ClassWriter(ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS);
             ^
   symbol:   class ClassWriter
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:222: error: cannot find symbol
         new ClassWriter(ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS);
                         ^
   symbol:   variable ClassWriter
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:222: error: cannot find symbol
         new ClassWriter(ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS);
                                                      ^
   symbol:   variable ClassWriter
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:309: error: cannot find symbol
         Opcodes.ACC_PUBLIC | Opcodes.ACC_SUPER | Opcodes.ACC_FINAL,
         ^
   symbol:   variable Opcodes
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:309: error: cannot find symbol
         Opcodes.ACC_PUBLIC | Opcodes.ACC_SUPER | Opcodes.ACC_FINAL,
                              ^
   symbol:   variable Opcodes
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:309: error: cannot find symbol
         Opcodes.ACC_PUBLIC | Opcodes.ACC_SUPER | Opcodes.ACC_FINAL,
                                                  ^
   symbol:   variable Opcodes
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:320: error: cannot find symbol
     final GeneratorAdapter constructor =
           ^
   symbol:   class GeneratorAdapter
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:321: error: cannot find symbol
         new GeneratorAdapter(Opcodes.ACC_PUBLIC, EXPRESSION_CTOR, null, null, classWriter);
             ^
   symbol:   class GeneratorAdapter
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:321: error: cannot find symbol
         new GeneratorAdapter(Opcodes.ACC_PUBLIC, EXPRESSION_CTOR, null, null, classWriter);
                              ^
   symbol:   variable Opcodes
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:328: error: cannot find symbol
     final GeneratorAdapter gen =
           ^
   symbol:   class GeneratorAdapter
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:329: error: cannot find symbol
         new GeneratorAdapter(Opcodes.ACC_PUBLIC, EVALUATE_METHOD, null, null, classWriter);
             ^
   symbol:   class GeneratorAdapter
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:329: error: cannot find symbol
         new GeneratorAdapter(Opcodes.ACC_PUBLIC, EVALUATE_METHOD, null, null, classWriter);
                              ^
   symbol:   variable Opcodes
   location: class JavascriptCompiler
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:333: error: cannot find symbol
       private final Deque<Type> typeStack = new ArrayDeque<>();
                           ^
   symbol: class Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:669: error: cannot find symbol
           Type leftType,
           ^
   symbol: class Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:670: error: cannot find symbol
           Type rightType,
           ^
   symbol: class Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:671: error: cannot find symbol
           Type returnType) {
           ^
   symbol: class Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:337: error: cannot find symbol
         typeStack.push(Type.DOUBLE_TYPE);
                        ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:359: error: cannot find symbol
           gen.cast(Type.DOUBLE_TYPE, typeStack.peek());
                    ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:392: error: cannot find symbol
             typeStack.push(Type.DOUBLE_TYPE);
                            ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:401: error: cannot find symbol
                 Type.getType(method.getDeclaringClass()),
                 ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:402: error: package org.objectweb.asm.commons does not exist
                 org.objectweb.asm.commons.Method.getMethod(method));
                                          ^
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:404: error: cannot find symbol
             gen.cast(Type.DOUBLE_TYPE, typeStack.peek());
                      ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:421: error: cannot find symbol
             gen.cast(Type.DOUBLE_TYPE, typeStack.peek());
                      ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:443: error: cannot find symbol
           Label labelNotTrue = new Label();
           ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:443: error: cannot find symbol
           Label labelNotTrue = new Label();
                                    ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:444: error: cannot find symbol
           Label labelNotReturn = new Label();
           ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:444: error: cannot find symbol
           Label labelNotReturn = new Label();
                                      ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:446: error: cannot find symbol
           typeStack.push(Type.INT_TYPE);
                          ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:449: error: cannot find symbol
           gen.visitJumpInsn(Opcodes.IFEQ, labelNotTrue);
                             ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:457: error: cannot find symbol
           typeStack.push(Type.LONG_TYPE);
                          ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:461: error: cannot find symbol
           gen.visitInsn(Opcodes.LXOR);
                         ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:462: error: cannot find symbol
           gen.cast(Type.LONG_TYPE, typeStack.peek());
                    ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:468: error: cannot find symbol
           typeStack.push(Type.DOUBLE_TYPE);
                          ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:471: error: cannot find symbol
           gen.visitInsn(Opcodes.DNEG);
                         ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:472: error: cannot find symbol
           gen.cast(Type.DOUBLE_TYPE, typeStack.peek());
                    ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:486: error: cannot find symbol
           opcode = Opcodes.DMUL;
                    ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:488: error: cannot find symbol
           opcode = Opcodes.DDIV;
                    ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:490: error: cannot find symbol
           opcode = Opcodes.DREM;
                    ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:505: error: cannot find symbol
           opcode = Opcodes.DADD;
                    ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:507: error: cannot find symbol
           opcode = Opcodes.DSUB;
                    ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:522: error: cannot find symbol
           opcode = Opcodes.LSHL;
                    ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:524: error: cannot find symbol
           opcode = Opcodes.LSHR;
                    ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:526: error: cannot find symbol
           opcode = Opcodes.LUSHR;
                    ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:541: error: cannot find symbol
           opcode = GeneratorAdapter.LT;
                    ^
   symbol: variable GeneratorAdapter
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:543: error: cannot find symbol
           opcode = GeneratorAdapter.LE;
                    ^
   symbol: variable GeneratorAdapter
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:545: error: cannot find symbol
           opcode = GeneratorAdapter.GT;
                    ^
   symbol: variable GeneratorAdapter
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:547: error: cannot find symbol
           opcode = GeneratorAdapter.GE;
                    ^
   symbol: variable GeneratorAdapter
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:562: error: cannot find symbol
           opcode = GeneratorAdapter.EQ;
                    ^
   symbol: variable GeneratorAdapter
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:564: error: cannot find symbol
           opcode = GeneratorAdapter.NE;
                    ^
   symbol: variable GeneratorAdapter
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:576: error: cannot find symbol
         pushBitwise(Opcodes.LAND, ctx.expression(0), ctx.expression(1));
                     ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:583: error: cannot find symbol
         pushBitwise(Opcodes.LXOR, ctx.expression(0), ctx.expression(1));
                     ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:590: error: cannot find symbol
         pushBitwise(Opcodes.LOR, ctx.expression(0), ctx.expression(1));
                     ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:597: error: cannot find symbol
         Label andFalse = new Label();
         ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:597: error: cannot find symbol
         Label andFalse = new Label();
                              ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:598: error: cannot find symbol
         Label andEnd = new Label();
         ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:598: error: cannot find symbol
         Label andEnd = new Label();
                            ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:600: error: cannot find symbol
         typeStack.push(Type.INT_TYPE);
                        ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:602: error: cannot find symbol
         gen.visitJumpInsn(Opcodes.IFEQ, andFalse);
                           ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:604: error: cannot find symbol
         gen.visitJumpInsn(Opcodes.IFEQ, andFalse);
                           ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:617: error: cannot find symbol
         Label orTrue = new Label();
         ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:617: error: cannot find symbol
         Label orTrue = new Label();
                            ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:618: error: cannot find symbol
         Label orEnd = new Label();
         ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:618: error: cannot find symbol
         Label orEnd = new Label();
                           ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:620: error: cannot find symbol
         typeStack.push(Type.INT_TYPE);
                        ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:622: error: cannot find symbol
         gen.visitJumpInsn(Opcodes.IFNE, orTrue);
                           ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:624: error: cannot find symbol
         gen.visitJumpInsn(Opcodes.IFNE, orTrue);
                           ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:637: error: cannot find symbol
         Label condFalse = new Label();
         ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:637: error: cannot find symbol
         Label condFalse = new Label();
                               ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:638: error: cannot find symbol
         Label condEnd = new Label();
         ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:638: error: cannot find symbol
         Label condEnd = new Label();
                             ^
   symbol: class Label
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:640: error: cannot find symbol
         typeStack.push(Type.INT_TYPE);
                        ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:643: error: cannot find symbol
         gen.visitJumpInsn(Opcodes.IFEQ, condFalse);
                           ^
   symbol: variable Opcodes
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:654: error: cannot find symbol
         pushBinaryOp(operator, left, right, Type.DOUBLE_TYPE, Type.DOUBLE_TYPE, Type.DOUBLE_TYPE);
                                             ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:654: error: cannot find symbol
         pushBinaryOp(operator, left, right, Type.DOUBLE_TYPE, Type.DOUBLE_TYPE, Type.DOUBLE_TYPE);
                                                               ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:654: error: cannot find symbol
         pushBinaryOp(operator, left, right, Type.DOUBLE_TYPE, Type.DOUBLE_TYPE, Type.DOUBLE_TYPE);
                                                                                 ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:658: error: cannot find symbol
         pushBinaryOp(operator, left, right, Type.LONG_TYPE, Type.INT_TYPE, Type.LONG_TYPE);
                                             ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:658: error: cannot find symbol
         pushBinaryOp(operator, left, right, Type.LONG_TYPE, Type.INT_TYPE, Type.LONG_TYPE);
                                                             ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:658: error: cannot find symbol
         pushBinaryOp(operator, left, right, Type.LONG_TYPE, Type.INT_TYPE, Type.LONG_TYPE);
                                                                            ^
   symbol: variable Type
lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptCompiler.java:662: error: cannot find symbol
         pushBinaryOp(operator, left, right, Type.LONG_TYPE, Type.LONG_TYPE, Type.LONG_TYPE);
                                             ^
   symbol: variable Type
lucene/misc/src/java/org/apache/lucene/misc/util/fst/UpToTwoPositiveIntOutputs.java:81: warning: [removal] Long(long) in Long has been deprecated and marked for removal
   private static final Long NO_OUTPUT = new Long(0);
                                         ^
lucene/misc/src/java/org/apache/lucene/misc/store/HardlinkCopyDirectoryWrapper.java:69: warning: [removal] AccessController in java.security has been deprecated and marked for removal
             AccessController.doPrivileged(
             ^
lucene/test-framework/src/java/org/apache/lucene/tests/util/TestSecurityManager.java:31: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
public final class TestSecurityManager extends SecurityManager {
                                                ^
lucene/core/src/java/org/apache/lucene/util/NamedThreadFactory.java:42: warning: [removal] SecurityManager in java.lang has been deprecated and marked for removal
     final SecurityManager s = System.getSecurityManager();
           ^
lucene/core/src/java/org/apache/lucene/util/NamedThreadFactory.java:42: warning: [removal] getSecurityManager() in System has been deprecated and marked for removal
     final SecurityManager s = System.getSecurityManager();
                                     ^
lucene/core/src/test/org/apache/lucene/analysis/TestCharArraySet.java:67: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal
     Integer val1 = new Integer(1);
                    ^
lucene/core/src/test/org/apache/lucene/util/TestWeakIdentityMap.java:122: warning: [removal] runFinalization() in System has been deprecated and marked for removal
         System.runFinalization();
               ^
lucene/core/src/test/org/apache/lucene/util/TestWeakIdentityMap.java:234: warning: [removal] runFinalization() in System has been deprecated and marked for removal
         System.runFinalization();
               ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
100 errors
19 warnings
only showing the first 100 errors, of 137 total; use -Xmaxerrs if you would like to see more
jh_build: error: find lucene/ -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/antlr4-runtime.jar:/usr/share/java/assertj-core.jar:/usr/share/java/commons-compress.jar:/usr/share/java/hppc.jar:/usr/share/java/httpclient.jar:/usr/share/java/icu4j.jar:/usr/share/java/jetty9-server.jar:/usr/share/java/jetty9-servlet.jar:/usr/share/java/jetty9-util.jar:/usr/share/java/junit4.jar:/usr/share/java/morfologik-polish.jar:/usr/share/java/morfologik-stemming.jar:/usr/share/java/nekohtml.jar:/usr/share/java/opennlp-tools.jar:/usr/share/java/procfork.jar:/usr/share/java/randomizedtesting-runner.jar:/usr/share/java/s2-geometry-library-java.jar:/usr/share/java/servlet-api.jar:/usr/share/java/spatial4j.jar:/usr/share/java/joda-time.jar:debian/_jh_build.lucene9-9.10.0 -d debian/_jh_build.lucene9-9.10.0 -source 11 -encoding UTF-8  returned exit code 123
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the pkg-java-maintainers mailing list