Bug 134533 - print/ghostscript8 fails to build
print/ghostscript8 fails to build
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: doceng
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-14 11:50 UTC by dseven
Modified: 2009-05-15 10:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dseven 2009-05-14 11:50:01 UTC
The ports collection has been updated and I needed to build the port 'qt-3.3.8_9'.
As a dependency the system was building ghostscript 8, but then it stop with the following :

===>  Building for ghostscript8-8.64_1
/bin/ln -s -f /usr/ports/print/ghostscript8/work/ghostscript-8.64/epag-3.09/gdevepag.c /usr/ports/print/ghostscript8/work/ghostscript-8.64/base
/bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.64/obj
/bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.64/bin
gmake LDFLAGS='-L/usr/local/lib -L/usr/local/lib -shared -Wl,-soname=libgs.so.8' GS_XE=./bin/../sobin/libgs.so.8.64 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 -fno-strict-aliasing -pipe -fPIC -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript8/work/ghostscript-8.64/jasper/src/libjasper/include -I/usr/local/include/libpng -I/usr/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 long" -O2 -fno-strict-aliasing -pipe -DUSE_LIBICONV_GNU -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.64\"' prefix=/usr/local ./bin/../sobin/gsc ./bin/../sobin/gsx
gmake[1]: Entering directory `/usr/ports/print/ghostscript8/work/ghostscript-8.64'
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe -fPIC -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript8/work/ghostscript-8.64/jasper/src/libjasper/include -I/usr/local/include/libpng -I/usr/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 long" -O2 -fno-strict-aliasing -pipe -DUSE_LIBICONV_GNU -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.64\" -I./obj/../soobj -I./base  -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DUSE_LIBICONV_GNU -o ./obj/../soobj/gdevcups.o -c cups/gdevcups.c
cups/gdevcups.c:74:25: error: cups/raster.h: No such file or directory
cups/gdevcups.c:204: error: expected specifier-qualifier-list before 'cups_raster_t'
cups/gdevcups.c:314: warning: excess elements in struct initializer
cups/gdevcups.c:314: warning: (near initialization for 'gs_cups_device')
cups/gdevcups.c:315: error: extra brace group at end of initializer
cups/gdevcups.c:315: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:321: error: 'CUPS_ADVANCE_NONE' undeclared here (not in a function)
cups/gdevcups.c:322: error: 'CUPS_FALSE' undeclared here (not in a function)
cups/gdevcups.c:323: error: 'CUPS_CUT_NONE' undeclared here (not in a function)
cups/gdevcups.c:325: error: extra brace group at end of initializer
cups/gdevcups.c:325: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:326: error: extra brace group at end of initializer
cups/gdevcups.c:326: error: (near initialization for 'gs_cups_device')

[ ... ]

ups/gdevcups.c: In function 'cups_print_planar':
cups/gdevcups.c:4447: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4449: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4452: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4454: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4482: error: 'CUPS_CSPACE_GMCK' undeclared (first use in this function)
cups/gdevcups.c:4483: error: 'CUPS_CSPACE_GMCS' undeclared (first use in this function)
cups/gdevcups.c:4484: error: 'CUPS_CSPACE_RGBA' undeclared (first use in this function)
cups/gdevcups.c:4486: error: 'CUPS_CSPACE_CMYK' undeclared (first use in this function)
cups/gdevcups.c:4487: error: 'CUPS_CSPACE_YMCK' undeclared (first use in this function)
cups/gdevcups.c:4488: error: 'CUPS_CSPACE_KCMY' undeclared (first use in this function)
cups/gdevcups.c:4514: error: 'CUPS_CSPACE_KCMYcm' undeclared (first use in this function)
cups/gdevcups.c:4536: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4538: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4652: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4654: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4743: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4750: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4764: error: 'gx_device_cups' has no member named 'stream'
cups/gdevcups.c:4764: error: 'gx_device_cups' has no member named 'header'
gmake[1]: *** [obj/../soobj/gdevcups.o] Error 1
gmake[1]: Leaving directory `/usr/ports/print/ghostscript8/work/ghostscript-8.64'
gmake: *** [so] Error 2
*** Error code 1

Stop in /usr/ports/print/ghostscript8.
*** Error code 1

Stop in /usr/ports/print/ghostscript8.

How-To-Repeat: # cd /usr/ports/print/ghostscript8
# make
Comment 1 pav freebsd_committer 2009-05-14 12:46:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->doceng

Assign
Comment 2 dfilter freebsd_committer 2009-05-15 10:48:21 UTC
gahr        2009-05-15 09:48:12 UTC

  FreeBSD ports repository

  Modified files:
    print/ghostscript8   Makefile 
  Log:
  - Fix build by disabling CUPS support (cyclic dependency)
  
  PR:             134533
  Reported by:    dan <dseven@rocketmail.com>
  
  Revision  Changes    Path
  1.181     +1 -0      ports/print/ghostscript8/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Pietro Cerutti freebsd_committer 2009-05-15 10:49:17 UTC
State Changed
From-To: open->closed

FIxed. Thanks!