From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 14561] New: OpenJDK does not compile when building in WSL
Date: Mon, 31 Jan 2022 18:10:58 +0000 [thread overview]
Message-ID: <bug-14561-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=14561
Bug ID: 14561
Summary: OpenJDK does not compile when building in WSL
Product: buildroot
Version: 2021.11
Hardware: All
OS: Windows
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: colin.foster@in-advantage.com
CC: buildroot@uclibc.org
Target Milestone: ---
Tested in 2021.11. As the summary suggests, when building in WSLv2, OpenJDK
fails. If I were to wager a guess, OpenJDK is trying to be too smart about the
fact that it is building on a Windows OS. Jumping to a Linux machine and
compiling with the same config works as expected.
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for a sed that does not truncate output... /usr/bin/sed
checking for df... /usr/bin/df
checking for nice... /usr/bin/nice
checking for greadlink... [not found]
checking for readlink... /usr/bin/readlink
checking for cygpath... [not found]
checking for wslpath... /usr/bin/wslpath
checking for lsb_release... /usr/bin/lsb_release
checking for cmd.exe... /mnt/c/Windows/system32/cmd.exe
checking for cmp... /usr/bin/cmp
checking for uniq... /usr/bin/uniq
checking build system type... x86_64-pc-wsl
checking host system type... arm-buildroot-linux-gnueabihf
checking target system type... arm-buildroot-linux-gnueabihf
checking openjdk-build os-cpu... windows-x86_64
checking openjdk-target os-cpu... linux-arm
checking openjdk-target C library... default
checking compilation type... cross
/home/colin/src/buildroot/output/build/openjdk-17.0.1+12/build/.configure-support/generated-configure.sh:
line 34833: import: command not found
/home/colin/src/buildroot/output/build/openjdk-17.0.1+12/build/.configure-support/generated-configure.sh:
line 34834: verify: command not found
configure: error: The path of TOPDIR, which resolves as
"/home/colin/src/buildroot/output/build/openjdk-17.0.1+12", could not be
imported.
configure exiting with result code 1
make: *** [package/pkg-generic.mk:285:
/home/colin/src/buildroot/output/build/openjdk-17.0.1+12/.stamp_configured]
Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2022-01-31 18:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-31 18:10 bugzilla [this message]
2024-06-15 15:00 ` [Buildroot] [Bug 14561] OpenJDK does not compile when building in WSL bugzilla
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-14561-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.org \
/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.