pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51221 (Build error with OpenJDK8 and i386)



The following reply was made to PR pkg/51221; it has been noted by GNATS.

From: Richard PALO <richard%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/51221 (Build error with OpenJDK8 and i386)
Date: Tue, 09 Aug 2016 13:43:11 +0200

 Le 17/07/16 17:56, dholland%NetBSD.org@localhost a écrit :
 > Synopsis: Build error with OpenJDK8 and i386
 > 
 > State-Changed-From-To: feedback->open
 > State-Changed-By: dholland%NetBSD.org@localhost
 > State-Changed-When: Sun, 17 Jul 2016 15:56:45 +0000
 > State-Changed-Why:
 > feedback received
 > 
 > 
 > 
 > 
 
 It appears I'm seeing the same issue that seems to be related to the boostrap
 jdk bootstrap-jdk-1.7.76-netbsd-7-i386-20150301.tar.xz
 
 > configure:11398: Found potential Boot JDK using configure arguments
 > configure:11431: Potential Boot JDK found at /tmp/pkgsrc/lang/openjdk8/work/boot
 > strap is incorrect JDK version (/tmp/pkgsrc/lang/openjdk8/work/bootstrap/jre/lib
 > /i386/server/libjvm.so: text relocations); ignoring
 > configure:11433: (Your Boot JDK must be version 7 or 8)
 > configure:11580: error: The path given by --with-boot-jdk does not contain a val
 > id Boot JDK
 
 looking at the output of 'java -version'
 > /tmp/pkgsrc/lang/openjdk8/work/bootstrap/jre/lib/i386/server/libjvm.so: text relocations
 > openjdk version "1.7.0-internal"
 > OpenJDK Runtime Environment (build 1.7.0-internal-pkgsrc_2015_03_01_17_37-b00)
 > OpenJDK Server VM (build 24.76-b04, mixed mode)
 
 so naturally, when configure runs, which invokes common/autoconf/generated-configure.sh,
 around line 11426 fails, simulated easily as:
 > nb32$ export BOOT_JDK=/tmp/pkgsrc/lang/openjdk8/work/bootstrap
 > nb32$ BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | head -n 1`
 > nb32$ echo $BOOT_JDK_VERSION
 > /tmp/pkgsrc/lang/openjdk8/work/bootstrap/jre/lib/i386/server/libjvm.so: text relocations
 
 failing the test
 
 the bootstrap binary jdk seems to need some TLC or something.
 -- 
 Richard PALO
 


Home | Main Index | Thread Index | Old Index