[MacPorts] #47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype

MacPorts noreply at macports.org
Fri May 22 09:59:57 PDT 2015


#47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of
prototype
------------------------------+---------------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  takanori@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:                   |   Keywords:  tiger powerpc
      Port:  ghostscript      |
------------------------------+---------------------------

Comment (by Peter_Dyballa@…):

 Using {{{powerpc-apple-darwin8-gcc-apple-4.2.4 (GCC) 4.2.4 (Apple Inc.
 build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_14+gpl3)}}} Ghostscript
 now compiles:

 {{{
 /opt/local/bin/gcc-apple-4.2  -DHAVE_MKSTEMP  -DHAVE_FSEEKO
 -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE   -DHAVE_BSWAP32
 -DHAVE_STRERROR -DHAVE_PREAD_PWRITE=1
 -DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE -O2
 -isystem/opt/local/include  -Wall -Wstrict-prototypes -Wundef -Wmissing-
 declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
 -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1
 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1
 -DHAVE_INTTYPES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long long"
 -D__USE_UNIX98=1 -D"strnlen(a,b)=strlen(a)" -pipe -Os -arch ppc
 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER -I/opt/local/include    -I./soobj
 -I./base -I./devices  -DWHICH_CMS="lcms2" -I./trio -o
 ./soobj/gssprintf_0.o -c ./base/gssprintf.c
 In file included from ./trio/trio.h:35,
                  from ./base/gssprintf.c:19:
 ./trio/triop.h:407: warning: type qualifiers ignored on function return
 type
 cp ./soobj/gssprintf_0.o ./soobj/gssprintf.o
 }}}

 Some package I tried to upgrade seemed to have needed Ghostscript although
 before I had tried to check the dependencies—and so a new build was tried
 and it finished successfully:

 {{{
 DEBUG: destroot phase started at Fri May 22 18:04:43 CEST 2015
 --->  Staging ghostscript into destroot
 }}}

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


More information about the macports-tickets mailing list