[MacPorts] #24061: ghostscript upgrade failure -- szlibc.o compile using zlib.h
MacPorts
noreply at macports.org
Mon Mar 15 14:26:57 PDT 2010
#24061: ghostscript upgrade failure -- szlibc.o compile using zlib.h
-----------------------------------+----------------------------------------
Reporter: allan.wolfe@… | Owner: takanori@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: ghostscript
-----------------------------------+----------------------------------------
Changes (by macsforever2000@…):
* keywords: zlibc ghostscript =>
* owner: macports-tickets@… => takanori@…
* port: => ghostscript
Old description:
> > sudo port upgrade ghostscript---> Computing dependencies for
> ghostscript---> Building ghostscriptError: Target org.macports.build
> returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.71"
> && /usr/bin/make so " returned error 2Command output: /usr/bin/make
> LDFLAGS='-L/opt/local/lib -dynamiclib -install_name
> /opt/local/lib/libgs.8.71.dylib' GS_XE=./bin/../sobin/libgs.8.71.dylib
> STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../soobj/display.dev
> BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj
> PSGENDIR=./obj/../soobj PSOBJDIR=./obj/../soobj CFLAGS='-O2
> -isystem/opt/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing-
> declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
> -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
> -DGX_COLOR_INDEX_TYPE="unsigned long int" -Os -arch x86_64
> -DUSE_LIBICONV_GNU ' prefix=/opt/local ./bin/../sobin/gsc
> ./bin/../sobin/gsx
> /usr/bin/gcc-4.2 -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FONTCONFIG -O2
> -isystem/opt/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing-
> declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
> -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
> -DGX_COLOR_INDEX_TYPE="unsigned long int" -Os -arch x86_64
> -DUSE_LIBICONV_GNU -I./obj/../soobj -I./base -Isrc -DSHARE_ZLIB=1 -o
> ./obj/../soobj/szlibc.o -c ./base/szlibc.c
> In file included from ./base/szlibxx.h:22,
> from ./base/szlibc.c:23:
> /opt/local/include/zlib.h:1561: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'gzseek64'
> /opt/local/include/zlib.h:1562: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'gztell64'
> /opt/local/include/zlib.h:1563: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'gzoffset64'
> /opt/local/include/zlib.h:1564: error: expected declaration specifiers or
> '...' before 'off64_t'
> /opt/local/include/zlib.h:1565: error: expected declaration specifiers or
> '...' before 'off64_t'
> make[1]: *** [obj/../soobj/szlibc.o] Error 1
> make: *** [so] Error 2
>
> Error: Unable to upgrade port: 1
> Before reporting a bug, first run the command again with the -d flag to
> get complete output.
New description:
{{{
> sudo port upgrade ghostscript---> Computing dependencies for
ghostscript---> Building ghostscriptError: Target org.macports.build
returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.71"
&& /usr/bin/make so " returned error 2Command output: /usr/bin/make
LDFLAGS='-L/opt/local/lib -dynamiclib -install_name
/opt/local/lib/libgs.8.71.dylib' GS_XE=./bin/../sobin/libgs.8.71.dylib
STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../soobj/display.dev
BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj
PSGENDIR=./obj/../soobj PSOBJDIR=./obj/../soobj CFLAGS='-O2
-isystem/opt/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing-
declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
-DGX_COLOR_INDEX_TYPE="unsigned long int" -Os -arch x86_64
-DUSE_LIBICONV_GNU ' prefix=/opt/local ./bin/../sobin/gsc
./bin/../sobin/gsx
/usr/bin/gcc-4.2 -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FONTCONFIG -O2
-isystem/opt/local/include -Wall -Wstrict-prototypes -Wundef -Wmissing-
declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
-Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
-DGX_COLOR_INDEX_TYPE="unsigned long int" -Os -arch x86_64
-DUSE_LIBICONV_GNU -I./obj/../soobj -I./base -Isrc -DSHARE_ZLIB=1 -o
./obj/../soobj/szlibc.o -c ./base/szlibc.c
In file included from ./base/szlibxx.h:22,
from ./base/szlibc.c:23:
/opt/local/include/zlib.h:1561: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'gzseek64'
/opt/local/include/zlib.h:1562: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'gztell64'
/opt/local/include/zlib.h:1563: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'gzoffset64'
/opt/local/include/zlib.h:1564: error: expected declaration specifiers or
'...' before 'off64_t'
/opt/local/include/zlib.h:1565: error: expected declaration specifiers or
'...' before 'off64_t'
make[1]: *** [obj/../soobj/szlibc.o] Error 1
make: *** [so] Error 2
Error: Unable to upgrade port: 1
Before reporting a bug, first run the command again with the -d flag to
get complete output.
}}}
--
--
Ticket URL: <http://trac.macports.org/ticket/24061#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list