hns - 日記自動生成システム - Version 2.19.9

先月 2011年08月 来月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2011年08月31日(水) 旧暦 [n年日記] [更新:"2011/08/31 22:16:15"]

#1 [印刷] OKI MicroLine 5300 で両面印刷

OS は Windows 2000 で、以前は OKI MicroLine 5300 で両面印刷が出来ていたはずなのに、選択部分が灰色になっていて変更出来ない。 Google 先生に聞いたら はてなの日記 を案内してくれた。
設定 -> コントロールパネル -> プリンタ -> OKI MICROLINE 5300(PCL) を選んでおいて、
右クリック -> プロパティ -> デバイスオプション -> 「両面印刷ユニット」
にチェックを入れたら、選択可能になった


2011年08月27日() 旧暦 [n年日記] [更新:"2011/09/08 08:19:02"]

#1 [無線] Ham Fair 2011

(僕は QSL カードの DXCC はやっていないが) DXCC のカード検査のところに ARRL の会長も来ていて、 その作業をされていた。

お会いして、あいさつをした方々 (翌日も含む)
JA0FVU JA1ADT JA1AUD JA1DUH JA1SLS JA1WLO JA1WSX JA1XGQ JA1FAS JA6SHL JE1CKA JE1JKL JE1LFX JE1SSE JF1PJK JH0MRP JH1AOY JH1BRB JH1GTV (ex) JH1PIV JH3USO JI1ALP JL1HHN JJ3PRT JM1WBB JP1TRJ JR1CSA JR1GMK JR1NHD JR1OEI JR1UGD JQ2GYU JJ2VLY JE7OEC
de JA1XMS
その他: TS-590 の輸出仕様には TCXO が入っていないという話を聞いた。
近辺の植物が気になって 撮った写真 (など)



2011年08月25日(木) 旧暦 [n年日記] [更新:"2011/08/28 21:25:00"]

#1 [pkgsrc] Git の bisect は強力

実は wip/emacs-current が最近 build 出来ない。 僕がこのことを最初に日記に書いたのは 7/19 だと思う。このことに関して
(cd work/emacs; make)
すると -lpng がない、とか言われると 書いたら
make build-env
するのが正しく (cd work/emacs; make) するのは良くないという話を教えてもらった。 ただ、上記の場合には、build-env の方では、 単に make した時と同じ表示が出るだけで、-lpng の問題には到達出来なかった。
で、まだ最近も build 出来ないままなので Git の bisect で問題の箇所が特定出来ないか調べて見た。 まず wip/emacs-current は、作業時間短縮のため、 Makefile に
_GIT_FLAGS?=            --depth 1
という行が入っていて、(最近の)必要最少限のものしか取って来ない ようになっている。まず、これを消して、また、更に
${DISTFILES}/git-package/emacs-yyyy-mm-dd.tar
のようなものがあると、多分ちょっと変な動作になる (Git bisect には多分じゃま) なので、見えないようにしておく。 これで一回 make すると wip/emacs-current/work/emacs の下には git の(多分全ての) clone が作られる (かなり時間がかかる。場合によっては数時間)。 その上で
cd wip/emacs-current/work/emacs; 
してから git log で最近の変更を調べて、その中であやしい日付の最初と最後を探す。 SHA1 hash tag という長い文字列がその知りたい日付の目印になるが、 実際にはそれを特定する時に使うのは最初の 7-8 文字で充分だ。
今回は、初めは 6/30 - 7/19 の日の間だと思って調べたが見つからず、 (というのは一度この説明の最後まで行っも見つからなかったので)、次に 6/15 - 7/01 くらいの間を調べた。
Git bisect するには
(cd pkgsrc/wip/emacs-current/work/emacs; \
git bisect start)
しておく。 だめだと判定した SHA1 hash で
git bisect bad xxxxxxx
良いと判定した SHA1 hash で
git bisect good yyyyyy
しておく。
で次に、(多分別の窓の方が効率的だと思うが)
cd pkgsrc/wip/emacs-current;
make build-env
すると、入力待が $ になるので、
./autoconf.sh && ./configure && gmake bootstrap
と入力する。これで、終った時にうまく作れれば
git bisect good
もし失敗すれば
git bisect bad
と入力して次の
./autoconf.sh && ./configure && gmake bootstrap
をする。もし良く分らなかった時や、別の問題があった りした時には
git bisect skip
とする。
これで、見つかった問題は次の commit
2011-06-29  Glenn Morris  <rgm@gnu.org>

       * configure.in: Try to test for the required crt*.o files.
