OpenSearch: [BUG] OpenSearch Core 1.3.0 including `ja` in JDK man pages

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.

cpio: cannot make directory `./usr/share/opensearch/jdk/man/ja': No such file or directory
cpio: ./usr/share/opensearch/jdk/man/ja/man1: Cannot mkdir: No such file or directory

Root cause:

jdk14:
opensearch-1.2.4/jdk/man
drwxr-x--- 2 <> 4096 Jan 14 03:42 man1
jdk11:
opensearch-1.3.0/jdk/man
lrwxrwxrwx 1 <>   11 Mar 15 19:28 ja -> ja_JP.UTF-8
drwxr-x--- 3 <> 4096 Jan  1  1970 ja_JP.UTF-8
drwxr-x--- 2 <> 4096 Jan  1  1970 man1

There is a new folder ja_JP.UTF-8 and a new symlink ja 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.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (16 by maintainers)

Commits related to this issue

Most upvoted comments

@CEHENKLE @saratvemulapalli This is blocking RPM builds. Can you please prioritize it?

@dblock @saratvemulapalli This PR #2602 is raised to resolve this issue temporarily. @xuezhou25 is working on resolving #2571 on a separate PR.

Thanks.