NetBSD Problem Report #40349
From mochid@netside.co.jp Fri Jan 9 12:23:34 2009
Return-Path: <mochid@netside.co.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 54CB163B8BA
for <gnats-bugs@gnats.netbsd.org>; Fri, 9 Jan 2009 12:23:34 +0000 (UTC)
Message-Id: <200901091053.n09Arob22082@cedar.yorie.netside.co.jp>
Date: Fri, 9 Jan 2009 19:53:50 +0900 (JST)
From: mochid@netside.co.jp
Reply-To: mochid@netside.co.jp
To: gnats-bugs@gnats.netbsd.org
Subject: Canna server complains "/CANNA0msgs open faild" when start up
X-Send-Pr-Version: 3.95
>Number: 40349
>Category: pkg
>Synopsis: Canna server complains "/CANNA0msgs open faild" when start up
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: obache
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 09 12:25:00 +0000 2009
>Closed-Date: Sat Jan 10 05:15:07 +0000 2009
>Last-Modified: Sat Jan 10 05:20:01 +0000 2009
>Originator: MOCHIDA Shuji
>Release: NetBSD 3.1.1
>Organization:
person
>Environment:
System: NetBSD cedar 3.1.1 NetBSD 3.1.1 (GENERIC) #0: Sun Jul 1 07:28:42 PDT 2007 builds@wb26:/home/builds/ab/netbsd-3-1-1-RELEASE/alpha/200707010939Z-obj/home/builds/ab/netbsd-3-1-1-RELEASE/src/sys/arch/alpha/compile/GENERIC alpha
Architecture: alpha
Machine: alpha
>Description:
Canna server tries to write messages to file /CANNA0msgs.
That should be /var/spool/canna/CANNA0msgs.
>How-To-Repeat:
install inputmethod/canna-server and run.
>Fix:
CANNA_SPOOL defined in inputmethod/canna/Makefile.common should be passed to
xmkmf while configure.
That part was deleted at below (do-configure target)
inputmethod/canna-server/Makefile 1.17
inputmethod/canna/Makefile.common 1.16
Workaround. I don't know that is correct or not.
--- inputmethod/canna/Makefile.common.ORIG 2007-09-08 07:12:12.000000000 +0900
+++ inputmethod/canna/Makefile.common 2009-01-09 16:20:32.000000000 +0900
@@ -35,3 +35,6 @@
MAKE_ENV+= ${CANNA_ENV}
PLIST_SUBST+= ${CANNA_ENV}
FILES_SUBST+= ${CANNA_ENV}
+
+# for imake
+SCRIPTS_ENV+= ${CANNA_ENV}
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sat, 10 Jan 2009 04:56:24 +0000
Responsible-Changed-Why:
I'll take this.
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sat, 10 Jan 2009 05:15:07 +0000
State-Changed-Why:
Fixed by canna-server-3.6pl4nb4. Thanks!
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40349 CVS commit: pkgsrc/inputmethod
Date: Sat, 10 Jan 2009 05:13:01 +0000 (UTC)
Module Name: pkgsrc
Committed By: obache
Date: Sat Jan 10 05:13:01 UTC 2009
Modified Files:
pkgsrc/inputmethod/canna: Makefile.common
pkgsrc/inputmethod/canna-server: Makefile
Log Message:
Need CANNA_SPOOL at configure phase to generate cannaconf.h, it's for ERRDIR.
Add CANNA_ENV to SCRIPTS_ENV for imake.
This is only affect to canna-server, as reported by MOCHIDA Shuji by PR 40349.
Bump PKGREVISION of canna-server package.
To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 pkgsrc/inputmethod/canna/Makefile.common
cvs rdiff -r1.20 -r1.21 pkgsrc/inputmethod/canna-server/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.