Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2022 12:30:41 -0800
From:      John Baldwin <jhb@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>, Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Cc:        dev-commits-src-branches@freebsd.org, Ed Maste <emaste@freebsd.org>
Subject:   Re: git: b2127b6f1ae2 - stable/13 - Install unwind.h into /usr/include
Message-ID:  <a9863238-04e5-381d-105d-311a2b0c3f56@FreeBSD.org>
In-Reply-To: <3166E99F-1616-40D9-BD8B-D18E8104D6FF@FreeBSD.org>
References:  <20220303224535.a0cca57e1f033e930a7f8f9d@dec.sakura.ne.jp> <3166E99F-1616-40D9-BD8B-D18E8104D6FF@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/3/22 10:08 AM, Dimitry Andric wrote:
> I can't even get to building libreoffice, as all the openjdk ports fail to build, with DTrace errors:
> 
> 
> dtrace: failed to compile script /wrkdirs/share/dim/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/hotspot/variant-server/support/dtrace/hotspot.h.d: "/u
> /mbuf.d", line 1: failed to copy type of 'm_data': Type information is in parent and unavailable
> * For target hotspot_variant-server_gensrc_dtracefiles_hotspot_jni.h:
> dtrace: failed to compile script /wrkdirs/share/dim/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/hotspot/variant-server/support/dtrace/hotspot_jni.h.d:
> race/mbuf.d", line 1: failed to copy type of 'm_data': Type information is in parent and unavailable
> * For target hotspot_variant-server_gensrc_dtracefiles_hs_private.h:
> dtrace: failed to compile script /wrkdirs/share/dim/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/hotspot/variant-server/support/dtrace/hs_private.h.d:
> ace/mbuf.d", line 1: failed to copy type of 'm_data': Type information is in parent and unavailable
> 
> It seems there is no way to disable DTrace in the openjdk ports, so I'm a little stuck on this.
> 
> Maybe it is possible to build libreoffice without Java support? But then I don't know if I will get the same error as you're getting.
> 
> -Dimitry

It might also be helpful to not re-use the same PR for multiple issues.  (When I
first started reading the PR it was hard to understand why unwind.h had broken
openjpeg.)

If I have read it correctly, some build tool (gengal?) is now segfaulting during
the build.  My initial guess is that the build tool decided to alter its behavior
based on a configure-type check finding unwind.h and enabling some bit of
functionality that previously was not enabled.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9863238-04e5-381d-105d-311a2b0c3f56>