Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2022 22:24:19 -0400
From:      William Bulley <web@umich.edu>
To:        freebsd-office@FreeBSD.org
Cc:        office@FreeBSD.org
Subject:   17 errors attempting to build libreoffice-7.4.0.3_1
Message-ID:  <20220915022419.GA2037@dell4>

next in thread | raw e-mail | index | archive | help
The build (using portmaster) of libreoffice-7.4.0.3_1 on 13.1-STABLE failed
for me today giving me these 17 errors.  Can anyone there help me out?

My ports tree is fully up to date via "git pull" and "make fetchindex".
Running "# pkg version -vIL=" in /usr/ports shows no ports to update.

 =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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,
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:34:3: error: redefinition of enumerator '_URC_OK'
  _URC_OK = 0,
  ^
/usr/include/c++/v1/unwind-itanium.h:43:5: note: previous definition is here
    _URC_OK = 0,
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:35:3: error: redefinition of enumerator '_URC_FOREIGN_EXCEPTION_CAUGHT'
  _URC_FOREIGN_EXCEPTION_CAUGHT = 1,
  ^
/usr/include/c++/v1/unwind-itanium.h:44:5: note: previous definition is here
    _URC_FOREIGN_EXCEPTION_CAUGHT = 1,
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:36:3: error: redefinition of enumerator '_URC_FATAL_PHASE2_ERROR'
  _URC_FATAL_PHASE2_ERROR = 2,
  ^
/usr/include/c++/v1/unwind-itanium.h:45:5: note: previous definition is here
    _URC_FATAL_PHASE2_ERROR = 2,
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:37:3: error: redefinition of enumerator '_URC_FATAL_PHASE1_ERROR'
  _URC_FATAL_PHASE1_ERROR = 3,
  ^
/usr/include/c++/v1/unwind-itanium.h:46:5: note: previous definition is here
    _URC_FATAL_PHASE1_ERROR = 3,
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:38:3: error: redefinition of enumerator '_URC_NORMAL_STOP'
  _URC_NORMAL_STOP = 4,
  ^
/usr/include/c++/v1/unwind-itanium.h:47:5: note: previous definition is here
    _URC_NORMAL_STOP = 4,
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:39:3: error: redefinition of enumerator '_URC_END_OF_STACK'
  _URC_END_OF_STACK = 5,
  ^
/usr/include/c++/v1/unwind-itanium.h:48:5: note: previous definition is here
    _URC_END_OF_STACK = 5,
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:40:3: error: redefinition of enumerator '_URC_HANDLER_FOUND'
  _URC_HANDLER_FOUND = 6,
  ^
/usr/include/c++/v1/unwind-itanium.h:49:5: note: previous definition is here
    _URC_HANDLER_FOUND = 6,
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:41:3: error: redefinition of enumerator '_URC_INSTALL_CONTEXT'
  _URC_INSTALL_CONTEXT = 7,
  ^
/usr/include/c++/v1/unwind-itanium.h:50:5: note: previous definition is here
    _URC_INSTALL_CONTEXT = 7,
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:42:3: error: redefinition of enumerator '_URC_CONTINUE_UNWIND'
  _URC_CONTINUE_UNWIND = 8,
  ^
/usr/include/c++/v1/unwind-itanium.h:51:5: note: previous definition is here
    _URC_CONTINUE_UNWIND = 8
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:46:3: error: typedef redefinition with different types ('enum _Unwind_Reason_Code' vs 'enum _Unwind_Reason_Code')
} _Unwind_Reason_Code;
  ^
/usr/include/c++/v1/unwind-itanium.h:53:1: note: previous definition is here
_Unwind_Reason_Code;
^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:49:3: error: expected identifier
  _UA_SEARCH_PHASE = 1,
  ^
/usr/include/c++/v1/unwind-itanium.h:57:26: note: expanded from macro '_UA_SEARCH_PHASE'
#define _UA_SEARCH_PHASE        1
                                ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:50:3: error: expected identifier
  _UA_CLEANUP_PHASE = 2,
  ^
/usr/include/c++/v1/unwind-itanium.h:58:27: note: expanded from macro '_UA_CLEANUP_PHASE'
#define _UA_CLEANUP_PHASE       2
                                ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:51:3: error: expected identifier
  _UA_HANDLER_FRAME = 4,
  ^
/usr/include/c++/v1/unwind-itanium.h:59:27: note: expanded from macro '_UA_HANDLER_FRAME'
#define _UA_HANDLER_FRAME       4
                                ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:52:3: error: expected identifier
  _UA_FORCE_UNWIND = 8,
  ^
/usr/include/c++/v1/unwind-itanium.h:60:26: note: expanded from macro '_UA_FORCE_UNWIND'
#define _UA_FORCE_UNWIND        8
                                ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/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:54:3: error: typedef redefinition with different types ('enum _Unwind_Action' vs 'int')
} _Unwind_Action;
  ^
/usr/include/c++/v1/unwind-itanium.h:55:13: note: previous definition is here
typedef int _Unwind_Action;
            ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx:30:
In file included from /usr/local/include/unwind.h:5:
In file included from /usr/include/unwind.h:61:
/usr/include/unwind_itanium.h:21:8: error: redefinition of '_Unwind_Exception'
struct _Unwind_Exception {
       ^
/usr/include/c++/v1/unwind-itanium.h:78:8: note: previous definition is here
struct _Unwind_Exception
       ^
17 errors generated.
gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/solenv/gbuild/LinkTarget.mk:337: /usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/workdir/CxxObject/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.o] Error 1
gmake[3]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3'
gmake[2]: *** [Makefile:289: build] Error 2
gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/editors/libreoffice
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/libreoffice

-- 
William Bulley
E-MAIL: web@umich.edu
<web@umich.edu>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220915022419.GA2037>