Opened 4 years ago
Last modified 20 months 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: | cooljeanius (Eric Gallager) | |
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)
Change History (5)
comment:1 Changed 4 years ago by Schamschula (Marius Schamschula)
Changed 4 years 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 4 years 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 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
comment:4 Changed 20 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Note: See
TracTickets for help on using
tickets.
Strange,
compiler.cxx_standard 2014
should exclude older compilers.