NetBSD Problem Report #53262

From  Sat May  5 00:07:39 2018
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id D0C8C7A110
	for <>; Sat,  5 May 2018 00:07:39 +0000 (UTC)
Message-Id: <>
Date: Sat,  5 May 2018 00:07:24 +0000 (UTC)
Subject: uim-xim cannot connect correctly from any xim client after inputmethod/uim/Makefile 1.134
X-Send-Pr-Version: www-1.0

>Number:         53262
>Category:       pkg
>Synopsis:       uim-xim cannot connect correctly from any xim client after inputmethod/uim/Makefile 1.134
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 05 00:10:00 +0000 2018
>Originator:     Yasushi Oshima
>Release:        pkgsrc-2018Q1 or current
NetBSD amd64 8.0_RC1
After uim/Mafefile 1.134, 

Many xim-clients (xterm, mlterm, firefox, ...) cannot connect to xim-server(uim-xim) even though XMODIFIERS='@im_uim' was set.

When turn-on trace with uim-xim, it says some error:

$ uim-xim -trace 
selection notify request for locale.
selection notify request for transport.
accept xim connection.
X error occured. BadWindow (invalid Window parameter)

I try to set uim-xim --async option, it is the same, no effect, 

I want to use this to input Japanese but cannot do.

Before Makefile 1.134, it worked well.

When changes c++03 to gnu++03 or c++ in USE_LANGUAGES in Makefile.1.134 or after, it works well again.

But I don't know why.

$ export XMODIFERS='@im=xim'
$ export LANG='ja_JP.UTF-8'
$ uim-xim &
$ xterm &

Input convert-operation in xterm (ex. 'Shift-Space' in the default of uim-xim).

--- a/inputmethod/uim/Makefile
+++ b/inputmethod/uim/Makefile
@@ -12,7 +12,7 @@ CONFLICTS+=           uim-qt4-immodule-[0-9]*
 USE_LIBTOOL=           YES
 USE_TOOLS+=            gmake intltool pkg-config msgfmt
-USE_LANGUAGES=         c99 c++03
+USE_LANGUAGES=         c99 gnu++03
 CONFIGURE_ARGS+=       --disable-emacs

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.