Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 10:23:47 +0200
From:      Kurt Jaeger <pi@freebsd.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Per olof Ljungmark <peo@nethead.se>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: libreoffice-7.5.4.2 unwind.h:33:3: error: redefinition of enumerator
Message-ID:  <ZKpuk%2Bjf/Wb2N0Wt@fc.opsec.eu>
In-Reply-To: <7822AEA3-3F09-47C8-8C83-A626F7DFA48D@FreeBSD.org>
References:  <27dfc845-1b23-bbc8-6999-40d58b1bca74@nethead.se> <7822AEA3-3F09-47C8-8C83-A626F7DFA48D@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZKpuk%2Bjf/Wb2N0Wt>