From nobody Thu Jul 25 06:37:49 2024 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 4WV1R405V7z5RR0C for ; Thu, 25 Jul 2024 06:37:52 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from fc.opsec.eu (fc.opsec.eu [IPv6:2001:14f8:200:4::4]) by mx1.freebsd.org (Postfix) with ESMTP id 4WV1R302Jpz4kGh for ; Thu, 25 Jul 2024 06:37:50 +0000 (UTC) (envelope-from pi@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=freebsd.org (policy=none); spf=softfail (mx1.freebsd.org: 2001:14f8:200:4::4 is neither permitted nor denied by domain of pi@freebsd.org) smtp.mailfrom=pi@freebsd.org Received: from pi (uid 104) (envelope-from pi@freebsd.org) id 5a4d1 by fc.opsec.eu (DragonFly Mail Agent v0.13+ on fc.opsec.eu); Thu, 25 Jul 2024 08:37:49 +0200 Date: Thu, 25 Jul 2024 08:37:49 +0200 From: Kurt Jaeger To: glewis@freebsd.org Cc: java@freebsd.org Subject: Re: openjdk17/18 fails because of dtrace ? Message-ID: References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.86 / 15.00]; VIOLATED_DIRECT_SPF(3.50)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_SPAM_MEDIUM(0.16)[0.162]; ONCE_RECEIVED(0.10)[]; RCVD_NO_TLS_LAST(0.10)[]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE]; FREEFALL_USER(0.00)[pi]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; GREYLIST(0.00)[pass,meta]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; MLMMJ_DEST(0.00)[java@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[] X-Rspamd-Queue-Id: 4WV1R302Jpz4kGh Hi! > > When building openjdk17 or 18, it fails very early in the build because > > > > dtrace: failed to compile script /wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/build/bsd-x86_64-server-release/hotspot/variant-server/support/dtrace/hotspot.h.d: "/usr/lib/dtrace/ipfw.d", line 126: syntax error near "in_addr_t" > > > > Any ideas how to fix this ? > > --disable-dtrace > > in CONFIGURE_ARGS seems to work ? This is on 14.1-amd64, FYI... -- pi@FreeBSD.org +49 171 3101372 Now what ?