Bug 254158 - print/scribus-devel: build fail after update poppler to 21.03.0
Summary: print/scribus-devel: build fail after update poppler to 21.03.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL: https://github.com/scribusproject/scr...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-09 14:33 UTC by VVD
Modified: 2021-03-09 15:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description VVD 2021-03-09 14:33:34 UTC
12.2 amd64.
After update poppler to 21.03.0 scribus-devel fails to build (even after remove it).

Part of build log:
[1624/2089] /usr/local/bin/g++10 -DAPPDATADIR=\"/usr/local/share/metainfo/\" -DDESKTOPDIR=\"/usr/local/share/applications/\" -DDOCDIR=\"/usr/local/share/doc/scribus/\" -DHAVE_CONFIG_H -DHAVE_DLFCN_H -DHAVE_FREETYPE_H -DHAVE_UNISTD_H -DICONDIR=\"/usr/local/share/scribus/icons/\" -DLIBDIR=\"/usr/local/lib/scribus/\" -DPLUGINDIR=\"/usr/local/lib/scribus/plugins/\" -DQMLDIR=\"/usr/local/share/scribus/qml/\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSAMPLESDIR=\"/usr/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/usr/local/share/scribus/scripts/\" -DSHAREDIR=\"/usr/local/share/scribus/\" -DTEMPLATEDIR=\"/usr/local/share/scribus/templates/\" -Dimportpdf_EXPORTS -Iscribus/plugins/import/pdf -I/tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus/plugins/import/pdf -I/usr/local/include/qt5/QtPrintSupport -I. -Iscribus -I/usr/local/include/libxml2 -I/tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1 -I/tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include/libpng16 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus/third_party/hyphen -I/usr/local/include/cairo -I/usr/local/include/poppler -I/usr/local/include/poppler/cpp -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -isystem /usr/local/include/qt5/QtXml -isystem /usr/local/include/qt5/QtNetwork -isystem /usr/local/include/qt5/QtOpenGL -O2 -pipe -march=core2  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -nostdinc++ -isystem /usr/include/c++/v1 -Wl,-rpath=/usr/local/lib/gcc10 -O2 -pipe -march=core2  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -nostdinc++ -isystem /usr/include/c++/v1 -Wl,-rpath=/usr/local/lib/gcc10 -O2 -Wall -fPIC -Wl,-E -fPIC -fPIC -std=gnu++11 -MD -MT scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o -MF scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o.d -o scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o -c /tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus/plugins/import/pdf/importpdf.cpp
FAILED: scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o 
/usr/local/bin/g++10 -DAPPDATADIR=\"/usr/local/share/metainfo/\" -DDESKTOPDIR=\"/usr/local/share/applications/\" -DDOCDIR=\"/usr/local/share/doc/scribus/\" -DHAVE_CONFIG_H -DHAVE_DLFCN_H -DHAVE_FREETYPE_H -DHAVE_UNISTD_H -DICONDIR=\"/usr/local/share/scribus/icons/\" -DLIBDIR=\"/usr/local/lib/scribus/\" -DPLUGINDIR=\"/usr/local/lib/scribus/plugins/\" -DQMLDIR=\"/usr/local/share/scribus/qml/\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSAMPLESDIR=\"/usr/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/usr/local/share/scribus/scripts/\" -DSHAREDIR=\"/usr/local/share/scribus/\" -DTEMPLATEDIR=\"/usr/local/share/scribus/templates/\" -Dimportpdf_EXPORTS -Iscribus/plugins/import/pdf -I/tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus/plugins/import/pdf -I/usr/local/include/qt5/QtPrintSupport -I. -Iscribus -I/usr/local/include/libxml2 -I/tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1 -I/tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include/libpng16 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus/third_party/hyphen -I/usr/local/include/cairo -I/usr/local/include/poppler -I/usr/local/include/poppler/cpp -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/qt5/QtWidgets -isystem /usr/local/include/qt5/QtGui -isystem /usr/local/include/qt5/QtXml -isystem /usr/local/include/qt5/QtNetwork -isystem /usr/local/include/qt5/QtOpenGL -O2 -pipe -march=core2  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -nostdinc++ -isystem /usr/include/c++/v1 -Wl,-rpath=/usr/local/lib/gcc10 -O2 -pipe -march=core2  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -nostdinc++ -isystem /usr/include/c++/v1 -Wl,-rpath=/usr/local/lib/gcc10 -O2 -Wall -fPIC -Wl,-E -fPIC -fPIC -std=gnu++11 -MD -MT scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o -MF scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o.d -o scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o -c /tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus/plugins/import/pdf/importpdf.cpp
In file included from /tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus/plugins/import/pdf/importpdf.cpp:33:
/tmp/work/usr/ports/print/scribus-devel/work/scribus-1.5.6.1/scribus/plugins/import/pdf/slaoutput.h:199:8: error: 'bool SlaOutputDev::tilingPatternFill(GfxState*, Gfx*, Catalog*, Object*, const double*, int, int, Dict*, const double*, const double*, int, int, int, int, double, double)' marked 'override', but does not override
  199 |  GBool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, Object *str, POPPLER_CONST_070 double *pmat, int paintType, int tilingType, Dict *resDict, POPPLER_CONST_070 double *mat, POPPLER_CONST_070 double *bbox, int x0, int y0, int x1, int y1, double xStep, double yStep) override;
      |        ^~~~~~~~~~~~~~~~~
Comment 1 commit-hook freebsd_committer 2021-03-09 15:53:19 UTC
A commit references this bug:

Author: pkubaj
Date: Tue Mar  9 15:53:12 UTC 2021
New revision: 567940
URL: https://svnweb.freebsd.org/changeset/ports/567940

Log:
  print/scribus-devel: fix build after poppler 21.03.0 upgrade

  PR:		254158
  Submitted by:	tcberner
  Reported by:	vvd@unislabs.com

Changes:
  head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.cpp
  head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.h