Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2023 22:51:09 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Per olof Ljungmark <peo@nethead.se>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: libreoffice-7.5.4.2 unwind.h:33:3: error: redefinition of enumerator
Message-ID:  <7822AEA3-3F09-47C8-8C83-A626F7DFA48D@FreeBSD.org>
In-Reply-To: <27dfc845-1b23-bbc8-6999-40d58b1bca74@nethead.se>
References:  <27dfc845-1b23-bbc8-6999-40d58b1bca74@nethead.se>

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

--Apple-Mail=_F8A31BF8-AAF7-4D7B-A35E-DECAD366325D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 8 Jul 2023, at 20:01, Per olof Ljungmark <peo@nethead.se> wrote:
>=20
> Home workstation in preparation for 12- EOL.
>=20
> After OS update 12.4 -> 13.2 STABLE and reinstalling tons of ports, =
the only remaining problem is libreoffice.
>=20
> stable/13-cbca92986
>=20
> gmake[2]: *** [Makefile:289: build] Error 2
>=20
> I get lots of,
> In file included from =
/usr/ports/editors/libreoffice/work/libreoffice-7.5.4.2/bridges/source/cpp=
_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
> In file included from =
/usr/ports/editors/libreoffice/work/libreoffice-7.5.4.2/bridges/source/cpp=
_uno/gcc3_linux_x86-64/share.hxx:30:
> In file included from /usr/local/include/unwind.h:5:
> /usr/include/unwind.h:33:3: error: redefinition of enumerator =
'_URC_NO_REASON'
>  _URC_NO_REASON =3D 0,
> /usr/include/c++/v1/unwind-itanium.h:42:5: note: previous definition =
is here
>    _URC_NO_REASON =3D 0,
>=20
> etc etc
>=20
> So, is some leftovers from 12.4 causing this? Do I need to update a =
llvm version? Or is it another port that needs to recompile against new =
OS?
>=20
> Hints appriciated...

Run "make delete-old". It should delete (amongst others) these files:

# 20220220: unwind.h moved to /usr/include
OLD_FILES+=3Dusr/include/c++/v1/unwind-arm.h
OLD_FILES+=3Dusr/include/c++/v1/unwind-itanium.h
OLD_FILES+=3Dusr/include/c++/v1/unwind.h

-Dimitry


--Apple-Mail=_F8A31BF8-AAF7-4D7B-A35E-DECAD366325D
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

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZKnMPQAKCRCwXqMKLiCW
o3Y8AKCKNDTUtIcwc02rJftaTyus+/RcPwCg4UmOc59YckXyxbeYwMCJYNPclKU=
=MXyM
-----END PGP SIGNATURE-----

--Apple-Mail=_F8A31BF8-AAF7-4D7B-A35E-DECAD366325D--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7822AEA3-3F09-47C8-8C83-A626F7DFA48D>