[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#754958: basex: FTBFS with Java 8: reference to Base64 is ambiguous



Source: basex
Version: 7.8.2-1
Severity: important
User: debian-java@lists.debian.org
Usertags: openjdk-8-transition

Hi,

During a rebuild of all Java packages in sid with OpenJDK 8,
this package failed to build with the following error:


    [INFO] ------------------------------------------------------------------------
    [INFO] Building BaseX Core
    [INFO]    task-segment: [package]
    [INFO] ------------------------------------------------------------------------
    [INFO] [resources:resources {execution: default-resources}]
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 63 resources
    [INFO] [compiler:compile {execution: default-compile}]
    [INFO] Compiling 947 source files to /«PKGBUILDDIR»/basex-core/target/classes
    [INFO] -------------------------------------------------------------
    [ERROR] COMPILATION ERROR : 
    [INFO] -------------------------------------------------------------
    [ERROR] /«PKGBUILDDIR»/basex-core/src/main/java/org/basex/query/util/http/HTTPClient.java:[199,25] error: reference to Base64 is ambiguous
    [INFO] 1 error
    [INFO] -------------------------------------------------------------


This issue can be fixed by upgrading to the version 7.9 or applying these patches:

    https://github.com/BaseXdb/basex/commit/ea622d
    https://github.com/BaseXdb/basex/commit/705ce9

OpenJDK 8 packages are available for testing here:
    http://87.98.165.193/debian/openjdk-8u5-b13/


Reply to: