Skip to content

debuild fails #20

@bytebang

Description

@bytebang

I try to build the system from scratch. While aprsd and webapp2 are building fine, the maven build of the `Database-plugin fails with the following message

incompatible types: no.polaric.core.httpd.NodeWsApi.Handler is not a functional interface multiple non-overriding abstract methods found in interface no.polaric.core.httpd.NodeWsApi.Handler

See the complete log below.

 dpkg-buildpackage -us -uc -ui -b
dpkg-buildpackage: info: source package polaric-db-plugin
dpkg-buildpackage: info: source version 4.1
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by Oyvind Hanssen <ohanssen@acm.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/gue/polaric/Database-plugin'
bash build.sh
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper (file:/usr/share/maven/lib/guava.jar)
WARNING: Please consider reporting this to the maintainers of class com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------------< no.polaric:polaric-db-plugin >--------------------
[INFO] Building Polaric Db Plugin 4.1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ polaric-db-plugin ---
[INFO] Deleting /home/gue/polaric/Database-plugin/target
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:copy-dependencies (default-cli) @ polaric-db-plugin ---
[INFO] jackson-databind-2.18.2.jar already exists in destination.
[INFO] commons-lang3-3.17.0.jar already exists in destination.
[INFO] jetty-server-11.0.25.jar already exists in destination.
[INFO] reflections-0.10.2.jar already exists in destination.
[INFO] websocket-servlet-11.0.25.jar already exists in destination.
[INFO] jetty-xml-11.0.25.jar already exists in destination.
[INFO] slf4j-api-2.0.17.jar already exists in destination.
[INFO] scribejava-core-8.3.3.jar already exists in destination.
[INFO] jmdns-3.4.1.jar already exists in destination.
[INFO] guava-mini-0.1.4.jar already exists in destination.
[INFO] jetty-io-11.0.25.jar already exists in destination.
[INFO] jetty-jakarta-servlet-api-5.0.2.jar already exists in destination.
[INFO] websocket-jetty-api-11.0.25.jar already exists in destination.
[INFO] commons-codec-1.18.0.jar already exists in destination.
[INFO] HikariCP-7.0.2.jar already exists in destination.
[INFO] pac4j-oauth-6.1.1.jar already exists in destination.
[INFO] jetty-util-11.0.25.jar already exists in destination.
[INFO] javalin-pac4j-7.0.0.jar already exists in destination.
[INFO] websocket-core-common-11.0.25.jar already exists in destination.
[INFO] jetty-http-11.0.25.jar already exists in destination.
[INFO] jackson-datatype-jsr310-2.18.2.jar already exists in destination.
[INFO] kotlin-stdlib-1.9.25.jar already exists in destination.
[INFO] lz4-1.3.0.jar already exists in destination.
[INFO] slf4j-simple-2.0.16.jar already exists in destination.
[INFO] jsr305-3.0.2.jar already exists in destination.
[INFO] jSerialComm-2.11.4.jar already exists in destination.
[INFO] nano-cuckoo-3.0.2.jar already exists in destination.
[INFO] kotlin-stdlib-jdk8-1.9.25.jar already exists in destination.
[INFO] scribejava-java8-8.3.3.jar already exists in destination.
[INFO] websocket-jetty-common-11.0.25.jar already exists in destination.
[INFO] websocket-core-server-11.0.25.jar already exists in destination.
[INFO] jackson-annotations-2.17.0.jar already exists in destination.
[INFO] pac4j-core-6.1.1.jar already exists in destination.
[INFO] jetty-servlet-11.0.25.jar already exists in destination.
[INFO] bcprov-jdk18on-1.84.jar already exists in destination.
[INFO] postgis-jdbc-2025.1.1.jar already exists in destination.
[INFO] websocket-jetty-server-11.0.25.jar already exists in destination.
[INFO] jetty-webapp-11.0.25.jar already exists in destination.
[INFO] postgresql-42.7.7.jar already exists in destination.
[INFO] polaric-core-1.0.3.jar already exists in destination.
[INFO] jackson-core-2.18.2.jar already exists in destination.
[INFO] pac4j-jakartaee-6.0.4.1.jar already exists in destination.
[INFO] kotlin-stdlib-jdk7-1.9.25.jar already exists in destination.
[INFO] commons-text-1.13.0.jar already exists in destination.
[INFO] pac4j-http-6.1.1.jar already exists in destination.
[INFO] scribejava-apis-8.3.3.jar already exists in destination.
[INFO] rtree2-0.9.3.jar already exists in destination.
[INFO] postgis-geometry-2025.1.1.jar already exists in destination.
[INFO] checker-qual-3.49.3.jar already exists in destination.
[INFO] jetty-security-11.0.25.jar already exists in destination.
[INFO] findbugs-annotations-3.0.1.jar already exists in destination.
[INFO] javalin-6.7.0.jar already exists in destination.
[INFO] javassist-3.28.0-GA.jar already exists in destination.
[INFO] polaric-aprsd-4.1.jar already exists in destination.
[INFO] annotations-13.0.jar already exists in destination.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ polaric-db-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/gue/polaric/Database-plugin/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ polaric-db-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 34 source files to /home/gue/polaric/Database-plugin/target/classes
[INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/gue/polaric/Database-plugin/src/dbsync/DbSync.java:[105,17] incompatible types: no.polaric.core.httpd.NodeWsApi.Handler is not a functional interface
    multiple non-overriding abstract methods found in interface no.polaric.core.httpd.NodeWsApi.Handler
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.644 s
[INFO] Finished at: 2026-06-01T09:55:59+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project polaric-db-plugin: Compilation failure
[ERROR] /home/gue/polaric/Database-plugin/src/dbsync/DbSync.java:[105,17] incompatible types: no.polaric.core.httpd.NodeWsApi.Handler is not a functional interface
[ERROR]     multiple non-overriding abstract methods found in interface no.polaric.core.httpd.NodeWsApi.Handler
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 1
make[1]: Leaving directory '/home/gue/polaric/Database-plugin'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -b failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions