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

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_4984993A-19A7-42F5-82CA-CA8568E17389
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

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/ho=
tspot.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/ho=
tspot_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

> On 3 Mar 2022, at 14:45, Tomoaki AOKI <junchoon@dec.sakura.ne.jp> =
wrote:
>=20
> Hi.
> This turned out to break editors/libreoffice build on stable/13.
> Manually revert this allowed finishing build.
>=20
> It's also broken on main (not yet tested reverting this, though.)
> Please look into Bug 262008 [1].
>=20
> There can be two options.
>=20
> 1. Revert this commit (and also on main).
> 2. Fix editors/libreoffice to adapt this.
>=20
> Maybe option 2 would be better, but I have no idea to do so.
> If this commit have somehow not enough, addidional fix is appreciated.
>=20
> Any thoughts or fixes?
>=20
> [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262008
>=20
> Regards.
>=20
>=20
>> The branch stable/13 has been updated by dim:
>>=20
>> URL:
> =
https://cgit.FreeBSD.org/src/commit/?id=3Db2127b6f1ae2b92eba1892e6f5257e3f=
6795fed5
>>=20
>> commit b2127b6f1ae2b92eba1892e6f5257e3f6795fed5
>> Author:     John Baldwin <jhb_at_FreeBSD.org>
>> AuthorDate: 2022-02-10 17:57:49 +0000
>> Commit:     Dimitry Andric <dim_at_FreeBSD.org>
>> CommitDate: 2022-02-20 12:29:44 +0000
>>=20
>>    Install unwind.h into /usr/include
>>=20
>>    Install headers from LLVM's libunwind in place of the headers from
>>    libcxxrt and allow C applications to use the library.
>>=20
>>    As part of this, remove include/unwind.h and switch libthr over to
>>    using the installed unwind.h.
>>=20
>>    Reviewed by:    dim, emaste
>>    MFC after:      10 days
>>    Differential Revision: https://reviews.freebsd.org/D34065
>>=20
>>    (cherry picked from commit =
c00d345665366a89aaba7244d6f078dc756f4c53)
>> ---
>> ObsoleteFiles.inc                        |   5 +
>> include/unwind.h                         | 160 =
-------------------------------
>> lib/libc++/Makefile                      |   3 -
>> lib/libgcc_eh/Makefile                   |   4 +
>> lib/libgcc_eh/Makefile.inc               |   1 -
>> lib/libthr/Makefile                      |   1 -
>> tools/build/mk/OptionalObsoleteFiles.inc |   3 -
>> 7 files changed, 9 insertions(+), 168 deletions(-)
>=20
> (snip)
>=20
>=20
> --
> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>


--Apple-Mail=_4984993A-19A7-42F5-82CA-CA8568E17389
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYiEEMwAKCRCwXqMKLiCW
owCwAKDREU0oPF97L+h/tdS9Gtrhd6yO3ACbBzFNc2/5+kCRRxv7WRs8ZoUBTQk=
=NZOy
-----END PGP SIGNATURE-----

--Apple-Mail=_4984993A-19A7-42F5-82CA-CA8568E17389--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3166E99F-1616-40D9-BD8B-D18E8104D6FF>