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

先月 2013年05月 来月
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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2013年05月27日(月) 旧暦 [n年日記] [更新:"2013/05/27 22:37:31"]

#1 [無線] 2013 CQ WW WPX CW SOSB/40 HP

modena@makoto 21:04:33/130527(..contest/2013)% \
perl ~/perl/ham-radio/cabrillo2-time-table -s 08 -e 21 -c -2 2013-cq-ww-wpx-cw.LOG
2013-05-25
   7  08 09 10 11 12 13 14 15 16 17 18 19 20 21 
      --+--+--+--+--+--+--+--+--+--+--+--+--+--+
   AS        1  1  8  6  5  3  3                 27
   EU                       8 10                 18
   JA        8 10 14  9  2  4  1                 48
   NA     3 35 19 24 31  8                      120
   OC        1  1  2     1                        5
   SA     1  1  5                                 7
      --+--+--+--+--+--+--+--+--+--+--+--+--+--+
  sub     4 46 36 48 46 16 15 14                225

                                               
 accm  0  0  0  0  1  1  1  2  2  2  2  2  2  2
       0  0  5  8  3  8  9  1  2  2  2  2  2  2
       0  4  0  6  4  0  6  1  5  5  5  5  5  5
2013-05-26
   7  08 09 10 11 12 13 14 15 16 17 18 19 20 21 
      --+--+--+--+--+--+--+--+--+--+--+--+--+--+
   AS           2  5  6  5     4  5  2  2  1     32   59
   EU                          7 45 38 29  7    126  144
   JA     8  1  9  9  8  8        1  1  2  4     51   99
   NA     6  7 22 14 11 10                       70  190
   OC     1  3     1  2  1     1                  9   14
   SA     4  2                    1               7   14
      --+--+--+--+--+--+--+--+--+--+--+--+--+--+
  sub    19 13 33 29 27 24    12 52 41 33 12    295  520

                                               
 accm  2  2  2  2  3  3  3  3  3  4  4  5  5  5
       2  4  5  9  1  4  7  7  8  3  7  0  2  2
       5  4  7  0  9  6  0  0  2  4  5  8  0  0
一日目の EU は寝てしまった。その分二日目で少しは取返せたか。
僕の知合いは、「Dupe で呼ばれても構わず番号を送る」 を旨としている人がいるが 001 形式の場合に、 また番号を取る必要があって、強ければ良いけれど、 弱いと間違えたら大変、と思ってしまう。でも今回も、何局かは重複して番号を送った。
QSO without Dupe PTS   WPX Score
524 520		 2,383 348 829,284
僕の場合は 15% くらいの減点があるのが普通だから、704,900 くらい行けば良い方かな。
JA SO 40M 歴代記録:
Rank	Call	Year	Category  Score		QSOs	WPX	Hours	Operator(s)
 1   	7J1YAJ	1996	SO HP 40M  1,159,080	670	390	- 	 	 
 2   	JA1YXP	1997	SO HP 40M  1,066,728	603	338	- 	 	 
 3   	JH1AEP	2003	SO HP 40M  1,061,530	596	370	25.1	 	 
 4   	7J1AAI	2008	SO HP 40M    906,670	582	355	12.7	W1NN
 5   	JH7XGN	2006	SO HP 40M    885,456	506	344	21.2	 
 6   	JJ1NNJ	1994	SO HP 40M    759,220	492	319	- 	 
 7   	JA5BJC	1985	SO HP 40M    736,764	516	294	- 	 
 8   	JF1SQC	2011	SO HP 40M    727,320	521	348	16.8	 
 9     JR7OMD/2	1995	SO LP 40M    693,760	454	320	- 	 
10  	JA6BZI	2011	SA HP 40M    658,438	438	346	18.8	 
2012 の日記
寝た時間など:
Sat 13:00-15:00 食事、草取
    15:00-18:00 3.0
    18:00-18:40 ローテータ方向直し
    
Sun 02:00-08:00 6.0
    08:30-10:00 草取作業
    15:00-18:00 3.0


2013年05月22日(水) 旧暦 [n年日記] [更新:"2013/05/22 17:16:21"]

#1 [Emacs][wl] ~/.wl に 「隠したいヘッダの設定」の設定をする

topband ml とか N1MM Logger ML を見ていると、 (普段必要のない)見出が多い。消して見た。見たい時には H を入力すれば良い。
;; 隠したいヘッダの設定
(setq wl-message-ignored-field-list
      '(".*Received:" ".*Path:" ".*Id:" "^References:"
	"^Replied:" 
	"^Errors-To:"
	"^Lines:" 
	"^Sender:" 
	".*Host:" 
	"^Xref:"
	"^Content-Type:" "^Precedence:"
	"^DKIM-Signature:"
	"^DomainKey-Signature:"
	"^Delivered-To:"
	"^MIME-Version:"
	"^X-.*:"
	"^Importance:"
	"^Mailing-List:"
	"^List-Unsubscribe:"
	"^List-Archive:"
	"^List-Post:"
	"^List-Help:"
	"^List-Subscribe:"
	"^Content-Transfer-Encoding:"
	"^Content-Language:"
	"^Reply-To:"
	"^Thread-Index:"
	"^Status:" 
	"^Message-ID:" 
	"^In-Reply-To:" 
	"^X_.*:" 
	"^Authentication.*:" 
	"^Sensitivity:" 
	))

