[MacPorts] #47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype
#47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype -----------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ghostscript -----------------------------+-------------------------------- {{{ /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 -Werror=declaration-after-statement -fno-builtin -fno-common -Werror =return-type -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: error: type qualifiers ignored on function return type make[2]: *** [soobj/gssprintf_0.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.16' }}} The error happens with a patched version of Portfile which does not allow the use of Clang/llvm 3.3; Clang/llvm 3.4 are installed. -- Ticket URL: <https://trac.macports.org/ticket/47764> MacPorts <https://www.macports.org/> Ports system for OS X
#47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ghostscript | ------------------------------+-------------------------------- Comment (by ryandesign@…): Well, yes. To fix that error, old compilers were blacklisted; see #47722 and r136307. You've apparently removed that blacklisting from your copy of the portfile, thereby causing the problem again. -- Ticket URL: <https://trac.macports.org/ticket/47764#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: ghostscript | ------------------------------+-------------------------------- Comment (by Peter_Dyballa@…): Replying to [comment:1 ryandesign@…]:
Well, yes. To fix that error, old compilers were blacklisted; see #47722 and r136307. You've apparently removed that blacklisting from your copy of the portfile, thereby causing the problem again.
Yes, I did so, because port started to build llvm-3.3 first, which can't be built on PPC Tiger. How can I change the Portfile that llvm-3.4 or clang-3.4 or gcc-4.10 or whatever else can be used? -- Ticket URL: <https://trac.macports.org/ticket/47764#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype ------------------------------+--------------------------- Reporter: Peter_Dyballa@… | Owner: ghostscript Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: ghostscript | ------------------------------+--------------------------- Changes (by mf2k@…): * keywords: => tiger powerpc * cc: takanori@… (removed) * owner: macports-tickets@… => ghostscript -- Ticket URL: <https://trac.macports.org/ticket/47764#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | ------------------------------+--------------------------- Changes (by mf2k@…): * owner: ghostscript => takanori@… -- Ticket URL: <https://trac.macports.org/ticket/47764#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: ghostscript | ------------------------------+-------------------------------- Changes (by mf2k@…): * owner: takanori@… => macports-tickets@… Comment: takanori has retired. See #47537. -- Ticket URL: <https://trac.macports.org/ticket/47764#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: ghostscript | ------------------------------+-------------------------------- Comment (by Peter_Dyballa@…): This ticket can be closed, I think, ghostscript @9.19_0+x11 builds… -- Ticket URL: <https://trac.macports.org/ticket/47764#comment:13> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#47764: Ghostscript 9.16 does not build on PPC Tiger (Mac OS X 10.4.11) because of prototype ------------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: worksforme | Keywords: tiger powerpc Port: ghostscript | ------------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/47764#comment:14> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts