Bug#824566: python-pyparsing: targetcli 'saveconfig' command does not work

2016-05-17 Thread Kouichi ONO
Package: python-pyparsing
Version: 2.1.1+dfsg1-1
Severity: serious

Dear Maintainer,

'saveconfig' command of targetcli (in targetcli package) does not work with
python-pyparsing_2.1.1+dfsg1-1_all.deb package.
downgrade to python-pyparsing_2.0.3+dfsg1-1_all.deb fixes problem.

# targetcli / saveconfig
Save configuration? [Y/n]:
Performing backup of startup configuration: 
/var/target/backup-2016-05-18_00:16:59.lio
Saving new startup configuration
Traceback (most recent call last):
  File "/usr/bin/targetcli", line 89, in 
main()
  File "/usr/bin/targetcli", line 78, in main
shell.run_cmdline(" ".join(sys.argv[1:]))
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 934, in 
run_cmdline
self._execute_command(path, command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/shell.py", line 909, in 
_execute_command
result = target.execute_command(command, pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 104, in 
execute_command
pparams, kparams)
  File "/usr/lib/python2.7/dist-packages/configshell/node.py", line 1416, in 
execute_command
result = method(*pparams, **kparams)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_node.py", line 123, in 
ui_command_saveconfig
CliConfig.save_running_config()
  File "/usr/lib/python2.7/dist-packages/targetcli/cli_config.py", line 64, in 
save_running_config
config = Config()
  File "/usr/lib/python2.7/dist-packages/rtslib/config.py", line 133, in 
__init__
self._load_policy()
  File "/usr/lib/python2.7/dist-packages/rtslib/config.py", line 144, in 
_load_policy
parse_tree = self._policy_parser.parse_file(filepath)
  File "/usr/lib/python2.7/dist-packages/rtslib/config_parser.py", line 144, in 
parse_file
return self._parser.parseFile(filepath, parseAll=True).asList()
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1555, in parseFile
return self.parseString(file_contents, parseAll)
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1162, in 
parseString
loc, tokens = self._parse( instring, 0 )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in 
_parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2888, in parseImpl
return super(ZeroOrMore, self).parseImpl(instring, loc, doActions)
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2841, in parseImpl
loc, tokens = self_expr_parse( instring, loc, doActions, callPreParse=False 
)
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in 
_parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in 
_parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in 
_parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in 
_parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in 
_parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2462, in parseImpl
loc, exprtokens = e._parse( instring, loc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in 
_parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2924, in parseImpl
loc, tokens = self.expr._parse( instring, loc, doActions, 
callPreParse=False )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in 
_parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2576, in parseImpl
ret = e._parse( instring, loc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in 
_parseNoCache
loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 2719, in parseImpl
return self.expr._parse( instring, loc, doActions, callPreParse=False )
  File "/usr/lib/python2.7/dist-packages/pyparsing.py", line 1028, in

Bug#733641: (no subject)

2014-04-05 Thread Kouichi ONO
Dear maintainer,

Attached patches make samidare to work with current sid ruby packages.
I test with these packages.

ii  ruby1:2.0.0.1
ii  ruby-htree  0.8+dfsg-2

Best Regards,
Kouichi ONO

--- mconv.rb.org	2008-07-24 21:55:19.0 +0900
+++ mconv.rb	2014-04-02 21:39:30.176448762 +0900
@@ -25,7 +25,7 @@
 # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
 # OF SUCH DAMAGE.
 
-require 'iconv'
+#require 'iconv'
 
 module Mconv
   def Mconv.internal_mime_charset
@@ -50,30 +50,8 @@
   end
 
   def Mconv.conv(str, to, from)
-ic = Iconv.new(to, from)
 
-result = ''
-rest = str
-if rest.respond_to? :force_encoding
-  rest = rest.dup.force_encoding("ascii-8bit")
-end
-
-begin
-  s = ic.iconv(rest)
-  result << s
-rescue Iconv::Failure
-  result << $!.success
-
-  rest = $!.failed
-
-  # following processing should be customizable by block?
-  result << '?'
-  rest = rest[1..-1]
-
-  retry
-end
-
-result << ic.close
+result = str.encode(to, from, :invalid => :replace, :undef => :replace)
 
 result
   end
--- debian/control.org	2014-02-13 01:23:47.0 +0900
+++ debian/control	2014-03-28 23:34:40.183473806 +0900
@@ -3,13 +3,13 @@
 Priority: optional
 Maintainer: NIIBE Yutaka 
 Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: ruby (>= 1.8)
+Build-Depends-Indep: ruby
 Standards-Version: 3.8.0
 Homepage: http://www.a-k-r.org/samidare/
 
 Package: samidare
 Architecture: all
-Depends: libhtree-ruby1.8, libyaml-ruby1.8, libzlib-ruby1.8, ruby (>= 1.8), ruby1.8
+Depends: ruby-htree, ruby
 Description: web page updates checker
  Samidare makes it easy to keep up with your favorite weblogs or webpages in
  general.
--- debian/rules.org	2014-02-13 01:23:47.0 +0900
+++ debian/rules	2014-02-13 01:27:40.378750628 +0900
@@ -6,7 +6,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-RUBY := ruby1.8
+RUBY := ruby
 
 
 CFLAGS = -Wall -g


Bug#737142: seabios: PC-BSD 10.0-RELEASE installer does not boot (kernel trap 12 with interrupts disabled)

2014-02-04 Thread Kouichi ONO
> I will try revert 9332f9b172dd59253365a83b5f1c0e40c5f6f66d on seabios.

I tested with cirrus vga.

vgabios-cirrus.bin from 9332f9b172dd59253365a83b5f1c0e40c5f6f66d cause 
same result (kernel trap 12).
But from 06c6d476598db2f8b3558cf070d88307da8d895f, PC-BSD 10.0 installer
works fine.

So it seems that 9332f9b172dd59253365a83b5f1c0e40c5f6f66d is the first bad
commit to my problem, too.

Best Regards,
Kouichi ONO


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#737142: seabios: PC-BSD 10.0-RELEASE installer does not boot (kernel trap 12 with interrupts disabled)

2014-02-04 Thread Kouichi ONO
>>>>> On Tue, 04 Feb 2014 16:41:31 +0400
>>>>> m...@tls.msk.ru(Michael Tokarev)  said:
> 
> 30.01.2014 19:39, Kouichi ONO wrote:
> > PC-BSD 10.0 Release installer does not boot on qemu.
> > Please see attached screenshot.
> > downgrade seabios to 1.7.3-3 fix problem.
> 
> Ok.  I reproduced this issue locally, and bisected it to a particular
> commit in seabios, and forwarded it to upstream.
> 
> Please note that this only happens with -vga std, -- the installer boots
> fine with cirrus vga emulation.
> 
> Thanks,
> 
> /mjt

Thanks, but I got same result (kernel trap 12) if using cirrus vga.
'ps augwxx' on host shows below.

118  12752  122  3.2 2591724 2136632 ? Sl   22:53   0:19 qemu-system-x86
_64 -enable-kvm -name pcbsd-1 -S -machine pc-i440fx-1.7,accel=kvm,usb=off -cpu k
vm64 -m 2048 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 14f2a8
ff-9b25-b64c-c5b5-ccd4b0aba98e -no-user-config -nodefaults -chardev socket,id=ch
armonitor,path=/var/lib/libvirt/qemu/pcbsd-1.monitor,server,nowait -mon chardev=
charmonitor,id=monitor,mode=control -rtc base=localtime -no-shutdown -boot menu=
off,strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virti
o-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive file=/dev/vm/pcbsd-1,if
=none,id=drive-ide0-0-0,format=raw -device ide-hd,bus=ide.0,unit=0,drive=drive-i
de0-0-0,id=ide0-0-0 -drive file=/home/co2b/tmp/pc-bsd/10.0-RELEASE/PCBSD10.0-REL
EASE-x64-DVD-USB-latest.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw,cac
he=none -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootind
ex=1 -netdev tap,fd=23,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=de:
ad:be:ef:19:30,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial
,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -
device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0
,name=com.redhat.spice.0 -spice port=5902,addr=127.0.0.1,disable-ticketing,seaml
ess-migration=on -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-
balloon-pci,id=balloon0,bus=pci.0,addr=0x5

And std vga, vmvga, qxl have no effect (same result).

I will try revert 9332f9b172dd59253365a83b5f1c0e40c5f6f66d on seabios.

Best Regards,
Kouichi ONO


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#737142: seabios: PC-BSD 10.0-RELEASE installer does not boot (kernel trap 12 with interrupts disabled)

2014-01-30 Thread Kouichi ONO
Package: seabios
Version: 1.7.4-1
Severity: normal

Dear Maintainer,

PC-BSD 10.0 Release installer does not boot on qemu.
Please see attached screenshot.
downgrade seabios to 1.7.3-3 fix problem.

Best Regards,
Kouichi ONO

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13.0-dirty (SMP w/12 CPU cores; PREEMPT)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- debconf-show failed
<>

Bug#713997: uim-canna: can not connect to server on other host

2013-06-24 Thread Kouichi ONO
Package: uim-canna
Version: 1:1.8.5-2
Severity: normal

Dear Maintainer,
uim-canna works well to local server, but can not connect to server on other
host.
If canna-server-name is set, I got below error.

Error: uim_scm_refer_c_str: string or symbol required but got  #
libuim: [fatal] an unhandled error raised from Scheme interpreter
libuim: All functionality has been disabled to save user application data.
libuim: [fatal] an unhandled error raised from Scheme interpreter

It seems that cannav3-socket.scm have simple mistake:

--- /usr/share/uim/cannav3-socket.scm.org   2013-05-11 11:45:50.0 
+0900
+++ /usr/share/uim/cannav3-socket.scm   2013-06-25 01:49:50.579286145 +0900
@@ -236,7 +236,8 @@
 
 (define (canna-lib-open-with-server server)
   (let ((server-name (if (equal? server "")
- "localhost")))
+ "localhost"
+   server)))
 (if canna-server-name
 (tcp-connect server-name "canna")
 (unix-domain-socket-connect "/tmp/.iroha_unix/IROHA"


Best Regards,
Kouichi ONO

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9.7-dirty (SMP w/12 CPU cores; PREEMPT)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uim-canna depends on:
ii  canna3.7p3-12
ii  libuim-data  1:1.8.5-2
ii  uim-common   1:1.8.5-2
ii  uim-utils1:1.8.5-2

uim-canna recommends no packages.

Versions of packages uim-canna suggests:
pn  uim-dict-gtk | uim-dict-gtk3  

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#708644: nicovideo-dl: nicovideo-dl does not work at all

2013-05-17 Thread Kouichi ONO
Package: nicovideo-dl
Version: 0.0.20120212-1
Severity: grave

Dear Maintainer,
nicovideo-dl does not work at all because of Bug #678035 "python2.7: urllib2
doesn't connect to some HTTPS sites".

Workaround from http://bugs.python.org/issue11220 can fix this problem.

--- /usr/bin/nicovideo-dl   2012-06-26 00:43:34.0 +0900
+++ nicovideo-dl2013-05-17 20:08:10.635010732 +0900
@@ -45,6 +45,28 @@
 import codecs
 import xml.parsers.expat
 
+
+# custom HTTPS opener, banner's oracle 10g server supports SSLv3 only
+import httplib, ssl, urllib2, socket
+class HTTPSConnectionV3(httplib.HTTPSConnection):
+def __init__(self, *args, **kwargs):
+httplib.HTTPSConnection.__init__(self, *args, **kwargs)
+
+def connect(self):
+sock = socket.create_connection((self.host, self.port), self.timeout)
+if self._tunnel_host:
+self.sock = sock
+self._tunnel()
+try:
+self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, 
ssl_version=ssl.PROTOCOL_SSLv3)
+except ssl.SSLError, e:
+print("Trying SSLv3.")
+self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, 
ssl_version=ssl.PROTOCOL_SSLv23)
+
+class HTTPSHandlerV3(urllib2.HTTPSHandler):
+def https_open(self, req):
+return self.do_open(HTTPSConnectionV3, req)
+
 # Global constants
 const_version = '2011.02.08'
 const_project_url = 'http://sourceforge.jp/projects/nicovideo-dl'
@@ -397,9 +419,9 @@
account_username = raw_input("Type Niconico E-mail account: ")
account_password = getpass.getpass('Type Niconico password and 
press return: ')
 
-# Install cookie and proxy handlers
-urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler()))
-urllib2.install_opener(urllib2.build_opener(urllib2.HTTPCookieProcessor()))
+# Install cookie and custom https handlers
+urllib2.install_opener(urllib2.build_opener(urllib2.HTTPCookieProcessor(), 
HTTPSHandlerV3()))
+
 
 # Log in
 if account_username is not None:


-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9.2-dirty (SMP w/12 CPU cores; PREEMPT)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nicovideo-dl depends on:
ii  python  2.7.3-4

nicovideo-dl recommends no packages.

nicovideo-dl suggests no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#708642: nicovideo-dl: nicovideo-dl does not work at all

2013-05-17 Thread Kouichi ONO
Package: nicovideo-dl
Version: 0.0.20120212-1
Severity: grave

Dear Maintainer,
nicovideo-dl does not work at all because of Bug #678035 "python2.7: urllib2
doesn't connect to some HTTPS sites".

Workaround from http://bugs.python.org/issue11220 can fix this problem.

--- /usr/bin/nicovideo-dl   2012-06-26 00:43:34.0 +0900
+++ nicovideo-dl2013-05-17 20:08:10.635010732 +0900
@@ -45,6 +45,28 @@
 import codecs
 import xml.parsers.expat
 
+
+# custom HTTPS opener, banner's oracle 10g server supports SSLv3 only
+import httplib, ssl, urllib2, socket
+class HTTPSConnectionV3(httplib.HTTPSConnection):
+def __init__(self, *args, **kwargs):
+httplib.HTTPSConnection.__init__(self, *args, **kwargs)
+
+def connect(self):
+sock = socket.create_connection((self.host, self.port), self.timeout)
+if self._tunnel_host:
+self.sock = sock
+self._tunnel()
+try:
+self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, 
ssl_version=ssl.PROTOCOL_SSLv3)
+except ssl.SSLError, e:
+print("Trying SSLv3.")
+self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, 
ssl_version=ssl.PROTOCOL_SSLv23)
+
+class HTTPSHandlerV3(urllib2.HTTPSHandler):
+def https_open(self, req):
+return self.do_open(HTTPSConnectionV3, req)
+
 # Global constants
 const_version = '2011.02.08'
 const_project_url = 'http://sourceforge.jp/projects/nicovideo-dl'
