[MacPorts] #71418: poppler 23.11.0 fails to build due to obsolete gcc patches - Leopard
MacPorts
noreply at macports.org
Thu Nov 28 15:24:43 UTC 2024
#71418: poppler 23.11.0 fails to build due to obsolete gcc patches - Leopard
-----------------------+---------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard
Port: poppler |
-----------------------+---------------------
Comment (by rmottola):
I tried removing the patch-poppler-gcc7-noexcept.diff from the portfile.
It then fails
{{{
/opt/local/bin/g++-mp-7 -Dpoppler_EXPORTS -I/opt/local/var/macports/build
/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/poppler-23.11.0
-I/opt/local/var/macports/build/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/poppler-23.11.0/fofi
-I/opt/local/var/macports/build/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/poppler-23.11.0/goo
-I/opt/local/var/macports/build/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/poppler-23.11.0/poppler
-I/opt/local/var/macports/build/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/build
-I/opt/local/var/macports/build/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/build/poppler -isystem
/opt/local/include/openjpeg-2.5 -isystem /opt/local/include -isystem
/opt/local/include/freetype2 -isystem /opt/local/include/nss -isystem
/opt/local/include/nspr -isystem /opt/local/include/gpgme++ -isystem
/opt/local/libexec/boost/1.76/include -Wall -Wextra -Wpedantic -Wno-
unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536
-Wlogical-op -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-
virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant
-Wshadow -Wsuggest-override -fno-exceptions -fno-check-new -fno-common
-fno-operator-names -D_DEFAULT_SOURCE -O2 -g -pipe
-I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG
-I/opt/local/libexec/boost/1.76/include
-isystem/opt/local/include/LegacySupport -D_GLIBCXX_USE_CXX11_ABI=0
-std=c++1z -arch ppc -mmacosx-version-min=10.5 -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden -MD -MT
CMakeFiles/poppler.dir/poppler/GfxFont.cc.o -MF
CMakeFiles/poppler.dir/poppler/GfxFont.cc.o.d -o
CMakeFiles/poppler.dir/poppler/GfxFont.cc.o -c
/opt/local/var/macports/build/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/poppler-23.11.0/poppler/GfxFont.cc
/opt/local/var/macports/build/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/poppler-23.11.0/poppler/GfxFont.cc:184:13:
error: function 'GfxFontLoc& GfxFontLoc::operator=(GfxFontLoc&&)'
defaulted on its redeclaration with an exception-specification that
differs from the implicit exception-specification ''
GfxFontLoc &GfxFontLoc::operator=(GfxFontLoc &&other) noexcept = default;
^~~~~~~~~~
/opt/local/var/macports/build/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/poppler-23.11.0/poppler/GfxFont.cc:
In member function 'std::optional<GfxFontLoc> GfxFont::locateFont(XRef*,
PSOutputDev*, GooString*)':
/opt/local/var/macports/build/_Users_multix_code_macports-
leopard_graphics_poppler/poppler/work/poppler-23.11.0/poppler/GfxFont.cc:680:24:
error: could not convert 'fontLoc' from 'GfxFontLoc' to
'std::optional<GfxFontLoc>'
return fontLoc;
^~~~~~~
}}}
which tells.. noexcept is needed...
--
Ticket URL: <https://trac.macports.org/ticket/71418#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list