Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8235960

Zero should not trigger the deprecation warning for ports

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: infrastructure
    • Labels:
      None
    • Resolved In Build:
      b02

      Description

      After JDK-8234370, trying to configure Zero on Linux/SPARC fails with the deprecation warning despite the deprecation only affecting the native port for SPARC, not the Zero port:

      sh ./configure --with-jvm-variants=zero --with-boot-jdk=/usr/lib/jvm/java-13-openjdk-sparc64/ --disable-precompiled-headers --disable-warnings-as-errors
      configure: Configuration created at Sun Dec 15 12:18:49 MSK 2019.
      checking for basename... /usr/bin/basename
      checking for bash... /bin/bash
      checking for cat... /bin/cat
      checking for chmod... /bin/chmod
      checking for cmp... /usr/bin/cmp
      checking for comm... /usr/bin/comm
      checking for cp... /bin/cp
      checking for cut... /usr/bin/cut
      checking for date... /bin/date
      checking for gdiff... no
      checking for diff... /usr/bin/diff
      checking for dirname... /usr/bin/dirname
      checking for echo... /bin/echo
      checking for expr... /usr/bin/expr
      checking for file... /usr/bin/file
      checking for find... /usr/bin/find
      checking for head... /usr/bin/head
      checking for gunzip... /bin/gunzip
      checking for pigz... /usr/bin/pigz
      checking for ln... /bin/ln
      checking for ls... /bin/ls
      checking for gmkdir... no
      checking for mkdir... /bin/mkdir
      checking for mktemp... /bin/mktemp
      checking for mv... /bin/mv
      checking for nawk... /usr/bin/nawk
      checking for printf... /usr/bin/printf
      checking for greadlink... no
      checking for readlink... /bin/readlink
      checking for rm... /bin/rm
      checking for rmdir... /bin/rmdir
      checking for sh... /bin/sh
      checking for sort... /usr/bin/sort
      checking for tail... /usr/bin/tail
      checking for gtar... no
      checking for tar... /bin/tar
      checking for tee... /usr/bin/tee
      checking for touch... /usr/bin/touch
      checking for tr... /usr/bin/tr
      checking for uname... /bin/uname
      checking for uniq... /usr/bin/uniq
      checking for wc... /usr/bin/wc
      checking for which... /usr/bin/which
      checking for xargs... /usr/bin/xargs
      checking for gawk... gawk
      checking for grep that handles long lines and -e... /bin/grep
      checking for egrep... /bin/grep -E
      checking for fgrep... /bin/grep -F
      checking for a sed that does not truncate output... /bin/sed
      checking for cygpath... no
      checking for wslpath... no
      checking for df... /bin/df
      checking for cpio... /bin/cpio
      checking for nice... /usr/bin/nice
      checking for lsb_release... /usr/bin/lsb_release
      checking for cmd.exe... no
      checking for /mnt/c/Windows/System32/cmd.exe... no
      checking build system type... sparc64-unknown-linux-gnu
      checking host system type... sparc64-unknown-linux-gnu
      checking target system type... sparc64-unknown-linux-gnu
      checking openjdk-build os-cpu... linux-sparcv9
      checking openjdk-target os-cpu... linux-sparcv9
      checking compilation type... native
      configure: error: The Solaris and SPARC ports are deprecated and may be removed in a future release. Use --enable-deprecated-ports=yes to suppress this error.
      configure exiting with result code 1

      As Zero is a target-independent implementation of the JVM, it should not be affected by any deprecation mechanism.

        Attachments

          Activity

            People

            • Assignee:
              glaubitz John Paul Adrian Glaubitz
              Reporter:
              glaubitz John Paul Adrian Glaubitz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: