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

Alpine Linux build fails with busybox tar

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      linux_alpine

      Backports

        Description

        Currently , in target "product-bundles" , the Alpine Linux build fails when Busybox tar is used.
        Error is :
        /bin/tar: unrecognized option: I
        BusyBox v1.34.1 (2022-04-04 10:19:27 UTC) multi-call binary
        Usage: tar c|x|t [-ZzJjahmvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [LONGOPT]... [FILE]...

        Seems this is coming from a wrong setting of TAR_INCLUDE_PARAM in autoconf/basic_tools.m4 (I is set, seems T is needed) .

        As a workaround, gnu tar can be installed however additionally.
        Unfortunately , configure currently does not show the issue so we see it afterwards in the build.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mbaesken Matthias Baesken
                Reporter:
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: