[Bug 262285] editors/libreoffice 7.3.0.3 fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Mar 2022 23:53:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262285

            Bug ID: 262285
           Summary: editors/libreoffice 7.3.0.3 fails 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: bergerkos@yahoo.co.uk
          Assignee: office@FreeBSD.org
             Flags: maintainer-feedback?(office@FreeBSD.org)

System 13.0-RELEASE-p7. Arch = amd64
Port editors/libreoffice from latest git tree fails to build.

In file included from
/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.cpp:31:
/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/UnpackedTarball/pdfium/core/fxcodec/jpx/cjpx_decoder.h:63:14:
error: unknown type name 'opj_codec_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/workdir/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.cpp:31:
/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/UnpackedTarball/pdfium/core/fxcodec/jpx/cjpx_decoder.h:65:14:
error: use of undeclared identifier 'opj_stream_t'
  UnownedPtr<opj_stream_t> m_Stream;
             ^
/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.cpp:124:34:
error: use of undeclared identifier 'OPJ_CLRSPC_SRGB'; did you mean
'CLRSPC_SRGB'?
          jpx_info.colorspace == OPJ_CLRSPC_SRGB) {
                                 ^~~~~~~~~~~~~~~
                                 CLRSPC_SRGB
/usr/local/include/openjpeg.h:133:2: note: 'CLRSPC_SRGB' declared here
        CLRSPC_SRGB = 1,                /**< sRGB */
        ^
3 errors generated.
gmake[3]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/solenv/gbuild/LinkTarget.mk:400:
/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/GenCxxObject/UnpackedTarball/pdfium/core/fpdfapi/page/cpdf_dib.o]
Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory
'/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3'
gmake[2]: *** [Makefile:288: build] Error 2
gmake[2]: Leaving directory
'/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.