;; 表示するヘッダの設定
;; 'wl-message-ignored-field-list' より優先される
;; 
(setq wl-message-visible-field-list '("From:"))
正規表現で消えてしまったものから一つ拾うことも可能
(setq wl-message-visible-field-list '("^Message-Id:"))
のようにすれば良い。実は上の例は Message-ID が消せないので、無理に "From" だけに設定している。


2013年05月21日(火) 旧暦 [n年日記] [更新:"2013/08/21 15:19:19"]

#1 [無線] tqsl upload

Cabrillo unknown CONTEST: JIDX-CW
See 2010/05/04/

#2 [無線] ARRL 160m CW 2012

Top 10: Non-VE/W, Non-assisted, single OP, High Power

Japan, Non-assisted, single OP, High Power

CallsignScoreQSOsMult





1JH2FXK10,76412046


D
JA
2JA1XMS5,7608036

C

JA
3JR5JAQ4,9707135

C

JA
4JE1ZWT3,7765932


D
JA(JA1MML, JF1VVR, JG1VGX, ops)
5JH0ZHQ3,7625833

C

JA(JH1BBT, op)
6JH3PRR3,3925332


D
JA
7JA8NFV2,4084328

C

JA
8JA1PTJ2,2684327

C

JA
97M4CLF2,2364426

C

JA
10JA7ACM1,5643523

C

JA
11JH7IMX1,1342721
B


JA
12JA4CUU1,0082821
B


JA
13JA6BZI9502619


D
JA
14JA9BOH8502517

C

JA
15JA1SVP8282418



EJA
16JA1BJI7142417
B


JA
17JI1ANI5602114


D
JA
18JH3GCN5101715

C

JA
19JA3RAR3641613


D
JA
20JA7ZP8476


D
JA
21JA6BWH3244

C

JA
22JH7UJU822A



JA
23JH4UYB822A



JA
247K1CPT211
B


JA
My inverted Vee has been waiting for the day :-)


2013年05月20日(月) 旧暦 [n年日記] [更新:"2013/05/21 10:54:54"]

#1 [pkgsrc] tqsl 1.14 problem Undefined PLT symbol "tqsl_setStationLocationCertFlags" (symnum = 183)

(tqsl:10210): Gtk-WARNING **: Unable to find default local directory monitor type
tqsl: Undefined PLT symbol "tqsl_setStationLocationCertFlags" (symnum = 183)
modena@makoto 00:30:18/130521(..ham-radio/LoTW)% 
modena@makoto 00:43:09/130521(..wip/trustedQSL)% pkg_info |grep tqsl
tqsllib-2.2nb3      Tqsl library for ARRL LoTW
tqsl-1.14           TrustedQSL, uploading QSL Data to LoTW of ARRL
Is tqsllib 2.2 up-to-date ? Yes, I think so.
===> Install binary package of tqsl-1.14
pkg_add: Conflicting PLIST with tqsllib-2.2nb2: include/adif.h
pkg_add: 1 package addition failed
*** Error code 1
If using tqsl-1.13, the problem does not exist.
基本的な質問として、so.a.i の a と i は作る時に、どこに設定するのかという ことも分っていません。

今回の場合

定義: tqsl-114/src/location.cpp
参照: tqsl-114/src/apps/tqslwiz.cpp
で、外部のライブラリではないので、もう少し単純な気がするのだけれど。
と思ったが、何故か外(ライブラリ)を見に行っていて、location.cpp の方は見ていない。
どうも、tqsllib が別に必要だったのは、tqsl-1.13 までで、今回からは外部は要らない(らしい)
という訳で解決


2013年05月16日(木) 旧暦 [n年日記] [更新:"2013/05/16 14:38:33"]

#1 [pkgsrc] 3 hours for xulrunner and firefox 21.0

(xulrunner)
===> Leaving ``all'' after barrier for xulrunner-21.0
9035.74s 1372.18s 2:53:38.83 99% 0+0k
80+31214io 60pf+0w 0.04s 1.10s 2:53:38.83 0% 0+0k 2+1883io 0pf+0w
m08@makoto 13:59:18/130516(..wip/xulrunner)% 
seems to forget the MAKE_JOBS=4 line in /etc/mk.conf
(firefox)
===> Leaving ``all'' after barrier for firefox-21.0
175.46s 135.22s 4:59.60 103% 0+0k 1693+10232io 1396pf+0w
0.01s 0.23s 4:59.60 0% 0+0k 1+42io 0pf+0w
m08@makoto 14:27:42/130516(..wip/firefox)% 
Strange enough, the very first run after make package-install starts firefox,
m08@makoto 14:28:47/130516(..wip/firefox)% firefox
int XREMain::XRE_main(int, char**, const nsXREAppData*): 
   /export/CHROOT/usr/pkgsrc/wip/xulrunner/work/mozilla-release/toolkit/xre/nsAppRunner.cpp:3911

(process:28092): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
int XREMain::XRE_main(int, char**, const nsXREAppData*): 
   /export/CHROOT/usr/pkgsrc/wip/xulrunner/work/mozilla-release/toolkit/xre/nsAppRunner.cpp:3916
m08@makoto 14:28:52/130516(..wip/firefox)% 
but help says it is 20.0.1. The second invocation does not start.
m08@makoto 14:32:18/130516(..wip/firefox)% firefox                               
int XREMain::XRE_main(int, char**, const nsXREAppData*): 
  /export/CHROOT/usr/pkgsrc/wip/xulrunner/work/mozilla-release/toolkit/xre/nsAppRunner.cpp:3911

(process:19187): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
int XREMain::XRE_main(int, char**, const nsXREAppData*): 
  /export/CHROOT/usr/pkgsrc/wip/xulrunner/work/mozilla-release/toolkit/xre/nsAppRunner.cpp:3916
int XREMain::XRE_main(int, char**, const nsXREAppData*): 
  /export/CHROOT/usr/pkgsrc/wip/xulrunner/work/mozilla-release/toolkit/xre/nsAppRunner.cpp:4013
The first one did not get the line 4013.
--- toolkit/xre/nsAppRunner.cpp.orig	2013-05-12 04:21:47.000000000 +0900
+++ toolkit/xre/nsAppRunner.cpp	2013-05-16 10:03:05.000000000 +0900
@@ -3908,11 +3908,12 @@ XREMain::XRE_main(int argc, char* argv[]
   // Disable the slice allocator, since jemalloc already uses similar layout
   // algorithms, and using a sub-allocator tends to increase fragmentation.
   // This must be done before g_thread_init() is called.
+fprintf(stderr, "%s: %s:%d\n",__func__, __FILE__,__LINE__);
   g_slice_set_config(G_SLICE_CONFIG_ALWAYS_MALLOC, 1);
 #endif
   g_thread_init(NULL);
 #endif
-
+fprintf(stderr, "%s: %s:%d\n",__func__, __FILE__,__LINE__);
   // init
   bool exit = false;
   int result = XRE_mainInit(aAppData, &exit);
@@ -4009,7 +4010,7 @@ XREMain::XRE_main(int argc, char* argv[]
   XRE_DeinitCommandLine();
 
   SAMPLER_SHUTDOWN();
-
+fprintf(stderr, "%s: %s:%d\n",__func__, __FILE__,__LINE__);
   return NS_FAILED(rv) ? 1 : 0;
 }
 


2013年05月15日(水) 旧暦 [n年日記] [更新:"2013/05/15 10:34:16"]

#1 [pkgsrc] nspr-4.9.6, xulrunner 21.0, firefox 21.0 took two hours

最近は、例えば /etc/mk.conf に
MAKE_JOBS=4
とか書いている。ML115/G5 で、
NetBSD 6.1_RC2 (GENERIC)
total memory = 2047 MB
avail memory = 1972 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
HP ProLiant ML115 G5 (  )
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD Athlon(tm) Dual Core Processor 4450B, id 0x60fb2
cpu1 at mainbus0 apid 1: AMD Athlon(tm) Dual Core Processor 4450B, id 0x60fb2
このような機械の場合。clock は多分 2.1GHz
sh env-script-bulkbuild  10542.25s user 2163.67s system 182% cpu 1:56:19.84 total
m08@root 10:16:18/130515(/)% 
ところが、まだ
m08@makoto 10:21:34/130515(..packages/All)% firefox
Shared object "libstdc++.so.6" not found
ちょっと調べて、今の時点の観測:
NetBSD-6.1_RC2 は gcc-4.5.3 だけれど、次のものが入っている
-r--r--r--  1 root  wheel  2521788 Mar 16 13:52 /usr/lib/libstdc++.a
lrwxr-xr-x  1 root  wheel       16 Mar 16 13:52 /usr/lib/libstdc++.so -> libstdc++.so.7.1
lrwxr-xr-x  1 root  wheel       16 Mar 16 13:52 /usr/lib/libstdc++.so.7 -> libstdc++.so.7.1
-r--r--r--  1 root  wheel  1299229 Mar 16 13:52 /usr/lib/libstdc++.so.7.1
-r--r--r--  1 root  wheel  2675770 Mar 16 13:52 /usr/lib/libstdc++_p.a
-r--r--r--  1 root  wheel  2549064 Mar 16 13:52 /usr/lib/libstdc++_pic.a
しかし /usr/pkgsrc/lang/gcc47 を作ると、次のものが出来る。
./work/.destdir/usr/pkg_bulk/gcc47/lib/libstdc++.so.6.17
./work/.destdir/usr/pkg_bulk/gcc47/lib/libstdc++.so.6
./work/.destdir/usr/pkg_bulk/gcc47/lib/libstdc++.so
./work/.destdir/usr/pkg_bulk/gcc47/lib/libstdc++.la
./work/.destdir/usr/pkg_bulk/gcc47/lib/libstdc++.a
./work/.destdir/usr/pkg_bulk/gcc47/lib/libstdc++.so.6.17-gdb.py
それで、(もしかして)名前だけの問題かなと思ったが、そうでもなさそう。
これは一体何なのか不明。 僕が馬鹿なことをやっているだけだとしたら、それはそれで不思議。


2013年05月14日(火) 旧暦 [n年日記] [更新:"2013/05/15 14:35:08"]

#1 [Gimp] Gimp で楕円 (Gimp 2.8)

  1. から shape-path-0.91.scm をもらって来る
  2. shape-path-0.91.scm を ~/.gimp-2.8/scripts に置く
  3. Filters -> Script Fu -> Refresh Scripts
    として、今置いた scripts を有効にする(読ませる)
  4. Windows -> Dockable Dialogs -> Brushes (Shift+Control+B) を使って
    Paint brush の設定をしておく (後の 10. で使う) (多分、そうではなくて) Tool Box の下の色の設定のところ から色を設定しておく




  5. Path (B) で一度 path を何か作っておく (後で消える)
    このおまじないをしないと、 9. では何も起きない

  6. 楕円を置く中心にマウスを持って行き、左下に表示される座標を(頭に)記憶する
    記憶しなくても、表示が見えるようにしておけば、見て写せば良いようです
  7. Script Fu -> Shape Paths -> Ellipse ... とすると、右上のような窓が出て来るので、四つの数字を手で入力する
    • 最初の二つは、上で記憶した数字
    • 後の二つは楕円の大きさ
    • Stroke Path にチェックを入れると、太さが自由にならない (ようだ、固定の太さの線が描かれる)
  8. たとえば、楕円の大きさや、色が決っているなら、上の shape-path-0.91.scm を予め変更しておくのも一つの手
    僕は shape-path-0.91.diff の変更をしていて、そうすると、始めから、窓の中の設定は図に示した値になる。 Center X: と Center Y: は 0 0 ですけれど
    (ここの色は、実はこの説明の方法では、使われていない気がします)
  9. OK をすると楕円の Path が作られる
  10. Edit -> Stroke Path ... とすると、右の窓が出て来るので(僕の場合は) Stroke with a paint tool の方を選んで Paintbrush のままにして Stroke ボタンを押す
  11. 左のような楕円の線が描かれる。 画面には左のように Path がそのまま見えているが、これで保存すれば色の線だけが書かれる


この覚え書きを作るにあたっては、次の情報が大変役に立ちました。ありがとうございます。

#2 [pkgsrc] xulrunner says Shared object "libstdc++.so.6" not found

Some strange situation, recently build wants obsoleted shared library even does not exist.
m08@makoto 23:22:59/130514(..packages/All)% sh -xv `which firefox`
#! /bin/sh
#
# $NetBSD: firefox.sh.in,v 1.2 2012/08/28 12:42:02 ryoon Exp $
#
# We currently overwrite the nsXULStub launcher with this wrapper script.
# The stub causes problems like HTTPS protocol not working.
# XXX to be investigated

exec /usr/pkg/lib/xulrunner/xulrunner /usr/pkg/lib/firefox/application.ini "$@"
+ exec /usr/pkg/lib/xulrunner/xulrunner '/usr/pkg/lib/firefox/application.ini'
Shared object "libstdc++.so.6" not found
m08@makoto 23:23:08/130514(..packages/All)% find /usr -name libstdc++\*
find: /usr/games/hide: Permission denied
/usr/lib/libstdc++.so.7.1
/usr/lib/libstdc++.so
/usr/lib/libstdc++.so.7
/usr/lib/libstdc++_p.a
/usr/lib/libstdc++.a
/usr/lib/libstdc++_pic.a
/usr/lib/i386/libstdc++.so.7
/usr/lib/i386/libstdc++.so.7.1
/usr/lib/i386/libstdc++.so
/usr/lib/i386/libstdc++.a
/usr/lib/i386/libstdc++_p.a
/usr/lib/i386/libstdc++_pic.a
m08@makoto 23:23:40/130514(..packages/All)% ldd  /usr/pkg/lib/xulrunner/xulrunner
/usr/pkg/lib/xulrunner/xulrunner:
        -lpthread.1 => /usr/lib/libpthread.so.1
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lstdc++.6 => not found
        -lm.0 => /usr/lib/libm.so.0
m08@makoto 23:24:15/130514(..packages/All)% xulrunner --version
Shared object "libstdc++.so.6" not found
m08@makoto 23:24:25/130514(..packages/All)% ls -l   /usr/pkg/lib/xulrunner/xulrunner
-rwxr-xr-x  1 root  wheel  81960 May 14 01:15 /usr/pkg/lib/xulrunner/xulrunner
m08@makoto 23:24:31/130514(..packages/All)% ls -l /usr/lib/libstdc++.so.7.1
-r--r--r--  1 root  wheel  1299229 Mar 16 13:52 /usr/lib/libstdc++.so.7.1
m08@makoto 23:25:37/130514(..packages/All)% 
The package was built on chrooted environmet, but it does not the old one either.
m08@makoto 23:29:11/130514(..packages/All)% ls -l /export/CHROOT/usr/lib/libstdc*
-r--r--r--  1 root  wheel  2521788 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++.a
lrwxr-xr-x  1 root  wheel       16 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++.so -> libstdc++.so.7.1
lrwxr-xr-x  1 root  wheel       16 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++.so.7 -> libstdc++.so.7.1
-r--r--r--  1 root  wheel  1299229 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++.so.7.1
-r--r--r--  1 root  wheel  2675770 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++_p.a
-r--r--r--  1 root  wheel  2549064 Mar 16 13:52 /export/CHROOT/usr/lib/libstdc++_pic.a
I found it...
  9820866 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.a
      963 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.la
       17 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.so -> libstdc++.so.6.17
       17 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.so.6 -> libstdc++.so.6.17
  4136273 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.so.6.17
     2323 May  6 10:59 /export/CHROOT/usr/pkg_bulk/gcc47/lib/libstdc++.so.6.17-gdb.py

make help topic=USE_GCC_RUNTIME:

# USE_PKGSRC_GCC_RUNTIME
#       When set to "yes", the runtime gcc libraries (libgcc, libstdc++
#       etc) will be used from pkgsrc rather than the native compiler.

# USE_GCC_RUNTIME
#       Packages which build shared libraries but do not use libtool to
#       do so should define this variable.  It is used to determine whether
#       the gcc runtime should be depended upon when a user has enabled
#       USE_PKGSRC_GCC_RUNTIME.
そう言えば、この機械の chroot を 6.1_RC2 にした時に gcc47 は作り直さなかったかな?
m08@root 08:06:54/130515(..lang/gcc47)% \
   env PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} pkg_delete gcc47
original MD5 checksum failed, not deleting: 
   /usr/pkg_bulk/gcc47/lib/gcc/x86_64--netbsd/4.7.3/include-fixed/stdio.h
original MD5 checksum failed, not deleting: 
   /usr/pkg_bulk/gcc47/lib/gcc/x86_64--netbsd/4.7.3/include/ssp/stdio.h
original MD5 checksum failed, not deleting: 
   /usr/pkg_bulk/gcc47/lib/gcc/x86_64--netbsd/4.7.3/include/ssp/string.h
original MD5 checksum failed, not deleting: 
   /usr/pkg_bulk/gcc47/lib/gcc/x86_64--netbsd/4.7.3/include/ssp/unistd.h
pkg_delete: couldn't entirely delete package `gcc47-4.7.3'


2013年05月13日(月) 旧暦 [n年日記] [更新:"2013/05/14 00:04:33"]

#1 [gcc] gcc-4.7.2 in pkgsrc and DragonFly are not the same

Compiling with gcc-4.7 (Re: Can't build cairo on HEAD ..
/usr/pkg/gcc47/lib/gcc/i386--netbsdelf/4.7.3/include/ssp/string.h:38:17: fatal
error: ssp.h: No such file or directory
        compilation terminated.

I've checked the difference on gcc-4.7 of pkgsrc and the one on DragonFly

ssp directory (ssp.h's themselves are exactly the same):

pkgsrc/gcc-47
modena@makoto 22:41:44/130513(~)% \
ls -l /usr/pkg/gcc47/lib/gcc/x86_64--netbsd/4.7.2/include/ssp
total 36
-rw-r--r--  1 root  wheel  2402 Apr 19 02:07 ssp.h
-rw-r--r--  1 root  wheel  3473 Apr 19 02:07 stdio.h
-rw-r--r--  1 root  wheel  5720 Apr 19 02:07 string.h
-rw-r--r--  1 root  wheel  2816 Apr 19 02:07 unistd.h
modena@makoto 22:41:46/130513(~)% \
md5 /usr/pkg/gcc47/lib/gcc/x86_64--netbsd/4.7.2/include/ssp/ssp.h 
MD5 (/usr/pkg/gcc47/lib/gcc/x86_64--netbsd/4.7.2/include/ssp/ssp.h) 
   = cee75c078610b5c83b8af551349ed01b
But DragonFly has ssp.h only. Others are gone.
pts/0:makoto@dragon344 21:09:07/130513(...graphics/cairo)> ls -l /usr/libdata/gcc47/ssp
total 2
-r--r--r--  1 root  wheel  2402 Apr 25 04:23 ssp.h
pts/0:makoto@dragon344 21:11:19/130513(...graphics/cairo)> \
md5 /usr/libdata/gcc47/ssp/ssp.h 
MD5 (/usr/libdata/gcc47/ssp/ssp.h) 
   = cee75c078610b5c83b8af551349ed01b

string.h:

pkgsrc/gcc-47
modena@makoto 23:37:37/130513(~)% \
ls -l `find /usr/include /usr/lib /usr/pkg -name string.h`
-r--r--r--  1 root  wheel   4322 Mar 16 13:27 /usr/include/ssp/string.h
-r--r--r--  1 root  wheel   4452 Mar 16 13:27 /usr/include/string.h
-rw-r--r--  1 root  wheel  11368 May  4 20:28 /usr/pkg/cross/x86_64-w64-mingw32/include/string.h
-rw-r--r--  1 root  wheel   5720 Apr 19 02:07 /usr/pkg/gcc47/lib/gcc/x86_64--netbsd/4.7.2/include/ssp/string.h
-rw-r--r--  1 root  wheel  64580 Apr  8 13:35 /usr/pkg/include/wx-2.8/wx/string.h
DragonFly
pts/0:makoto@dragon344 22:23:38/130513(~)> \
ls -l `find /usr/include /usr/lib /usr/pkg -name string.h`
-r--r--r--  1 root  wheel   5480 Apr 25 04:21 /usr/include/string.h
-r--r--r--  1 root  wheel   6404 Apr 25 05:01 /usr/pkg/include/isc/string.h
-rw-r--r--  1 root  wheel  64580 May  5 13:34 /usr/pkg/include/wx-2.8/wx/string.h

#2 [NetBSD][pkgsrc] FireFox 21.0 seems to be replaced

modena@makoto 23:09:54/130513(/export/distfiles)% ls -l xulrunner-21.0*.source.tar.bz2*
-rw-r--r--  1 makoto  wheel  105375567 May 12 04:44 xulrunner-21.0.source.tar.bz2
-rw-r--r--  1 makoto  wheel  105268055 May  7 18:25 xulrunner-21.0.source.tar.bz2-keep
-rw-r--r--  1 makoto  wheel  105483074 May  7 08:21 xulrunner-21.0b7.source.tar.bz2


2013年05月12日() 旧暦 [n年日記] [更新:"2013/05/13 09:48:37"]

#1 [pkgsrc][emacs] 最近 Emacs が良く落ちるので gdb から起動していたら

落ちた。と言っても僕に見て分るようなことはないけれど。 pthread の関係らしいのかな、とは思う。
(gdb) run
Starting program: /export/CHROOT/usr/pkgsrc/wip/emacs-current/work/emacs/src/emacs 

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x0000000000576c3a in balance_an_interval ()
(gdb) bt
#0  0x0000000000576c3a in balance_an_interval ()
#1  0x0000000000576cee in balance_an_interval ()
#2  0x0000000000576ea1 in balance_intervals_internal ()
#3  0x0000000000576ea1 in balance_intervals_internal ()
#4  0x0000000000576eaf in balance_intervals_internal ()
#5  0x0000000000576ea1 in balance_intervals_internal ()
#6  0x0000000000576ea1 in balance_intervals_internal ()
#7  0x0000000000576ea1 in balance_intervals_internal ()
#8  0x0000000000576ea1 in balance_intervals_internal ()
#9  0x0000000000576ea1 in balance_intervals_internal ()
#10 0x000000000051cf8e in Fgarbage_collect ()
#11 0x0000000000532479 in Ffuncall ()
#12 0x0000000000565765 in exec_byte_code ()
#13 0x000000000053209a in funcall_lambda ()
#14 0x0000000000532426 in Ffuncall ()
#15 0x0000000000565765 in exec_byte_code ()
#16 0x000000000053209a in funcall_lambda ()
#17 0x0000000000532426 in Ffuncall ()
#18 0x0000000000565765 in exec_byte_code ()
#19 0x000000000053209a in funcall_lambda ()
#20 0x0000000000532426 in Ffuncall ()
#21 0x0000000000565765 in exec_byte_code ()
#22 0x000000000053209a in funcall_lambda ()
#23 0x0000000000532426 in Ffuncall ()
#24 0x00000000005328f0 in apply1 ()
#25 0x000000000052e9dc in Fcall_interactively ()
#26 0x00000000005325b3 in Ffuncall ()
#27 0x0000000000565765 in exec_byte_code ()
#28 0x0000000000532426 in Ffuncall ()
#29 0x0000000000532825 in call1 ()
#30 0x00000000004d4357 in command_loop_1 ()
#31 0x0000000000530c18 in internal_condition_case ()
#32 0x00000000004c99d0 in command_loop_2 ()
#33 0x0000000000530ae7 in internal_catch ()
#34 0x00000000004ca76c in recursive_edit_1 ()
#35 0x00000000004caa30 in Frecursive_edit ()
#36 0x00000000004c6742 in main ()
(gdb) 
#2856 0x000000000052fa25 in Fcall_interactively ()
#2857 0x00000000005325b3 in Ffuncall ()
#2858 0x0000000000565765 in exec_byte_code ()
#2859 0x0000000000532426 in Ffuncall ()
#2860 0x0000000000532825 in call1 ()
#2861 0x00000000004d4357 in command_loop_1 ()
#2862 0x0000000000530c18 in internal_condition_case ()
#2863 0x00000000004c99d0 in command_loop_2 ()
#2864 0x0000000000530ae7 in internal_catch ()
#2865 0x00000000004ca6eb in recursive_edit_1 ()
#2866 0x00000000004caa30 in Frecursive_edit ()
#2867 0x00000000005325dd in Ffuncall ()
#2868 0x0000000000565765 in exec_byte_code ()
#2869 0x0000000000532426 in Ffuncall ()
#2870 0x0000000000533316 in Fapply ()
#2871 0x00000000005328dc in apply1 ()
#2872 0x0000000000532a78 in call_debugger ()
#2873 0x0000000000532e7e in Fsignal ()
#2874 0x00000000005325c6 in Ffuncall ()
#2875 0x0000000000565765 in exec_byte_code ()
#2876 0x000000000053209a in funcall_lambda ()
#2877 0x0000000000532426 in Ffuncall ()
#2878 0x0000000000565765 in exec_byte_code ()
#2879 0x0000000000531b7c in eval_sub ()
#2880 0x0000000000531eac in Fprogn ()
---Type <return> to continue, or q <return> to quit---
#2881 0x0000000000534436 in internal_lisp_condition_case ()
#2882 0x00000000005662cc in exec_byte_code ()
#2883 0x000000000053209a in funcall_lambda ()
#2884 0x0000000000532426 in Ffuncall ()
#2885 0x0000000000565765 in exec_byte_code ()
#2886 0x000000000053209a in funcall_lambda ()
#2887 0x0000000000532426 in Ffuncall ()
#2888 0x0000000000565765 in exec_byte_code ()
#2889 0x000000000053209a in funcall_lambda ()
#2890 0x0000000000532426 in Ffuncall ()
#2891 0x0000000000533316 in Fapply ()
#2892 0x00000000005326aa in Ffuncall ()
#2893 0x0000000000565765 in exec_byte_code ()
#2894 0x000000000053209a in funcall_lambda ()
#2895 0x0000000000532426 in Ffuncall ()
#2896 0x0000000000565765 in exec_byte_code ()
#2897 0x000000000053209a in funcall_lambda ()
#2898 0x0000000000532426 in Ffuncall ()
#2899 0x0000000000565765 in exec_byte_code ()
#2900 0x000000000053209a in funcall_lambda ()
#2901 0x00000000005315ee in apply_lambda ()
#2902 0x000000000053189d in eval_sub ()
#2903 0x0000000000531eac in Fprogn ()
#2904 0x00000000005321b4 in funcall_lambda ()
#2905 0x0000000000532426 in Ffuncall ()
#2906 0x00000000005328f0 in apply1 ()
#2907 0x000000000052e9dc in Fcall_interactively ()
#2908 0x00000000005325b3 in Ffuncall ()
#2909 0x0000000000565765 in exec_byte_code ()
#2910 0x0000000000532426 in Ffuncall ()
#2911 0x0000000000532825 in call1 ()
#2912 0x00000000004d4357 in command_loop_1 ()
#2913 0x0000000000530c18 in internal_condition_case ()
#2914 0x00000000004c99d0 in command_loop_2 ()
#2915 0x0000000000530ae7 in internal_catch ()
#2916 0x00000000004ca76c in recursive_edit_1 ()
#2917 0x00000000004caa30 in Frecursive_edit ()
#2918 0x00000000004c6742 in main ()


2013年05月10日(金) 旧暦 [n年日記] [更新:"2013/05/11 10:01:31"]

#1 [pkgsrc] pbulk で変更前と変更後を確認する

例えば、ささいな変更をあちこちにして、 PKGREVISION を上げる必要はないとして、 pbulk で変更前と変更後を確認しようとすると、

一度出来たものは全部消してからでないと意味がない

という話で、そうでないと、 PKGREVISION が同じなら作り直さない からである。
(多分)
今やろうとしているものを全て limited-list に書いておいて pbulk すると、

[187/223] Starting build of  ruby18-hashery-2.1.0
223 package くらいを作り直すことになり結構長い。 本当は、全てを作り直す必要はなくて、 今回変更しようとしているものだけで良いので、 手作業で選べば良いのかも知れないけれど。
今は変更前のものを一応全部作って見ている。 もし既にこわれているものがあったら、雑音となるから。
そんなことをする必要はない、というような気もするが、 多分やった方が良いと思う。


2013年05月09日(木) 旧暦 [n年日記] [更新:"2013/05/10 21:22:25"]

#1 [pkgsrc] cmake and RPATH

最近は、あちこちに、手を出して、収拾がつかなくなって来ていて、 と言いながら、いつものことではある訳だけれど。
todo の一覧がちっとも消化されなくて、大きくなる一方、とも言える。
それで気になっていることの一つは、 (...wip/trustedQSL)> cat -n ./work/tqsl-114/apps/cmake_install.cmake
  1  # Install script for directory: /usr/pkgsrc/wip/trustedQSL/work/tqsl-114/apps
  2
  3  # Set the install prefix
  4  IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
  5    SET(CMAKE_INSTALL_PREFIX "/usr/pkg")
  6  ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
  7  STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
  8
  9  # Set the install configuration name.
 10  IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
 11    IF(BUILD_TYPE)
 12      STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
 13             CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
 14    ELSE(BUILD_TYPE)
 15      SET(CMAKE_INSTALL_CONFIG_NAME "")
 16    ENDIF(BUILD_TYPE)
 17    MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
 18  ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
 19
 20  # Set the component getting installed.
 21  IF(NOT CMAKE_INSTALL_COMPONENT)
 22    IF(COMPONENT)
 23      MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
 24      SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
 25    ELSE(COMPONENT)
 26      SET(CMAKE_INSTALL_COMPONENT)
 27    ENDIF(COMPONENT)
 28  ENDIF(NOT CMAKE_INSTALL_COMPONENT)
 29
 30  IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
 31    IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl" AND
 32       NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl")
 33      FILE(RPATH_CHECK
 34           FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl"
 35           RPATH "/usr/pkg/lib:/usr/pkg/lib")
 36    ENDIF()
 37    FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" 
	  TYPE EXECUTABLE FILES "/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/apps/tqsl")
 38    IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl" AND
 39       NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl")
 40      FILE(RPATH_CHANGE
 41           FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl"
 42           OLD_RPATH "/usr/pkg/lib:/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/src"
 43           NEW_RPATH "/usr/pkg/lib:/usr/pkg/lib")
 44      IF(CMAKE_INSTALL_DO_STRIP)
 45        EXECUTE_PROCESS(COMMAND "/usr/pkgsrc/wip/trustedQSL/work/.tools/bin/strip" 
	"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl")
 46      ENDIF(CMAKE_INSTALL_DO_STRIP)
 47    ENDIF()
 48  ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
 49
 50  IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
 51    IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert" AND
 52       NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert")
 53      FILE(RPATH_CHECK
 54           FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert"
 55           RPATH "/usr/pkg/lib:/usr/pkg/lib")
 56    ENDIF()
 57    FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" 
	TYPE EXECUTABLE FILES "/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/apps/tqslcert")
 58    IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert" AND
 59       NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert")
 60      FILE(RPATH_CHANGE
 61           FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert"
 62           OLD_RPATH "/usr/pkg/lib:/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/src"
 63           NEW_RPATH "/usr/pkg/lib:/usr/pkg/lib")
 64      IF(CMAKE_INSTALL_DO_STRIP)
 65        EXECUTE_PROCESS(COMMAND "/usr/pkgsrc/wip/trustedQSL/work/.tools/bin/strip" 
	"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert")
 66      ENDIF(CMAKE_INSTALL_DO_STRIP)
 67    ENDIF()
 68  ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
 69
 70  IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
 71    FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/TrustedQSL" 
	TYPE DIRECTORY FILES "/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/apps/help")
 72  ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
 73
 74  IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
 75    FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man5" 
	TYPE FILE FILES "/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/apps/trustedqsl.5")
 76  ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
 77