@@ -397,9 +419,9 @@
account_username = raw_input("Type Niconico E-mail account: ")
account_password = getpass.getpass('Type Niconico password and 
press return: ')
 
-# Install cookie and proxy handlers
-urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler()))
-urllib2.install_opener(urllib2.build_opener(urllib2.HTTPCookieProcessor()))
+# Install cookie and custom https handlers
+urllib2.install_opener(urllib2.build_opener(urllib2.HTTPCookieProcessor(), 
HTTPSHandlerV3()))
+
 
 # Log in
 if account_username is not None:


-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9.2-dirty (SMP w/12 CPU cores; PREEMPT)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nicovideo-dl depends on:
ii  python  2.7.3-4

nicovideo-dl recommends no packages.

nicovideo-dl suggests no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#708269: scim: scim does not recognize canna IMEngine

2013-05-14 Thread Kouichi ONO
Package: scim
Version: 1.4.13-5
Severity: important

Dear Maintainer, scim does not recognize canna IMEngine. 

$ scim -l  ~
Smart Common Input Method 1.4.13


Available FrontEnd module:
x11

Available Config module:
simple
dummy

Available IMEngine module:
rawcode


I checked strace log and this bug seems to be multi-arch problem.

# ln -s /usr/lib/x86_64-linux-gnu/scim-1.0/1.4.0/IMEngine/canna.so 
/usr/lib/scim-1.0/1.4.0/IMEngine

solves problem.
sid version of scim is using /usr/lib/x86_64-linux-gnu/scim-1.0.

-- Package-specific info:
Related packages:
ii  libscim-dev:am 1.4.13-5 amd64development library for SCIM plat
ii  libscim8c2a:am 1.4.13-5 amd64library for SCIM platform
ii  scim   1.4.13-5 amd64smart common input method platfor
ii  scim-bridge-ag 0.4.16-2+b1  amd64IME server of scim-bridge communi
ii  scim-bridge-cl 0.4.16-2+b1  amd64IME server of scim-bridge communi
ii  scim-canna 1.0.0-4.2amd64SCIM IMEngine module for Canna
ii  scim-gtk-immod 1.4.13-5 amd64GTK+ input method module with SCI
ii  scim-modules-s 1.4.13-5 amd64socket modules for SCIM platform

Related environment variables:
$XMODIFIERS=@im=SCIM
$GTK_IM_MODULE=xim
$QT_IM_MODULE=

Installed SCIM components:
/usr/lib/scim-1.0:
1.4.0
scim-helper-launcher
scim-helper-manager
scim-launcher
scim-panel-gtk

/usr/lib/scim-1.0/1.4.0:
Config
Filter
FrontEnd
Helper
IMEngine
SetupUI

/usr/lib/scim-1.0/1.4.0/Config:
simple.so

