[Bug 268558] archivers/snappy-java: does not work with Java >=17

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Dec 2022 16:03:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268558

            Bug ID: 268558
           Summary: archivers/snappy-java: does not work with Java >=17
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: wcarson.bugzilla@disillusion.net
                CC: language.devel@gmail.com
                CC: language.devel@gmail.com
             Flags: maintainer-feedback?(language.devel@gmail.com)

Overview:

    Attempting to build archivers/java-snappy with JAVA_VERSION=17+ results in
error:

        2022-12-25 15:43:00,525 main ERROR Could not determine local host name
java.net.UnknownHostException: FreeBSD:13:aarch64-HEAD-job-01:
FreeBSD:13:aarch64-HEAD-job-01: Name does not resolve
        Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
[0m[[0m[31merror[0m] [0m[0mjava.io.IOError: java.lang.RuntimeException:
/packages cannot be represented as URI[0m


Steps to Reproduce:

    1) Edit archivers/snappy-java/Makefile and add JAVA_VERSION=17

    2) make package

    3) Observe failure

Actual Results:

    The build fails with the above error(s).

Expected Results: 

    The package should successfully build. 

Build Date & Hardware: 

    Built on a RockPro64 (aarch64) running 13.1-RELEASE-p5 with ports commit
7dda4a77b8bbe5daab22301a0e1e992a195bd139 dated Wed Dec 21 21:16:58 2022 +0000.

Additional Information: 

    Adding "JAVA_VERSION=8 11" to the Makefile resolves the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.