wip/trustedQSL の cmake の処理の 中で RPATH_CHANGE の OLD_RPATH の順が、 変更しようとしている譜に設定されているものと逆になっているのは何故か、というのがある
きょうは cmake を見ていて、この辺が関係あるのかなということになった。
cat -n work/cmake-2.8.10/Source/cmLocalGenerator.cxx | sed -n 1650,1669p
1661  /**
1662   * Output the linking rules on a command line.  For executables,
1663   * targetLibrary should be a NULL pointer.  For libraries, it should point
1664   * to the name of the library.  This will not link a library against itself.
1665   */
1666  void cmLocalGenerator::OutputLinkLibraries(std::string& linkLibraries,
1667                                             std::string& frameworkPath,
1668                                             std::string& linkPath,
1669                                             cmGeneratorTarget &tgt,
1670                                             bool relink)
1671 {

% cat -n work/cmake-2.8.10/Source/cmLocalGenerator.cxx | sed -n 1740,1789p
1740    fout << linkLibs;
1741
1742    // Get the RPATH entries.
1743    std::vector<std::string> runtimeDirs;
1744    cli.GetRPath(runtimeDirs, relink);
1745
1746    // Check what kind of rpath flags to use.
1747    if(cli.GetRuntimeSep().empty())
1748      {
1749      // Each rpath entry gets its own option ("-R a -R b -R c")
1750      std::string rpath;
1751      for(std::vector<std::string>::iterator ri = runtimeDirs.begin();
1752          ri != runtimeDirs.end(); ++ri)
1753        {
1754        rpath += cli.GetRuntimeFlag();
1755        rpath += this->Convert(ri->c_str(), NONE, SHELL, false);
1756        rpath += " ";
1757        }
1758      fout << rpath;
1759      }
1760    else
1761      {
1762      // All rpath entries are combined ("-Wl,-rpath,a:b:c").
1763     std::string rpath = cli.GetRPathString(relink);
1764
1765      // Store the rpath option in the stream.
1766      if(!rpath.empty())
1767        {
1768        fout << cli.GetRuntimeFlag();
1769        fout << this->EscapeForShell(rpath.c_str(), true);
1770        fout << " ";
1771        }
1772      }
1773
1774    // Add the linker runtime search path if any.
1775    std::string rpath_link = cli.GetRPathLinkString();
1776    if(!cli.GetRPathLinkFlag().empty() && !rpath_link.empty())
1777      {
1778      fout << cli.GetRPathLinkFlag();
1779      fout << this->EscapeForShell(rpath_link.c_str(), true);
1780      fout << " ";
1781      }
1782
1783    // Add standard libraries for this language.
1784    std::string standardLibsVar = "CMAKE_";
1785    standardLibsVar += cli.GetLinkLanguage();
1786    standardLibsVar += "_STANDARD_LIBRARIES";
1787    if(const char* stdLibs =
1788       this->Makefile->GetDefinition(standardLibsVar.c_str()))
1789      {
cat -n ./work/cmake-2.8.10/Source/cmComputeLinkInformation.cxx | sed -n 437,459p
 437  std::string cmComputeLinkInformation::GetRPathLinkString()
 438  {
 439    // If there is no separate linker runtime search flag (-rpath-link)
 440    // there is no reason to compute a string.
 441    if(!this->OrderDependentRPath)
 442      {
 443      return "";
 444      }
 445
 446    // Construct the linker runtime search path.
 447    std::string rpath_link;
 448    const char* sep = "";
 449    std::vector<std::string> const& dirs =
 450      this->OrderDependentRPath->GetOrderedDirectories();
 451    for(std::vector<std::string>::const_iterator di = dirs.begin();
 452        di != dirs.end(); ++di)
 453      {
 454      rpath_link += sep;
 455      sep = ":";
 456      rpath_link += *di;
 457      }
 458    return rpath_link;
 459  }

#2 [pkgsrc] ham/fldigi-3.21.70

Audio -> Devices -> OSS   に /dev/audio1 と書いておくと、
音が出せる
E: void trx_trx_receive_loop(): Sound error: Invalid argument
E: void trx_trx_receive_loop(): Sound error: Invalid argument
こういうのは沢山見えるけれど(受信側かな)。

audioplay を試して見る:

上に関連した話題で、
which audioplay 
/usr/bin/audioplay
となっていて、May 9 22:43:10 modena /netbsd: の後に次のような文字列がある時に、
uaudio0 at uhub1 port 7 configuration 1 interface 0
uaudio0: C-Media Electronics Inc. C-Media USB Headphone Set, rev 1.10/1.00, addr 5
uaudio0: audio rev 1.00
audio1 at uaudio0: full duplex, playback, capture, independent
uhidev3 at uhub1 port 7 configuration 1 interface 3
uhidev3: C-Media Electronics Inc. C-Media USB Headphone Set, rev 1.10/1.00, addr 5, iclass 3/0
uhid0 at uhidev3: input=4, output=4, feature=0
またaudio.wav という譜があって、次のような属性のものだったとして
% file audio.wav 
audio.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
次のようにすると、音が出る
audioplay -v 3  -d /dev/audio1 audio.wav
ただし、上で -v 3 としている部分は効かない。 似た話は 2005/09/15 に書いていた。(ちなみに上に書いたのは、同じ USB audio の箱である)
(僕には)不思議なことに上では -d としているが 8 年前の日記 (macppc) では -f としていた。 それで今 -f とすると、
modena@makoto 21:13:40/130510(~)%  audioplay -v 3  -f /dev/audio1 audio.wav
audioplay: could not open /dev/audio1: Invalid argument
audioplay: audio device write failed: Input/output error
となる。fldigi の問題表示と似ている。


2013年05月08日(水) 旧暦 [n年日記] [更新:"2013/05/11 10:15:07"]

#1 [gettext] gettext の一番簡単な使い方を復習

  • xgettext: 元原稿(要するにソースファイル)から、(例えば ja.po に) 翻訳対応部分を抜出す
  • 出来た ja.po に日本語を加える(要するに翻訳する)
  • msgfmt: ja.po を実行形式対応に変換
というのが一番簡単な方法
xgettext -d ja -k__ functions.php -o ja.po
emacs ja.po
msgfmt -o ja.mo ja.po
cp ja.mo ja.po languages/
pts/1:makoto@taira 20:13:56/130509(...themes/business-skillup)> grep -3 charset ja.pot
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at example.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: functions.php:99
上記で ' at ' の部分は、実際には @
以前に namazu で作業した時の 2006/11/02 の日記
gettext メモ


2013年05月07日(火) 旧暦 [n年日記] [更新:"2013/05/08 00:23:33"]

#1 [Emacs] EasyPG

きょうは何故か次のような文字を見てしまう。
pgg-decode-armor-region: Search failed: 
2010/11/17 の日記
これと似たようなものかと思うが、情報が古過ぎるかな。
modena@makoto 21:34:05/130507(..share/emacs)% 
cat -n  ./site-lisp/semi/pgg-parse.el |sed -n 476,489p
   476  (defun pgg-decode-armor-region (start end)
   477    (save-restriction
   478      (narrow-to-region start end)
   479      (goto-char (point-min))
   480      (re-search-forward "^-+BEGIN PGP" nil t)
   481      (delete-region (point-min)
   482                     (and (search-forward "\n\n")
   483                          (match-end 0)))
   484      (pgg-decode-packets)
   485      (goto-char (point-min))
   486      (pgg-parse-packets)))
   487
^-+BEGIN PGP
という文字が見つからない、と言っているらしい。設定か操作を間違えているようだ。 シェルで、次のようにすると、
gpg -a --export makoto at ki nu
次のように始まる文字が表示されるから、 この表示が出ていないか、出ていても、拾えていないということらしい。
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.13 (NetBSD)
そう言えば、次のような指定はしてある。
(setq pgg-default-keyserver-address "pgp.mit.edu");
(setq pgg-default-keyserver-address "pgp.nic.ad.jp")
(setq pgg-scheme "gpg")
(setq pgg-messages-coding-system 'utf-8)
次のものを加えて見たが、関係なさそう (既にどこかにあったかも知れないが)。
(add-to-list 'exec-path "/usr/pkg/bin");
どうも、
pgg-default-user-id
の値が makoto となっていて、 gpg --list-keys makoto とすると、一番目に、使っていない自分のキーが出て来るの が問題らしい。

と思ったが、修正しても、まだおかしい。



2013年05月06日(月) 旧暦 [n年日記] [更新:"2013/05/06 12:21:08"]

#1 [pkgsrc] Cyclic dependency for package:

あれ、 だめですね。 既に作ってあるのですけれど。
Resolving...
Building...
Cyclic dependency for package:
gmake-3.82nb5
digest-20121220
gcc47-4.7.3
mpcomplex-1.0.1
mpfr-3.1.2
gmp-5.1.1
autoconf-2.69nb1
help2man-1.41.2
gmake-3.82nb5
sh env-script-bulkbuild  96.45s user 76.60s system 94% cpu 3:02.39 total
ある package を、全て gcc-47 を使って build したい
時に、僕は、今は、次のようにしています。多分もっといい方法があるのでしょう。 どちらにしても chroot で pbulk を使います。
pbulk で、/usr/pkg_bulk 側に gcc47 一式を用意しておきます。 その方法は、
sudo chroot /PATH/CHROOT;
cd /usr/pkgsrc/lang/gcc47;
env PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} bmake package-install
これで脇の方に gcc47 が入ります ( bmake を使います)。
/etc/mk.conf に、次のように書いておきます。
USE_NATIVE_GCC=yes
GCC_REQD=4.7
GCCBASE=/usr/pkg_bulk/gcc47
本当に使っているかどうかを調べる方法は ?
perl の中に、次のように書いてあります
./lib/perl5/5.16.0/x86_64-netbsd-thread-multi/Config_heavy.pl:gccversion='4.7.3'

Comments related this article

Re: Cyclic dependency for package: by obache    2013/05/07 10:29
You should define USE_GCC_RUNTIME.
Re: Cyclic dependency for package: by Makoto Fujiwara    2013/05/08 00:45
Thank you, I don't really understand when the explanation by make help topic=US...

#2 [MinGW] hello World

2013/02/12 の日記 に MinGW を入れたことを書いた。今日は Hello World をやって見る。
実は NetBSD で cross-mingw をやって見ているが、うまく行かなくて、何が問題かを調べるためだ。
Hello World を用意して、
$ cat hello.c
#include <stdio.h>
main (){
 static char hello[] = "Hello World!";
 printf("%s\n", hello);
}
次のようにすると、cross と全く同じ。
$ gcc -c hello.c
$ ld -o hello.exe hello.o 
hello.o:hello.c:(.text+0xa): undefined reference to `__main'
hello.o:hello.c:(.text+0x16): undefined reference to `puts'
$
libmsvcrt に相当するものはどこにあるのかな。

もっと単純に Hello World:

$ gcc -o hello.exe hello.c
$ ./hello.exe
Hello World!
あれ、大丈夫。 $ ldd ./hello.exe
  ntdll.dll => /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c940000)
  kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)
  msvcrt.dll => /cygdrive/c/WINDOWS/system32/msvcrt.dll (0x77bc0000)


2013年05月05日() 旧暦 [n年日記] [更新:"2014/01/19 09:09:56"]

#1 [DragonFly] DragonFly BSD 3.4.1 を入れた

今まで DragonFly の 3.2.2 + gcc47 で pkgsrc を試していたが、 wxGTK28 を作る時、何か変なことを言われるので、環境を新しくした。 xen3 の上で動かしている
> uname -a
DragonFly dragon344.i.ki.nu 3.4-RELEASE DragonFly v3.4.1-RELEASE #1: 
Wed Apr 24 19:18:32 PDT 2013     
root@pkgbox32.dragonflybsd.org:/usr/obj/build/home/justin/src/sys/GENERIC  i386
  • iso file を使って login: installer で始まる操作で設置
  • disk は 15GB しかなくて、Hammer FS は 10GB 以下ではだめだよ、 50GB がおすすめ、と言われたが、Hammer にして見た
  • pkgsrc と wip と personal-pkgsrc を /usr/pkgsrc に置く
  • (cd /usr/pkgsrc/pkgtools/bootstrap; 
       ./bootstrap --prefix=/usr/pkg --pkgdbdir=/var/db/pkg )
    
  • su になって sudo と zsh を bmake package-install
  • その後
    (cd /usr/pkgsrc/x11/wxGTK28; bmake package-install)
    
    しているところ

キー配置がこまったことに:

実は僕は変なことをしていて、US 鍵盤で JA 配置にしている。 installer では、ja.106x というのが何かな、と思って試しにそうして見たが、
  • Ctrl が Shift
  • 下線(_) や縦棒(|) (を入力する鍵)が見つかならない
もっとこまかく言うと、NetBSD の X11 で KINESIS を使っていて、 xmodmap で殆んど入替。DragonFly は vncviewer の画面から操作。 でもやっていられないので、今は ssh で入っている。

実はちょっと変なことになっていて、もう一度最初からやり直そうとは思っている:

  • pkg_info とすると、次のものしか出て来ない
    > pkg_info
    bootstrap-mk-files-20120415 *.mk files for the bootstrap bmake utility
    bmake-20110606nb1   Portable (autoconf) version of NetBSD 'make' utility
    pkg_install-20130131nb1 Package management and administration tools for pkgsrc
    > /usr/pkg/sbin/pkg_info
    bootstrap-mk-files-20120415 *.mk files for the bootstrap bmake utility
    bmake-20110606nb1   Portable (autoconf) version of NetBSD 'make' utility
    pkg_install-20130131nb1 Package management and administration tools for pkgsrc
    
  • 次のようにすると、とても沢山表示される
    > env PKG_DBDIR=/var/db/pkg pkg_info -u |wc
          15     120    1024
    > env PKG_DBDIR=/var/db/pkg pkg_info | wc
         118     807    7314
    
  • /usr/pkg/etc/mk.info には、次の行はある
    # Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
    # Thu Apr 25 02:26:49 UTC 2013
    
    #.ifdef BSD_PKG_MK      # begin pkgsrc settings
    
    PKG_DBDIR=              /var/db/pkg
    LOCALBASE=              /usr/pkg
    VARBASE=                /var
    PKG_TOOLS_BIN=          /usr/pkg/sbin
    PKGMANDIR=              man
    
    #.endif                 # end pkgsrc settings
    #.ifdef BSD_PKG_MK      # added by nrelease
    PKG_DEFAULT_OPTIONS=dri inet6
    #.endif                 # added by nrelease
    
    # http://www.na.rim.or.jp/~kano/tmp/docs/pkgsrc/faq.html
    #error
    #   You may confirm with following command that SU_CMD is set or not
    #   bmake show-var VARNAME=SU_CMD
    .if exists(/usr/pkg/bin/sudo)
    SU_CMD=        ${LOCALBASE}/bin/sudo /bin/sh -c
    .endif
    
.ifdef を外してあるのは、もしかして有効になっていない不安は外すため。

bootstrap:

あれ、もしかして bootstrap しなくてもいいのかな。
> ls -l /usr/*bin/pkg*
-r-xr-xr-x  1 root  wheel  2032 Apr 25 04:24 /usr/bin/pkg_radd
-r-xr-xr-x  1 root  wheel  5829 Apr 25 04:24 /usr/bin/pkg_search
> ls -l /usr/pkg/*bin/pkg*
-rwxr-xr-x  1 root  wheel  528320 May  4 23:41 /usr/pkg/bin/pkg-config
-r-xr-xr-x  1 root  wheel    2192 Apr 25 04:28 /usr/pkg/bin/pkg_leaves
-r-xr-xr-x  1 root  wheel    6172 Apr 25 04:29 /usr/pkg/bin/pkg_tarup
-r-xr-xr-x  1 root  wheel     224 Apr 25 04:29 /usr/pkg/bin/pkg_tarup_all
-r-xr-xr-x  1 root  wheel  131392 Apr 25 04:31 /usr/pkg/bin/pkgin
-rwxr-xr-x  1 root  wheel  241133 May  4 22:44 /usr/pkg/sbin/pkg_add
-rwxr-xr-x  1 root  wheel  235793 May  4 22:44 /usr/pkg/sbin/pkg_admin
-rwxr-xr-x  1 root  wheel  187268 May  4 22:44 /usr/pkg/sbin/pkg_create
-rwxr-xr-x  1 root  wheel  183222 May  4 22:44 /usr/pkg/sbin/pkg_delete
-rwxr-xr-x  1 root  wheel  219114 May  4 22:44 /usr/pkg/sbin/pkg_info

My first pkgin (初めての pkgin):

I've never been exposed to pkgin.
実は pkgin は使ったことがない(なかった)
> which emacs
emacs: Command not found.
> pkgin add emacs24
pkgin: Can't open database /var/db/pkgin/pkgin.db: unable to open database file: 
   No such file or directory
'pkgin -h' gives more information than 'man pkgin', right ?
man pkgin より pkgin -h の方が情報が多い (?)
> pkgin -h
Usage: pkgin [-cdfFhlnPtvVy] command [package ...]

Commands and shortcuts:
list                (ls  ) -  List installed packages.
avail               (av  ) -  List available packages.
install             (in  ) -  Perform packages installation or upgrade.
update              (up  ) -  Create and populate the initial database.
remove              (rm  ) -  Remove packages and depending packages.
upgrade             (ug  ) -  Upgrade main packages to their newer versions.
full-upgrade        (fug ) -  Upgrade all packages to their newer versions.
show-deps           (sd  ) -  Display direct dependencies.
show-full-deps      (sfd ) -  Display dependencies recursively.
show-rev-deps       (srd ) -  Display reverse dependencies recursively.
show-category       (sc  ) -  Show packages belonging to category.
show-pkg-category   (spc ) -  Show package's category.
show-all-categories (sac ) -  Show all categories.
keep                (ke  ) -  Mark package as "non auto-removable".
unkeep              (uk  ) -  Mark package as "auto-removable".
show-keep           (sk  ) -  Display "non auto-removable" packages.
show-no-keep        (snk ) -  Display "auto-removable" packages.
search              (se  ) -  Search for a package.
clean               (cl  ) -  Clean packages cache.
autoremove          (ar  ) -  Autoremove orphan dependencies.
export              (ex  ) -  Export "non auto-removable" packages to stdout.
import              (im  ) -  Import "non auto-removable" package list from file.
provides            (prov) -  Show what files a package provides.
requires            (req ) -  Show what files a package requires.
pkg-content         (pc  ) -  Show remote package's content.
pkg-descr           (pd  ) -  Show remote package's long-description.
pkg-build-defs      (pbd ) -  Show remote package's build definitions.
> sudo pkgin list
Database needs to be updated.
proceed ? [Y/n] 
reading local summary...
processing local summary...
updating database: 100%
pkgin: Could not fetch
  http://mirror-master.dragonflybsd.org/packages/i386/DragonFly-3.4/stable/All//pkg_summary.gz
Following URL is surely available, instead. これならあるようだ

repositories.conf:

> (cd /usr/pkg/etc/pkgin/; diff -u repositories.conf{.orig,})
--- repositories.conf.orig      2013-04-25 04:31:05.000000000 +0900
+++ repositories.conf   2013-05-05 12:24:54.990719000 +0900
@@ -23,4 +23,4 @@
 # Local repository (must contain a pkg_summary.gz or bz2)
 #
 # file:///usr/pkgsrc/packages/All
-http://mirror-master.dragonflybsd.org/packages/$arch/DragonFly-$osrelease/stable/All/
+http://mirror-master.dragonflybsd.org/packages/$arch/DragonFly-$osrelease/pkgsrc-2013Q1/All/
Above change makes things OK
これで行けた。
> sudo pkgin list
Database needs to be updated.
proceed ? [Y/n] 
reading local summary...
processing local summary...
updating database: 100%
pkg_summary.bz2                              100% 1779KB 444.8KB/s 903.3KB/s   00:04    
processing remote summary 
  (http://mirror-master.dragonflybsd.org/packages/i386/DragonFly-3.4/pkgsrc-2013Q1/All/)...
updating database:  85%
...
updating database: 100%
bmake-20110606nb1    Portable (autoconf) version of NetBSD 'make' utility
bootstrap-mk-files-20120415 *.mk files for the bootstrap bmake utility
pkg_install-20130131nb1 Package management and administration tools for pkgsrc
Probably, 'pkgin update' is the first thing to do.
本当は最初に update を使うのかな。

sudo pkgin install emacs24:

sudo pkgin install xauth
> diff -up /etc/ssh/sshd_config{.orig,}
--- /etc/ssh/sshd_config.orig   2013-05-05 13:27:17.498222000 +0900
+++ /etc/ssh/sshd_config        2013-05-05 13:25:31.816598000 +0900
@@ -120,7 +120,7 @@ UsePrivilegeSeparation sandbox              # Defaul
 #PermitTunnel no
 #ChrootDirectory none
 
-#XAuthLocation /usr/pkg/bin/xauth
+XAuthLocation /usr/pkg/bin/xauth
 
 # no default banner path
 #Banner none
sudo /etc/rc.d/sshd restart
Then I could do 'ssh -Y dragonfly-host' then emacs from outside
and gives me X11 emacs.
これで外から ssh -Y dragonfly-host で入ると、emacs が X11 環境で使える。 ただ、一番上の文字がとうふになっている。とうふというよりは?かな (同じか)。

pkg_radd and pkg_search:

> ls -l /usr/bin/*pkg*
-r-xr-xr-x  1 root  wheel  2032 Apr 25 04:24 /usr/bin/pkg_radd
-r-xr-xr-x  1 root  wheel  5829 Apr 25 04:24 /usr/bin/pkg_search
> pkg_search fldigi
No pkgsrc(7) tree found.
Fetching pkg_summary(5) file.
fetch: 
   http://mirror-master.dragonflybsd.org/packages/i386/DragonFly-3.4/stable/All/pkg_summary.bz2: 
   Not Found
fetch: 
   http://mirror-master.dragonflybsd.org/packages/i386/DragonFly-3.4/stable/All/pkg_summary.bz2: 
   Not Found
/usr/bin/pkg_search: cannot open /usr/pkgsrc/pkg_summary.bz2: No such file or directory
awk: can't open file /usr/pkgsrc/pkg_summary
 source line number 10

fldigi on DragonFly crashes (modular) xorg server:

で、何を調べたかったかと言うと、wip/fldigi や ham/fldigi を DragonFly の上で動くかを確めたい。
実は今は、 NetBSD/amd64 modular xorg server から ssh -Y dragonfly して fldigi と入力すると、何の表示も出る前に、マウスがかたまり、しばらくして、 (当然それしかないが) 手元の側の xorg server が再起動してしまう。 これは DragonFly 3.2.2 + gcc47 の話だったけれど、
DragonFly 3.4.1 でも同じだった。fldigi は 3.21.70 とか何でも。
本当は ssh -Y でなく、 単体で確めても見たいが、ちょっと大変なので、後ほど、ということで、 次に NetBSD/amd64 で gcc47 を使って作って見ようと思う。
USE_PKGSRC_GCC=yes
GCC_REQD=4.7
というようなことを /etc/mk.conf に書いておけば良いようだけれど、このままでは、 pbulk するのに、circular dependency になってしまうので、まずは gcc47 を、これの設定なしに作っておくことにする。
関連全部作り直しということで /etc/mk.conf に、次のように書いて
PACKAGES=/packages-gcc47
これに合せるように /usr/pkg_bulk/etc/pbulk.conf にも、
packages=/packages-gcc47
としておく。


2013年05月04日() 旧暦 [n年日記] [更新:"2013/05/04 22:44:06"]

#1 [pkgsrc] TrustedQSL で RPATH_LINK の順序が逆になるのは何故か

Build の時に、
apps/cmake_install.cmake
という譜が生成される。(以下では SUBST 文は外して、編集されないようにした時の結果) この中の、
modena@makoto 09:14:25/130504(..wip/trustedQSL)% \
cat -n work/tqsl-114/apps/cmake_install.cmake | \
grep -3 RPATH_CH
で表示される次の中の
30  IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
31    IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl" AND
32       NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl")
33      FILE(RPATH_CHECK
34           FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl"
35           RPATH "/usr/pkg/lib:/usr/pkg/lib:/usr/X11R7/lib")
36    ENDIF()
37    FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" 
         TYPE EXECUTABLE FILES "/export/CHROOT/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/apps/tqsl")
38    IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl" AND
39       NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl")
40      FILE(RPATH_CHANGE
41           FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqsl"
42           OLD_RPATH "/export/CHROOT/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/src
                        :/usr/pkg/lib:/usr/X11R7/lib:"
43           NEW_RPATH "/usr/pkg/lib:/usr/pkg/lib:/usr/X11R7/lib")

50  IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
51    IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert" AND
52       NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert")
53      FILE(RPATH_CHECK
54           FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert"
55           RPATH "/usr/pkg/lib:/usr/pkg/lib:/usr/X11R7/lib")
56    ENDIF()
57    FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" 
         TYPE EXECUTABLE FILES "/export/CHROOT/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/apps/tqslcert")
58    IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert" AND
59       NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert")
60      FILE(RPATH_CHANGE
61           FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/tqslcert"
62           OLD_RPATH "/export/CHROOT/usr/pkgsrc/wip/trustedQSL/work/tqsl-114/src
                        :/usr/pkg/lib:/usr/X11R7/lib:"
63           NEW_RPATH "/usr/pkg/lib:/usr/pkg/lib:/usr/X11R7/lib")
modena@makoto 09:15:47/130504(..wip/trustedQSL)% 
OLD_PATH の部分が、 実際の(変更前の期待される)順序と逆になっている (のは何故か)

./work/.wrapper/tmp/untransform.sed:

この人が何か一所懸命やっているような気がする
順序を変更するのは後にやってもらうと良い ?
wrapper/bsd.wrapper.mk
の中かな
     96 # Only do the (expensive) reordering step if we have reordering
     97 # transformations.
     98 
     99 WRAPPER_REORDER_CMDS?=  # empty
    100 .if !empty(WRAPPER_REORDER_CMDS)
    101 MAKE_ENV+=      WRAPPER_REORDER=yes
    102 .endif
多分関係ないと思うが、次の部分は誰がどこで指示をしているのだろう
mini-6@makoto 11:36:25/130504(..wip/trustedQSL)% \
  grep -i order /export/CHROOT/bulklog/tqsl-1.14/work.log
==> Reordering libraries:  -lssl -lcrypto -lexpat -lz -ldb5-5
==> Reordering libraries:  
-lwx_gtk2u_core-2.8
-lwx_baseu-2.8
-lwx_gtk2u_adv-2.8
-lwx_gtk2u_html-2.8
-lz
-lcurl
-lssl
-lcrypto
-lexpat
-ldb5-5
-lz


2013年05月03日(金) 旧暦 [n年日記] [更新:"2013/05/04 08:05:47"]

#1 [無線] CQ WW CW 2012 results (Single Band 40M / JA)

Rank Call     Category   Score    QSOs   Zn  Cty   Hours Operator(s)
---  -----   ---------- -------- -----   --  ---   -----
 1   JA6SHL   SO HP 40M  373,107 1,318   29   80    23.4
 2   JA1XMS   SO HP 40M  295,748 1,102   30   77    25.4
 3   JK1OPL   SO HP 40M  205,777   580   33  110    18.5
 4   JA7BME   SO HP 40M  182,649   642   31   76    15.2
 5   JA7MJ    SO HP 40M  111,173   419   28   79    16.5
 6   JH1RFM   SO HP 40M   65,688   339   30   72    19.5
 7   JH1AQN   SA HP 40M   48,974   233   29   65    10.0
 8   JA7SSP   SO LP 40M   17,751   138   22   39     9.0
 9   JA2HYD   SO LP 40M   15,184   119   18   34    20.9
10   JP1LRT   SA LP 40M   12,880    96   22   34     4.1 
また寺尾さんに負けた :-) OPL の 110 Cty はすごいな。Zone も多い。

#2 [pkgsrc] Conflicting PLIST with emacs-24.3.50nb20130503: bin/ctags

pkg_add: Conflicting PLIST with emacs-24.3.50nb20130503: bin/ctags
pkg_add: Can't install dependency emacs24>=24.3
これ何だったかな。24 と 24.3 は 24.3 の方が大きいという話なのかな。 いや、違う気がする。入っているのが emacs なのに emacs24 を必要としているという名前の違いかな。
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/emacs-current/Makefile,v
retrieving revision 1.65
diff -u -r1.65 Makefile
--- Makefile	15 Mar 2013 14:09:50 -0000	1.65
+++ Makefile	3 May 2013 16:47:12 -0000
@@ -3,7 +3,7 @@
 
 .include	"version.mk"
 DISTNAME=	emacs-${_EMACS_VERSION_MAJOR}.${_EMACS_VERSION_MINOR}.${_EMACS_VERSION_MICRO}
-#PKGNAME=	emacs-24.0.50
+PKGNAME=	emacs24-${_EMACS_VERSION_MAJOR}.${_EMACS_VERSION_MINOR}.${_EMACS_VERSION_MICRO}
 CATEGORIES=	editors
 MASTER_SITES=	#
 
editor/emacs/Makefile.common を良く読む必要がありそう。


2013年05月02日(木) 旧暦 [n年日記] [更新:"2013/05/02 19:24:34"]

#1 [pkgsrc] TrustedQSL on PowerPC

pbulk で bulklog を実行した結果に meta/report.dot がある。これを
dot report.dot -Tpng > report.png
のように処理すると左に示したような図になる(クリックで拡大)。
osabi-NetBSD-6.1_RC2 が作れなくて、結局 tqsl-1.14 には行けないようだ。
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building binary package for osabi-NetBSD-6.1_RC2
=> Creating binary package /packages/All/osabi-NetBSD-6.1_RC2.tgz
pkg_add: no pkg found for 'osabi-NetBSD-6.1_RC2', sorry.
pkg_add: 1 package addition failed
何だかささいな原因のようだ。何だっけ。bulkbuild でなければ、入っている。
mini-6@makoto 19:17:46/130502(/export/CHROOT)% pkg_info|grep -i osabi 
osabi-NetBSD-6.1_RC2 Operating System version dummy-package
PKGNAME の問題のようだな。
あるいはもしかすると chroot 側の etc/mk.conf の PACKAGE= が違っているかな。それだった。 だとすると、上の図は内容的には、全く意味がない



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、18 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)