From nobody Sun Jul 9 08:23:47 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QzKs34JZ9z4lxZ3 for ; Sun, 9 Jul 2023 08:23:19 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from fc.opsec.eu (fc.opsec.eu [IPv6:2001:14f8:200:4::4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzKs31P9nz3Dv9; Sun, 9 Jul 2023 08:23:19 +0000 (UTC) (envelope-from pi@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from pi by fc.opsec.eu with local (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qIPhr-000E2j-1o; Sun, 09 Jul 2023 10:23:47 +0200 Date: Sun, 9 Jul 2023 10:23:47 +0200 From: Kurt Jaeger To: Dimitry Andric Cc: Per olof Ljungmark , FreeBSD Mailing List Subject: Re: libreoffice-7.5.4.2 unwind.h:33:3: error: redefinition of enumerator Message-ID: References: <27dfc845-1b23-bbc8-6999-40d58b1bca74@nethead.se> <7822AEA3-3F09-47C8-8C83-A626F7DFA48D@FreeBSD.org> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7822AEA3-3F09-47C8-8C83-A626F7DFA48D@FreeBSD.org> X-Rspamd-Queue-Id: 4QzKs31P9nz3Dv9 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Hi! > On 8 Jul 2023, at 20:01, Per olof Ljungmark 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 ?