[MacPorts] #47722: ghostscript: build failure on 10.6; triop.h:407: error: type qualifiers ignored on function return type

MacPorts noreply at macports.org
Sun May 17 06:23:10 PDT 2015


#47722: ghostscript: build failure on 10.6; triop.h:407: error: type qualifiers
ignored on function return type
--------------------------+--------------------------------
  Reporter:  mojca@…      |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:  fixed        |   Keywords:  snowleopard
      Port:  ghostscript  |
--------------------------+--------------------------------

Comment (by braumann@…):

 Replying to [comment:10 braumann@…]:
 > As soon as you restrict compilers to clang-mp-3.* you must know that you
 lock out PPC users. E.g. clang-mp-3.4 can be built on
 > 10.5.8 PPC, but still is not functional! So, please add a switch in
 order to allow gcc-mp-4.* (say, at least gcc-mp-4.5, I
 > guess), in my case this invocation has worked:
 > {{{
 > $ sudo port upgrade ghostscript configure.compiler=macports-gcc-4.9
 > }}}
 FWIW: While my comment above refers to the changeset "ghostscript:
 blacklist compilers that error on const function return type"
 [https://trac.macports.org/changeset/136307], for a different package but
 with the same maintainer I found a similar problem concerning "gnome-
 keyring: blacklist compilers that do not support C11 (redefinition of
 typedefs)" [https://trac.macports.org/changeset/136259]. Again, while
 clang-mp-3.* is not functional on PPC systems so far, instead gcc-mp-4.9
 does the job!

-- 
Ticket URL: <https://trac.macports.org/ticket/47722#comment:12>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list