Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2002 23:47:42 +0100 (MET)
From:      Florian Lorenz <florenz@cs.tu-berlin.de>
To:        freebsd-ports@freebsd.org
Subject:   Build error ghostscript-gnu-nox11 port version 6.52
Message-ID:  <Pine.SOL.4.44.0211102341560.29721-100000@bolero.cs.tu-berlin.de>

next in thread | raw e-mail | index | archive | help
Hi all,

I get strange build errors when compiling the 6.52 GNU ghostscript port.

I've got a 4.7-RELEASE system and updated the
ports-collection this evening using CVSup.

The output of a make in the /usr/ports/print/ghostscript-gnu-nox11
directory is as follows (I disabled all drivers except for the ljet* ones
in the dialogue):


*** SNIP ****
-I./obj -I./src  -o ./obj/gxclutil.o -c ./src/gxclutil.c
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-I./obj -I./src  -o ./obj/gsparams.o -c ./src/gsparams.c
./src/gsparams.c: In function `gs_param_list_unserialize':
./src/gsparams.c:293: warning: cast discards qualifiers from pointer
target type
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-fomit-frame-pointer -I./obj -I./src  -o ./obj/gsroptab.o -c
./src/gsroptab.c
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-I./obj -I./src  -o ./obj/gxclimag.o -c ./src/gxclimag.c
./src/gxclimag.c: In function `clist_fill_mask':
./src/gxclimag.c:142: warning: cast discards qualifiers from pointer
target type
./src/gxclimag.c: At top level:
./src/gxclimag.c:253: warning: cast discards qualifiers from pointer
target type
./src/gxclimag.c:253: warning: cast discards qualifiers from pointer
target type
./src/gxclimag.c:253: warning: cast discards qualifiers from pointer
target type
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-I./obj -I./src  -o ./obj/gxclpath.o -c ./src/gxclpath.c
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-I./obj -I./src  -o ./obj/gxclfile.o -c ./src/gxclfile.c
./obj/echogs -e .dev -w- -l-obj ./obj/clfile ./obj/gxclfile.o
./obj/echogs -e .dev -w- -l-obj ./obj/clist ./obj/gxclist.o
./obj/gxclbits.o ./obj/gxclpage.o
./obj/echogs -e .dev -a-  ./obj/clist -obj ./obj/gxclrast.o
./obj/gxclread.o ./obj/gxclrect.o
./obj/echogs -e .dev -a-  ./obj/clist -obj ./obj/gxclutil.o
./obj/gsparams.o
./obj/echogs -e .dev -a-  ./obj/clist -obj ./obj/gsroptab.o ./obj/stream.o
./obj/echogs -e .dev -a-  ./obj/clist -obj ./obj/gxclimag.o
./obj/gxclpath.o
./obj/echogs -e .dev -a-  ./obj/clist -include ./obj/clfile
./obj/echogs -e .dev -a-  ./obj/clist -include ./obj/cfe ./obj/cfd
./obj/rle ./obj/rld ./obj/psl2cs
./obj/echogs -e .dev -w- -l-obj ./obj/page ./obj/gdevprn.o
./obj/echogs -e .dev -a-  ./obj/page -include ./obj/clist
./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj
./obj/laserjet ./obj/gdevdjet.o ./obj/gdevdljm.o ./obj/gdevpcl.o
./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj
./obj/ljetplus ./obj/gdevdjet.o ./obj/gdevdljm.o ./obj/gdevpcl.o
./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj
./obj/ljet2p ./obj/gdevdjet.o ./obj/gdevdljm.o ./obj/gdevpcl.o
./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj
./obj/ljet3 ./obj/gdevdjet.o ./obj/gdevdljm.o ./obj/gdevpcl.o
./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj
./obj/ljet3d ./obj/gdevdjet.o ./obj/gdevdljm.o ./obj/gdevpcl.o
./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj
./obj/ljet4 ./obj/gdevdjet.o ./obj/gdevdljm.o ./obj/gdevpcl.o
./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj
./obj/ljet4d ./obj/gdevdjet.o ./obj/gdevdljm.o ./obj/gdevpcl.o
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-I./obj -I./src  -o ./obj/gdevclj.o -c ./src/gdevclj.c
./obj/echogs -e .dev -w- -l-dev -b -s -l-include -l./obj/page -l-obj
./obj/cljet5 ./obj/gdevclj.o ./obj/gdevpcl.o
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-I./obj -I./src  -o ./obj/gdevcljc.o -c ./src/gdevcljc.c
./obj/echogs -e .dev -w- -l-dev -b -s -l-include -l./obj/page -l-obj
./obj/cljet5c ./obj/gdevcljc.o ./obj/gdevpcl.o
./obj/echogs -e .dev -w- -l-dev -b -s -l-include -l./obj/page -l-obj
./obj/cljet5pr ./obj/gdevclj.o ./obj/gdevpcl.o
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-I./obj -I./src  -o ./obj/gdevlj56.o -c ./src/gdevlj56.c
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-I./obj -I./src  -o ./obj/gdevpxut.o -c ./src/gdevpxut.c
./obj/echogs -e .dev -w- -l-dev -b -s -l-include -l./obj/page -l-obj
./obj/lj5mono ./obj/gdevlj56.o ./obj/gdevpxut.o ./obj/gdevpcl.o
./obj/echogs -e .dev -w- -l-dev -b -s -l-include -l./obj/page -l-obj
./obj/lj5gray ./obj/gdevlj56.o ./obj/gdevpxut.o ./obj/gdevpcl.o
cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -pipe -march=pentium -DUPD_SIGNAL=0
-I./obj -I./src  -o ./obj/gpmisc.o -c ./src/gpmisc.c
In file included from src/std.h:26,
                 from src/fcntl_.h:35,
                 from ./src/gpmisc.c:24:
src/stdpre.h:196: redefinition of `ushort'
/usr/include/sys/types.h:56: `ushort' previously declared here
src/stdpre.h:197: redefinition of `uint'
/usr/include/sys/types.h:57: `uint' previously declared here
./src/gpmisc.c: In function `gp_fopentemp':
./src/gpmisc.c:92: warning: cast discards qualifiers from pointer target
type
gmake: *** [obj/gpmisc.o] Fehler 1
*** Error code 2

Stop in /usr/ports/print/ghostscript-gnu-nox11.
*** Error code 1

Stop in /usr/ports/print/ghostscript-gnu-nox11.
*** Error code 1

Stop in /usr/ports/print/ghostscript-gnu-nox11.

I've found no hints at any place for error with the file gpmisc.c.

Any ideas? I'm going to install the package no but don't really like
that.

BTW, using ghostscript-afpl brings the same result.

Florian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.44.0211102341560.29721-100000>