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

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

2023年09月22日(金) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgsrc] snmpd

snmpd[12590]: kvm_openfiles: /dev/ksyms: Permission denied
  snmpwalk -On -c COMMUNITY -v 1 imap4.EXAMPLE.COM .1.3.6.1
will return some 2800 lines
 snmpwalk -On -c COMMUNITY -v 1 imap4.EXAMPLE.COM .1.3.6.1.2.1 | grep STRING 
iso.org.dod.intemet.mgmt.mib-2
1   3   6   1       2    1

 snmpwalk -On -c COMMUTITY -v 1 imap4.EXAMPLE.COM .1.3.6.1.2.1 | grep STRING |head -10
.1.3.6.1.2.1.1.1.0 = STRING: NetBSD imap4 9.3 NetBSD 9.3 (GENERIC) #0: 
        Thu Aug  4 15:30:37 UTC 2022  
        mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
.1.3.6.1.2.1.1.4.0 = STRING: Me <me@somewhere.org>
.1.3.6.1.2.1.1.5.0 = STRING: imap4
.1.3.6.1.2.1.1.6.0 = STRING: Right here, right now.
.1.3.6.1.2.1.1.9.1.3.1 = STRING: The SNMP Management Architecture MIB.
.1.3.6.1.2.1.1.9.1.3.2 = STRING: The MIB for Message Processing and Dispatching.
.1.3.6.1.2.1.1.9.1.3.3 = STRING: The management information definitions for the SNMP 
        User-based Security Model.
.1.3.6.1.2.1.1.9.1.3.4 = STRING: The MIB module for SNMPv2 entities
.1.3.6.1.2.1.1.9.1.3.5 = STRING: View-based Access Control Model for SNMP.
.1.3.6.1.2.1.1.9.1.3.6 = STRING: The MIB module for managing TCP implementations
From:














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

#1 [pkgsrc][emacs] elscreen

2011/06/14 の日記
   (.xmodmap)
keycode  94 = KP_Insert
   (.emacs)
