poppler and leopard - LegacySupport issues
Riccardo Mottola
riccardo.mottola at libero.it
Thu Aug 15 12:44:50 UTC 2019
Hi!
now that I unblocked cmake and clang-5.0, I continue installing
dependencies for gimp2!
Poppler is on the way, I get the error below. It is already building
with clang 5.0 and the issue appears to be LegacySupport itself.
[ 1%] Building CXX object CMakeFiles/poppler.dir/goo/gbasename.cc.o
/opt/local/bin/clang++-mp-5.0 -Dpoppler_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0/fofi
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0/goo
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0/poppler
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/poppler
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/openjpeg-2.3 -Wall -Wextra -Wpedantic
-Wno-unused-parameter -Wcast-align -Wformat-security
-Wframe-larger-than=65536 -Wmissing-format-attribute -Wnon-virtual-dtor
-Woverloaded-virtual -Wmissing-declarations -Wundef
-Wzero-as-null-pointer-constant -Wshadow -pipe -Os -std=c++14
-D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -I/opt/local/include/LegacySupport
-I/opt/local/include/LegacySupport -stdlib=macports-libstdc++ -arch
x86_64 -mmacosx-version-min=10.5 -fPIC -std=c++14 -o
CMakeFiles/poppler.dir/goo/gbasename.cc.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0/goo/gbasename.cc
/opt/local/bin/clang++-mp-5.0 -Dpoppler_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0/fofi
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0/goo
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0/poppler
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/build/poppler
-I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/openjpeg-2.3 -Wall -Wextra -Wpedantic
-Wno-unused-parameter -Wcast-align -Wformat-security
-Wframe-larger-than=65536 -Wmissing-format-attribute -Wnon-virtual-dtor
-Woverloaded-virtual -Wmissing-declarations -Wundef
-Wzero-as-null-pointer-constant -Wshadow -pipe -Os -std=c++14
-D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -I/opt/local/include/LegacySupport
-I/opt/local/include/LegacySupport -stdlib=macports-libstdc++ -arch
x86_64 -mmacosx-version-min=10.5 -fPIC -std=c++14 -o
CMakeFiles/poppler.dir/goo/gbase64.cc.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0/goo/gbase64.cc
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.79.0/goo/gbasename.cc:46:
/opt/local/include/LegacySupport/stdlib.h:44:14: error: conflicting asm
label
extern char *realpath(const char * __restrict, char * __restrict)
^
/usr/include/stdlib.h:226:60: note: previous declaration is here
char *realpath(const char * __restrict, char * __restrict)
__DARWIN_EXTSN(realpath);
^
/usr/include/sys/cdefs.h:365:36: note: expanded from macro '__DARWIN_EXTSN'
#define __DARWIN_EXTSN(sym) __asm("_" __STRING(sym)
__DARWIN_SUF_EXTSN)
^
1 error generated.
make[2]: *** [CMakeFiles/poppler.dir/goo/gbasename.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Am I missing some other "trick" ?
Thank you,
Riccardo
More information about the macports-users
mailing list