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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 13 04:30:00 +0000 2020
>Closed-Date:    Wed Jul 21 04:25:55 +0000 2021
>Last-Modified:  Wed Jul 21 04:25:55 +0000 2021
>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:


>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/55566: pkgsrc/lang/openjdk8 does not compile on arm64
Date: Mon, 19 Jul 2021 04:49:33 +0000

 On Thu, Aug 13, 2020 at 04:30:00AM +0000, mac@culver.net wrote:
  > 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

 That seems 100% broken... why is it running co from rcs, and then
 apparently emacs?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Tobias Nygren <tnn@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/55566: pkgsrc/lang/openjdk8 does not compile on arm64
Date: Mon, 19 Jul 2021 10:51:05 +0200

 >  That seems 100% broken... why is it running co from rcs, and then
 >  apparently emacs?

 Can it be reproduced?
 The host from the PR seems to run not-so-current-anymore
 NetBSD-current. The latest OpenJDK8 builds for me without issues
 in both hotspot and zerovm mode.

From: Michael Cheponis <michael.cheponis@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org, 
	mac@culver.net
Subject: Re: pkg/55566: pkgsrc/lang/openjdk8 does not compile on arm64
Date: Mon, 19 Jul 2021 20:15:50 -0700

 --000000000000a83c3d05c7857aae
 Content-Type: text/plain; charset="UTF-8"

 I'm happy to report that OpenJDK8 builds for me (crunches for a few hours)
 on -current / aarch64

 So, this bug 'disappeared' it seems!

 On Mon, Jul 19, 2021 at 1:55 AM Tobias Nygren <tnn@netbsd.org> wrote:

 > The following reply was made to PR pkg/55566; it has been noted by GNATS.
 >
 > From: Tobias Nygren <tnn@NetBSD.org>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: pkg/55566: pkgsrc/lang/openjdk8 does not compile on arm64
 > Date: Mon, 19 Jul 2021 10:51:05 +0200
 >
 >  >  That seems 100% broken... why is it running co from rcs, and then
 >  >  apparently emacs?
 >
 >  Can it be reproduced?
 >  The host from the PR seems to run not-so-current-anymore
 >  NetBSD-current. The latest OpenJDK8 builds for me without issues
 >  in both hotspot and zerovm mode.
 >
 >

 --000000000000a83c3d05c7857aae
 Content-Type: text/html; charset="UTF-8"
 Content-Transfer-Encoding: quoted-printable

 <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
 lvetica,sans-serif;font-size:small">I&#39;m happy to report that OpenJDK8 b=
 uilds for me (crunches for a few hours) on -current / aarch64</div><div cla=
 ss=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-s=
 ize:small"><br></div><div class=3D"gmail_default" style=3D"font-family:aria=
 l,helvetica,sans-serif;font-size:small">So, this bug &#39;disappeared&#39; =
 it seems!</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
 =3D"gmail_attr">On Mon, Jul 19, 2021 at 1:55 AM Tobias Nygren &lt;<a href=
 =3D"mailto:tnn@netbsd.org">tnn@netbsd.org</a>&gt; wrote:<br></div><blockquo=
 te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
 solid rgb(204,204,204);padding-left:1ex">The following reply was made to PR=
  pkg/55566; it has been noted by GNATS.<br>
 <br>
 From: Tobias Nygren &lt;tnn@NetBSD.org&gt;<br>
 To: <a href=3D"mailto:gnats-bugs@netbsd.org" target=3D"_blank">gnats-bugs@n=
 etbsd.org</a><br>
 Cc: <br>
 Subject: Re: pkg/55566: pkgsrc/lang/openjdk8 does not compile on arm64<br>
 Date: Mon, 19 Jul 2021 10:51:05 +0200<br>
 <br>
 =C2=A0&gt;=C2=A0 That seems 100% broken... why is it running co from rcs, a=
 nd then<br>
 =C2=A0&gt;=C2=A0 apparently emacs?<br>
 <br>
 =C2=A0Can it be reproduced?<br>
 =C2=A0The host from the PR seems to run not-so-current-anymore<br>
 =C2=A0NetBSD-current. The latest OpenJDK8 builds for me without issues<br>
 =C2=A0in both hotspot and zerovm mode.<br>
 <br>
 </blockquote></div>

 --000000000000a83c3d05c7857aae--

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 21 Jul 2021 04:25:55 +0000
State-Changed-Why:
Problem went away, let's assume it's really fixed and not just hidden...


>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.