-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] OpenSearch Core 1.3.0 including ja
in JDK man pages
#2517
Comments
Update: This is only for jdk11 in 1.3.0. As for jdk17 in 2.0.0 this is not an issue at all
|
@CEHENKLE @saratvemulapalli This is blocking RPM builds. Can you please prioritize it? |
How does one reproduce this? Where's the cpio code? |
@peterzhuamazon could you help understand what process is cpio doing? From what I see JDK versions < 12 have Japan version of man pages bundled. As far as I understand its a no-op and you should be able to skip the Ref: |
Easiest way to reproduce this one:
You will see:
Then check usr/share/opensearch/jdk/man and you see This does not happen on jdk14 or jdk17, only on jdk11. Thanks. |
Since cpio does not process symlink well, it will cause the cpio to return error code 2 and stop the assemble process. |
I understand that. As i've linked, JDK versions < 12 will have this problem. ( I've verified 8,11 not sure about others) |
https://superuser.com/questions/1005740/how-do-i-deal-with-unpacking-of-archive-failed-cpio-symlink seems to offer some options - I am not familiar with cpio to say what we should be doing about this |
After talking to @saratvemulapalli and sees this is only an additional symlink due to JDK pre 12 incorrectly include it. Thanks. |
Closing this. |
@saratvemulapalli We will support 1.3.0 version of OpenSearch will need to address this with a patch in core by creating a separate branch based on tags/1.3.0 and remove |
This needs to be a 1.3.1 because it's no longer a 1.3.0. |
|
|
This is a short-term solution to unblock the build process for the 1.3 release. A tool used in that process (cpio) is failing on a symlink in the JDK man pages, so this is a hack to just remove that symlink. See issue opensearch-project#2517 for more details. Signed-off-by: Andrew Ross <[email protected]>
@dblock @saratvemulapalli This PR #2602 is raised to resolve this issue temporarily. Thanks. |
Testing proves that dashboards does not have similar issues:
|
This is a short-term solution to unblock the build process for the 1.3 release. A tool used in that process (cpio) is failing on a symlink in the JDK man pages, so this is a hack to just remove that symlink. See issue #2517 for more details. Signed-off-by: Andrew Ross <[email protected]>
This is a short-term solution to unblock the build process for the 1.3 release. A tool used in that process (cpio) is failing on a symlink in the JDK man pages, so this is a hack to just remove that symlink. See issue opensearch-project#2517 for more details. Signed-off-by: Andrew Ross <[email protected]>
In rpm assemble through build repo code, we will extract the files from core rpm.
It failed with this error once we switch from 14 to 11 on JDK for 1.3.0.
Root cause:
There is a new folder
ja_JP.UTF-8
and a new symlinkja
which caused cpio to fail as it tries to treat symlink as a folder here.General question on why this folder is needed as a result.
And whether we need to make changes on cpio to omit this error.
Thanks.
The text was updated successfully, but these errors were encountered: