Opened 5 weeks ago

Last modified 5 weeks ago

#62425 assigned defect

py-pikepdf @2.8.0.post2 - Build on El Capitan needs a more modern compiler

Reported by: snowflake (Dave Evans) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc:
Port: py-pikepdf

Description

Building py39-pikepdf with the system compiler on El Capitan (10.11.6) resulted in compiler errors.

I successfully built it with

sudo port -s install py39-pikepdf configure.compiler=macports-clang-11

Attachments (1)

main.log.gz (7.0 KB) - added by snowflake (Dave Evans) 5 weeks ago.
There are some additional messages at the beginning of the file where I am testing fetching distfiles from a local repository.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 5 weeks ago by Schamschula (Marius Schamschula)

Strange,

compiler.cxx_standard 2014

should exclude older compilers.

comment:2 Changed 5 weeks ago by jmroot (Joshua Root)

Please attach the log.

Changed 5 weeks ago by snowflake (Dave Evans)

Attachment: main.log.gz added

There are some additional messages at the beginning of the file where I am testing fetching distfiles from a local repository.

comment:3 Changed 5 weeks ago by snowflake (Dave Evans)

Yesterday I looked at the buildbot for 132798 2021-02-01 16:41:08

It appears to be offline at the moment, but It also showed the build was using the system compiler. The error messages were very similar.

Here's a message from my log:

:info:build /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pybind11/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/qpdf/pikepdf.cpp -o build/temp.macosx-10.11-x86_64-3.9/src/qpdf/pikepdf.o -fvisibility=hidden -g0 -stdlib=libc++ -std=c++14
:info:build src/qpdf/pikepdf.cpp:59:9: error: no matching constructor for initialization of 'match_replace' (aka 'pair<basic_regex<char>, basic_string<char, char_traits<char>, allocator<char> > >')
:info:build         match_replace{"QPDF::copyForeign(?:Object)?", "pikepdf.copy_foreign"},
:info:build         ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: See TracTickets for help on using tickets.