[MacPorts] #54358: texlive-bin @2017 won't build on Snow Leopard, Mac OS X 10.6.8, because "A compiler with support for C++11 language features is required"

MacPorts noreply at macports.org
Wed Jun 21 13:04:16 UTC 2017


#54358: texlive-bin @2017 won't build on Snow Leopard, Mac OS X 10.6.8, because "A
compiler with support for C++11 language features is required"
--------------------------+-------------------------
  Reporter:  ballapete    |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard
      Port:  texlive-bin  |
--------------------------+-------------------------

Comment (by ballapete):

 When I try to build TeX Live 2017 with (a patched version of) Clang 4.0
 (see #) dvisvgm is configured, but then an error happens:

 {{{
 Making all in clipper
 make[7]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/work
 /texlive-source-20170604-stripped/texk/dvisvgm/dvisvgm-src/libs/clipper'
 depbase=`echo clipper.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         /opt/local/bin/clang++-mp-4.0 -std=gnu++11 -DHAVE_CONFIG_H -I.
 -I../../..   -isystem/opt/local/include -Wall -pipe -Os -stdlib=libstdc++
 -arch x86_64 -MT clipper.o -MD -MP -MF $depbase.Tpo -c -o clipper.o
 clipper.cpp &&\
         mv -f $depbase.Tpo $depbase.Po
 In file included from clipper.cpp:41:
 ./clipper.hpp:55:10: fatal error: 'cstdint' file not found
 #include <cstdint>
          ^~~~~~~~~
 1 error generated.
 make[7]: *** [clipper.o] Error 1
 make[7]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/work
 /texlive-source-20170604-stripped/texk/dvisvgm/dvisvgm-src/libs/clipper'
 }}}

 The missing file seems to exist:

 {{{
 -rw-r--r--  1 macports  admin  2785 17 Okt  2011
 /opt/local/libexec/llvm-4.0/lib/c++/v1/cstdint
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list