[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"

classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[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
#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
 Keywords:  snowleopard  |       Port:  texlive-bin
-------------------------+-------------------------
 {{{

 checking for gcc... (cached) /usr/bin/llvm-gcc-4.2
 checking whether we are using the GNU C compiler... (cached) yes
 checking whether /usr/bin/llvm-gcc-4.2 accepts -g... (cached) yes
 checking for /usr/bin/llvm-gcc-4.2 option to accept ISO C89... (cached)
 none needed
 checking whether /usr/bin/llvm-gcc-4.2 understands -c and -o together...
 (cached) yes
 checking for /usr/bin/llvm-gcc-4.2 option to accept ISO C99... -std=gnu99
 checking whether we are using the GNU C++ compiler... yes
 checking whether /usr/bin/llvm-g++-4.2 accepts -g... yes
 checking dependency style of /usr/bin/llvm-g++-4.2... gcc3
 checking what warning flags to pass to the C++ compiler... -Wimplicit
 -Wreturn-type -Wno-unknown-pragmas -Wno-write-strings
 checking how to run the C++ preprocessor... /usr/bin/llvm-g++-4.2 -E
 checking for ld used by /usr/bin/llvm-g++-4.2... /usr/llvm-
 gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld
 checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-
 darwin10/4.2.1/ld) is GNU ld... no
 checking whether the /usr/bin/llvm-g++-4.2 linker (/usr/llvm-
 gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
 libraries... yes
 checking for /usr/bin/llvm-g++-4.2 option to produce PIC... -fno-common
 -DPIC
 checking if /usr/bin/llvm-g++-4.2 PIC flag -fno-common -DPIC works... yes
 checking if /usr/bin/llvm-g++-4.2 static flag -static works... no
 checking if /usr/bin/llvm-g++-4.2 supports -c -o file.o... yes
 checking if /usr/bin/llvm-g++-4.2 supports -c -o file.o... (cached) yes
 checking whether the /usr/bin/llvm-g++-4.2 linker (/usr/llvm-
 gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
 libraries... yes
 checking dynamic linker characteristics... darwin10.8.0 dyld
 checking how to hardcode library paths into programs... immediate
 checking whether /usr/bin/llvm-g++-4.2 supports C++11 features by
 default... no
 checking whether /usr/bin/llvm-g++-4.2 supports C++11 features with
 -std=gnu++11... no
 checking whether /usr/bin/llvm-g++-4.2 supports C++11 features with
 -std=gnu++0x... no
 checking whether /usr/bin/llvm-g++-4.2 supports C++11 features with
 -std=c++11... no
 checking whether /usr/bin/llvm-g++-4.2 supports C++11 features with
 +std=c++11... no
 checking whether /usr/bin/llvm-g++-4.2 supports C++11 features with -h
 std=c++11... no
 checking whether /usr/bin/llvm-g++-4.2 supports C++11 features with
 -std=c++0x... no
 checking whether /usr/bin/llvm-g++-4.2 supports C++11 features with
 +std=c++0x... no
 checking whether /usr/bin/llvm-g++-4.2 supports C++11 features with -h
 std=c++0x... no
 configure: error: *** A compiler with support for C++11 language features
 is required.
 === configuring in dvisvgm failed
 make[2]: *** [recurse] Error 1
 make[2]: 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'
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54358>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
#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  |
--------------------------+-------------------------
Changes (by ballapete):

 * Attachment "main.log" added.

 main.log with failure configuring dvisvgm

--
Ticket URL: <https://trac.macports.org/ticket/54358>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+-------------------------
  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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+-------------------------
  Reporter:  ballapete    |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard
      Port:  texlive-bin  |
--------------------------+-------------------------
Changes (by ballapete):

 * Attachment "main.2.log" added.

 main.log from missing cstdint

--
Ticket URL: <https://trac.macports.org/ticket/54358>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+-------------------------
  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):

 With GCC 6 the build fails with XeTeX:

 {{{
 /bin/sh ./libtool  --tag=CC   --mode=link /opt/local/bin/gcc-mp-6
 -Wimplicit -Wreturn-type -pipe -Os -m64  -Wl,-headerpad_max_install_names
 -o euptex euptexdir/euptex-euptexextra.o synctexdir/euptex-synctex.o
 euptex-euptexini.o euptex-euptex0.o euptex-euptex-pool.o libukanji.a
 lib/libp.a
 /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/ptexenc/libptexenc.la lib/lib.a
 /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/kpathsea/libkpathsea.la  libmd5.a
 -lz
 libtool: link: /opt/local/bin/gcc-mp-6 -Wimplicit -Wreturn-type -pipe -Os
 -m64 -Wl,-headerpad_max_install_names -o .libs/euptex euptexdir/euptex-
 euptexextra.o synctexdir/euptex-synctex.o euptex-euptexini.o euptex-
 euptex0.o euptex-euptex-pool.o  libukanji.a lib/libp.a
 /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/ptexenc/.libs/libptexenc.dylib
 lib/lib.a
 /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/kpathsea/.libs/libkpathsea.dylib
 libmd5.a -lz
 mv -f xetexdir/.deps/libxetex_a-pdfimage.Tpo xetexdir/.deps/libxetex_a-
 pdfimage.Po
 mv -f xetexdir/.deps/libxetex_a-XeTeX_mac.Tpo xetexdir/.deps/libxetex_a-
 XeTeX_mac.Po
 mv -f xetexdir/.deps/libxetex_a-hz.Tpo xetexdir/.deps/libxetex_a-hz.Po
 mv -f xetexdir/.deps/libxetex_a-XeTeXFontInst_Mac.Tpo xetexdir/.deps
 /libxetex_a-XeTeXFontInst_Mac.Po
 In file included from
 /System/Library/Frameworks/Security.framework/Headers/Security.h:57:0,
                  from
 /System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:14,
                  from
 /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:79,
                  from
 /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                  from xetexdir/XeTeXFontMgr_Mac.mm:44:
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:102:46:
 error: shift expression '(1853123693 << 8)' overflows [-fpermissive]
      kSecAuthenticationTypeNTLM             = AUTH_TYPE_FIX_ ('ntlm'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:102:46:
 error: enumerator value for 'kSecAuthenticationTypeNTLM' is not an integer
 constant
      kSecAuthenticationTypeNTLM             = AUTH_TYPE_FIX_ ('ntlm'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:103:46:
 error: shift expression '(1836281441 << 8)' overflows [-fpermissive]
      kSecAuthenticationTypeMSN              = AUTH_TYPE_FIX_ ('msna'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:103:46:
 error: enumerator value for 'kSecAuthenticationTypeMSN' is not an integer
 constant
      kSecAuthenticationTypeMSN              = AUTH_TYPE_FIX_ ('msna'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:104:46:
 error: shift expression '(1685086561 << 8)' overflows [-fpermissive]
      kSecAuthenticationTypeDPA              = AUTH_TYPE_FIX_ ('dpaa'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:104:46:
 error: enumerator value for 'kSecAuthenticationTypeDPA' is not an integer
 constant
      kSecAuthenticationTypeDPA              = AUTH_TYPE_FIX_ ('dpaa'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:105:46:
 error: shift expression '(1919967585 << 8)' overflows [-fpermissive]
      kSecAuthenticationTypeRPA              = AUTH_TYPE_FIX_ ('rpaa'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:105:46:
 error: enumerator value for 'kSecAuthenticationTypeRPA' is not an integer
 constant
      kSecAuthenticationTypeRPA              = AUTH_TYPE_FIX_ ('rpaa'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:106:46:
 error: shift expression '(1752462448 << 8)' overflows [-fpermissive]
      kSecAuthenticationTypeHTTPBasic        = AUTH_TYPE_FIX_ ('http'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:106:46:
 error: enumerator value for 'kSecAuthenticationTypeHTTPBasic' is not an
 integer constant
      kSecAuthenticationTypeHTTPBasic        = AUTH_TYPE_FIX_ ('http'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:107:46:
 error: shift expression '(1752462436 << 8)' overflows [-fpermissive]
      kSecAuthenticationTypeHTTPDigest       = AUTH_TYPE_FIX_ ('httd'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:107:46:
 error: enumerator value for 'kSecAuthenticationTypeHTTPDigest' is not an
 integer constant
      kSecAuthenticationTypeHTTPDigest       = AUTH_TYPE_FIX_ ('httd'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:108:46:
 error: shift expression '(1718579821 << 8)' overflows [-fpermissive]
      kSecAuthenticationTypeHTMLForm         = AUTH_TYPE_FIX_ ('form'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:108:46:
 error: enumerator value for 'kSecAuthenticationTypeHTMLForm' is not an
 integer constant
      kSecAuthenticationTypeHTMLForm         = AUTH_TYPE_FIX_ ('form'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:109:46:
 error: shift expression '(1684434036 << 8)' overflows [-fpermissive]
      kSecAuthenticationTypeDefault          = AUTH_TYPE_FIX_ ('dflt'),
                                               ^
 /System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:109:46:
 error: enumerator value for 'kSecAuthenticationTypeDefault' is not an
 integer constant
      kSecAuthenticationTypeDefault          = AUTH_TYPE_FIX_ ('dflt'),
                                               ^
 make[5]: *** [xetexdir/libxetex_a-XeTeXFontMgr_Mac.o] Error 1
 make[5]: *** Waiting for unfinished jobs....
 mv -f .deps/pdftex-pdftex0.Tpo .deps/pdftex-pdftex0.Po
 mv -f .deps/aleph-aleph0.Tpo .deps/aleph-aleph0.Po
 make[5]: 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/web2c'
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+-------------------------
  Reporter:  ballapete    |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard
      Port:  texlive-bin  |
--------------------------+-------------------------
Changes (by ballapete):

 * Attachment "main.3.log" added.

 main.log with failing XeTeX build

--
Ticket URL: <https://trac.macports.org/ticket/54358>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+-------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard
      Port:  texlive-bin  |
--------------------------+-------------------------
Changes (by mf2k):

 * owner:   => drkp
 * cc: dports@… (removed)
 * status:  new => assigned


--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+-------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard
      Port:  texlive-bin  |
--------------------------+-------------------------

Comment (by ballapete):

 I forgot to mention the origin of the Clang 4.0 patches: #54135.

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+-------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard
      Port:  texlive-bin  |
--------------------------+-------------------------

Comment (by kencu):

 it built through to completion on 10.6.8 with clang-3.9 (my current
 default compiler on Snow Leopard).

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+---------------------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard leopard tiger
      Port:  texlive-bin  |
--------------------------+---------------------------------------
Changes (by Schamschula):

 * keywords:  snowleopard => snowleopard leopard tiger


Comment:

 Needless to say, Leopard (10.5.8 PPC) build is also rather broken.

 I ended up uninstalling relive-bin, as there were no direct dependents
 installed on my machine.

 I suspect, that I'll be caught by a build dependency in the near future...

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+---------------------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard leopard tiger
      Port:  texlive-bin  |
--------------------------+---------------------------------------

Comment (by ballapete):

 Replying to [comment:6 kencu]:
 > it built through to completion on 10.6.8 with clang-3.9 (my current
 default compiler on Snow Leopard).

 With Clang 3.9 (`port -vd upgrade texlive-bin configure.compiler=macports-
 clang-3.9`) I get:

 {{{
 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-3.9 -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'
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+---------------------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard leopard tiger
      Port:  texlive-bin  |
--------------------------+---------------------------------------

Comment (by kencu):

 Ah. I think this is because I used libc++, and so I get -stdlib=libc++ on
 the build line. Your build line is showing -stdlib=libstdc++, and that
 won't work because it has no c++11 support. You need to have -stdlib
 =macports-libstdc++ on the build line.

 In your case, the easiest thing to do would be to add `Portgroup cxx11
 1.1` up near the top of the file, which should take care of properly
 setting up Marcus' tricks for you.

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+---------------------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard leopard tiger
      Port:  texlive-bin  |
--------------------------+---------------------------------------

Comment (by ballapete):

 Replying to [comment:9 kencu]:
 > Ah. I think this is because I used libc++, and so I get -stdlib=libc++
 on the build line. Your build line is showing -stdlib=libstdc++, and that
 won't work because it has no c++11 support. You need to have -stdlib
 =macports-libstdc++ on the build line.

 How does it look technically with that undocumented (`man port`) "`-stdlib
 =macports-libstdc++` on the build line?" Is it then this invocation?

 {{{
 port -stdlib=macports-libstdc++ -vd upgrade texlive-bin configure.compiler
 =macports-clang-3.9
 }}}

 >
 > In your case, the easiest thing to do would be to add `Portgroup cxx11
 1.1` up near the top of the file, which should take care of properly
 setting up Marcus' tricks for you.

 I'll add this statement on line #6 in texlive-bin Portfile. And hopefully
 `texlive-bin @2016+x11` will rebuild because poppler was upgraded to a new
 version…

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+---------------------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard leopard tiger
      Port:  texlive-bin  |
--------------------------+---------------------------------------

Comment (by ballapete):

 {{{
   6 PortGroup       cxx11 1.1
 }}}

 in `texlive-bin`'s `Portfile` allowed that rev-upgrade to succeed. Now I
 only need to patch 26 `Portfile`s…

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+---------------------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard leopard tiger
      Port:  texlive-bin  |
--------------------------+---------------------------------------

Comment (by kencu):

 The cxx11 1.1 portgroup does basically three things:

 1. specify a suitable compiler
 2. set up clang to use -stdlib=macports-libstdc++, which does some behind
 the scene things in clang's choice of include directories and linkages
 3. set the ABI compatibility mode for libgcc to ABI4, so the software is
 compatible with the other things built against the system's libstdc++.

 You'd have to do all these things manually to make it work correctly, so
 it's best to just use the cxx11 portgroup. Or use libc++ instead, which is
 what I do (LibcxxOnOlderSystems).

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
--------------------------+---------------------------------------
  Reporter:  ballapete    |      Owner:  drkp
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  snowleopard leopard tiger
      Port:  texlive-bin  |
--------------------------+---------------------------------------

Comment (by mojca):

 I think you only need to fix something in `texlive-bin`, I doubt that
 other files need a fix.

 A different patch could be to add `--disable-dvisvgm` to configure flags
 and then potentially install the latest version of dvisvgm separately.
 This might be of temporary nature though since ICU also requires C++11
 from what I remember.

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
-------------------------+-------------------------------------------------
  Reporter:  ballapete   |      Owner:  drkp
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.1
Resolution:              |   Keywords:  mountain lion snowleopard leopard
      Port:  texlive-    |  tiger
  bin                    |
-------------------------+-------------------------------------------------
Changes (by mojca):

 * keywords:  snowleopard leopard tiger => mountain lion snowleopard leopard
     tiger


Comment:

 We need a separate new keyword for C++11 :)

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
-------------------------+-------------------------------------------------
  Reporter:  ballapete   |      Owner:  drkp
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.1
Resolution:              |   Keywords:  mountain lion snowleopard leopard
      Port:  texlive-    |  tiger
  bin                    |
-------------------------+-------------------------------------------------

Comment (by ballapete):

 My experience with `cxx11-1.1.tcl` and `texlive-bin`'s `Portfile` is
 rather bad. Neither on PPC Tiger, Mac OS X 10.4.11, nor on PPC Leopard,
 Mac OS X 10.5.8, the settings in  `cxx11-1.1.tcl` are able to override
 those in `Portfile` – assuming it's not necessary to add a line

 {{{
 PortGroup       cxx11 1.1
 }}}

 to `Portfile`. The builds only then succeeded when "`texlive-bin`" and
 "`configure.compiler=macports-gcc-6`" where the only arguments to `port «
 options » upgrade`. Maybe GCC 5 can as well build the port successfully.
 I'll try that next time when the automatic upgrade of `texlive-bin` will
 fail automatically again.

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
-------------------------+-------------------------------------------------
  Reporter:  ballapete   |      Owner:  drkp
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.1
Resolution:              |   Keywords:  mountain lion snowleopard leopard
      Port:  texlive-    |  tiger
  bin                    |
-------------------------+-------------------------------------------------

Comment (by kencu):

 Although trying to monkey around a way through this is an interesting
 intellectual exercise at times, my real, practical, and workable
 recommendation for you is to follow the instructions in the
 LibcxxOnOlderSystems page to bring your 10.6 system up to current
 standards with libc++ and a current compiler (presently clang-3.8 or
 clang-3.9 seem to be ideal on 10.6). This will solve this and all similar
 issues for you, pretty much forever. Jeremy did a lot of work on this for
 exactly this reason, and it makes life much easier on 10.6 to 10.8. I
 wouldn't ignore it. It is exactly what I did, and it works very very well.
 I highly recommend it.

 There are still occasional issues on 10.6 with deficiencies in libgcc
 (most of them fixed with my snowleopardfixes library), deficiencies in the
 SDK (no good way around those), deficiencies in threal-local-storage
 (again, you're hooped there unless you can get away with using gcc6 which
 supports TLS on 10.6, and hoping for no ABI issues), and deficiencies with
 ports that use xcodebuild (which I haven't yet figured a way around, but
 might someday get to).

 For 10.5 PPC, I'm working on it. Clang-3.8 is working nicely, and looks to
 be successfully building almost everything. It can link against libc++ on
 10.5 PPC. There is also gcc6, which has some ABI issues, but looks like
 there are ways around that...

--
Ticket URL: <https://trac.macports.org/ticket/54358#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [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
In reply to this post by 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"
-------------------------+-------------------------------------------------
  Reporter:  ballapete   |      Owner:  drkp
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.1
Resolution:              |   Keywords:  mountain lion snowleopard leopard
      Port:  texlive-    |  tiger
  bin                    |
-------------------------+-------------------------------------------------

Comment (by kencu):

 see <https://github.com/macports/macports-
 ports/commit/13d702e7643b9545a76d2d3b8b9046e9b5891158> which might have
 fixed this in one fashion.

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