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

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

2019年11月30日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [NetBSD] NetBSD-9.0_RC1-amd64-install.img.gz

CF-SX3@makoto 18:10:32/191130(~/Downloads)% zcat NetBSD-9.0_RC1-amd64-install.img.gz | sudo dd of=/dev/rsd0d bs=64k
23200+0 records in
23200+0 records out
1520435200 bytes transferred in 129.115 secs (11775821 bytes/sec)

setup chroot environmnet:

CF-SX2@makoto 19:37:59/191130(/export/CHROOT)
% foreach i (`cd /usr/INSTALL/; ls *xz | grep -v kern`)
echo $i ;sudo pax -pe -r --xz -f /usr/INSTALL/$i; 
end


2019年11月25日(月) 旧暦 [n年日記] [更新:"2019/11/25 14:51:26"]

#1 [沢庵] 一回目の大根を漬けた

11/17 (日) に干した大根を漬けた。
  • 高倉
  • 100 円 x 10 = 1,000
大根8,010 kg
砂糖粗目870 g
240 ml
240 ml
焼酎240 ml
12/16 日開封予定
小さい漬物樽を使った。

これから干すのは 14 本 100 x 8 + 130 x 4 + 120 x 2



2019年11月08日(金) 旧暦 [n年日記] [更新:"2019/11/08 21:54:16"]

#1 [pkgsrc] math/py-tables

I'm trying to fix build problem by upgrading to 3.6.1 but,

ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /tmp/math/py-tables/work/.destdir/usr/pkg:
ERROR:         /tmp/math/py-tables/work/.destdir/usr/pkg/lib/python3.7/site-packages/tables/tests/__pycache__/__pycache__/test_suite.cpython-37.cpython-37.pyc
ERROR:         /tmp/math/py-tables/work/.destdir/usr/pkg/lib/python3.7/site-packages/tables/tests/__pycache__/__pycache__/test_suite.cpython-37.opt-1.cpython-37.pyc
ERROR: ************************************************************
ERROR: The following files are in /tmp/math/py-tables/work/.destdir/usr/pkg but not in the PLIST:
ERROR:         /tmp/math/py-tables/work/.destdir/usr/pkg/lib/python3.7/site-packages/tables/tests/__pycache__/test_suite.cpython-37.opt-1.pyc
ERROR:         /tmp/math/py-tables/work/.destdir/usr/pkg/lib/python3.7/site-packages/tables/tests/__pycache__/test_suite.cpython-37.pyc
*** Error code 1


2019年11月03日() 旧暦 [n年日記] [更新:"2019/11/02 23:46:50"]

#1 [pkgsrc] (Wanderlust) problem reading mail メールが読めなくなって

Checking "%inbox!"
Opening TLS connection to ‘imap.example.com’...
Opening TLS connection with ‘gnutls-cli --x509cafile nil -p 993 imap.example.com’...failed
Opening TLS connection with ‘gnutls-cli --x509cafile nil -p 993 imap.example.com --protocols ssl3’...failed
Opening TLS connection to ‘imap.example.com’...failed
Auto plugged off at imap.example.com:993
  • Not the server side problem (With other MUA OK)
    サーバ側の原因ではなさそう (他の MUA では問題ない)
  • Very much similar environment has no problem
    とても似た環境なら読める
Then I've written the Perl script to compare 'pkg_info' output
という訳で pkg_info の差分を表示する perl script を作って比べて見た
#!/usr/pkg/bin/perl
use strict;
use Getopt::Std;

our %ARGV;
our %opts;

sub ColorString($$){
    my (%COLOR) = ( qw (
        black   30
        red     31
        green   32
        yellow  33
        blue    34
        pink    35
        magenta 36
        white   37
                    ));
    my($color) = shift;
    my($string) = shift;
    return sprintf("%c[%dm%s%c[0m", 0x1b, $COLOR{$color}, $string, 0x1b);
}

getopt('',\%opts);
print STDERR  sprintf("%4d <", __LINE__). (caller 0)[3]. '> '.
    $ARGV[0] .' '. 
    $ARGV[1].' '. 
    "\n";
my $FILEA = $ARGV[0];
my $FILEB = $ARGV[1];

if ($FILEB eq '') { 
    print STDERR  sprintf("%04d <", __LINE__). (caller 0)[3]. "> you need two filename\n";
    die;
}
my (%LISTA, %LISTB, %WHOLE);
# ------------------------------------------------------------------------------
open(FILEA, $FILEA) || die "problem opening file: $FILEA :$!\n";
while(<FILEA>){
    if (/(\S+)-([0-9.]+(nb[0-9.]*){0,})/) {
	my $name = $1;
	my $version = $2;
#	print STDERR  sprintf("%04d ", __LINE__). (caller 0)[3]. $name. ' ' . $version . "\n";
	$LISTA{$name} = $version;
	$WHOLE{$name}++
    }
}
close(FILEA);
# ------------------------------------------------------------------------------
open(FILEB, $FILEB) || die "problem opening file: $FILEB :$!\n";
while(<FILEB>){
    if (/(\S+)-([0-9.]+(nb[0-9.]*){0,})/) {
	my $name = $1;
	my $version = $2;
#	print STDERR  sprintf("%04d ", __LINE__). (caller 0)[3]. $name. ' ' . $version . "\n";
	$LISTB{$name} = $version;
	$WHOLE{$name}++
    }
}
close(FILEB);
# -----------------------------------------------------------------------------

foreach my $i (sort keys %WHOLE) {
    my $a = $LISTA{$i};
    my $b = $LISTB{$i};
    if ($a ne $b) {
	if ($a eq '') { $a = ColorString('red', sprintf("%20s", '('. $i. ')'));}
	if ($b eq '') { $b = ColorString('red', sprintf("%20s", '('. $i. ')'));}
	printf("%-25s\t %20s\t %20s\n", $i, $a, $b);
    }
}
__END__
How-to-use:
使い方:
at HOST B:
   pkg_info > /tmp/hostB

at HOST A: 
   pkg_info > /tmp/hostA
   scp HOST_B:/tmp/hostB /tmp
   perl this_script /tmp/hostA /tmp/hostB  |less -R
Found missing one as emacs-w3m. I've added it and resolved. I recently the work to fix the emacs-w3m-snapshot build problem.

emacs-w3m が欠けていたので、追加したら読めるようになった
最近 emacs-w3m-snapshot が package 出来ないのを直すのに、いろいろ(消したり追加したり)していて 最後に戻すのを忘れていた(必要なことを分っていなかった)




最近の日記
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
以上、4 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)