(global-set-key [insert] 'elscreen-gf-idutils-gid) 


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

#1 [imap] No continut-req from server (Wanderlust)

  signal(error ("IMAP error: No continut-req from server."))
probably typo on above message, but it may be rather fine to find out speicific point of error:

debug setup:

(setq elmo-imap4-debug t)

code:

CF-SX2-252$ cat -n /usr/pkg/share/emacs/site-lisp/wl/elmo-imap4.el | sed  -n 500,529p
   500     (elmo-imap4-read-untagged
   501      (elmo-network-session-process-internal session))
   502     'continue-req))
   503
   504  (defun elmo-imap4-process-bye (session)
   505    (with-current-buffer (elmo-network-session-buffer session)
   506      (let ((r elmo-imap4-current-response))
   507        (setq elmo-imap4-current-response nil)
   508        (elmo-network-close-session session)
   509        (signal 'elmo-imap4-bye-error
   510                (list (concat (elmo-imap4-response-error-text r))
   511                      "Try Again")))))
   512
   513  (defun elmo-imap4-accept-continue-req (session)
   514    "Returns non-nil if `+' (continue-req) response is arrived in SESSION.
   515  If response is not `+' response, cause an error."
   516    (let (response)
   517      (setq response
   518            (elmo-imap4-read-untagged
   519             (elmo-network-session-process-internal session)))
   520      (or (elmo-imap4-response-continue-req-p response)
   521          (error "IMAP error: %s"
   522                 (or (elmo-imap4-response-error-text response)
   523                     "No continut-req from server.")))))
   524
   525  (defun elmo-imap4-read-ok (session tag)
   526    "Returns non-nil if `OK' response of the command with TAG is arrived
   527  in SESSION. If response is not `OK' response, returns nil."
   528    (elmo-imap4-response-ok-p
   529     (elmo-imap4-read-response session tag)))
*elmo-imap4264* OK arrived
[22:42:12] => ((ok nil) (status ((unseen 0) (recent 0) (messages 39))))
[22:42:12] -> mailbox size adjusted: nil, (nil)
[22:42:12] <-- elmo-imap4265 status {19}
[22:42:12] -> + OK
[22:42:12] =>((continue-req "OK"))
[22:42:12] <-- INBOX.Sent
Messages
[22:42:12] <-- (recent unseen messages)
[22:42:12] -> elmo-imap4265 NO Mailbox does not exist, or must be subscribed to.
*elmo-imap4265* NO arrived
[22:42:12] => ((no (nil "Mailbox does not exist, or must be subscribed to.")) (continue-req "OK"))
[22:42:12] -> mailbox size adjusted: nil, (nil)
[22:42:12] <-- elmo-imap4266 select {19}
[22:42:12] -> * NO Error in IMAP command received by server.
[22:42:12] =>(nil)
[22:42:13] -> + OK
Debugger entered--Lisp error: 
         (file-locked "/home/makoto/.elmo/sendlog" "makoto@CF-SX2-252 (pid 9136)")
  signal(file-locked ("/home/makoto/.elmo/sendlog" "makoto@CF-SX2-252 (pid 9136)"))
  ask-user-about-lock("/home/makoto/.elmo/sendlog" "makoto@CF-SX2-252 (pid 9136)")
  write-region(1 155 "/home/makoto/.elmo/sendlog" t no-msg nil)
  write-region-as-binary(1 155 "/home/makoto/.elmo/sendlog" t no-msg)
  wl-draft-write-sendlog(uncertain smtp "smtp.example.com" ("makoto@example.com") 
        "<yfmled6yzb8.wl-makoto@example.com>")
  wl-draft-send-mail-with-smtp()
  wl-draft-dispatch-message()
  wl-draft-normal-send-func(#<buffer +draft/1057> t)
  wl-draft-send(t)
  wl-draft-send-and-exit()
  funcall-interactively(wl-draft-send-and-exit)
  call-interactively(wl-draft-send-and-exit nil nil)
  command-execute(wl-draft-send-and-exit)


2023年09月14日(木) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgsrc] you-know-you-know-its-me package

h97# cat /bulklog/meta/report.txt
pkgsrc bulk build report
========================

NetBSD 10.99.8/x86_64
Compiler: gcc

Build start: 2023-09-14 07:50
Build end:   2023-09-14 08:16

Full report: ------
Machine readable version:  --------

Total number of packages:        893
  Successfully built:            893
  Failed to build:                 0
  Depending on failed package:     0
  Explicitly broken or masked:     0
  Depending on masked package:     0

Build failures

Package                               Breaks Maintainer
-------------------------------------------------------------------------
Above time is NOT whole thing, retried several time.
And then transferred to URL


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

#1 [NetBSD] chroot and pbulk

download:

images directory under:
-rw-r--r--  1 makoto  wheel   884887151 Sep 10 15:07 NetBSD-10.99.8-amd64-bios-install.img.gz

USB memory or usb Hard disk:

zcat 884887151 Sep 10 15:07 NetBSD-10.99.8-amd64-bios-install.img.gz | \
sudo dd of= /dev/rsd0d bs=2m

sysinst:

copy binaries to /usr/INSTALL:

rsync -avH /mnt/amd64/ to /export/CHROOT-10.99.8/usr/INSTALL/

unpack under CHROOT:

h97@makoto 00:09:47/230911(/export/CHROOT-10.99.8)% \
foreach i (`cd /export/CHROOT-10.99.8/usr/INSTALL/binary/sets; ls *.xz|grep -v kern` )
echo $i; sudo pax -r -z -pe -f /export/CHROOT-10.99.8/usr/INSTALL/binary/sets/$i;
end
base.tar.xz
comp.tar.xz
debug.tar.xz
etc.tar.xz
games.tar.xz
gpufw.tar.xz
man.tar.xz
misc.tar.xz
modules.tar.xz
rescue.tar.xz
tests.tar.xz
text.tar.xz
xbase.tar.xz
xcomp.tar.xz
xdebug.tar.xz
xetc.tar.xz
xfont.tar.xz
xserver.tar.xz
h97@makoto 00:11:23/230911(/export/CHROOT-10.99.8)% 

adjustment on CHROOT:

  •  sudo chroot /export/CHROOT-10.99.8/
     cd /dev
     ./MAKEDEV all
     exit
    
  • /etc/resolv.conf
     cd /export/CHROOT-10.99.8/
     % sudo cp -p /etc/resolv.conf etc
    
  • pbulk account
  • pkgsrc
    /etc/fstab
    /export/pkgsrc  /export/CHROOT-10.99.8/usr/pkgsrc null  rw 
    tmpfs           /export/CHROOT-10.99.8/WRKOBJDIR        tmpfs rw
    
    mkdir /export/CHROOT-10.99.8/usr/pkgsrc
    mkdir /export/CHROOT-10.99.8/WRKOBJDIR
    
    mount -a

bootstrap:

set -E
cd /usr/pkgsrc/bootstrap
./bootstrap --prefix=/usr/pkg_bulk --pkgdbdir=/usr/pkg_bulk/.pkgdbdir

===> bootstrap started: Sun Sep 10 15:29:06 UTC 2023
===> bootstrap ended:   Sun Sep 10 15:31:00 UTC 2023

pbulk:

/usr/pkg_bulk/etc/mk.conf
PACKAGES=               /packages_bulk
SKIP_LICENSE_CHECK=      yes
cd /usr/pkgsrc/pkgtools/pbulk ; 
env PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} bmake package-install

addendum:

# cd ../../local-mef/pbulk-*
# pwd
/usr/pkgsrc/local-mef/pbulk-addendum
# env PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} bmake package-install
env PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} pkg_info -u

setup pbulk.conf:

--- usr/pkg_bulk/etc/pbulk.conf.orig	2023-09-11 07:09:32.872762710 +0900
+++ usr/pkg_bulk/etc/pbulk.conf	2023-09-11 07:53:02.871242484 +0900
@@ -17,7 +17,7 @@
 # On a single-processor, non-distributed build, you may want to say "no"
 # here.
 #
-master_mode=yes
+master_mode=no
 
 master_ip=192.168.75.10
 scan_clients="192.168.75.21 192.168.75.22 192.168.75.23 192.168.75.24"
@@ -29,20 +29,20 @@
 # Some flags for the programs that publish the binary packages and the
 # build report. If you want to disable the publishing at all, see below.
 #
-pkg_rsync_args="-av --delete-excluded -e ssh"
-pkg_rsync_target="pkgsrc@192.168.75.1:/public/packages/current/DragonFly-1.8"
-report_rsync_args="-avz --delete-excluded -e ssh"
-report_rsync_target="pkgsrc@192.168.75.1:/public/reports/current/DragonFly-1.8"
-report_subject_prefix="pkgsrc"
-report_recipients="pkgsrc-bulk@netbsd.org"
+pkg_rsync_args="-av --delete-excluded"
+pkg_rsync_target="/bulk/rsync"
+report_rsync_args="-avz --delete-excluded"
+report_rsync_target="/bulk/report"
+report_subject_prefix="10.99.8"
+report_recipients="makoto@if.t.u-tokyo.ac.jp"
 
 # An archive containing the pkgsrc binary tree after bootstrapping.
 #
-bootstrapkit=/usr/pkgsrc/bootstrap/bootstrap.tar.gz
+bootstrapkit=
 
 # Optionally build a subset of the available packages and their dependencies.
 # The file is a newline separated list of package locations (e.g. lang/perl5).
-#limited_list=/limited_list
+limited_list=/limited-list
 
 # Optionally ignore unresolvable dependencies for a full build (e.g.
 # a build without limited_list set).  Default behavior is to bail out.
@@ -96,7 +96,7 @@
 gzip="/usr/bin/gzip -nf -9"
 # On non-NetBSD, this should usually point at the bmake in ${prefix}, not the
 # make used to build pbulk itself.
-make=${prefix}/bin/bmake
+make=/usr/bin/make
 mail=/usr/bin/mail
 neato=/usr/pkg_bulk/bin/neato
 rsync=/usr/pkg_bulk/bin/rsync

/limited-list:

pkgtools/digest
local-mef/config-set
local-mef/config-server-min
local-mef/config-office
the first trial should be done only with the first line sub pbulk
env  LANG=C   PATH=/usr/pkg_bulk/bin:/usr/pkg_bulk/sbin:${PATH} bulkbuild

















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

#1 [pkgsrc] wip/R strtoi problem (10.99.7)

gcc -I../../src/extra -I. -I../../src/include -I../../src/include
-I/usr/pkg/include -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz
-I/usr/include/krb5 -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic
-O2 -pthread -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz
-I/usr/include/krb5 -c character.c -o character.o

character.c:1754:12: error: conflicting types for 'strtoi'
 1754 | static int strtoi(SEXP s, int base)
      |            ^~~~~
In file included from ../../src/include/Defn.h:907, from character.c:85: /usr/include/inttypes.h:81:10: note: previous declaration of 'strtoi' was here 81 | intmax_t strtoi(const char * __restrict, char ** __restrict, int, | ^~~~~
gmake[3]: *** [../../Makeconf:129: character.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory '/tmp/W/wip/R/work/R-4.3.1/src/main' gmake[2]: *** [Makefile:140: R] Error 2 gmake[2]: Leaving directory '/tmp/W/wip/R/work/R-4.3.1/src/main' gmake[1]: *** [Makefile:28: R] Error 1 gmake[1]: Leaving directory '/tmp/W/wip/R/work/R-4.3.1/src' gmake: *** [Makefile:62: R] Error 1 *** Error code 2 Stop. make[1]: stopped in /export/CHROOT/usr/pkgsrc/wip/R *** Error code 1 Stop. make: stopped in /export/CHROOT/usr/pkgsrc/wip/R stealth014@makoto 21:25:29/230910(..wip/R)% uname -a NetBSD stealth014.s.ki.nu 10.99.7 NetBSD 10.99.7 (GENERIC) #0: Sun Aug 13 04:20:07 UTC 2023 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64

#2 wip/R perl version problem

===> Binary install for perl>=5.38.0<5.39.0
=> Becoming ``root'' to make su-do-bin-install (/usr/pkg/bin/sudo)
ERROR: perl-5.36.1 is already installed - perhaps an older version?
ERROR: If so, you may wish to ``pkg_delete perl-5.36.1'' and install
ERROR: this package again by ``/usr/bin/make bin-install'' to upgrade it properly.
*** Error code 1

Stop.
make: stopped in /export/CHROOT/usr/pkgsrc/lang/perl5
*** Error code 1

Stop.
make[5]: stopped in /export/CHROOT/usr/pkgsrc/lang/perl5
*** Error code 1

Stop.
make[4]: stopped in /export/CHROOT/usr/pkgsrc/misc/p5-Locale-libintl
*** Error code 1

Stop.
make[3]: stopped in /export/CHROOT/usr/pkgsrc/misc/p5-Locale-libintl
*** Error code 1

Stop.
make[2]: stopped in /export/CHROOT/usr/pkgsrc/devel/gtexinfo
*** Error code 1

Stop.
make[1]: stopped in /export/CHROOT/usr/pkgsrc/devel/gtexinfo
*** Error code 1

Stop.
make: stopped in /export/CHROOT/usr/pkgsrc/wip/R
stealth-007@makoto 21:16:02/230910(..wip/R)% uname -a

NetBSD stealth-007 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug 4 15:30:37 UTC
2022
mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC
amd64
stealth-007@makoto 21:17:30/230910(..wip/R)% pkg_info perl
Information for perl-5.36.1:

Comment:
Practical Extraction and Report Language

Required by:
p5-gettext-1.07nb7
help2man-1.49.3
autoconf-2.71nb2
automake-1.16.5nb3

Description:
Perl is a general-purpose programming language originally developed
for text manipulation and now used for a wide range of tasks including
system administration, web development, network programming, GUI
development, and more.  The language is intended to be practical (easy
to use, efficient, complete) rather than beautiful (tiny, elegant,
minimal).  Its major features are that it's easy to use, supports both
procedural and object-oriented (OO) programming, has powerful built-in
support for text processing, and has one of the world's most impressive
collections of third-party modules.

Homepage:
https://www.perl.org/


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

#1 [NetBSD] pbulk on slow (and ancient) host



2023年09月05日(火) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [emacs][elisp] emacs28 migration brought some packages failure

packagefixedremarks
flim-1.14.9nb5xfixed by github version
bbdb2-2.35
removing ?
elib-1.0nb8xfixed (old-style backquote issue)
dinotrace-mode-9.4fnb1xlucid was missing
emacs-jabber-0.8.0nb2xmake-obsolete argument
gnuserv-3.12.7nb5

anthy-elisp-9100hnb6xmsaitoh@ fixed
tamago-tsunagi-5.0.7.1nb1xmake-coding-system issue

anthy-elisp -> invalid-function:

lucid is missing:

Error: Cannot open load file: No such file or directory, lucid

make-coding-system:

@@ -152,8 +170,11 @@
       (write-read-repeat r0))))))
 
 (if (not (coding-system-p 'egg-binary))
-    (make-coding-system 'egg-binary 4 ?W "Coding System for binary data"
-                   (cons ccl-decode-egg-binary ccl-encode-egg-binary)))
+     (define-coding-system 'egg-binary "Coding System for binary data"
+      :mnemonic ?W :coding-type 'ccl :ccl-decoder ccl-decode-egg-binary
+      :ccl-encoder ccl-encode-egg-binary))
+;    (make-coding-system 'egg-binary 4 ?W "Coding System for binary data"
+;                  (cons ccl-decode-egg-binary ccl-encode-egg-binary)))

devel/elib:




最近の日記
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)
以上、8 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)