In my latest amd64 package bulk build, print/py-pikepdf,python3 failed
to build.

Specifically, page.o couldn't be compiled:

src/qpdf/page.cpp:82:10: error: no matching member function for call to 'def'
        .def("externalize_inline_images", 
&QPDFPageObjectHelper::externalizeInlineImages,
        ~^~~

This didn't happen in recent builds and I don't see any immediately
suspicious change.  Here's the full log:

------------------------------------------------------------------------
>>> Building on amd64-1 under print/py-pikepdf,python3
         BDEPENDS = 
[lang/python/3.8;devel/py-pybind11,python3;devel/py-setuptools_scm_git_archive,python3;devel/py-setuptools_scm,python3;devel/py-setuptools,python3;print/qpdf]
         DIST = [print/py-pikepdf,python3:pikepdf-1.19.3.tar.gz]
         FULLPKGNAME = py3-pikepdf-1.19.3p0
         RDEPENDS = 
[textproc/py-lxml,python3;print/qpdf;devel/py-setuptools,python3;graphics/py-Pillow,python3;lang/python/3.8]
(Junk lock obtained for amd64-1 at 1610068891.86)
>>> Running depends in print/py-pikepdf,python3 at 1610068891.93
   last junk was in textproc/ruby-fast-stemmer,ruby26
/usr/sbin/pkg_add -aI -Drepair py3-pybind11-2.6.1 py3-setuptools-44.1.1v0 
py3-setuptools_scm-3.3.3p0 py3-setuptools_scm_git_archive-1.0p2 python-3.8.7 
qpdf-10.1.0
was: /usr/sbin/pkg_add -aI -Drepair py3-pybind11-2.6.1 py3-setuptools-44.1.1v0 
py3-setuptools_scm-3.3.3p0 py3-setuptools_scm_git_archive-1.0p2 python-3.8.7 
qpdf-10.1.0
/usr/sbin/pkg_add -aI -Drepair py3-pybind11-2.6.1 py3-setuptools-44.1.1v0 
py3-setuptools_scm-3.3.3p0 py3-setuptools_scm_git_archive-1.0p2 python-3.8.7 
qpdf-10.1.0
>>> Running show-prepare-results in print/py-pikepdf,python3 at 1610068894.52
===> print/py-pikepdf,python3
===> py3-pikepdf-1.19.3p0 depends on: py3-pybind11-* -> py3-pybind11-2.6.1
===> py3-pikepdf-1.19.3p0 depends on: py3-setuptools_scm_git_archive-* -> 
py3-setuptools_scm_git_archive-1.0p2
===> py3-pikepdf-1.19.3p0 depends on: py3-setuptools_scm-* -> 
py3-setuptools_scm-3.3.3p0
===> py3-pikepdf-1.19.3p0 depends on: python->=3.8,<3.9 -> python-3.8.7
===> py3-pikepdf-1.19.3p0 depends on: py3-setuptools->=39.0.1v0 -> 
py3-setuptools-44.1.1v0
===> py3-pikepdf-1.19.3p0 depends on: qpdf-* -> qpdf-10.1.0
===>  Verifying specs:  c++ c++abi pthread m qpdf
===>  found c++.6.0 c++abi.4.0 pthread.26.1 m.10.1 qpdf.8.1
py3-pybind11-2.6.1
py3-setuptools-44.1.1v0
py3-setuptools_scm-3.3.3p0
py3-setuptools_scm_git_archive-1.0p2
python-3.8.7
qpdf-10.1.0
Don't run junk because nojunk in x11/qt5/qtbase
(Junk lock released for amd64-1 at 1610068895.49)
distfiles size=2360826
>>> Running build in print/py-pikepdf,python3 at 1610068895.54
===> print/py-pikepdf,python3
===>  Checking files for py3-pikepdf-1.19.3p0
`/usr/ports/distfiles/pikepdf-1.19.3.tar.gz' is up to date.
>> (SHA256) pikepdf-1.19.3.tar.gz: OK
===>  Extracting for py3-pikepdf-1.19.3p0
===>  Patching for py3-pikepdf-1.19.3p0
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Generating configure for py3-pikepdf-1.19.3p0
===>  Configuring for py3-pikepdf-1.19.3p0
===>  Building for py3-pikepdf-1.19.3p0
running egg_info
writing src/pikepdf.egg-info/PKG-INFO
writing dependency_links to src/pikepdf.egg-info/dependency_links.txt
writing requirements to src/pikepdf.egg-info/requires.txt
writing top-level names to src/pikepdf.egg-info/top_level.txt
reading manifest file 'src/pikepdf.egg-info/SOURCES.txt'
writing manifest file 'src/pikepdf.egg-info/SOURCES.txt'
running build
running build_py
creating 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8
creating 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf
copying src/pikepdf/__init__.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf
copying src/pikepdf/_cpphelpers.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf
copying src/pikepdf/_methods.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf
copying src/pikepdf/_version.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf
copying src/pikepdf/codec.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf
copying src/pikepdf/jbig2.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf
copying src/pikepdf/objects.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf
creating 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf/models
copying src/pikepdf/models/__init__.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf/models
copying src/pikepdf/models/encryption.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf/models
copying src/pikepdf/models/image.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf/models
copying src/pikepdf/models/matrix.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf/models
copying src/pikepdf/models/metadata.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf/models
copying src/pikepdf/models/outlines.py -> 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf/models
running build_ext
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -I/usr/local/include/python3.8 
-c /tmp/has_flag__kbilt9my/flagcheck.cpp -o /tmp/has_flag__kbilt9my/flagcheck.o 
-std=c++14
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -I/usr/local/include/python3.8 
-c /tmp/has_flag__l4aibx0g/flagcheck.cpp -o /tmp/has_flag__l4aibx0g/flagcheck.o 
-fvisibility=hidden
building 'pikepdf._qpdf' extension
creating 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8
creating 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src
creating 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/object.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/object.o
 -std=c++14 -fvisibility=hidden
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/annotation.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/annotation.o
 -std=c++14 -fvisibility=hidden
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/object_convert.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/object_convert.o
 -std=c++14 -fvisibility=hidden
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/object_repr.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/object_repr.o
 -std=c++14 -fvisibility=hidden
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/page.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/page.o
 -std=c++14 -fvisibility=hidden
src/qpdf/page.cpp:82:10: error: no matching member function for call to 'def'
        .def("externalize_inline_images", 
&QPDFPageObjectHelper::externalizeInlineImages,
        ~^~~
/usr/local/lib/python3.8/site-packages/pybind11/include/pybind11/pybind11.h:1265:13:
 note: candidate template ignored: couldn't infer template argument 'Func'
    class_ &def(const char *name_, Func&& f, const Extra&... extra) {
            ^
/usr/local/lib/python3.8/site-packages/pybind11/include/pybind11/pybind11.h:1283:13:
 note: candidate template ignored: could not match 'op_<id, ot, 
type-parameter-0-2, type-parameter-0-3>' against 'char const[26]'
    class_ &def(const detail::op_<id, ot, L, R> &op, const Extra&... extra) {
            ^
/usr/local/lib/python3.8/site-packages/pybind11/include/pybind11/pybind11.h:1295:13:
 note: candidate template ignored: could not match 
'constructor<type-parameter-0-0...>' against 'char const[26]'
    class_ &def(const detail::initimpl::constructor<Args...> &init, const 
Extra&... extra) {
            ^
/usr/local/lib/python3.8/site-packages/pybind11/include/pybind11/pybind11.h:1301:13:
 note: candidate template ignored: could not match 
'alias_constructor<type-parameter-0-0...>' against 'char const[26]'
    class_ &def(const detail::initimpl::alias_constructor<Args...> &init, const 
Extra&... extra) {
            ^
/usr/local/lib/python3.8/site-packages/pybind11/include/pybind11/pybind11.h:1307:13:
 note: candidate template ignored: could not match 
'factory<type-parameter-0-0...>' against 'char const[26]'
    class_ &def(detail::initimpl::factory<Args...> &&init, const Extra&... 
extra) {
            ^
/usr/local/lib/python3.8/site-packages/pybind11/include/pybind11/pybind11.h:1313:13:
 note: candidate template ignored: could not match 
'pickle_factory<type-parameter-0-0...>' against 'char const[26]'
    class_ &def(detail::initimpl::pickle_factory<Args...> &&pf, const Extra 
&...extra) {
            ^
1 error generated.
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/pikepdf.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/pikepdf.o
 -std=c++14 -fvisibility=hidden
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/pipeline.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/pipeline.o
 -std=c++14 -fvisibility=hidden
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/qpdf.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/qpdf.o
 -std=c++14 -fvisibility=hidden
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/qpdf_pagelist.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/qpdf_pagelist.o
 -std=c++14 -fvisibility=hidden
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -g 
-fPIC -O2 -pipe -g -O2 -pipe -g -O2 -pipe -fPIC -DVERSION_INFO="1.19.3" 
-I/usr/local/lib/python3.8/site-packages/pybind11/include -I/usr/local/include 
-I/usr/local/include/python3.8 -c src/qpdf/utils.cpp -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/utils.o
 -std=c++14 -fvisibility=hidden
building using 4 processes
c++ -pthread -shared -fPIC -L/usr/local/lib/ 
-L/usr/obj/ports/Python-3.8.7/Python-3.8.7 -L/usr/local/lib/ -O2 -pipe 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/annotation.o
 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/object.o
 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/object_convert.o
 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/object_repr.o
 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/page.o
 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/pikepdf.o
 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/pipeline.o
 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/qpdf.o
 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/qpdf_pagelist.o
 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/utils.o
 -L/usr/local/lib -lqpdf -o 
/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/lib.openbsd-6.8-amd64-3.8/pikepdf/_qpdf.cpython-38.so
c++: error: no such file or directory: 
'/usr/obj/ports/py-pikepdf-1.19.3-python3/pikepdf-1.19.3/temp.openbsd-6.8-amd64-3.8/src/qpdf/page.o'
error: command 'c++' failed with exit status 1
*** Error 1 in print/py-pikepdf (/usr/ports/lang/python/python.port.mk:244 
'do-build': @: ;cd /usr/obj/ports/py-pikepdf-1.19.3-python3/pikep...)
*** Error 2 in print/py-pikepdf (/usr/ports/infrastructure/mk/bsd.port.mk:2924 
'/usr/obj/ports/py-pikepdf-1.19.3-python3/.build_done': @cd /...)
*** Error 2 in print/py-pikepdf (/usr/ports/infrastructure/mk/bsd.port.mk:2587 
'build': @lock=py3-pikepdf-1.19.3p0;  export _LOCKS_HELD=" py...)
===> Exiting print/py-pikepdf,python3 with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build': @: 
${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
>>> Ended at 1610068939.43
Error: job failed with 512 on amd64-1 at 1610068939

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to