Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Mar 2022 23:53:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262285] editors/libreoffice 7.3.0.3 fails to build
Message-ID:  <bug-262285-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262285

            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 =3D 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/UnpackedTar=
ball/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_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/UnpackedTar=
ball/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 identifier 'opj_stream_t'
  UnownedPtr<opj_stream_t> m_Stream;
             ^
/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 identifier '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.
gmake[3]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/solenv/gbuild/Link=
Target.mk:400:
/usr/ports/editors/libreoffice/work/libreoffice-7.3.0.3/workdir/GenCxxObjec=
t/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'
=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

--=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-262285-7788>