Subject: port-cobalt/30729: mpage 2.5 doesn't build in -current. mpage needed by foomatic-filters, for proper lpr setup for many printers
To: None <port-cobalt-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <bmcewen@comcast.net>
List: netbsd-bugs
Date: 07/11/2005 20:29:00
>Number:         30729
>Category:       port-cobalt
>Synopsis:       mpage 2.5 doesn't build in -current.  mpage needed by foomatic-filters, for proper lpr setup for many printers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-cobalt-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 11 20:29:00 +0000 2005
>Originator:     Brian
>Release:        -current port-cobalt
>Organization:
>Environment:
NetBSD bmcewen.org 3.99.7 NetBSD 3.99.7 (GENERIC) #0: Sun Jul  3 11:00:03 CEST 2005  root@netbsd20.diskless.s-zone.org:/Data/NetBSD/cobalt/obj/sys/arch/cobalt/compile/GENERIC cobalt

>Description:

I'm setting up ghostscript-esp-nox11,foomatic-filters, gimp-print-cups and the like to be able to print to a samsung-gdi.ppd obtained from www.linuxprinting.org.

the last piece is /pkgsrc/print/foomatic-filters, but the build fails at the mpage-2.5 component with what appear to be syntax errors..

-------------------
bmcewen# make clean
===> Cleaning for foomatic-filters-3.0.2
bmcewen# make install
===> Checking for vulnerabilities in foomatic-filters-3.0.2
=> Checksum SHA1 OK for foomatic-filters-3.0.2.tar.gz.
=> Checksum RMD160 OK for foomatic-filters-3.0.2.tar.gz.
===> Extracting for foomatic-filters-3.0.2
===> Required package mpage-[0-9]*: NOT found
===> Verifying reinstall for ../../print/mpage
===> Checking for vulnerabilities in mpage-2.5
===> Building for mpage-2.5
cc -O2 -O2 -s -DPAGE_DEF= -DLIBDIR=\"/usr/pkg/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULTSMARGIN=20 -DSPOOLER=BSD_SPOOLER -Wall  -c glob.c
glob.c:303: error: parse error before ';' token
glob.c:389:16: #if with no expression
glob.c:391:16: #if with no expression
glob.c:393:16: #if with no expression
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/mpage/work/mpage-2.5
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/mpage
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/print/mpage/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/mpage
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/mpage
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/foomatic-filters
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/foomatic-filters
bmcewen# 
------------------

>How-To-Repeat:

cd /usr/pkgsrc/print/mpage
make install 


>Fix: