FreeBSD Port: print/ghostscript-gnu-nox11

Ken Weeks 1044ken at tiscali.co.uk
Tue Apr 25 15:26:13 UTC 2006


On Tuesday 25 April 2006 11:23, Sam Lawrance wrote:
> On 25/04/2006, at 8:18 PM, Ken Weeks wrote:
> > Hi
> > I am running FreeBSD 6.0 AMD64.
> > When I update with portsnap fetch update, portmanager -s,
> > portmanager -u I get
> > the following message:-
> > ghostscript-gnu-nox11 7.07_15/print/ghostscript-gnu marked ignore
> > failed
> > during make.
> > This then has a dependancy effect on imagemagik, kde and cups.
> > Any suggestions on how to cure this problem would be appreciated
>
> Just saying that it "failed during make" is not enough to go on.  You
> need to provide more information, such as the relevant snippet of a
> log of the build.  You can capture a log by using the 'script' utility.
In file included from ./src/std.h:25,
                 from ./src/memory_.h:26,
                 from ./src/gdevl256.c:33:
./src/stdpre.h:181:4: warning: suggest hiding #pragma from traditional C with 
an indented #
./src/gdevl256.c:39:17: vga.h: No such file or directory
./src/gdevl256.c:40:19: vgagl.h: No such file or directory
./src/gdevl256.c:107: warning: non-static declaration of 'lvga256_open' 
follows static declaration
./src/gdevl256.c:71: warning: previous declaration of 'lvga256_open' was here
./src/gdevl256.c: In function `lvga256_open':
./src/gdevl256.c:107: warning: traditional C rejects ISO C style function 
definitions
./src/gdevl256.c:111: warning: implicit declaration of function `vga_init'
./src/gdevl256.c:112: warning: implicit declaration of function 
`vga_getdefaultmode'
./src/gdevl256.c:114: error: `G320x200x256' undeclared (first use in this 
function)
./src/gdevl256.c:114: error: (Each undeclared identifier is reported only once
./src/gdevl256.c:114: error: for each function it appears in.)
./src/gdevl256.c:115: warning: implicit declaration of function `vga_setmode'
./src/gdevl256.c:116: warning: implicit declaration of function 
`gl_setcontextvga'
./src/gdevl256.c:117: warning: implicit declaration of function `vga_getxdim'
./src/gdevl256.c:118: warning: implicit declaration of function `vga_getydim'
./src/gdevl256.c:129: warning: implicit declaration of function 
`gl_setpalettecolor'
./src/gdevl256.c: At top level:
./src/gdevl256.c:142: warning: non-static declaration of 'lvga256_close' 
follows static declaration
./src/gdevl256.c:72: warning: previous declaration of 'lvga256_close' was here
./src/gdevl256.c: In function `lvga256_close':
./src/gdevl256.c:142: warning: traditional C rejects ISO C style function 
definitions
./src/gdevl256.c:143: error: `TEXT' undeclared (first use in this function)
./src/gdevl256.c: At top level:
./src/gdevl256.c:154: warning: non-static declaration 
of 'lvga256_map_rgb_color' follows static declaration
./src/gdevl256.c:73: warning: previous declaration of 'lvga256_map_rgb_color' 
was here
./src/gdevl256.c: In function `lvga256_map_rgb_color':
./src/gdevl256.c:154: warning: traditional C rejects ISO C style function 
definitions
./src/gdevl256.c: At top level:
./src/gdevl256.c:201: warning: non-static declaration 
of 'lvga256_map_color_rgb' follows static declaration
./src/gdevl256.c:74: warning: previous declaration of 'lvga256_map_color_rgb' 
was here
./src/gdevl256.c: In function `lvga256_map_color_rgb':
./src/gdevl256.c:201: warning: traditional C rejects ISO C style function 
definitions
./src/gdevl256.c: At top level:
./src/gdevl256.c:216: warning: non-static declaration of 'lvga256_copy_mono' 
follows static declaration
./src/gdevl256.c:77: warning: previous declaration of 'lvga256_copy_mono' was 
here
./src/gdevl256.c: In function `lvga256_copy_mono':
./src/gdevl256.c:216: warning: traditional C rejects ISO C style function 
definitions
./src/gdevl256.c:233: warning: implicit declaration of function `gl_fillbox'
./src/gdevl256.c:244: warning: implicit declaration of function `gl_setpixel'
./src/gdevl256.c: At top level:
./src/gdevl256.c:262: warning: non-static declaration of 'lvga256_copy_color' 
follows static declaration
./src/gdevl256.c:78: warning: previous declaration of 'lvga256_copy_color' was 
here
./src/gdevl256.c: In function `lvga256_copy_color':
./src/gdevl256.c:262: warning: traditional C rejects ISO C style function 
definitions
./src/gdevl256.c:267: warning: implicit declaration of function `gl_putbox'
./src/gdevl256.c: At top level:
./src/gdevl256.c:280: warning: non-static declaration 
of 'lvga256_fill_rectangle' follows static declaration
./src/gdevl256.c:75: warning: previous declaration of 'lvga256_fill_rectangle' 
was here
./src/gdevl256.c: In function `lvga256_fill_rectangle':
./src/gdevl256.c:280: warning: traditional C rejects ISO C style function 
definitions
./src/gdevl256.c: At top level:
./src/gdevl256.c:294: warning: non-static declaration 
of 'lvga256_tile_rectangle' follows static declaration
./src/gdevl256.c:76: warning: previous declaration of 'lvga256_tile_rectangle' 
was here
./src/gdevl256.c: In function `lvga256_tile_rectangle':
./src/gdevl256.c:294: warning: traditional C rejects ISO C style function 
definitions
./src/gdevl256.c: At top level:
./src/gdevl256.c:306: warning: non-static declaration of 'lvga256_draw_line' 
follows static declaration
./src/gdevl256.c:79: warning: previous declaration of 'lvga256_draw_line' was 
here
./src/gdevl256.c: In function `lvga256_draw_line':
./src/gdevl256.c:306: warning: traditional C rejects ISO C style function 
definitions
./src/gdevl256.c:307: warning: implicit declaration of function `gl_line'
gmake: *** [obj/gdevl256.o] Error 1
*** Error code 2

Stop in /usr/ports/print/ghostscript-gnu.
MGPMrUpdate 0.4.1_5 error: make returned an error, 
adding /print/ghostscript-gnu to ignore.db
reverting bsd.port.mk patch -=>cd /usr/ports/Mk; patch -R 
< /usr/local/share/portmanager/patch-bsd.port.mk-0.3.6;
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- /usr/ports/Mk/bsd.port.mk  Tue Nov  8 01:02:51 2005
|+++ bsd.port.mk        Wed Nov 16 02:16:57 2005
--------------------------
Patching file bsd.port.mk using Plan A...
Hunk #1 succeeded at 2102 (offset 53 lines).
done
Is this better ? It is all the lines showing gdevl256.
And I have sent it to all.
Thanks for your help.
Ken


More information about the freebsd-ports mailing list