pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/53223: lang/openjdk8 build fails on NetBSD/i386 8.0_RC1
The following reply was made to PR pkg/53223; it has been noted by GNATS.
From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/53223: lang/openjdk8 build fails on NetBSD/i386 8.0_RC1
Date: Sat, 28 Apr 2018 10:03:18 -0500 (CDT)
I think this issue may have been reported in a previous PR. If not, it
may have just been a thread in pkgsrc-users@.
Wherever the previous discussion took place, it pointed to the following
local patch which allows openjdk8 to build on i386 for netbsd-7/8/current
(and doesn't interfere with amd64):
+--- common/autoconf/generated-configure.sh.orig2 2016-10-05 09:08:24.135882549 -0500
++++ common/autoconf/generated-configure.sh 2016-10-05 09:22:12.332706492 -0500
+@@ -11423,7 +11423,7 @@ $as_echo "$as_me: Potential Boot JDK fou
+ BOOT_JDK_FOUND=no
+ else
+ # Oh, this is looking good! We probably have found a proper JDK. Is it the correct version?
+- BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | head -n 1`
++ BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | grep version`
+
+ # Extra M4 quote needed to protect [] in grep expression.
+ FOUND_VERSION_78=`echo $BOOT_JDK_VERSION | grep '\"1\.[78]\.'`
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index