pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53223: lang/openjdk8 build fails on NetBSD/i386 8.0_RC1
>Number: 53223
>Category: pkg
>Synopsis: lang/openjdk8 build fails on NetBSD/i386 8.0_RC1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 28 14:15:00 +0000 2018
>Originator: Izumi Tsutsui
>Release: NetBSD 8.0_RC1 + pkgsrc-2018Q1
>Organization:
>Environment:
System: NetBSD optiplex 8.0_RC1 NetBSD 8.0_RC1 (GENERIC.201804191727Z) i386
Architecture: i386
Machine: i386
>Description:
lang/openjdk8 build fails during configure phase on NetBSD/i386 8.0_RC1.
---
=> Bootstrap dependency digest>=20010302: found digest-20160304
=> Checksum SHA1 OK for openjdk7/bootstrap-jdk-1.7.76-netbsd-7-i386-20150301.tar.xz
=> Checksum RMD160 OK for openjdk7/bootstrap-jdk-1.7.76-netbsd-7-i386-20150301.tar.xz
=> Checksum SHA512 OK for openjdk7/bootstrap-jdk-1.7.76-netbsd-7-i386-20150301.tar.xz
=> Checksum SHA1 OK for openjdk7/openjdk-1.8.162-20180212.tar.xz
=> Checksum RMD160 OK for openjdk7/openjdk-1.8.162-20180212.tar.xz
=> Checksum SHA512 OK for openjdk7/openjdk-1.8.162-20180212.tar.xz
===> Installing dependencies for openjdk8-1.8.162nb2
:
===> Configuring for openjdk8-1.8.162nb2
=> Generating pkg-config file for builtin expat package.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
Warning: You are using legacy autoconf cross-compilation flags.
It is recommended that you use --openjdk-target instead.
Running generated-configure.sh
configure: Configuration created at Sat Apr 28 23:03:13 JST 2018.
configure: configure script generated at timestamp 1501170108.
checking for basename... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/basename
checking for bash... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/bash
checking for cat... (cached) /bin/cat
checking for chmod... /bin/chmod
checking for cmp... /usr/bin/cmp
checking for comm... /usr/bin/comm
checking for cp... /bin/cp
checking for cpio... /bin/cpio
checking for cut... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/cut
checking for date... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/date
checking for gdiff... /usr/bin/diff
checking for dirname... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/dirname
checking for echo... (cached) echo
checking for expr... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/expr
checking for file... /usr/bin/file
checking for find... /usr/bin/find
checking for head... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/head
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for mkdir... /bin/mkdir -p
checking for mktemp... /usr/bin/mktemp
checking for mv... /bin/mv
checking for printf... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/printf
checking for rm... /bin/rm
checking for sh... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/sh
checking for sort... /usr/bin/sort
checking for tail... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/tail
checking for tar... /bin/tar
checking for tee... /usr/bin/tee
checking for touch... /usr/bin/touch
checking for tr... /usr/bin/tr
checking for uname... /usr/bin/uname
checking for uniq... /usr/bin/uniq
checking for wc... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/wc
checking for which... /usr/bin/which
checking for xargs... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/xargs
checking for gawk... /usr/bin/awk
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for a sed that does not truncate output... /usr/bin/sed
checking for nawk... no
checking for gawk... /usr/pkg/bin/gawk
checking for cygpath... no
checking for readlink... /usr/bin/readlink
checking for df... /bin/df
checking for SetFile... no
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking target system type... i486--netbsdelf
checking openjdk-build os-cpu... bsd-x86
checking openjdk-target os-cpu... bsd-x86
checking compilation type... native
checking for presence of closed sources... no
checking if closed source is suppressed (openjdk-only)... no
checking which variant of the JDK to build... normal
checking which interpreter of the JVM to build... template
checking which variants of the JVM to build... server
checking which debug level to use... release
checking what configuration name to use... bsd-x86-normal-server-release
checking for apt-get... no
checking for yum... no
checking for port... no
checking for pkgutil... no
checking for pkgadd... no
configure: Testing potential make at make, found using user supplied MAKE=make
configure: Rewriting FOUND_MAKE to "/s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/make"
configure: Using GNU make 3.81 (or later) at /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/make (version: GNU Make 4.1)
checking if find supports -delete... yes
checking for unzip... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/unzip
checking for zip... /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/.tools/bin/zip
checking for ldd... /usr/bin/ldd
checking for readelf... /usr/bin/readelf
checking for hg... /usr/pkg/bin/hg
checking for stat... /usr/bin/stat
checking for time... /usr/bin/time
checking pkg-config is at least version 0.9.0... yes
checking for 7z... no
checking for unzip... unzip
checking for wget... wget
checking headful support... include support for both headful and headless
configure: Found potential Boot JDK using configure arguments
configure: Potential Boot JDK found at /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/bootstrap is incorrect JDK version (/s/obj.i386/pkgsrc/lang/openjdk8/work.i386/bootstrap/jre/lib/i386/server/libjvm.so: text relocations); ignoring
configure: (Your Boot JDK must be version 7 or 8)
configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK
configure exiting with result code 1
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/lang/openjdk8
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/openjdk8
---
The message
"s/obj.i386/pkgsrc/lang/openjdk8/work.i386/bootstrap/jre/lib/i386/server/libjvm.so: text relocations"
is from /libexec/ld.elf_so on running 7.0 binaries.
---
# /s/obj.i386/pkgsrc/lang/openjdk8/work.i386/bootstrap/bin/jar
/s/obj.i386/pkgsrc/lang/openjdk8/work.i386/bootstrap/jre/lib/i386/server/libjvm.so: text relocations
Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...
Options:
-c create new archive
-t list table of contents for archive
-x extract named (or all) files from archive
-u update existing archive
-v generate verbose output on standard output
-f specify archive file name
-m include manifest information from specified manifest file
-e specify application entry point for stand-alone application
bundled into an executable jar file
-0 store only; use no ZIP compression
-M do not create a manifest file for the entries
-i generate index information for the specified jar files
-C change to the specified directory and include the following file
If any file is a directory then it is processed recursively.
The manifest file name, the archive file name and the entry point name are
specified in the same order as the 'm', 'f' and 'e' flags.
Example 1: to archive two class files into an archive called classes.jar:
jar cvf classes.jar Foo.class Bar.class
Example 2: use an existing manifest file 'mymanifest' and archive all the
files in the foo/ directory into 'classes.jar':
jar cvfm classes.jar mymanifest -C foo/ .
#
---
Note builds on NetBSD/amd64 8.0_RC1 and NetBSD/i386 7.1.2 work fine.
>How-To-Repeat:
checkout pkgsrc-2018Q1 on NetBSD/i386 8.0_RC1
cd pkgsrc/lang/openjdk8
make package
>Fix:
Check why ld.elf_so complains "text relocations" on
executing 7.x bootstrap binaries?
Preparing bootstrap binaries for 8.0_RC1?
Home |
Main Index |
Thread Index |
Old Index