From owner-freebsd-ports Sun Nov 10 14:48:39 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 104B837B401 for ; Sun, 10 Nov 2002 14:48:36 -0800 (PST) Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id C211143E6E for ; Sun, 10 Nov 2002 14:48:34 -0800 (PST) (envelope-from florenz@cs.tu-berlin.de) Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id XAA26861 for ; Sun, 10 Nov 2002 23:47:43 +0100 (MET) Received: (from florenz@localhost) by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id gAAMlhM29832; Sun, 10 Nov 2002 23:47:43 +0100 (MET) Date: Sun, 10 Nov 2002 23:47:42 +0100 (MET) From: Florian Lorenz To: freebsd-ports@freebsd.org Subject: Build error ghostscript-gnu-nox11 port version 6.52 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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