しかし、実は、これの逆差分を、最近の状態に当てても、 まだ解決しないということになって、ここから先はまた続く。
という状態。
(なお、bisect 作業が終り、という時には
git bisect reset
しておく。 (pkgsrc なら make clean したら、全てを消してしまうので、そのような ことは必要ない。ただし、上記作業中に make clean すると、 上記の作業を全て最初からやり直しになるから、逆に要注意)


2011年08月24日(水) 旧暦 [n年日記] [更新:"2011/08/30 20:24:25"]

#1 [NetBSD] kurobox and sandpoint

ftp/pub/testing/sandpoint/patch-4/20080123.netbsd-4.diff.gz
に含まれる差分について
以前の作業例
 zcat ftp/pub/testing/sandpoint/patch-4/20080123.netbsd-4.diff.gz | grep '^+++' |wc
      53     265    3810
53 個ある。以下 sys/ は省略
arch/powerpc/oea/cpu_subr.c     2007-09-24 21:54:02.000000000 +0900
arch/sandpoint/conf/KUROBOX     2008-01-22 20:37:32.000000000 +0900
arch/sandpoint/conf/files.kurobox       2007-09-24 21:54:02.000000000 +0900
arch/sandpoint/conf/files.sandpoint     2007-09-24 21:54:02.000000000 +0900
arch/sandpoint/conf/files.sandpoint-x   2007-09-24 21:54:02.000000000 +0900
arch/sandpoint/conf/majors.sandpoint    2007-09-24 21:54:02.000000000 +0900
arch/sandpoint/conf/std.kurobox 2007-09-24 21:54:02.000000000 +0900
arch/sandpoint/conf/std.sandpoint       2007-09-24 21:54:02.000000000 +0900
arch/sandpoint/include/disklabel.h      2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/include/intr.h   2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/include/openpicreg.h     2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/include/types.h  2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/kurobox/autoconf.c       2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/kurobox/clock.c  2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/kurobox/dev/com_eumb.c   2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/kurobox/dev/eumb.c       2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/kurobox/dev/eumbvar.h    2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/kurobox/dev/ociic_eumb.c 2007-09-24 21:54:03.000000000 +0900
arch/sandpoint/kurobox/dev/ociicreg.h   2007-09-24 21:54:04.000000000 +0900
arch/sandpoint/kurobox/disksubr.c       2007-09-24 21:54:04.000000000 +0900
arch/sandpoint/kurobox/extintr.c        2007-09-24 21:54:04.000000000 +0900
arch/sandpoint/kurobox/kgdb_glue.c      2007-09-24 21:54:04.000000000 +0900
arch/sandpoint/kurobox/locore.S 2007-09-24 21:54:04.000000000 +0900
arch/sandpoint/kurobox/machdep.c        2007-09-24 21:54:04.000000000 +0900
arch/sandpoint/kurobox/mainbus.c        2007-09-24 21:54:04.000000000 +0900

arch/sandpoint/pci/pchb.c       2007-09-24 21:54:04.000000000 +0900
arch/sandpoint/pci/pci_machdep.c        2007-09-24 21:54:04.000000000 +0900
arch/sandpoint/sandpoint/autoconf.c     2007-09-24 21:54:05.000000000 +0900
arch/sandpoint/sandpoint/extintr.c      2007-09-24 21:54:05.000000000 +0900
arch/sandpoint/sandpoint/machdep.c      2007-09-24 21:54:05.000000000 +0900

dev/i2c/emc6d102.c      2007-09-24 21:54:05.000000000 +0900
dev/i2c/emc6d102reg.h   2007-09-24 21:54:05.000000000 +0900
dev/i2c/files.i2c       2007-09-24 21:54:05.000000000 +0900
dev/ic/rtl8169.c        2007-09-24 21:54:05.000000000 +0900
dev/scsipi/sd.c 2007-09-24 21:54:06.000000000 +0900
dev/usb/uplcom.c        2007-09-24 21:54:06.000000000 +0900

fs/puffs/puffs_vnops.c  2008-01-21 23:37:21.000000000 +0900
kern/vfs_subr.c 2008-01-21 23:37:21.000000000 +0900
miscfs/genfs/genfs_vnops.c      2008-01-21 23:37:21.000000000 +0900
miscfs/specfs/spec_vnops.c      2008-01-21 23:37:21.000000000 +0900
nfs/nfs_bio.c   2008-01-21 23:37:21.000000000 +0900
sys/vnode.h     2008-01-21 23:37:21.000000000 +0900
ufs/ext2fs/ext2fs.h     2007-09-24 21:54:06.000000000 +0900
ufs/ext2fs/ext2fs_inode.c       2008-01-21 23:37:21.000000000 +0900
ufs/ext2fs/ext2fs_readwrite.c   2008-01-21 23:37:21.000000000 +0900
ufs/ext2fs/ext2fs_vfsops.c      2008-01-21 23:37:21.000000000 +0900
ufs/ffs/ffs_inode.c     2008-01-21 23:37:21.000000000 +0900
ufs/ffs/ffs_vnops.c     2008-01-21 23:37:21.000000000 +0900
ufs/lfs/lfs_inode.c     2008-01-21 23:37:22.000000000 +0900
ufs/ufs/ufs_readwrite.c 2008-01-21 23:37:22.000000000 +0900
uvm/uvm_bio.c   2008-01-21 23:37:22.000000000 +0900
uvm/uvm_extern.h        2008-01-21 23:37:22.000000000 +0900
uvm/uvm_vnode.c 2008-01-21 23:37:22.000000000 +0900

sandpoint/ と kurobox/ に同じものがある(ことになる)
似たものが見つからないが追加すれば良い
似たものが見つからない .. ppc renovation ;-(
同じ名前のものがあるが、大きく変更
同じ名前のものが sandpoint にある
似た名前のものが sandpoint にある
同じ名前のものが MI にある
新規追加
同じ名前のものが oea にある
同じ名前のものが powerpc にある
同じ名前のものが powerpc にも sandpoint にもない
patch とは言うものの、下記は純粋に追加
t-105@makoto 18:23:12/110824(..cvs.netbsd.org/src-head)% 
zcat /e/kurobsd.z.ki.nu/home/ftp/pub/testing/sandpoint/patch-4/
  20080123.netbsd-4.diff.gz |grep 1970-01-01
arch/sandpoint/conf/KUROBOX        1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/conf/files.kurobox  1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/conf/files.sandpoint-x      1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/conf/std.kurobox    1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/autoconf.c  1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/clock.c     1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/dev/com_eumb.c      1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/dev/eumb.c  1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/dev/eumbvar.h       1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/dev/ociic_eumb.c    1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/dev/ociicreg.h      1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/disksubr.c  1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/extintr.c   1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/kgdb_glue.c 1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/locore.S    1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/machdep.c   1970-01-01 09:00:00.000000000 +0900
arch/sandpoint/kurobox/mainbus.c   1970-01-01 09:00:00.000000000 +0900
dev/i2c/emc6d102.c 1970-01-01 09:00:00.000000000 +0900
dev/i2c/emc6d102reg.h      1970-01-01 09:00:00.000000000 +0900


2011年08月23日(火) 旧暦 [n年日記] [更新:"2011/08/28 06:40:45"]

#1 [植物] 小石川植物園に初めて行く



2011年08月22日(月) 旧暦 [n年日記] [更新:"2011/08/24 18:18:06"]

#1 [pkgsrc] ghostscript-9.04

(pkgsrc) print/ghostscript は 8.71nb6 で、wip/ghostscript は 9.00, 9.01 と来ている。 9.04 が出ているというので、(手元で) 9.04 にして 見た。
patches/patch-ad  消された lib/pv.sh の変更
patches/patch-ak  png-1.5 のための修正
は消す。(消してみる)。patch-ak の中にあった png-1.5 の修正以外の 部分は patch-base_gdevpng.c として残す
(ChangeLog というか 変更点の一覧 が長いので、どうするのかなと思っている)
doc/History9.htm を見てね、でいいのかな。変だな、
/usr/pkg/share/ghostscript/9.04/doc/History8.htm
までしか入っていない。9 は、まだ History にはなっていなくて
/usr/pkg/share/ghostscript/9.04/doc/
を見てね、なのかな。(それとも)どうも
ghostscript-9.04/base/unixinst.mak
あたりに抜けがあるらしい。だとしてどこに言えばいいのかな。
pkg_delete -nr ghostscript したら
  1. ghostscript-cidfonts-ryumin
  2. gworkspace-0.8.6
  3. xdvik-22.84.16nb2
などから呼ばれているよ、というような表示が出た。でそれを見た後で
sudo pkg_delete -r ghostscript
した。 その後で、それらも作り直したが、gworkspace は今まで入っていなかった (なのに言われたのは何故かな)
で、ghostscript を make package-install したら、日本語の文字が表示されない。
(というか、文字がないと言って落ちる)
ktrace -t n とか kdump ktrace.out とかやっていると、
t-105@makoto 21:24:30/110822(..wip/ghostscript)% find /usr/pkg/share -name WadaMin\*
/usr/pkg/share/ghostscript/9.01/Resource/Init/CIDFont/WadaMin-Bold
/usr/pkg/share/ghostscript/9.01/Resource/Init/CIDFont/WadaMin-Bold.afm
/usr/pkg/share/ghostscript/9.01/Resource/Init/CIDFont/WadaMin-Regular
/usr/pkg/share/ghostscript/9.01/Resource/Init/CIDFont/WadaMin-Regular.afm
/usr/pkg/share/ghostscript/9.01/Resource/Init/CIDFont/WadaMin-RegularH
/usr/pkg/share/ghostscript/9.01/Resource/Init/CIDFont/WadaMin-RegularH.afm
/usr/pkg/share/Adobe/Resource/CIDFont/WadaMin-Bold
/usr/pkg/share/Adobe/Resource/CIDFont/WadaMin-Bold.afm
/usr/pkg/share/Adobe/Resource/CIDFont/WadaMin-Regular
/usr/pkg/share/Adobe/Resource/CIDFont/WadaMin-Regular.afm
/usr/pkg/share/Adobe/Resource/CIDFont/WadaMin-RegularH
/usr/pkg/share/Adobe/Resource/CIDFont/WadaMin-RegularH.afm

t-105@makoto 21:24:49/110822(..wip/ghostscript)% \
pkg_info |grep ghostscript
ghostscript-fonts-8.11nb3 Postscript fonts for Aladdin Ghostscript
ghostscript-9.04    Postscript interpreter
ghostscript-cidfonts-20000901nb3 CIDFont resources for Ghostscript
ghostscript-cidfonts-ryumin-9.04 Enable Ryumin-Light and GothicBBB for ghostscript

t-105@makoto 21:25:15/110822(..wip/ghostscript)% \
pkg_info -qL ghostscript-cidfonts-ryumin-9.04
/usr/pkg/share/ghostscript/9.04/Resource/Font/GothicBBB-Medium-H
/usr/pkg/share/ghostscript/9.04/Resource/Font/GothicBBB-Medium-EUC-H
/usr/pkg/share/ghostscript/9.04/Resource/Font/Ryumin-Light-EUC-H
/usr/pkg/share/ghostscript/9.04/Resource/Font/Ryumin-Light-H
/usr/pkg/share/ghostscript/9.04/Resource/Font/Ryumin-Light-Identity-H
/usr/pkg/share/ghostscript/9.04/Resource/Init/cidfmap
となっていて、何故 9.01 という文字列が残っているのかな、と調べているところ。 次のものも入直す必要があるのかな。
ghostscript-cidfonts-20000901nb3 CIDFont resources for Ghostscript
(だとして、何故これは -nr に出て来なかったのだろう)
DEPENDS が足りない ? やはり
ghostscript-cidfonts-20000901nb3 CIDFont resources for Ghostscript
を入直すことで日本語を表示するようになった。
ghostscript-cidfonts は ghostscript に DEPENDS している、
で良いと思う。
ちょっと古い(自分で作った) PS 形式を読むと、Ryumin-Light-83pv-RKSJ-H がないと言う ;-(


2011年08月21日() 旧暦 [n年日記] [更新:"2011/08/23 23:13:23"]

#1 [無線] KCJ コンテスト 7MHz (CW)

2009
Sec 7 MHz          CLMD Final    results I U  R R  M M  N T W O NLog
Rank    CALL    QTH QSO Pts Multi Score  M M  R S  R S  F M C F
   1 * JH5HDA   EH  268 237 48   11376   4 3  0 0  1 2  3 1 0 0 53
   2 * JK1FNL   KN  218 225 49   11025   1 1  0 0  0 1  1 2 0 1 34
   3 * JF2RCX   AC  216 210 46    9660   4 4  0 0  2 1  3 1 0 0 35
   4 * JA9BGL   IK  207 213 45    9585   3 1  0 0  1 0  1 1 0 1 38
   5 * JF1VRR   GM  223 204 46    9384   4 4  0 0  3 1  2 2 0 0 43
   6 + JI8KXC   IS  204 182 49    8918   4 2  0 0  0 1  0 1 0 0 34
   7 + JA7KJR   IT  222 193 44    8492   0 1  0 0  1 1  0 1 0 2 35
   8 + JA4JY/3  KT  150 158 43    6794   1 3  0 0  0 0  0 0 0 0 16
   9 + JH6SCA   NS  166 165 41    6765   1 2  0 0  0 0  1 0 0 1 20
  10 + JH7IXX   YM  166 155 42    6510   0 0  0 0  0 1  0 1 0 0 21
  11   JF1LLB   KN  234 157 40    6280   4 3  0 0  5 1  2 1 0 0 24
  12 + 7L4CLS   ST  179 146 42    6132   4 3  0 1  0 1  2 0 0 0 38
  13 + JA3GJQ   OS  190 153 40    6120  17 2  0 0  3 3  4 3 0 1 24
  14 + JE4GJV   OY  150 137 42    5754   1 0  0 0  1 1  1 0 0 0 25
  15 + JR4FLW/4 TT  163 139 41    5699   2 2  0 0  1 2  0 2 0 0 23
  16 + JA1XMS   CB  139 128 42    5376   4 0  0 0  0 1  3 1 0 0 22
(14.5m 垂直線一本 + IC-7000) -> 千葉県一位

2010

Sec. 7 MHz         CLMD Final   Results  I U  R R  M M  N T W O N
Rank    CALL    QTH QSO Pts Mults Score  M M  R S  R S  F M C F Log
   1 * JA9BGL   IK  272 274 47   12878   0 0  0 0  0 2  1 0 0 0 59
   2 * JK1FNL   KN  255 274 47   12878   0 2  0 0  0 0  3 0 0 0 48
   3 * JA1XMS   CB  280 261 49   12789   5 1  0 0  0 2  1 0 0 0 66
   4 * JF1VRR   GM  254 266 48   12768   0 4  0 0  1 1  1 1 0 0 52
   5 * JA2VHO   AC  280 257 47   12079   5 6  0 0  0 0  1 0 0 0 63
   6   JG1FKT   KN  257 246 48   11808   2 3  0 0  1 2  2 1 0 0 48
   7   JI1MUG   KN  229 229 45   10305   2 1  0 0  0 2  2 0 0 0 37
   8 + JR4FLW/4 TT  239 230 44   10120   0 0  0 0  1 0  1 1 1 0 44
   9   JF1LLB   KN  239 220 45    9900   6 3  0 0  3 2  3 1 0 0 45
  10 + JA4JY/3  KT  195 216 43    9288   3 1  0 0  1 0  3 0 2 0 21
NA-440 @25mH + Inv Vee @10m
IM:相手のコールサインをミスコピー
UM:相手が貴方のコールサインをミスコピー

RR:相手の送ってきた RST をミスコピー
RS:相手が貴方の送った RST をミスコピー

MR:相手が送ってきたマルチをミスコピー
MS:相手が貴方の送ったマルチをミスコピー

NF:相手のログに貴方のコールサインがない
TM:±10分以上の時刻差
WC:DUPE QSO
時間別・都府県、支庁別交信数: 2010 2011

20102011
総交信数292314
内番号無123(コンテスト非参加局)
純交信数280311(含重複)
内外国局2413(一局につき +4)
粗得点376357
マルチ5249
粗総得点19,99217,493
出来なかった県
YM 山形
SG 佐賀
KG 鹿児島
ON 沖縄


2011年08月16日(火) 旧暦 [n年日記] [更新:"2011/08/16 10:38:56"]

#1 [hns] 日記のつっこみ接続先が消えた

2007/11/28 の日記
(消えたのではなくて、 某日の PRE -> /PRE が横に長すぎたのかも知れない) .. だったことを確認した。

#2 [emacs] wl (Wanderlust) の Summary の文字化け

何か少し変だなと思っていたが、そのうち直るだろうと思っていたこと。
  • Summary buffer の最後に ^@^@^@ のように横長の文字列が並んでしまう
  • Summary buffer が一部化けている
これらは lists.airs.net の記事 にあるように、 (emacs-23 以降では)
(setq wl-mime-charset 'utf-8)
で解決した。ただし summary buffer は全て update: all し直す必要がある。


2011年08月15日(月) 旧暦 [n年日記] [更新:"2011/08/16 06:20:50"]

#1 [pkgsc] misc/openoffice3 on NetBSD/amd64 5.1

rm -f ../unxbsdx3.pro/lib/check_libvbaobjbx.uno.so
mv ../unxbsdx3.pro/lib/libvbaobjbx.uno.so ../unxbsdx3.pro/lib/check_libvbaobjbx.uno.so

/export/pkgsrc/misc/openoffice3/work/OOO310_m19/solenv/bin/checkdll.sh
-L../unxbsdx3.pro/lib
-L/export/pkgsrc/misc/openoffice3/work/OOO310_m19/solver/310/unxbsdx3.pro/lib
../unxbsdx3.pro/lib/check_libvbaobjbx.uno.so

Checking DLL ../unxbsdx3.pro/lib/check_libvbaobjbx.uno.so ...: ok
-rwxr-xr-x  1 makoto  wheel  3809467 Aug 15 12:04 ../unxbsdx3.pro/lib/libvbaobjbx.uno.so
Making: ../unxbsdx3.pro/bin/scen-US.res
using rsc multi-res feature
rsc -presponse @/tmp/mk27616n > /dev/null
-------------
echo . > ../unxbsdx3.pro/misc/linkinc.ls
Running processes: 0
deliver -- version: 266154
Module 'sc' delivered successfully. 170 files copied, 6 files unchanged

1 module(s): 
        helpcontent2
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making 
/export/pkgsrc/misc/openoffice3/work/OOO310_m19/helpcontent2/util/sbasic

Attention: if you build and deliver the above module(s) 
you may prolongue your the build issuing command "build --from helpcontent2"

rmdir /tmp/29069
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/misc/openoffice3
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/misc/openoffice3
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/personal-pkgsrc/config-desktop
The same thins as 2011/01/28 ?
(But no clue there..)


2011年08月14日() 旧暦 [n年日記] [更新:"2011/08/16 06:21:38"]

#1 [無題] 墓参

06:45 出発
07:15 八街
08:00 小堤
      平和公園 ( x 2)
      千葉寺
10:30 帰着

#2 [disk] disklabel: ioctl DIOCWDINFO: Label magic number or checksum is wrong!

次の 4.2BSD を swap に変更したい。
ttyp0:makoto@tera5 18:24:47/110814(~)> sudo disklabel -Ii  raid2d
partition> P
4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d:    819072         0     4.2BSD      0     0     0  # (Cyl.      0 -    533*)
partition> Q
たまたま、良く似た構成の別の disk があり それの first sector を hexdump -C で確認しながら
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
ttyp0:makoto@tera6 18:15:42/110814(~)> sudo disklabel raid1 > ~/raid1-swap

ttyp0:makoto@tera6 18:43:24/110814(~)> sudo hexdump -C /dev/rraid1d | head
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01  |................|
000001c0  01 00 a9 41 cc ff 3f 00  00 00 01 48 90 02 00 00  |...A..?....H....|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001000  75 64 70 00 69 6e 65 74  00 75 64 70 00 2d 00 33  |udp.inet.udp.-.3|

ttyp0:makoto@tera6 18:48:53/110814(~)> 
sudo dd if=/dev/rraid1d of=/home/makoto/prep/first-sector count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.003 secs (170666 bytes/sec)
ttyp0:makoto@tera6 18:49:03/110814(~)> hexdump -C /home/makoto/prep/first-sector 
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 80 01  |................|
000001c0  01 00 a9 41 cc ff 3f 00  00 00 01 48 90 02 00 00  |...A..?....H....|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200
ttyp0:makoto@tera6 18:50:42/110814(~)> 
dd で写したら、ちょっと変になったが disklabel -i で編集して書くことが出来た。
ttyp0:makoto@tera5 18:49:23/110814(~)> 
sudo dd if=/home/makoto/prep/first-sector of=/dev/rraid2d 
Password:
1+0 records in
1+0 records out
512 bytes transferred in 0.010 secs (51200 bytes/sec)
ttyp0:makoto@tera5 18:50:00/110814(~)> sudo disklabel -i raid2d
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 c:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
 d:    819072         0     4.2BSD      0     0     0  # (Cyl.      0 -    533*)
 e:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
partition> b
Filesystem type [?] [unused]: swap
Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: 63
Partition size ('$' for all remaining) [0c, 0s, 0M]: $
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
 c:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
 d:    819072         0     4.2BSD      0     0     0  # (Cyl.      0 -    533*)
 e:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
partition> d
Filesystem type [?] [4.2BSD]: unused
Start offset ('x' to start after partition 'x') [0c, 0s, 0M]: 
Partition size ('$' for all remaining) [533.25c, 819072s, 399.938M]: 0
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
 c:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
 e:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
partition> e
Filesystem type [?] [unused]: 
Start offset ('x' to start after partition 'x') [0.0410156c, 63s, 0.0307617M]: 0
Partition size ('$' for all remaining) [28001.3c, 43010049s, 21001M]: 0
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
 c:  43010049        63     unused      0     0        # (Cyl.      0*-  28001+)
partition> c
Filesystem type [?] [unused]: 
Start offset ('x' to start after partition 'x') [0.0410156c, 63s, 0.0307617M]: 0
Partition size ('$' for all remaining) [28001.3c, 43010049s, 21001M]: $
 c:    819072         0     unused      0     0        # (Cyl.      0 -    533*)
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 b:    819009        63       swap                     # (Cyl.      0*-    533*)
 c:    819072         0     unused      0     0        # (Cyl.      0 -    533*)
partition> W
Label disk [n]? Y
Label written
partition> Q
ttyp0:makoto@tera5 18:51:44/110814(~)>


2011年08月13日() 旧暦 [n年日記] [更新:"2011/08/14 17:21:07"]

#1 [無題] 引越手伝

06:28 発
07:30 現地着

08:15 現地着
09:45 引越先着
18:30 引越先発
20:00 帰宅


2011年08月12日(金) 旧暦 [n年日記] [更新:"2011/08/14 17:18:29"]

#1 [無線] アンテナ工事 (解体手伝)

7/30(土)に続いて、2.75 x 9 = 24.75 m の鉄塔の解体の手伝い。 M16 ボルトのナットが錆びていて回らないものがあり、 前回は三段しか下せなかった。 今回はナットスプリッタというものを使い、 ナットを切ってしまうという方法で、(殆んど全ての) ボルト・ナットを新品に交換した。 (一度に解体しないのは人数等の都合)


2011年08月11日(木) 旧暦 [n年日記] [更新:"2011/08/14 17:14:01"]

#1 [NetBSD] sandpoint

書いておかないと忘れてしまうので:
===> Successful make release
===> build.sh ended:   Thu Aug 11 11:35:08 JST 2011
===> Summary of results:
  build.sh command: ./build.sh -j 8 -m sandpoint 
  -T /export/cvs-work/cvs.netbsd.org/src-5.1/tooldir.NetBSD-5.1-amd64 release
  build.sh started: Thu Aug 11 10:36:17 JST 2011
  NetBSD version:   5.1.0_PATCH
  MACHINE:          sandpoint
  MACHINE_ARCH:     powerpc
  Build platform:   NetBSD 5.1 amd64
  HOST_SH:          /bin/sh
  TOOLDIR path:     /export/cvs-work/cvs.netbsd.org/src-5.1/tooldir.NetBSD-5.1-amd64
  DESTDIR path:     /export/cvs-work/cvs.netbsd.org/src-5.1/obj/destdir.sandpoint
  RELEASEDIR path:  /export/cvs-work/cvs.netbsd.org/src-5.1/obj/releasedir
  makewrapper:      /export/cvs-work/cvs.netbsd.org/src-5.1/tooldir.NetBSD-5.1-amd64/bin/nbmake-sandpoint
  Updated /export/cvs-work/cvs.netbsd.org/src-5.1/tooldir.NetBSD-5.1-amd64/bin/nbmake-sandpoint
  Successful make release
  build.sh ended:   Thu Aug 11 11:35:08 JST 2011
===> .
5355.96s 1183.42s 58:57.89 184% 0+0k 15735+19724io 79639pf+0w
0.45s 8.19s 58:57.87 0% 0+0k 12+613io 11pf+0w
t-105@makoto 11:35:09/110811(..cvs.netbsd.org/src-5.1)% ls obj/releasedir/
sandpoint
t-105@makoto 11:43:40/110811(..cvs.netbsd.org/src-5.1)% ls obj/releasedir/sandpoint/
INSTALL.html INSTALL.more INSTALL.ps   INSTALL.txt  binary       installation
t-105@makoto 11:43:42/110811(..cvs.netbsd.org/src-5.1)% ls obj/releasedir/sandpoint/binary/
kernel sets
t-105@makoto 11:43:44/110811(..cvs.netbsd.org/src-5.1)% ls obj/releasedir/sandpoint/binary/kernel/
MD5 
netbsd-GENERIC.gz 
netbsd-INSTALL.gz
netbsd-INSTALL.NAS.gz
netbsd-INSTALL.NAS.symbols.gz
netbsd-INSTALL.symbols.gz 
SHA512 
t-105@makoto 11:43:46/110811(..cvs.netbsd.org/src-5.1)%  \
ls -l obj/releasedir/sandpoint/binary/kernel/
total 11636
-rw-r--r--  1 root  wheel      319 Aug 11 11:35 MD5
-rw-r--r--  1 root  wheel      814 Aug 11 11:35 SHA512
-rw-r--r--  1 root  wheel  1491199 Aug 11 11:30 netbsd-GENERIC.gz
-r--r--r--  1 root  wheel  2047507 Aug 11 11:30 netbsd-INSTALL.NAS.gz
-r--r--r--  1 root  wheel    81840 Aug 11 11:30 netbsd-INSTALL.NAS.symbols.gz
-r--r--r--  1 root  wheel  2165120 Aug 11 11:30 netbsd-INSTALL.gz
-r--r--r--  1 root  wheel    87788 Aug 11 11:30 netbsd-INSTALL.symbols.gz
t-105@makoto 11:43:48/110811(..cvs.netbsd.org/src-5.1)% 

#2 [無題] 愛猫にかまれた

ちょっと理由があり、猫に 本当 本気 で手をかまれた。 幸い当りどころ(かまれどころ)が良かったので、病院で消毒と包帯で済んだ。


2011年08月09日(火) 旧暦 [n年日記] [更新:"2011/08/10 20:02:17"]

#1 [pkgsrc] wip/emacs-current and libpng.so (libpng15.so)

The problem I have reported on 2011-07-19
ld: warning: type and size of dynamic symbol `_fini' are not defined
is the problem on libpng.so name, like PR/44527 . If you issue the line found in build log separately, like:
modena@makoto 06:01:16/110810(..wip/emacs-current)% (cd
work/emacs/src; cc -std=gnu99 -nostartfiles -Demacs
-DHAVE_CONFIG_H
-I. -I/export/pkgsrc/wip/emacs-current/work/emacs/src -I../lib
-I/export/pkgsrc/wip/emacs-current/work/emacs/src/../lib
-D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2
-pthread -D_REENTRANT -I/usr/pkg/include/librsvg-2.0
-I/usr/pkg/include/glib/glib-2.0
-I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/cairo
-I/usr/pkg/include/libpng15 -I/usr/pkg/include/pixman-1
-I/usr/pkg/include -I/usr/pkg/include/freetype2
-I/usr/pkg/include/libxml2 -I/usr/pkg/include/dbus-1.0
-I/usr/pkg/lib/dbus-1.0/include -pthread
-I/usr/pkg/include/glib/glib-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2
-I/usr/pkg/include -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include
-I/usr/pkg/include -MMD -MF deps/.d
-Wimplicit-function-declaration -Wold-style-definition
-Wdeclaration-after-statement -O2 -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include/freetype2
-Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-znocombreloc
\

  -o temacs pre-crt0.o /usr/lib/crt0.o /usr/lib/crtbegin.o
   dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o
   charset.o coding.o category.o ccl.o character.o chartab.o
   bidi.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o
   xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o
   xsettings.o xgselect.o dbusbind.o emacs.o keyboard.o
   macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o
   marker.o minibuf.o fileio.o dired.o cmds.o casetab.o
   casefiddle.o indent.o search.o regex.o undo.o alloc.o
   data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o
   font.o print.o lread.o syntax.o unexelf.o bytecode.o
   process.o gnutls.o callproc.o region-cache.o sound.o
   atimer.o doprnt.o intervals.o textprop.o composite.o xml.o
   xfont.o ftfont.o xftfont.o ftxfont.o tparam.o lastfile.o
   gmalloc.o ralloc.o vm-limit.o widget.o ../lib/libgnu.a
   ../lwlib/liblw.a -lXaw3d -lXmu -lXt -lSM -lICE -lXext
   -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -lXrender
   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lXft -lXrender
   -lfontconfig -lfreetype -lX11 -lossaudio -Wl,-R/usr/pkg/lib
   -pthread -L/usr/pkg/lib -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0
   -lm -lcairo -lgobject-2.0 -lgmodule-2.0 -lpng15
   -lgthread-2.0 -lglib-2.0 -lintl -Wl,-R/usr/pkg/lib
   -L/usr/pkg/lib -ldbus-1 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
   -lxml2 -ltermcap -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib
   -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0
   -lglib-2.0 -lintl -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
   -lfreetype -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lfontconfig
   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lz -lotf -lfreetype
   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lm17n-flt -lm17n-core
   -lm -lgcc -lc -lgcc /usr/lib/crtend.o)

ld: cannot find -lpng
modena@makoto 06:01:30/110810(..wip/emacs-current)% 
You will find the problem is -lpng instead of -lpng15.
the hint for this problem

To fix this problem:

  1. Fix emacs side
  2. Fix libpng side PR/44527
  3. Probably pkg-config issue PR/44527
modena@makoto 06:01:30/110810(..wip/emacs-current)% libpng-config --cflags 
-I/usr/pkg/include/libpng15
modena@makoto 06:10:38/110810(..wip/emacs-current)% libpng-config --ldflags
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpng15
Use png 1.5.4 instead of 1.5.1: (No, probably not related)

modena@makoto 10:44:17/110810(..wip/emacs-current)% cat -n work/emacs/configure.in | sed -n 2450,2469p

  2450    if test "${with_png}" != "no"; then
  2451      # Debian unstable as of July 2003 has multiple libpngs, and puts png.h
  2452      # in /usr/include/libpng.
  2453      AC_CHECK_HEADERS(png.h libpng/png.h)
  2454      if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then
  2455        AC_CHECK_LIB(png, png_get_channels, HAVE_PNG=yes, , -lz -lm)
  2456      fi
  2457    fi
  2458  
  2459    if test "${HAVE_PNG}" = "yes"; then
  2460      AC_DEFINE(HAVE_PNG, 1, [Define to 1 if you have the png library (-lpng).])
  2461      LIBPNG="-lpng -lz -lm"
  2462    fi
  2463  fi
  2464  AC_SUBST(LIBPNG)
  2465  
  2466  ### Use -ltiff if available, unless `--with-tiff=no'.
  2467  HAVE_TIFF=no
  2468  LIBTIFF=
  2469  if test "${HAVE_X11}" = "yes"; then
work-around to by-pass above problem:
$NetBSD$

pkg-config will take care with version id like:
-lpng15 
And simply -lpng is now harmful

--- configure.in.orig	2011-08-10 10:32:39.000000000 +0900
+++ configure.in	2011-08-10 10:46:11.000000000 +0900
@@ -2458,7 +2458,7 @@
 
   if test "${HAVE_PNG}" = "yes"; then
     AC_DEFINE(HAVE_PNG, 1, [Define to 1 if you have the png library (-lpng).])
-    LIBPNG="-lpng -lz -lm"
+    LIBPNG="-lz -lm"
   fi
 fi
 AC_SUBST(LIBPNG)

Then now getting:
sh: Cannot execute ELF binary /export/pkgsrc/wip/emacs-current/work/emacs/src/temacs

Comments related this article

Re: wip/emacs-current and libpng.so (libpng15.so) by obache    2011/08/10 18:14
You should not do `cd ${WRKDIR}' and invoke tools. Use `make build-env' instead,...

2011年08月08日(月) 旧暦 [n年日記] [更新:"2011/08/08 22:05:15"]

#1 [機械] raid5 機の swap が raid でない時

2008/05/15 の日記 に書いてある通りにしていなかったので panic してしまった
その前に disk error が出ていたので
sudo atactl /dev/wd0a smart status
すると offline になっている。ssh で入ろうとしたら panic した。再起動してから次のように見ると、offline にはなっていない。
tera5@makoto 11:14:27/110808(~)%  foreach i ( 0 1 2 3 )
foreach> echo $i; sudo atactl /dev/wd${i}a  smart status | egrep -i 'error|reco'
foreach> end
0
  1 100   51     yes online  positive    Raw read error rate            40
  7 253   51     yes online  positive    Seek error rate                0
195 100    0     no  online  positive    Hardware ECC Recovered         797648111
199 200    0     no  online  positive    Ultra DMA CRC error count      0
200 100    0     no  online  positive    Write error rate               0
201 100    0     no  online  positive    Soft read error rate           0
202 253    0     no  online  positive    Data address mark errors       0
1
  1 200   51     yes online  positive    Raw read error rate            0
  7 200   51     yes online  positive    Seek error rate                0
199 200    0     no  online  positive    Ultra DMA CRC error count      1133
200 200   51     yes offline positive    Write error rate               0
2
  1 200   51     yes online  positive    Raw read error rate            0
  7 200   51     yes online  positive    Seek error rate                0
199 200    0     no  online  positive    Ultra DMA CRC error count      0
200 200   51     yes offline positive    Write error rate               0
3
  1 200   51     yes online  positive    Raw read error rate            0
  7 200   51     yes online  positive    Seek error rate                0
199 200    0     no  online  positive    Ultra DMA CRC error count      536
200 200   51     yes offline positive    Write error rate               0
tera5@makoto 11:14:39/110808(~)% 

#2 [機械] raid5 を直そうと思って起動用 USB メモリを消してしまった

raid5 の予備 (spare) disk を USB の口に挿して、sd0 だと思い込んで label を書くとか count=40 で他から写す、 とかやってしまった。 実は sd0 は起動用の手続とか kernel.bin が書いてある USB メモリだった。
どこからともなく、 起動用の一式 を探して来て、再現したつもり。 しかし、以前は 4.99.3 evbppc だったはずだが、4.99.3 sandpoint になった気がする。
今は 'raidctl -v -F /dev/wd0h raid1' の最中で 7 時間かかるはず。
raidctl 入の MD kernel


2011年08月03日(水) 旧暦 [n年日記] [更新:"2011/08/03 09:48:29"]

#1 [pkgsrc] namazu と .namazurc

この日記の検索がしばらく、問題があったが、やっと直った。 問題は、次の三点。
  • 検索結果の接続先が正しくない
  • (一部の機械で全面的に) 文字が化けている
  • 検索結果の一部の文字が化けている
一つ目は(今のところは) hnf.pl を少し変更している
全面的に文字化けがあった問題は、 最近の .namazurc の書き方に対応していなかったため。つまり、
CONTENTTYPE "text/html; charset=EUC-JP"
と書いていたものを
CHARSET "charset" "EUC-JP"
と書くようにした。最近と言っても CHARSET 指示が利用可能になったのは 2007 年頃。 *1
また 「検索結果の一部の文字が化けている」問題は、
Lang ja
と書いていたものを、次のように変更した
Lang ja_JP.eucJP
今使っている .namazurc の全文は次の通り。# で始まる行は注釈なので無視される。
Index /home/makoto/diary/namazu2/index
#eplace /home/makoto/diary /
#
#
#emphasisTags a b
maxhit 10000
maxmatch 2000
#ONTENTTYPE "text/html; charset=EUC-JP"
CHARSET "charset" "EUC-JP"
Lang ja_JP.eucJP
# Lang ja_JP.iso-2022-jp

*1: revision 1.1.4.1
date: 2007-05-09 14:40:58 +0000; author: opengl2772; state: Exp; lines: +9 -0;
* src/charset.[ch]: Add new files.

* src/{cgi.c, namazu-cgi.c, namazu-cmd.c, namazu.c, namazu.h}:
Add new function 'exit_nmz'.

* src/output.c(get_contenttype): Restructuring.

* src/rcfile.c: Added 'Charset' directive.


2011年08月02日(火) 旧暦 [n年日記] [更新:"2011/08/02 17:31:18"]

#1 [機械] ワットチェッカの kWh 測定

実は ワットチェッカ (固有名詞)に kWh 測定選択があるのに気が付いていなかった。
最近は ML 110 を手動で電源を入れて、時々 back up をしている。 rsync で単純に写しているだけだが、 四ないし五時間動くと、勝手に切れる。 これにワットチェッカをつないでおいたら、五時間で 1kWh と出ていた。 平均消費電力は 200W ということになる。(500GB disk x 4) この次は ML 115 を測って見よう。



最近の日記
2025年02月13日
dvipdfmx ICC profile format spec. version 4.3.0
2025年01月29日
ham/wsjtx
2025年01月27日
wip/wsjtx 5.4.2
2025年01月25日
ham/wsjtx
2025年01月15日
今更 advent calendar
以上、17 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)