From nobody Sun May 15 23:30:06 2022 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 83E3C1AD7DE1 for ; Sun, 15 May 2022 23:30:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L1dsB36rDz3NGx for ; Sun, 15 May 2022 23:30:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3DE8314ED7 for ; Sun, 15 May 2022 23:30:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24FNU6K6054913 for ; Sun, 15 May 2022 23:30:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24FNU60G054911 for java@FreeBSD.org; Sun, 15 May 2022 23:30:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 260187] java/bootstrap-openjdk17: broken on aarch64 Date: Sun, 15 May 2022 23:30:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652657406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3Oh0wkF972ZVdbFS8nwdKCtKyHJldHs6i8ltJbNgQEQ=; b=bN8kOs2GOTa5ZSSAsYFfLmAHsMTO70jGeixpXsdIB+JA2bBnd64aF/NLUARMQsrR4TVdqR eUeX6YO0ejhTW47D4h7PtzmjsG6DsI5pm6XGsdQq0FW/QMbJUGYX65ID86gTBgEO3rwHuc baMc6EynZaw51FuryUjDJ2hyghX0ZEb0Q3NPPNxf6X6DQS2YkDmVUDU/cwQ/Fsw6xqIbZn aQqVXSZx6VuoWJVE7UmFf7I+leNJ+xXQlq42FvNzFbNK/ZfQgnKkpRjQ3yLj0TD57vSPmq LpmG/oZeMivMYeC1SuI+Jo3pXm5lYUU/gtyAjfObHLkKObhY3736wfrWxli77w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652657406; a=rsa-sha256; cv=none; b=Owpxiim3aKrTX68TlK4+p5Sz12cy4xl+U2gl0Ieyk/PHAhWYBMKad+1CyFhvmak5cK1fkX fx0mSL0AML8dYUScgzUu4byO//eqy1LrqYIWyJ/OKcqVYqAnT/RJVKd28DAmHoXWTn3ZJE ueGmGx1lGC5kwtU+cjwsvDpBuZknyYof/Q7EQRKxXb0eg3IHPP6RmhwTWGJ0uH6NPbmNW+ VOvQFaKBzjWWYiwkqa4iciVfYGybdvnfJt2HMRMoMp2JeNpw+hgT07y5VOEiMArx7pBfnx Tj5jQQyqxIWlDEzqkm4GymrTrhLESz2yj6vY41+NxyZOV30JO/RBwT2ItER+lQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260187 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #6 from Bjoern A. Zeeb --- I just hit this on my honeycomb machine trying to build openjdk17 on a CURR= ENT from two days ago or so... ... checking bash version... 5.1.16 checking if bash supports pipefail... yes checking if bash supports errexit (-e)... yes checking pkg-config is at least version 0.9.0... yes checking for default LOG value...=20 checking if packaged modules are kept... enabled, default checking for version string... 17.0.3+7-1 configure: Found potential Boot JDK using configure arguments configure: Potential Boot JDK found at /usr/local/bootstrap-openjdk17 is no= t a working JDK; ignoring configure: Output from java -version was: Error occurred during initializat= ion of VM Could not allocate compressed class space: 1073741824 bytes configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK configure exiting with result code 1 =3D=3D=3D> Script "configure" failed unexpectedly. Please report the problem to java@FreeBSD.org [maintainer] and attach the "/var/tmp/work-20220515/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.3-7-1= /config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[2]: stopped in /usr/ports/java/openjdk17 *** Error code 1 And I can confirm that setting the sysctl fixed it here too: # /usr/local/bootstrap-openjdk17/bin/jar --help Error occurred during initialization of VM Could not allocate compressed class space: 1073741824 bytes # sysctl kern.elf64.aslr.pie_enable=3D0 kern.elf64.aslr.pie_enable: 1 -> 0 # /usr/local/bootstrap-openjdk17/bin/jar --version jar 17.0.1 Thanks a lot for leaving the fix. I have no idea how the ports framework m= ight handle this dynamically but if it can it probably should... at least give a warning/error without trying to build. --=20 You are receiving this mail because: You are the assignee for the bug.=