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

MacPorts noreply at macports.org
Thu May 14 01:49:49 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:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  snowleopard  |       Port:  ghostscript
-------------------------+--------------------------------
 {{{
 make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_mports_dports_print_ghostscript/ghostscript/work/ghostscript-9.16'
 /usr/bin/gcc-4.2  -DHAVE_MKSTEMP  -DHAVE_FSEEKO  -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -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 int" -D__USE_UNIX98=1
 -D"strnlen(a,b)=strlen(a)" -pipe -Os -arch x86_64 -DUSE_LIBICONV_GNU
 -DUSE_LIBPAPER -I/opt/local/include    -I./soobj -I./base -I./soobj
 -I./devices  -I./devices/vector  -c -o soobj/pclgen.o -DGS_REVISION=916
 -I./contrib/pcl3/eprn  ./contrib/pcl3/src/pclgen.c
 /usr/bin/gcc-4.2  -DHAVE_MKSTEMP  -DHAVE_FSEEKO  -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -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 int" -D__USE_UNIX98=1
 -D"strnlen(a,b)=strlen(a)" -pipe -Os -arch x86_64 -DUSE_LIBICONV_GNU
 -DUSE_LIBPAPER -I/opt/local/include    -I./soobj -I./base -I./soobj
 -I./devices  -I./devices/vector  -c -o soobj/pclcomp.o -DGS_REVISION=916
 -I./contrib/pcl3/eprn  ./contrib/pcl3/src/pclcomp.c
 /usr/bin/gcc-4.2  -DHAVE_MKSTEMP  -DHAVE_FSEEKO  -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -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 int" -D__USE_UNIX98=1
 -D"strnlen(a,b)=strlen(a)" -pipe -Os -arch x86_64 -DUSE_LIBICONV_GNU
 -DUSE_LIBPAPER -I/opt/local/include    -I./soobj -I./base -I./soobj
 -I./devices  -I./devices/vector  -c -o soobj/pclsize.o -DGS_REVISION=916
 -I./contrib/pcl3/eprn  ./contrib/pcl3/src/pclsize.c
 /usr/bin/gcc-4.2  -DHAVE_MKSTEMP  -DHAVE_FSEEKO  -DHAVE_FONTCONFIG
 -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_SSE2  -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 int" -D__USE_UNIX98=1
 -D"strnlen(a,b)=strlen(a)" -pipe -Os -arch x86_64 -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 ./contrib/pcl3/src/pclcomp.c:32:
 ./contrib/pcl3/src/pclgen.h:26: warning: ignoring #pragma ident
 ./contrib/pcl3/src/pclcomp.c: In function ‘compress_tiff’:
 ./contrib/pcl3/src/pclcomp.c:165: warning: label ‘state2’ defined but not
 used
 In file included from ./contrib/pcl3/src/pclsize.c:31:
 ./contrib/pcl3/src/pclsize.h:19: warning: ignoring #pragma ident
 In file included from ./contrib/pcl3/src/pclsize.h:23,
                  from ./contrib/pcl3/src/pclsize.c:31:
 ./contrib/pcl3/eprn/mediasize.h:18: warning: ignoring #pragma ident
 In file included from ./contrib/pcl3/src/pclsize.h:24,
                  from ./contrib/pcl3/src/pclsize.c:31:
 ./contrib/pcl3/src/pclgen.h:26: warning: ignoring #pragma ident
 ./contrib/pcl3/src/pclsize.c: In function ‘pcl3_page_size’:
 ./contrib/pcl3/src/pclsize.c:129: warning: suggest parentheses around
 arithmetic in operand of |
 ./contrib/pcl3/src/pclcomp.c: In function ‘pcl_compress’:
 ./contrib/pcl3/src/pclcomp.c:707: warning: suggest parentheses around &&
 within ||
 ./contrib/pcl3/src/pclcomp.c:707: warning: suggest parentheses around &&
 within ||
 ./contrib/pcl3/src/pclcomp.c:707: warning: suggest parentheses around &&
 within ||
 ./contrib/pcl3/src/pclcomp.c:707: warning: suggest parentheses around &&
 within ||
 In file included from ./contrib/pcl3/src/pclgen.c:72:
 ./contrib/pcl3/src/pclgen.h:26: warning: ignoring #pragma ident
 ./contrib/pcl3/src/pclgen.c: In function ‘pcl3_init_file’:
 ./contrib/pcl3/src/pclgen.c:311: warning: suggest parentheses around &&
 within ||
 ./contrib/pcl3/src/pclgen.c:338: warning: suggest parentheses around &&
 within ||
 ./contrib/pcl3/src/pclgen.c:338: warning: suggest parentheses around &&
 within ||
 ./contrib/pcl3/src/pclgen.c: In function ‘pcl3_begin_raster’:
 ./contrib/pcl3/src/pclgen.c:582: warning: suggest parentheses around &&
 within ||
 ./contrib/pcl3/src/pclgen.c: In function ‘pcl3_set_oldquality’:
 ./contrib/pcl3/src/pclgen.c:1111: warning: suggest parentheses around &&
 within ||
 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]: *** Waiting for unfinished jobs....
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_print_ghostscript/ghostscript/work/ghostscript-9.16'
 make[1]: *** [so-subtarget] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_print_ghostscript/ghostscript/work/ghostscript-9.16'
 make: *** [so] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_print_ghostscript/ghostscript/work/ghostscript-9.16'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_print_ghostscript/ghostscript/work/ghostscript-9.16"
 && /usr/bin/make -j8 -w so
 Exit code: 2
 }}}
 See [https://build.macports.org/builders/buildports-snowleopard-
 x86_64/builds/35692 the buildbot log].

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


More information about the macports-tickets mailing list