[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:23:30 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):

 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


More information about the macports-tickets mailing list