Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread Anton Shterenlikht
On Sun, Dec 20, 2009 at 05:18:40AM -0800, David Wolfskill wrote:
 This was under stable/6; it may be relevant to note that as I have 4
 slices configured on my laptop's disk, each of which is bootable
 (stable/6, stable/7, stable/8,  head), /usr/ports is actually a symlink
 from each of those slices to a file system that is mountable regardless
 of which slice is booted.
 
 The fetch eventually ompleted; the build started, but ended thus:
 
 ...
 checking for strerror... yes
 checking for strrchr... yes
 checking for strspn... yes
 checking for strstr... yes
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating cups/pstopxl
 config.status: creating cups/pstoraster
 ===  Building for ghostscript8-8.70
 /bin/ln -s -f 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/epag-3.09/gdevepag.c 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base
 /bin/mkdir -p /bkp/ports/print/ghostscript8/work/ghostscript-8.70/obj
 /bin/mkdir -p /bkp/ports/print/ghostscript8/work/ghostscript-8.70/bin
 /bin/mkdir -p 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/include
 /bin/ln -s -f /usr/local/include/ft2build.h  
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/include/ft2build.h
 /bin/ln -s -f /usr/local/include/freetype2/freetype  
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/include/freetype
 /bin/mkdir -p 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/objs
 /bin/ln -s -f /usr/local/lib/libfreetype.so  
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/objs/freetype214MT_D.so
 /bin/mv 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/write_t[12].[ch]  
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/wrfont.[ch]  
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/psi
 mv: rename 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/write_t[12].[ch] to 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/psi/write_t[12].[ch]: No 
 such file or directory
 mv: rename 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/wrfont.[ch] to 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/psi/wrfont.[ch]: No such 
 file or directory
 *** Error code 1
 
 Stop in /bkp/ports/print/ghostscript8.
 *** Error code 1
 
 Stop in /bkp/ports/print/ghostscript8.
 
 === make failed for print/ghostscript8
 === Aborting update
 
 === Update for ghostscript8-8.64_7 failed
 === Aborting update
 
 
 As a reality check:
 
 g1-119(6.4-S)[4] ls -lT 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/write*
 ls: No match.
 g1-119(6.4-S)[5] 
 
 (Though I note that /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/
 does seem to be populated with several other files.)

is this i386?

I reported this already for sparc and ia64:
http://lists.freebsd.org/pipermail/freebsd-ports/2009-December/058432.html

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread David Wolfskill
On Sun, Dec 20, 2009 at 01:27:31PM +, Anton Shterenlikht wrote:
 ...
  (Though I note that 
  /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/
  does seem to be populated with several other files.)
 
 is this i386?

Aye

 I reported this already for sparc and ia64:
 http://lists.freebsd.org/pipermail/freebsd-ports/2009-December/058432.html

Ah, yes -- I reall you did... (sorry; I glanced at the note for ia64
and made a silly assumption -- and I know what *that* means).

 ...

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpbzXQU9xFOx.pgp
Description: PGP signature


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread Gary Jennejohn
On Sun, 20 Dec 2009 05:32:38 -0800
David Wolfskill da...@catwhisker.org wrote:

 On Sun, Dec 20, 2009 at 01:27:31PM +, Anton Shterenlikht wrote:
  ...
   (Though I note that 
   /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/
   does seem to be populated with several other files.)
  
  is this i386?
 
 Aye
 
  I reported this already for sparc and ia64:
  http://lists.freebsd.org/pipermail/freebsd-ports/2009-December/058432.html
 
 Ah, yes -- I reall you did... (sorry; I glanced at the note for ia64
 and made a silly assumption -- and I know what *that* means).
 
  ...
 

I just updated this using make deinstall reinstall clean on AMD64
9-CURRENT without any errors:
drwxr-xr-x  2 root  wheel  512 Dec 20 11:08 ghostscript8-8.70

---
Gary Jennejohn
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread Rainer Hurling

On 20.12.2009 14:18 (UTC+1), David Wolfskill wrote:

This was under stable/6; it may be relevant to note that as I have 4
slices configured on my laptop's disk, each of which is bootable
(stable/6, stable/7, stable/8,  head), /usr/ports is actually a symlink
from each of those slices to a file system that is mountable regardless
of which slice is booted.

The fetch eventually ompleted; the build started, but ended thus:

...
checking for strerror... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cups/pstopxl
config.status: creating cups/pstoraster
===   Building for ghostscript8-8.70
/bin/ln -s -f 
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/epag-3.09/gdevepag.c 
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/base
/bin/mkdir -p /bkp/ports/print/ghostscript8/work/ghostscript-8.70/obj
/bin/mkdir -p /bkp/ports/print/ghostscript8/work/ghostscript-8.70/bin
/bin/mkdir -p 
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/include
/bin/ln -s -f /usr/local/include/ft2build.h  
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/include/ft2build.h
/bin/ln -s -f /usr/local/include/freetype2/freetype  
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/include/freetype
/bin/mkdir -p /bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/objs
/bin/ln -s -f /usr/local/lib/libfreetype.so  
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/freetype/objs/freetype214MT_D.so
/bin/mv 
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/write_t[12].[ch]  
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/wrfont.[ch]  
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/psi
mv: rename 
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/write_t[12].[ch] to 
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/psi/write_t[12].[ch]: No 
such file or directory
mv: rename /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/wrfont.[ch] 
to /bkp/ports/print/ghostscript8/work/ghostscript-8.70/psi/wrfont.[ch]: No such 
file or directory
*** Error code 1

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

Stop in /bkp/ports/print/ghostscript8.

===  make failed for print/ghostscript8
===  Aborting update

===  Update for ghostscript8-8.64_7 failed
===  Aborting update


For me this occurs on i386 and amd64, both 9.0-CURRENT. Commenting out 
lines 249-251 of print/ghostscript8/Makefile seems to help:


249,251c249,251
   ${MV} ${WRKSRC}/base/write_t[12].[ch] \
   ${WRKSRC}/base/wrfont.[ch] \
   ${WRKSRC}/psi
---
 # ${MV} ${WRKSRC}/base/write_t[12].[ch] \
 # ${WRKSRC}/base/wrfont.[ch] \
 # ${WRKSRC}/psi

---
A second issue is with Makefile option

  [ ] FT_BRIDGEFreeType bridge

If I choose this option [X] the build breaks with following messages:

cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -pipe 
-fno-strict-aliasing -fPIC -DUPD_SIGNAL=0 -I. -I/usr/ports/prin 
/ghostscript8/work/ghostscript-8.70/jasper/src/libjasper/include 
-I/usr/local/include/libpng -I/usr/local/include  -Wall -Wst 
ict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes 
-Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-s atement 
-fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=unsigned 
long int -O2 -pipe -fno-strict-aliasing -DU E_LIBICONV_GNU 
-DUSE_LIBPAPER -DGS_DEVS_SHARED 
-DGS_DEVS_SHARED_DIR=\/usr/local/lib/ghostscript/8.70\ -I./psi 
-I./obj/../so bj -I./obj/../soobj -I./base   -o ./obj/../soobj/fapi_ft.o 
-c ./psi/fapi_ft.c

In file included from ./psi/fapi_ft.c:32:
/usr/local/include/ft2build.h:56:38: error: freetype/config/ftheader.h: 
No such file or directory

[..snip..]

Thanks in advance for any help,
Rainer Hurling



As a reality check:

g1-119(6.4-S)[4] ls -lT 
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/write*
ls: No match.
g1-119(6.4-S)[5]

(Though I note that /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/
does seem to be populated with several other files.)

Peace,
david

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread Hiroki Sato
David Wolfskill da...@catwhisker.org wrote
  in 20091220133238.gr...@bunrab.catwhisker.org:

da On Sun, Dec 20, 2009 at 01:27:31PM +, Anton Shterenlikht wrote:
da  ...
da   (Though I note that 
/bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/
da   does seem to be populated with several other files.)
da 
da  is this i386?
da
da Aye
da
da  I reported this already for sparc and ia64:
da  http://lists.freebsd.org/pipermail/freebsd-ports/2009-December/058432.html
da
da Ah, yes -- I reall you did... (sorry; I glanced at the note for ia64
da and made a silly assumption -- and I know what *that* means).

 Fixed just now.  This build error occurred only when WITH_FT_BRIDGE
 was enabled regardless of the platform.

-- Hiroki


pgpI8AZITeXef.pgp
Description: PGP signature


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread Anton Shterenlikht
On Mon, Dec 21, 2009 at 02:06:39AM +0900, Hiroki Sato wrote:
 David Wolfskill da...@catwhisker.org wrote
   in 20091220133238.gr...@bunrab.catwhisker.org:
 
 da On Sun, Dec 20, 2009 at 01:27:31PM +, Anton Shterenlikht wrote:
 da  ...
 da   (Though I note that 
 /bkp/ports/print/ghostscript8/work/ghostscript-8.70/base/
 da   does seem to be populated with several other files.)
 da 
 da  is this i386?
 da
 da Aye
 da
 da  I reported this already for sparc and ia64:
 da  
 http://lists.freebsd.org/pipermail/freebsd-ports/2009-December/058432.html
 da
 da Ah, yes -- I reall you did... (sorry; I glanced at the note for ia64
 da and made a silly assumption -- and I know what *that* means).
 
  Fixed just now.  This build error occurred only when WITH_FT_BRIDGE
  was enabled regardless of the platform.

many thanks!

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread Jamie Griffin
On Mon, Dec 21, 2009 at 02:06:39AM +0900, Hiroki Sato wrote:
 
  Fixed just now.  This build error occurred only when WITH_FT_BRIDGE
  was enabled regardless of the platform.
 
I'm still not able to build this. I've updated my ports tree which
hasn't helped. Is there anything else I can do to get it to build? 

 
Jamie


pgpSCKka0TnzA.pgp
Description: PGP signature


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread Anton Shterenlikht
On Mon, Dec 21, 2009 at 12:54:42AM +, Jamie Griffin wrote:
 On Mon, Dec 21, 2009 at 02:06:39AM +0900, Hiroki Sato wrote:
  
   Fixed just now.  This build error occurred only when WITH_FT_BRIDGE
   was enabled regardless of the platform.
  
 I'm still not able to build this. I've updated my ports tree which
 hasn't helped. Is there anything else I can do to get it to build? 

I just used the usual

portmaster --force-config -Bd ghost

no problems on ia64 or sparc64.

If you don't use portmaster, I'd do

cd /usr/ports/print/ghostscript8
make distclean
make rmconfig
make

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread David Wolfskill
On Mon, Dec 21, 2009 at 12:54:42AM +, Jamie Griffin wrote:
 On Mon, Dec 21, 2009 at 02:06:39AM +0900, Hiroki Sato wrote:
  
   Fixed just now.  This build error occurred only when WITH_FT_BRIDGE
   was enabled regardless of the platform.
  
 I'm still not able to build this. I've updated my ports tree which
 hasn't helped. Is there anything else I can do to get it to build? 

I hand-applied the patch in question; re-running portmaster after that
allowed the upgrade to succeed in my case.

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpQQrthMdroP.pgp
Description: PGP signature


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread Hiroki Sato
Jamie Griffin j...@koderize.com wrote
  in 20091221005442.ga54...@bsdbox.koderize.com:

jg On Mon, Dec 21, 2009 at 02:06:39AM +0900, Hiroki Sato wrote:
jg
jg   Fixed just now.  This build error occurred only when WITH_FT_BRIDGE
jg   was enabled regardless of the platform.
jg
jg I'm still not able to build this. I've updated my ports tree which
jg hasn't helped. Is there anything else I can do to get it to build?

 If you are still suffering from the build failure, please send me
 privately the error log and output of make showconfig.

-- Hiroki


pgpupQEMBmB1h.pgp
Description: PGP signature


Re: Attempted upgrade of ghostscript8-8.64_7 - ghostscript-8.70 failed

2009-12-20 Thread Jamie Griffin
On Mon, Dec 21, 2009 at 12:57:50AM +, Anton Shterenlikht wrote:
 
 cd /usr/ports/print/ghostscript8
 make distclean
 make rmconfig
 make
 
This did the trick. Oddly, though, I did do this about an hour ago and
it still failed but, and probably completely coincidental, I rebooted
and gave it another go and it worked. Weird. 

Anyway, thanks for the advice guys.
 
Jamie


pgpraqp43AJIy.pgp
Description: PGP signature