/usr/lib/scim-1.0/1.4.0/Filter:
sctc.so

/usr/lib/scim-1.0/1.4.0/FrontEnd:
x11.so

/usr/lib/scim-1.0/1.4.0/Helper:
setup.so

/usr/lib/scim-1.0/1.4.0/IMEngine:
canna.so
rawcode.so

/usr/lib/scim-1.0/1.4.0/SetupUI:
aaa-frontend-setup.so
aaa-imengine-setup.so
canna-imengine-setup.so
panel-gtk-setup.so


-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9.2-dirty (SMP w/12 CPU cores; PREEMPT)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages scim depends on:
ii  libatk1.0-0 2.4.0-2
ii  libc6   2.13-38
ii  libcairo-gobject2   1.12.2-3
ii  libcairo2   1.12.2-3
ii  libgcc1 1:4.7.2-5
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-02.33.12+really2.32.4-5
ii  libgtk-3-0  3.4.2-6
ii  libltdl72.4.2-1.1
ii  libpango1.0-0   1.30.0-1
ii  libscim8c2a 1.4.13-5
ii  libstdc++6  4.7.2-5
ii  libx11-62:1.5.0-1

Versions of packages scim recommends:
ii  im-switch  1.23
ii  scim-bridge-agent  0.4.16-2+b1
ii  scim-gtk-immodule  1.4.13-5

Versions of packages scim suggests:
pn  scim-anthy  
ii  scim-canna  1.0.0-4.2
pn  scim-chewing
pn  scim-hangul 
pn  scim-m17n   
pn  scim-pinyin 
pn  scim-prime  
pn  scim-skk
pn  scim-tables-additional  
pn  scim-tables-ja  
pn  scim-tables-ko  
pn  scim-tables-zh  
pn  scim-thai   
pn  scim-uim

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#650515: mlterm: Crashes at start

2011-11-30 Thread Kouichi ONO
Hello,

In ~/.mlterm/msgX.log, mlterm fails to load icon file.

*** ERROR HAPPEND ***  Failed to load icon 
file(/usr/share/pixmaps/mlterm-icon-wmaker.png).

I can workaround this bug by --iconpath=/dev/null option.
But other file (ex. /usr/share/pixmaps/xterm_32x32.xpm) doesn't work.

Regards,

Kouichi ONO



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#577468: [patch]: yc-el: please remove any requirements for emacs22

2010-05-08 Thread Kouichi ONO
Hello Yabuki-san

I wrote this patch to work yc.el on Emacs 23. But it works Emacs >= 23 only.
And I found similar patch on http://www.yoshidam.net/diary/200908.html

Regards
Kouichi ONO

--- /usr/share/emacs/site-lisp/yc-el/yc.el  2009-07-06 00:16:10.0 
+0900
+++ yc.el   2008-10-20 13:51:18.046687177 +0900
@@ -549,15 +549,18 @@
 
 
 (defun yc-l2n (int)
+  (string-make-unibyte
   (concat (list (logand (ash int -24) 255)
(logand (ash int -16) 255)
(logand (ash int  -8) 255)
-   (logand  int  255
+   (logand  int  255)
 (defun yc-s2n (int)
+  (string-make-unibyte
   (concat (list (logand (ash int -8) 255)
-   (logand  int 255
+   (logand  int 255)
 (defun yc-c2n (int)
-  (concat (list (logand int 255
+  (string-make-unibyte
+  (concat (list (logand int 255)
 (defun yc-a2n (str)
   (concat str (yc-c2n 0)))
 (defun yc-w2n (str)
@@ -592,8 +595,8 @@
   (setq dst (concat
 dst
 (decode-coding-string 
- (concat (and (/= (car src) 0) (char-to-string (car src)))
- (char-to-string (cadr src)))
+ (concat (and (/= (car src) 0) (char-to-string 
(unibyte-char-to-multibyte (car src
+ (char-to-string (unibyte-char-to-multibyte (cadr 
src
  yc-coding))
src (cddr src)))
 dst))
@@ -2360,11 +2363,11 @@
   (setq yc-selected-window (cons (selected-window) yc-selected-window))
   (unless (featurep 'xemacs)
 (set-minibuffer-window (minibuffer-window)))
+  (set-window-buffer (minibuffer-window) (get-buffer-create yc-select-buffer))
   (yc-redirect-frame-focus
(window-frame (car yc-selected-window))
(window-frame (select-window (minibuffer-window
   (raise-frame (window-frame (select-window (minibuffer-window
-  (set-window-buffer (minibuffer-window) (get-buffer-create yc-select-buffer))
   (let ((l lst))
 (while l
   (setq yc-select-markers (cons (point-marker) yc-select-markers))



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#573439: qemu-kvm: fail to set hdd serial number

2010-03-11 Thread Kouichi ONO
Package: qemu-kvm
Version: 0.12.3+dfsg-3
Severity: normal

Hello,

On version 0.12.3, -drive serial=XXX option does not work.
Below patch fixes it. 'serial' is pointer, not array.


--- qemu-kvm-0.12.3+dfsg/vl.c   2010-02-26 11:34:00.0 +0900
+++ qemu-kvm-0.12.3+dfsg.old/vl.c   2010-03-11 02:26:00.134217787 +0900
@@ -2397,7 +2397,7 @@
 dinfo->on_write_error = on_write_error;
 dinfo->opts = opts;
 if (serial)
-strncpy(dinfo->serial, serial, sizeof(serial));
+strncpy(dinfo->serial, serial, sizeof(dinfo->serial));
 QTAILQ_INSERT_TAIL(&drives, dinfo, next);
 if (is_extboot) {
 extboot_drive = dinfo;

Best Regards,
Kouichi ONO

-- Package-specific info:


/proc/cpuinfo:

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 30
model name  : Intel(R) Core(TM) i7 CPU 860  @ 2.80GHz
stepping: 5
cpu MHz : 2808.934
cache size  : 8192 KB
physical id : 0
siblings: 8
core id : 0
cpu cores   : 4
apicid  : 0
initial apicid  : 0
fpu : yes
fpu_exception   : yes
cpuid level : 11
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf 
pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 
popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
bogomips: 5617.86
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 30
model name  : Intel(R) Core(TM) i7 CPU 860  @ 2.80GHz
stepping: 5
cpu MHz : 2808.934
cache size  : 8192 KB
physical id : 0
siblings: 8
core id : 1
cpu cores   : 4
apicid  : 2
initial apicid  : 2
fpu : yes
fpu_exception   : yes
cpuid level : 11
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf 
pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 
popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
bogomips: 5616.60
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model   : 30
model name  : Intel(R) Core(TM) i7 CPU 860  @ 2.80GHz
stepping: 5
cpu MHz : 2808.934
cache size  : 8192 KB
physical id : 0
siblings: 8
core id : 2
cpu cores   : 4
apicid  : 4
initial apicid  : 4
fpu : yes
fpu_exception   : yes
cpuid level : 11
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf 
pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 
popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
bogomips: 5616.61
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model   : 30
model name  : Intel(R) Core(TM) i7 CPU 860  @ 2.80GHz
stepping: 5
cpu MHz : 2808.934
cache size  : 8192 KB
physical id : 0
siblings: 8
core id : 3
cpu cores   : 4
apicid  : 6
initial apicid  : 6
fpu : yes
fpu_exception   : yes
cpuid level : 11
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm 
constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf 
pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 
popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
bogomips: 5616.61
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 4
vendor_id   : GenuineIntel
cpu family  : 6
model   : 30
model name  : Intel(R) Core(TM) i7 CPU 860  @ 2.80GHz
stepping: 5
cpu MHz : 2808.934
cache size  : 8192 KB
physical id : 0
siblings: 8
core id : 0
cpu cores   : 4
apicid  : 1
initial apicid  : 1
fpu : yes
fpu_exception   : yes
cpuid level : 11
wp  : 

Bug#528761: grub-common: grub-probe can't detect xfs with 512 byte i-node

2009-07-27 Thread Kouichi ONO
Hello, 

> please try attached patch.
> It would be good if you could try real grub too, if it can read files
> correctly.

I applied patch to grub2_1.96+20090725-1 source package and confirmed that
the bug is fixed.
And now grub-pc package can read file and boot from XFS partition with 512
byte i-node.

Thanks,

-- 
 Kouichi ONO



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#528761: grub-common: grub-probe can't detect xfs with 512 byte i-node

2009-05-15 Thread Kouichi ONO
Package: grub-common
Version: 1.96+20090317-1
Severity: normal

grub-probe can't detect xfs with 512 byte i-node.

# mkfs.xfs -f /dev/sda9
meta-data=/dev/sda9  isize=256agcount=4, agsize=61748 blks
 =   sectsz=512   attr=2
data =   bsize=4096   blocks=246991, imaxpct=25
 =   sunit=0  swidth=0 blks
naming   =version 2  bsize=4096   ascii-ci=0
log  =internal log   bsize=4096   blocks=1200, version=2
 =   sectsz=512   sunit=0 blks, lazy-count=0
realtime =none   extsz=4096   blocks=0, rtextents=0

# grub-probe -t fs -d /dev/sda9
xfs

# mkfs.xfs -f -i size=512 /dev/sda9
meta-data=/dev/sda9  isize=512agcount=4, agsize=61748 blks
 =   sectsz=512   attr=2
data =   bsize=4096   blocks=246991, imaxpct=25
 =   sunit=0  swidth=0 blks
naming   =version 2  bsize=4096   ascii-ci=0
log  =internal log   bsize=4096   blocks=1200, version=2
 =   sectsz=512   sunit=0 blks, lazy-count=0
realtime =none   extsz=4096   blocks=0, rtextents=0

# grub-probe -v -t fs -d /dev/sda9
grub-probe: info: `/dev/fd0' looks like a floppy drive, skipping
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: the size of hd1 is 625140335
grub-probe: info: /dev/sda9 starts from 497211813
grub-probe: info: opening the device hd0
grub-probe: info: the size of hd0 is 625140335
grub-probe: info: DOS partition 0 starts from 63
grub-probe: info: DOS partition 1 starts from 78124095
grub-probe: info: DOS partition 2 starts from 82317060
grub-probe: info: DOS partition 4 starts from 160441218
grub-probe: info: DOS partition 5 starts from 238565313
grub-probe: info: DOS partition 6 starts from 316689408
grub-probe: info: DOS partition 7 starts from 394813503
grub-probe: info: DOS partition 8 starts from 497211813
grub-probe: info: opening hd0,9
grub-probe: info: the size of hd0 is 625140335
grub-probe: error: unknown filesystem


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc5 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  base-files 5.0.0 Debian base system miscellaneous f
ii  libc6  2.9-12GNU C Library: Shared libraries
ii  libfreetype6   2.3.9-4.1 FreeType 2 font engine, shared lib
ii  libncurses55.7+20090510-1shared libraries for terminal hand
ii  zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime

grub-common recommends no packages.

Versions of packages grub-common suggests:
ii  multiboot-doc 0.97-53The Multiboot specification

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#419617: uim-common: postinst script fails (in init.scm?)

2007-04-18 Thread Kouichi ONO
Hello,

I have same bug when upgrade uim-common from 1:1.2.1-9 to 1:1.4.1-2.

I think /usr/bin/uim-module-manager execute from postinst generates this error.

# LANG=C uim-module-manager --path /etc/uim --unregister tcode
ERROR: unbound variable (errobj use)

*backtrace*
>>(use srfi-23)
>>(require "init.scm")
>>(*catch (quote errobj) (require "init.scm"))
>>(eq? (quote *init.scm-loaded*) (*catch (quote errobj) (require "init.scm")))

ERROR: unbound variable (errobj use)

failed to require uim-module-manager.scm: Success


So, I avoid this bug by installing uim-tcode package.

regards,
-- 
  Ono Kouichi ([EMAIL PROTECTED])


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#349721: growisofs: "write failed: File too large" with .iso images

2006-03-02 Thread Kouichi ONO
Linux can't read large size from direct I/O NFS.
It is defined in fs/nfs/direct.c,

#define MAX_DIRECTIO_SIZE   (4096UL << PAGE_SHIFT)


If remove O_DIRECT from growisofs.c, growisofs works fine.


--- growisofs.c.org 2006-01-27 06:16:54.0 +0900
+++ growisofs.c 2006-03-03 00:15:36.0 +0900
@@ -2501,11 +2501,7 @@
 
if (sscanf(in_image,"/dev/fd/%u",&imgfd) == 1)
imgfd = dup (imgfd); /* validate descriptor */
-#ifdef O_DIRECT
-   else if ((imgfd = open64(in_image,O_RDONLY|O_DIRECT))<0)
-#else
else
-#endif
imgfd = open64(in_image,O_RDONLY);
 
if (imgfd < 0)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]