Bug 248846 - editors/libreoffice: 7.0.0.3 build failure: poppler/GfxFont.h:77:5: error: unknown type name 'CID'
Summary: editors/libreoffice: 7.0.0.3 build failure: poppler/GfxFont.h:77:5: error: un...
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-23 10:05 UTC by O. Hartmann
Modified: 2020-11-06 07:44 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (office)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2020-08-23 10:05:26 UTC
On recent CURRENT (13.0-CURRENT #194 r364479: Sat Aug 22 11:25:33 CEST 2020 amd64), updating the specified port to version 7.0.0.3 fails due to the shown error.

Config settings are:

# make showconfig
===> The following configuration options are available for libreoffice-7.0.0.3:
     COINMP=off: Enable CoinMP (deprecated) math solver
     CUPS=on: CUPS printing system support
     DOCS=on: Build and/or install documentation
     GNOME=off: GNOME desktop environment support
     GTK3=off: GTK+ 3 GUI toolkit support (incomplete visual style)
     JAVA=off: Add Java support (XML filters, macros, DB connections)
     KF5=off: KF5/Qt5 GUI toolkit support (implies QT5)
     MMEDIA=on: Enable multimedia backend for Impress
     PGSQL=on: Build with PostgreSQL-SDBC driver
     QT5=on: Qt5 GUI toolkit support (default visual style)
     SDK=off: Build with SDK
     TEST=off: Run all regression tests
     WEBDAV=off: Enable WebDAV protocol
===> Use 'make config' to modify these settings

Ports tree is at Revision: 545800.


[...]
In file included from In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.0.0.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:20:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.0.0.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:37:
/usr/local/include/poppler/GfxFont.h:77:5: error: unknown type name 'CID'
/usr/ports/editors/libreoffice/work/libreoffice-7.0.0.3/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:20:
    CID first; // this record applies to
    ^
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.0.0.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.0.0.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:20:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.0.0.3/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:24:
In file included from /usr/ports/editors/libreoffice/work/libreoffice-7.0.0.3/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:37:
/usr/local/include/poppler/GfxFont.h:77:5: error: unknown type name 'CID'
    CID first; // this record applies to

[...]
Comment 1 O. Hartmann 2020-08-23 10:08:02 UTC
Addendum: installed poppler ports:

[...]
 # pkg info -xo poppler
poppler-20.08.0_1              graphics/poppler
poppler-data-0.4.9_5           graphics/poppler-data
poppler-glib-20.08.0_1         graphics/poppler-glib
poppler-qt5-20.08.0_1          graphics/poppler-qt5
poppler-utils-20.08.0_1        graphics/poppler-utils
Comment 2 Dima Panov freebsd_committer freebsd_triage 2020-08-23 12:03:02 UTC
Moin!

As I can assume, you build LO port on a live system with packages existed before base system upgrade. 
Due to clang11 and updated libc++, please force to rebuild everything as first step.