Subject: pkg/30947: print/mpage won't compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@cs.columbia.edu>
List: pkgsrc-bugs
Date: 08/08/2005 21:17:01
>Number: 30947
>Category: pkg
>Synopsis: compilation errors in print/mpage
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 08 21:17:00 +0000 2005
>Originator: Steven M. Bellovin
>Release: NetBSD 3.99.7
>Organization:
Department of Computer Science, Columbia University
>Environment:
System: NetBSD berkshire.machshav.com 3.99.7 NetBSD 3.99.7 (BERKSHIRE) #1: Fri Jul 1 15:56:08 EDT 2005 smb@berkshire.machshav.com:/usr/BUILD/obj/sys/arch/i386/compile/BERKSHIRE i386
Architecture: i386
Machine: i386
>Description:
This is with tree-head pkgsrc as of today
===> 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 mpage.c
mpage.c: In function `ps_title':
mpage.c:280: warning: suggest explicit braces to avoid ambiguous `else'
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
>How-To-Repeat:
cd /usr/pkgsrc/print/mpage && make
>Fix:
>Unformatted: