Date: Thu, 17 Feb 2022 09:02:03 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262008] editors/libreoffice failed to build Message-ID: <bug-262008-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262008 Bug ID: 262008 Summary: editors/libreoffice failed to build Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: office@FreeBSD.org Reporter: ish@amail.plala.or.jp Flags: maintainer-feedback?(office@FreeBSD.org) Assignee: office@FreeBSD.org Created attachment 231887 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231887&action= =3Dedit full build log % cat /var/db/ports/editors_libreoffice/options | grep -v '^#' _OPTIONS_READ=3Dlibreoffice-7.2.5.2 _FILE_COMPLETE_OPTIONS_LIST=3DCOINMP CUPS DOCS GNOME GTK3 GTK4 JAVA KF5 LTO MARIADB MMEDIA PGSQL QT5 SDK TEST WEBDAV OPTIONS_FILE_UNSET+=3DCOINMP OPTIONS_FILE_UNSET+=3DCUPS OPTIONS_FILE_SET+=3DDOCS OPTIONS_FILE_UNSET+=3DGNOME OPTIONS_FILE_SET+=3DGTK3 OPTIONS_FILE_UNSET+=3DGTK4 OPTIONS_FILE_UNSET+=3DJAVA OPTIONS_FILE_UNSET+=3DKF5 OPTIONS_FILE_UNSET+=3DLTO OPTIONS_FILE_UNSET+=3DMARIADB OPTIONS_FILE_UNSET+=3DMMEDIA OPTIONS_FILE_UNSET+=3DPGSQL OPTIONS_FILE_SET+=3DQT5 OPTIONS_FILE_UNSET+=3DSDK OPTIONS_FILE_UNSET+=3DTEST OPTIONS_FILE_UNSET+=3DWEBDAV % cd /usr/ports/editors/libreoffice % make [snip] [build CXX] workdir/UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object_strea m.cpp S=3D/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3 && I=3D$S/instd= ir && W=3D$ S/workdir && mkdir -p $W/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/ $W/Dep/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/ && cd /usr/ports/ editors/libreoffice/work/libreoffice-7.3.0.3 && CCACHE_CPP2=3D1 c++ -DBOOST_ER ROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=3Dgcc3 -DFREEB= SD -DND EBUG -DOSL_DEBUG_LEVEL=3D0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -isystem /usr/local/include -DFPDF_IMPLEMENTATION -DUSE_SYSTEM_LCMS2 -DUSE_SYSTEM_LIBJPE G -DUSE_SYSTEM_ZLIB -DUSE_SYSTEM_ICUUC -DMEMORY_TOOL_REPLACES_ALLOCATOR -DUNICOD E -DWIN32_LEAN_AND_MEAN -DCOMPONENT_BUILD -DUSE_SYSTEM_LIBOPENJPEG2=20 -DSYSTEM_Z LIB -DZLIB_CONST -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H=3D'<freetype-custom-co nfig/ftmodule.h>' -DFT_CONFIG_OPTIONS_H=3D'<freetype-custom-config/ftoption= .h>'=20=20=20 -fvisibility=3Dhidden -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labe ls -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros -Wembedded-direct ive -finput-charset=3DUTF-8 -fmessage-length=3D0 -fno-common -pipe -fstack-protector -strong -Wdeprecated-copy-dtor -Wimplicit-fallthrough -Wunused-exception-param eter -Wrange-loop-analysis -fvisibility-inlines-hidden -fPIC -Woverloaded-virtua l -Wno-unused-parameter -Wno-unused-local-typedefs -std=3Dc++17 -O2 -pipe -fstac k-protector-strong -DLDAP_DEPRECATED -isystem /usr/local/include -fno-strict-ali asing -isystem /usr/local/include -DEXCEPTIONS_ON -fexceptions -w -DLIBO_INT ERNAL_ONLY -c $W/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.cpp -o $W/Ge nCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.o=20 -I$W/UnpackedTar ball/pdfium/third_party/freetype/include/ -I$W/UnpackedTarball/pdfium/third_part y/freetype/src/include/ -I$W/UnpackedTarball/pdfium -I$W/UnpackedTarball/pdfium/ third_party -I$W/UnpackedTarball/pdfium/third_party/agg23 -isystem /usr/local/i nclude/openjpeg-2.4 -I$S/include -I$S/config_host -isystem /usr/loc al/include -Wno-long-long=20=20=20=20=20 In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/wo rkdir/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.cpp:31: /usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/UnpackedTar= ball/ pdfium/core/fxcodec/jpx/cjpx_decoder.h:63:14: error: unknown type name 'opj_code c_t'; did you mean 'opj_poc_t'? UnownedPtr<opj_codec_t> m_Codec; ^~~~~~~~~~~ opj_poc_t /usr/local/include/openjpeg.h:225:3: note: 'opj_poc_t' declared here } opj_poc_t; ^ In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/wo rkdir/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.cpp:31: /usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/UnpackedTar= ball/ pdfium/core/fxcodec/jpx/cjpx_decoder.h:65:14: error: use of undeclared identifie r 'opj_stream_t' UnownedPtr<opj_stream_t> m_Stream; ^ test -f /usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/Unpacked Tarball/pdfium/core/fpdfapi/parser/cpdf_object_stream.cpp || (echo "Missing gene rated source file /usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdi r/UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_object_stream.cpp" && fal= se) [snip] [build CXX] workdir/UnpackedTarball/pdfium/core/fpdfapi/edit/cpdf_stringarchives tream.cpp S=3D/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3 && I=3D$S/instd= ir && W=3D$ S/workdir && mkdir -p $W/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/parse r/ $W/Dep/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/parser/ && cd /usr/po rts/editors/libreoffice/work/libreoffice-7.3.0.3 && CCACHE_CPP2=3D1 = c++ -D BOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=3Dgcc3 -DFREE BSD -DNDEBUG -DOSL_DEBUG_LEVEL=3D0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REE= NTRANT=20 -isystem /usr/local/include -DFPDF_IMPLEMENTATION -DUSE_SYSTEM_LCMS2 -DUSE_SYSTE M_LIBJPEG -DUSE_SYSTEM_ZLIB -DUSE_SYSTEM_ICUUC -DMEMORY_TOOL_REPLACES_ALLOC= ATOR=20 -DUNICODE -DWIN32_LEAN_AND_MEAN -DCOMPONENT_BUILD -DUSE_SYSTEM_LIBOPENJPEG= 2=20 -D SYSTEM_ZLIB -DZLIB_CONST -DFT2_BUILD_LIBRARY -DFT_CONFIG_MODULES_H=3D'<freetype-c ustom-config/ftmodule.h>' -DFT_CONFIG_OPTIONS_H=3D'<freetype-custom-config/ftoptio n.h>' -fvisibility=3Dhidden -Wall -Wno-missing-braces -Wnon-virtual-dt= or -Wen dif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros -Wembedde d-directive -finput-charset=3DUTF-8 -fmessage-length=3D0 -fno-common -pipe -fstack-p rotector-strong -Wdeprecated-copy-dtor -Wimplicit-fallthrough -Wunused-excepti on-parameter -Wrange-loop-analysis -fvisibility-inlines-hidden -fPIC -Woverloade d-virtual -Wno-unused-parameter -Wno-unused-local-typedefs -std=3Dc++17 -= O2 -pip e -fstack-protector-strong -DLDAP_DEPRECATED -isystem /usr/local/include -fno-st rict-aliasing -isystem /usr/local/include -DEXCEPTIONS_ON -fexceptions = -w -D LIBO_INTERNAL_ONLY -c $W/UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf_cross_ ref_table.cpp -o $W/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/parser/cpdf _cross_ref_table.o -I$W/UnpackedTarball/pdfium/third_party/freetype/includ= e/ -I $W/UnpackedTarball/pdfium/third_party/freetype/src/include/ -I$W/UnpackedTarball /pdfium -I$W/UnpackedTarball/pdfium/third_party -I$W/UnpackedTarball/pdfium/thir d_party/agg23 -isystem /usr/local/include/openjpeg-2.4 -I$S/include=20=20 -I$S/con fig_host -isystem /usr/local/include -Wno-long-long=20=20=20=20= =20 /usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/UnpackedTar= ball/ pdfium/core/fpdfapi/page/cpdf_dib.cpp:124:34: error: use of undeclared identifie r 'OPJ_CLRSPC_SRGB'; did you mean 'CLRSPC_SRGB'? jpx_info.colorspace =3D=3D OPJ_CLRSPC_SRGB) { ^~~~~~~~~~~~~~~ CLRSPC_SRGB /usr/local/include/openjpeg.h:133:2: note: 'CLRSPC_SRGB' declared here CLRSPC_SRGB =3D 1, /**< sRGB */ ^ 3 errors generated. [snip] gmake[2]: *** [Makefile:288: build] Error 2 gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-7.3 .0.3' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/editors/libreoffice *** Error code 1 Stop. make: stopped in /usr/ports/editors/libreoffice --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262008-7788>