[MacPorts] #54282: poppler @0.55.0_0 fails to build on PPC Leopard, Mac OS X 10.5.8, because GCC 4.2 does not understand "-std=c++11"

MacPorts noreply at macports.org
Sun Jun 4 08:53:03 UTC 2017


#54282: poppler @0.55.0_0 fails to build on PPC Leopard, Mac OS X 10.5.8, because
GCC 4.2 does not understand "-std=c++11"
-----------------------+---------------------
 Reporter:  ballapete  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.4.1
 Keywords:  leopard    |       Port:  poppler
-----------------------+---------------------
 {{{
 Making all in goo
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.55.0/goo'
 /bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/g++-4.2
 -DHAVE_CONFIG_H -I. -I.. -I../poppler  -I..
 -I/opt/local/include/openjpeg-2.1 -I/opt/local/include/libpng16
 -I/opt/local/include  -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor
 -Wcast-align -fno-exceptions  -fno-common -pipe -Os -arch ppc -std=c++11
 -MT libgoo_la-gfile.lo -MD -MP -MF .deps/libgoo_la-gfile.Tpo -c -o
 libgoo_la-gfile.lo `test -f 'gfile.cc' || echo './'`gfile.cc
 libtool: compile:  /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I../poppler
 -I.. -I/opt/local/include/openjpeg-2.1 -I/opt/local/include/libpng16
 -I/opt/local/include -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor
 -Wcast-align -fno-exceptions -fno-common -pipe -Os -arch ppc -std=c++11
 -MT libgoo_la-gfile.lo -MD -MP -MF .deps/libgoo_la-gfile.Tpo -c gfile.cc
 -fno-common -DPIC -o .libs/libgoo_la-gfile.o
 cc1plus: error: unrecognized command line option "-std=c++11"
 make[2]: *** [libgoo_la-gfile.lo] 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_graphics_poppler/poppler/work/poppler-0.55.0/goo'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.55.0'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.55.0'
 }}}

 GCC 4.2 seems to understand only these standards:

 {{{
   -std=c89                    Conform to the ISO 1990 C standard
   -std=c99                    Conform to the ISO 1999 C standard
   -std=c9x                    Deprecated in favor of -std=c99
   -std=gnu89                  Conform to the ISO 1990 C standard with GNU
 extensions
   -std=gnu99                  Conform to the ISO 1999 C standard with GNU
 extensions
   -std=gnu9x                  Deprecated in favor of -std=gnu99
   -std=iso9899:1990           Conform to the ISO 1990 C standard
   -std=iso9899:199409         Conform to the ISO 1990 C standard as
 amended in 1994
   -std=iso9899:1999           Conform to the ISO 1999 C standard
   -std=iso9899:199x           Deprecated in favor of -std=iso9899:1999
   -std=c++98                  Conform to the ISO 1998 C++ standard
   -std=gnu++98                Conform to the ISO 1998 C++ standard with
 GNU extensions
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54282>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list