Re: libreoffice-7.5.4.2 unwind.h:33:3: error: redefinition of enumerator
Date: Sun, 09 Jul 2023 08:23:47 UTC
Hi! > On 8 Jul 2023, at 20:01, Per olof Ljungmark <peo@nethead.se> wrote: > > > > Home workstation in preparation for 12- EOL. > > > > After OS update 12.4 -> 13.2 STABLE and reinstalling tons of ports, the only remaining problem is libreoffice. > > > > stable/13-cbca92986 > > > > gmake[2]: *** [Makefile:289: build] Error 2 > > > > 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 = 0, > > /usr/include/c++/v1/unwind-itanium.h:42:5: note: previous definition is here > > _URC_NO_REASON = 0, > > > > etc etc > > > > 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? > > > > Hints appriciated... > > Run "make delete-old". It should delete (amongst others) these files: > > # 20220220: unwind.h moved to /usr/include > OLD_FILES+=usr/include/c++/v1/unwind-arm.h > OLD_FILES+=usr/include/c++/v1/unwind-itanium.h > OLD_FILES+=usr/include/c++/v1/unwind.h You probably mean: cd /usr/src make delete-old right ? -- pi@FreeBSD.org +49 171 3101372 Now what ?