Subject: pkg/14536: skkserv fails to build
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/10/2001 22:19:30
>Number:         14536
>Category:       pkg
>Synopsis:       skkserv pkg fails to build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 10 22:20:01 PST 2001
>Originator:     Yuji Yamano
>Release:        NetBSD 1.5
System: NetBSD 1.5 NetBSD 1.5 (NBFTP) #1: Sun Aug 5 11:09:45 PDT 2001 i386


skkserv pkg fails to build as follow:

===> Building for skkserv-3.9.4nb1
for subdir in skkserv jisyo-tools; do  echo making all in $subdir;  (cd $subdir && make CC='cc' CFLAGS='-O2' LDFLAGS='-Wl,-R/usr/pkg/lib -L/usr/pkg/lib'  EMACS='emacs' JISYO='SKK-JISYO.L' JISYODIR='/usr/pkg/share/skk'  ELISPDIR='/usr/pkg/share/emacs/site-lisp' TEXI2DVI='texi2dvi' all) || exit 1;  done
making all in skkserv
cc -I. -I.. -O2 -DHAVE_CONFIG_H   -DDEFAULT_JISYO=\"/usr/pkg/share/skk/SKK-JISYO.L\"  -DSKKSERV_UID= -DSKKSERV_GID= -c skkserv.c
skkserv.c: In function `main':
skkserv.c:141: syntax error before `;'
skkserv.c: In function `main_loop':
skkserv.c:557: warning: passing arg 2 of `accept' from incompatible pointer type
skkserv.c:572: warning: passing arg 2 of `accept' from incompatible pointer type


Get up-to-date pkgsrc and type:

% cd /usr/pkgsrc/japanese/skkserv
% make


--- Makefile.orig	Sat Nov 10 22:06:27 2001
+++ Makefile	Sat Nov 10 22:09:25 2001
@@ -34,7 +34,7 @@
 SKKSERV_UID?=	32767		# nobody
 SKKSERV_GID?=	32766		# nogroup
 # tmp for building dictionary.  ~16MB required.  mfs would be much faster.