Subject: pkg/14536: skkserv fails to build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yyamano@netbsd.org>
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
>Closed-Date:
>Last-Modified:
>Originator: Yuji Yamano
>Release: NetBSD 1.5
>Organization:
>Environment:
System: NetBSD nbftp.isc.org 1.5 NetBSD 1.5 (NBFTP) #1: Sun Aug 5 11:09:45 PDT 2001 root@nbftp.isc.org:/usr/src/sys/arch/i386/compile/NBFTP i386
>Description:
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
>How-To-Repeat:
Get up-to-date pkgsrc and type:
% cd /usr/pkgsrc/japanese/skkserv
% make
>Fix:
--- Makefile.orig Sat Nov 10 22:06:27 2001
+++ Makefile Sat Nov 10 22:09:25 2001
@@ -34,7 +34,7 @@
.endif
SKKSERV_UID?= 32767 # nobody
SKKSERV_GID?= 32766 # nogroup
-MAKE_ENV= MAKE_FLAGS='SKKUID=${SKKSERV_UID} SKKGID=${SKKSERV_GID}'
+MAKE_ENV= SKKUID=${SKKSERV_UID} SKKGID=${SKKSERV_GID}
# tmp for building dictionary. ~16MB required. mfs would be much faster.
TMPDIR?= ${WRKDIR}
>Release-Note:
>Audit-Trail:
>Unformatted: