Date: Sun, 18 Sep 2022 14:21:20 -0400 From: William Bulley <web@umich.edu> To: office@freebsd.org Cc: Graham Perrin <grahamperrin@freebsd.org> Subject: Re: [Bug 266428] editors/libreoffice 17 errors attempting to build libreoffice-7.4.0.3_1 Message-ID: <20220918182120.GA1203@dell4>
next in thread | raw e-mail | index | archive | help
According to bugzilla-noreply@freebsd.org on Thu, 09/15/22 at 18:34: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266428 >=20 > Graham Perrin <grahamperrin@freebsd.org> changed: >=20 > What |Removed |Added > -------------------------------------------------------------------------= --- > CC| |grahamperrin@freebsd.org >=20 > --- Comment #2 from Graham Perrin <grahamperrin@freebsd.org> --- > Which version of FreeBSD, exactly?=20 >=20 > uname -aKU I stand corrected. There _was_ a difference. Here is the output you asked= for: FreeBSD unix 13.1-STABLE FreeBSD 13.1-STABLE #1 stable/13-n252248-adbcdbee6= 02: Mon Sep 5 12:46:56 EDT 2022 root@unix:/usr/obj/usr/src/amd64.amd64/sy= s/GENERIC amd64 1301506 1301506 Today a friend pointed out there is a newer version (7.4.1.2) of libreoffic= e in the ports tree. About an hour ago a lengthy build attempt failed. I had to use the MAKE_JOBS_UNSAFE environment variable since my first attempt to bui= ld it using portmaster failed. The error comment said to try again using that environment variable before reporting the error to the port maintainer. I did that and below please find the same (?) seventeen errors from the fai= led (second) build attempt today for the 7.4.1.2 version of libreoffice: [CXX] bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx S=3D/usr/ports/editors/libreoffice/work/libreoffice-7.4.1.2 && I=3D$S/instd= ir && W=3D$S/workdir && mkdir -p $W/CxxObject/bridges/source/cpp_uno/gcc3_= linux_x86-64/ $W/Dep/CxxObject/bridges/source/cpp_uno/gcc3_linux_x86-64/ &&= cd /usr/ports/editors/libreoffice/work/libreoffice-7.4.1.2 && CCACHE_CPP2= =3D1 c++ -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECA= TED -DCPPU_ENV=3Dgcc3 -DFREEBSD -DNDEBUG -DOSL_DEBUG_LEVEL=3D0 -DUNIX -DUNX= -DX86_64 -D_PTHREADS -D_REENTRANT -isystem /usr/local/include -DHAVE_POSIX= _FALLOCATE -fvisibility=3Dhidden -Wall -Wno-missing-braces -Wnon-virtu= al-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused= -macros -Wembedded-directive -finput-charset=3DUTF-8 -fmessage-length=3D0 -= fno-common -pipe -fstack-protector-strong -Wdeprecated-copy-dtor -Wimplici= t-fallthrough -Wunused-exception-parameter -Wrange-loop-analysis -fvisibili= ty-inlines-hidden -fPIC -Woverloaded-virtual -Wno-unused-parameter -Wno-unu= sed-local-typedefs -std=3Dc++17 -pthread -O2 -pipe -O2 -fno-strict-aliasin= g -pipe -fstack-protector-strong -DLDAP_DEPRECATED -isystem /usr/local/incl= ude -isystem /usr/local/include -DEXCEPTIONS_ON -fexceptions -fno-omit-f= rame-pointer -fno-strict-aliasing -fno-lto -mno-avx -DLIBO_INTERNAL_ONLY= -c $S/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx -o $W/CxxObjec= t/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.o -I$S/bridges/inc -I$S= /include -I/usr/local/openjdk11/include -I/usr/local/openjdk11/include/free= bsd -I/usr/local/openjdk11/include/bsd -I/usr/local/openjdk11/include/linux= -I$S/config_host -I$W/UnoApiHeadersTarget/udkapi/comprehensive =20 In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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_REAS= ON' _URC_NO_REASON =3D 0, ^ /usr/include/c++/v1/unwind-itanium.h:42:5: note: previous definition is here _URC_NO_REASON =3D 0, ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 0, ^ /usr/include/c++/v1/unwind-itanium.h:43:5: note: previous definition is here _URC_OK =3D 0, ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 1, ^ /usr/include/c++/v1/unwind-itanium.h:44:5: note: previous definition is here _URC_FOREIGN_EXCEPTION_CAUGHT =3D 1, ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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_P= HASE2_ERROR' _URC_FATAL_PHASE2_ERROR =3D 2, ^ /usr/include/c++/v1/unwind-itanium.h:45:5: note: previous definition is here _URC_FATAL_PHASE2_ERROR =3D 2, ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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_P= HASE1_ERROR' _URC_FATAL_PHASE1_ERROR =3D 3, ^ /usr/include/c++/v1/unwind-itanium.h:46:5: note: previous definition is here _URC_FATAL_PHASE1_ERROR =3D 3, ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 4, ^ /usr/include/c++/v1/unwind-itanium.h:47:5: note: previous definition is here _URC_NORMAL_STOP =3D 4, ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 5, ^ /usr/include/c++/v1/unwind-itanium.h:48:5: note: previous definition is here _URC_END_OF_STACK =3D 5, ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 6, ^ /usr/include/c++/v1/unwind-itanium.h:49:5: note: previous definition is here _URC_HANDLER_FOUND =3D 6, ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 7, ^ /usr/include/c++/v1/unwind-itanium.h:50:5: note: previous definition is here _URC_INSTALL_CONTEXT =3D 7, ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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_CONTINU= E_UNWIND' _URC_CONTINUE_UNWIND =3D 8, ^ /usr/include/c++/v1/unwind-itanium.h:51:5: note: previous definition is here _URC_CONTINUE_UNWIND =3D 8 ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 type= s ('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.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 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.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 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.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 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.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 =3D 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.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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 type= s ('enum _Unwind_Action' vs 'int') } _Unwind_Action; ^ /usr/include/c++/v1/unwind-itanium.h:55:13: note: previous definition is he= re typedef int _Unwind_Action; ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:41: In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.4.1= =2E2/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_Excepti= on' 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.1.2/sole= nv/gbuild/LinkTarget.mk:337: /usr/ports/editors/libreoffice/work/libreoffic= e-7.4.1.2/workdir/CxxObject/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2un= o.o] Error 1 gmake[3]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffic= e-7.4.1.2' gmake[2]: *** [Makefile:289: build] Error 2 gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffic= e-7.4.1.2' *** Error code 1 Stop. make[1]: stopped in /usr/ports/editors/libreoffice *** Error code 1 Stop. make: stopped in /usr/ports/editors/libreoffice =3D=3D=3D>>> make build failed for editors/libreoffice =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: portmaster <flags> editors/libreoffice=20 This command has been saved to ~/portmasterfail.txt --=20 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?20220918182120.GA1203>