user debian-rele...@lists.debian.org usertags 912467 + bsp-2019-03-fr-paris thank you
Hi, I am working on bug #912467. The most evident problem is that the compiler is not instructed to search for classes in the saaj library, which is probably due to the fact that the saaj dependency is marked as "<scope>runtime</scope>" in the POM. Removing that indication seems to fix the problem, but exposes a few others: > [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ > jasperreports --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 2705 source files to > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/target/classes > [INFO] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/JRRenderable.java: > Some input files use or override a deprecated API. > [INFO] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/JRRenderable.java: > Recompile with -Xlint:deprecation for details. > [INFO] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/JRAbstractScriptlet.java: > Some input files use unchecked or unsafe operations. > [INFO] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/JRAbstractScriptlet.java: > Recompile with -Xlint:unchecked for details. > [INFO] Some messages have been simplified; recompile with -Xdiags:verbose to > get full output > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[559,50] > incompatible types: int cannot be converted to > org.apache.poi.ss.usermodel.CellType > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[584,105] > incompatible types: int cannot be converted to > org.apache.poi.ss.usermodel.ClientAnchor.AnchorType > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[1169,94] > incompatible types: byte cannot be converted to > org.apache.poi.ss.usermodel.ClientAnchor.AnchorType > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[1178,131] > incompatible types: org.apache.poi.ss.usermodel.ClientAnchor.AnchorType > cannot be converted to int > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[2030,51] > incompatible types: org.apache.poi.ss.usermodel.BorderStyle cannot be > converted to int > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[2032,48] > bad operand types for binary operator '+' > first type: int > second type: org.apache.poi.ss.usermodel.BorderStyle > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[2034,48] > bad operand types for binary operator '+' > first type: int > second type: org.apache.poi.ss.usermodel.BorderStyle > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[2036,48] > bad operand types for binary operator '+' > first type: int > second type: org.apache.poi.ss.usermodel.BorderStyle > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[2119,36] > incompatible types: org.apache.poi.ss.usermodel.FillPatternType cannot be > converted to int > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[2121,40] > bad operand types for binary operator '+' > first type: int > second type: org.apache.poi.ss.usermodel.HorizontalAlignment > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[2122,40] > bad operand types for binary operator '+' > first type: int > second type: org.apache.poi.ss.usermodel.VerticalAlignment > [ERROR] > /home2/giovanni2/packages/tmp/jasperreports/build-area/jasperreports-6.3.1/jasperreports/src/net/sf/jasperreports/engine/export/JRXlsMetadataExporter.java:[2225,32] > incompatible types: org.apache.poi.ss.usermodel.CellType cannot be converted > to int > [INFO] 12 errors I believe these are caused by the recent major upload of libapache-poi-java, which might have changes a few APIs (in particular, most changes seem to be in the direction of replacing a numeric flag with a dedicated type). I can try to devise a patch, but I do not know this API, so if there is someone more expert at that I would leave it to them. If not, I can give a try. Hope this helps! Giovanni. -- Giovanni Mascellani <g.mascell...@gmail.com> Postdoc researcher - Université Libre de Bruxelles
signature.asc
Description: OpenPGP digital signature