Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2009 10:44:54 GMT
From:      Naveen Nathan <naveen@lastninja.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/141798: ghostscript8 (8.70) doesn't build
Message-ID:  <200912201044.nBKAiskc055141@www.freebsd.org>
Resent-Message-ID: <200912201050.nBKAo3w7046583@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         141798
>Category:       ports
>Synopsis:       ghostscript8 (8.70) doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 20 10:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Naveen Nathan
>Release:        8.0-RELEASE-p1
>Organization:
>Environment:
FreeBSD kunitoki.lastninja.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Trying to build the ghostscript8-nox11 from latest port-tree (version 8.70).

Output of ``make install'':

[root@kunitoki /usr/ports/print/ghostscript8-nox11]# make install
===>  Building for ghostscript8-nox11-8.70
/bin/ln -s -f /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/epag-3.09/gdevepag.c /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/base
/bin/mkdir -p /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/obj
/bin/mkdir -p /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/bin
/bin/mkdir -p /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/freetype/include
/bin/ln -s -f /usr/local/include/ft2build.h  /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/freetype/include/ft2build.h
/bin/ln -s -f /usr/local/include/freetype2/freetype  /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/freetype/include/freetype
/bin/mkdir -p /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/freetype/objs
/bin/ln -s -f /usr/local/lib/libfreetype.so  /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/freetype/objs/freetype214MT_D.so
/bin/mv /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/base/write_t[12].[ch]  /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/base/wrfont.[ch]  /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/psi
mv: rename /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/base/write_t[12].[ch] to /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/psi/write_t[12].[ch]: No such file or directory
mv: rename /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/base/wrfont.[ch] to /usr/ports/print/ghostscript8-nox11/work/ghostscript-8.70/psi/wrfont.[ch]: No such file or directory
*** Error code 1

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

Stop in /usr/ports/print/ghostscript8-nox11.

>How-To-Repeat:
cd /usr/ports/print/ghostscript8-nox11
make install
>Fix:
It seems in ghostscript 8.70, the files already exist in the psi directory and no longer need to be moved.

[root@kunitoki /usr/ports/print/ghostscript8/work]# tar jtvf /usr/ports/distfiles/ghostscript/ghostscript-8.70.tar.bz2  | egrep 'write_t[12].[ch]|wrfont.[ch]'
-rw-rw-r--  0 giles  giles     951 Feb 10  2009 ghostscript-8.70/psi/write_t1.h
-rw-rw-r--  0 giles  giles   10564 May 15  2009 ghostscript-8.70/psi/write_t1.c
-rw-rw-r--  0 giles  giles     945 Feb 10  2009 ghostscript-8.70/psi/write_t2.h
-rw-rw-r--  0 giles  giles   14899 May 11  2009 ghostscript-8.70/psi/write_t2.c
-rw-rw-r--  0 giles  giles    2017 Feb 10  2009 ghostscript-8.70/psi/wrfont.c
-rw-rw-r--  0 giles  giles    1373 Feb 10  2009 ghostscript-8.70/psi/wrfont.h

So all that is required is to remove the following line in the print/ghostscript8/Makefile:

${CP} ${WRKSRC}/base/write_t[12].[ch] \
${WRKSRC}/base/wrfont.[ch] \
${WRKSRC}/psi


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912201044.nBKAiskc055141>