All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 12751] New: OpenJdk package installation issues on target
Date: Fri, 03 Apr 2020 22:27:47 +0000	[thread overview]
Message-ID: <bug-12751-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=12751

            Bug ID: 12751
           Summary: OpenJdk package installation issues on target
           Product: buildroot
           Version: 2020.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: ameya.joshi at rockwellcollins.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Hi,

The current openjdk package INSTALL_TARGET_CMD installs only the lib and bin
folder to /usr/lib

the JRE/lib folder contains a modules file which in conflict with modules
directory which has kernel modules

i am doing a x86_64 build , the lib is symlinked to /usr/lib on target and all
kernel modules get installed /lib/modules

Sometimes the overwrite works during copy and kernel modules get replaced by
java modules file

cp -dpfr $(@D)/build/linux-*-release/images/jre/lib/* $(TARGET_DIR)/usr/lib/

Here is the error i have gotten:

>>> openjdk 13.0.2+8 Installing to target
cp -dpfr
/bulk/ajoshi2/nuc-build/build/openjdk-13.0.2+8/build/linux-*-release/images/jre/bin/*
/bulk/ajoshi2/nuc-build/target/usr/bin/
cp -dpfr
/bulk/ajoshi2/nuc-build/build/openjdk-13.0.2+8/build/linux-*-release/images/jre/lib/*
/bulk/ajoshi2/nuc-build/target/usr/lib/
cp: cannot overwrite directory ?/bulk/ajoshi2/nuc-build/target/usr/lib/modules?
with non-directory

Can we update the INSTALL_TARGET_CMDS for openjdk to install the entire JDK
inside /usr/lib/jvm folder and symlink the binaries?

Regards,
Ameya Joshi
Sr Software Engineer
Collins Aerospace

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2020-04-03 22:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-03 22:27 bugzilla at busybox.net [this message]
2020-04-04  4:28 ` [Buildroot] [Bug 12751] OpenJdk package installation issues on target bugzilla at busybox.net
2020-04-04 20:52 ` bugzilla at busybox.net
2020-04-07 16:52 ` bugzilla at busybox.net
2020-04-17 23:34 ` bugzilla at busybox.net
2020-04-18  0:34 ` bugzilla at busybox.net
2020-04-18  0:35 ` bugzilla at busybox.net
2020-04-18  2:31 ` bugzilla at busybox.net
2020-04-22 16:34 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-12751-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.