-
Bug
-
Resolution: Fixed
-
P4
-
17, 19
-
b21
-
generic
-
linux_alpine
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8286804 | 17.0.4 | Matthias Baesken | P4 | Resolved | Fixed | b03 |
JDK-8291184 | 11.0.17 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
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.
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.
- backported by
-
JDK-8286804 Alpine Linux build fails with busybox tar
- Resolved
-
JDK-8291184 Alpine Linux build fails with busybox tar
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/f00776b6
-
Commit openjdk/jdk17u-dev/2680e83f
-
Commit openjdk/jdk/36bf6fbe
-
Review openjdk/jdk11u-dev/1242
-
Review openjdk/jdk17u-dev/396
-
Review openjdk/jdk/8449
(3 links to)