NetBSD Problem Report #55566

From root@arm64.localdomain  Thu Aug 13 04:29:07 2020
Return-Path: <root@arm64.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8F2C51A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 13 Aug 2020 04:29:07 +0000 (UTC)
Message-Id: <20200813042905.304DE2D29F@arm64.localdomain>
Date: Thu, 13 Aug 2020 04:29:05 +0000 (UTC)
From: mac@culver.net
Reply-To: mac@culver.net
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/lang/openjdk8 does not compile on arm64
X-Send-Pr-Version: 3.95

>Number:         55566
>Category:       pkg
>Synopsis:       pkgsrc/lang/openjdk8 does not compile on arm64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 13 04:30:00 +0000 2020
>Originator:     mac@culver.net
>Release:        NetBSD 9.99.69
>Organization:

>Environment:


System: NetBSD arm64 9.99.69 NetBSD 9.99.69 (GENERIC64) #0: Wed Jul 22 06:15:21 UTC 2020 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:
# cd /usr/pkgsrc/lang/openjdk8
# make
>How-To-Repeat:
# pwd
/usr/pkgsrc/lang/openjdk8
# make clean;make
===> Cleaning for openjdk8-1.8.252nb2
=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for openjdk7/bootstrap-jdk-1.8.181-netbsd-8-aarch64-20180917.tar.xz
=> Checksum RMD160 OK for openjdk7/bootstrap-jdk-1.8.181-netbsd-8-aarch64-20180917.tar.xz
=> Checksum SHA512 OK for openjdk7/bootstrap-jdk-1.8.181-netbsd-8-aarch64-20180917.tar.xz
=> Checksum SHA1 OK for openjdk7/openjdk-jdk8u-jdk8u252-b09.1.tar.gz
=> Checksum RMD160 OK for openjdk7/openjdk-jdk8u-jdk8u252-b09.1.tar.gz
=> Checksum SHA512 OK for openjdk7/openjdk-jdk8u-jdk8u252-b09.1.tar.gz
===> Installing dependencies for openjdk8-1.8.252nb2
==========================================================================
The supported build options for openjdk8 are:

	debug jdk-zero-vm jre-jce x11

The currently selected options are:

	jdk-zero-vm jre-jce x11

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.openjdk8 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
openjdk8-1.8.252nb2.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency bash-[0-9]*: found bash-5.0.18
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Build dependency mozilla-rootcerts>=1.0.20140820nb2: found mozilla-rootcerts-1.0.20200529nb1
=> Build dependency x11-links>=1.31: found x11-links-1.31
=> Build dependency libcups>=2.3.3nb3: found libcups-2.3.3nb3
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency dejavu-ttf-[0-9]*: found dejavu-ttf-2.37
=> Full dependency unzip-[0-9]*: found unzip-6.0nb9
=> Full dependency zip-[0-9]*: found zip-3.0nb3
=> Full dependency libffi>=3.3nb1: found libffi-3.3nb3
=> Full dependency fontconfig>=2.13.0: found fontconfig-2.13.1
===> Checking for vulnerabilities in openjdk8-1.8.252nb2
===> Overriding tools for openjdk8-1.8.252nb2
===> Extracting for openjdk8-1.8.252nb2

...  LOTS AND LOTS OF MORE OUTPUT 

[wrote RegularFileObject[/usr/pkgsrc/lang/openjdk8/work/openjdk-jdk8u-jdk8u252-b09.1/build/bsd-aarch64-normal-zero-release/jdk/btclasses/WrapperGenerator$FunctionType.class]]
[wrote RegularFileObject[/usr/pkgsrc/lang/openjdk8/work/openjdk-jdk8u-jdk8u252-b09.1/build/bsd-aarch64-normal-zero-release/jdk/btclasses/WrapperGenerator$1.class]]
[wrote RegularFileObject[/usr/pkgsrc/lang/openjdk8/work/openjdk-jdk8u-jdk8u252-b09.1/build/bsd-aarch64-normal-zero-release/jdk/btclasses/WrapperGenerator.class]]
[total 87475ms]
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling 521 properties into resource bundles
Copying and cleaning 53 properties
Creating sun/util/LocaleDataMetaInfo.java from 423 found resources.
Generating sun/misc/Version.java
Generating sun/misc/Version.java compact1
Generating sun/misc/Version.java compact2
Generating sun/misc/Version.java compact3
co: unknown option: -DTHIS_FILE="genSocketOptionRegistry.c"
co usage: co -{fIlMpqru}[rev] -ddate -jjoins -ksubst -sstate -T -w[who] -Vn -xsuff -zzone file ...
emacs: Terminal type "dumb" is not powerful enough to run Emacs.
It lacks the ability to position the cursor.
If that is not the actual type of terminal you have,
use the Bourne shell command 'TERM=...; export TERM' (C-shell:
'setenv TERM ...') to specify the correct type.  It may be necessary
to do 'unset TERMINFO' (C-shell: 'unsetenv TERMINFO') as well.
make[2]: *** [gensrc/GensrcMisc.gmk:81: /usr/pkgsrc/lang/openjdk8/work/openjdk-jdk8u-jdk8u252-b09.1/build/bsd-aarch64-normal-zero-release/jdk/btnative/genSocketOptionRegistry/genSocketOptionRegistry.o] Error 1
make[1]: *** [BuildJdk.gmk:55: gensrc-only] Error 2
gmake: *** [/usr/pkgsrc/lang/openjdk8/work/openjdk-jdk8u-jdk8u252-b09.1//make/Main.gmk:121: jdk-only] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/openjdk8
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/openjdk8
#

>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.