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

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

2003年12月31日(水) 旧暦 [n年日記]

#1 [XFree86] 4.3.99 make World

最近こればかり
ttyp0:makoto@celeron  0:42:50/031231(/export/xc-4.3.99.902)> time make World >& log-make-world
2421.937u 518.694s 1:08:03.89 72.0%     0+0k 2056+111983io 1593pf+30w
その場合の終り方:
(WW) TRIDENT(0): remove MTRR 0 - 1000
(WW) Closing with PCVT
(WW) Closing with WSCONS
(WW) KDSETMODE rc(0)
(WW) VT_GETMODE
(WW) VT_SETMODE rc(0)
(WW) Returning
全く同じだなぁ。


2003年12月30日(火) 旧暦 [n年日記]

#1 [XFree86][CF-R1] XF86 4.2.1.1

ttyp0:makoto@lets  9:36:28/031230(/export)> cvs -d anoncvs@anoncvs.xfree86.org:/cvs co -r xf-4_2_1_1 xc
ttyp0:makoto@lets  9:37:29/031230(/export)> mv xc xc-4.2.1.1
ttyp0:makoto@lets  9:37:39/031230(/export)> cd cd xc-4.2.1.1
ttyp0:makoto@lets  9:37:42/031230(/export/xc-4.2.1.1)> time make World >& log-make-world
2391.054u 311.608s 45:44.44 98.4%       0+0k 2509+58055io 6711pf+44w
gcc -o glxinfo -O2 -ansi -Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
-Wnested-externs -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -L/usr/X11R6/li
b -lm -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath-link,../../exports/lib
../../exports/lib/libGLU.so: undefined reference to `operator new[](unsigned)'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__si_class_type
_info'
../../exports/lib/libGLU.so: undefined reference to `operator delete(void*)'
../../exports/lib/libGLU.so: undefined reference to `__gxx_personality_v0'
../../exports/lib/libGLU.so: undefined reference to `__cxa_pure_virtual'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__class_type_in
fo'
../../exports/lib/libGLU.so: undefined reference to `operator delete[](void*)'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_typ
e_info'
../../exports/lib/libGLU.so: undefined reference to `operator new(unsigned)'
*** Error code 1 (continuing)
これでも戻らない。

#2 XFree86 4.2.0

   173  10:43   cvs -d anoncvs@anoncvs.xfree86.org:/cvs co -r xf-4_2_0 xc
   174  11:37   mv xc xc-4.2.0
   175  11:37   cd xc-4.2.0
ttyp0:makoto@lets  11:37:08/031230(/export/xc-4.2.0)> time make World >& log-make-world
2385.627u 309.705s 45:55.68 97.8%       0+0k 2378+57807io 6376pf+30w
これでも戻らない。 (もっとも順に戻りながら 上書き make install をしているのが問題かも 知れないし、再起動もせずに続けて startx をしているのも問題かも ..) .. ここで一応再起動はして見たが同じ。

#3 XFree86 4.1.0

ttyp2:makoto@lets  13:46:07/031230(/export/xc-4.1.0)> time make World > & log-make-world
2489.365u 299.526s 47:32.21 97.7%       0+0k 2166+57064io 6789pf+32w

grep 'Error code' log-make-world
*** Error code 1 (continuing)
*** Error code 1 (continuing)
*** Error code 1 (continuing)
*** Error code 1 (continuing)
*** Error code 1 (continuing)
今回は出来ていない。/usr/libexec/cpp: not found
ln -s /usr/bin/cpp /usr/libexec
make
../../exports/lib/libGLU.so: undefined reference to `operator new(unsigned)' *** Error code 1 何とか出来たような気が。
Symbol  from module /usr/X11R6/lib/modules/fonts/libbitmap.a is unresolved!

Fatal server error:
Caught signal 11.  Server aborting

しっぽをつかんだような気もする:

違うしっぽだったようだ。X 前と X 後で NetBSD の側だけ不一致が多かった ので、 それらを全て退避・復帰するように したら、 その不一致はなくなったが、画面が戻らないことは同じだった。
これって変ではないか ? Xserver/hw/xfree86/os-support/bsd/bsd_init.c:
#define WSCONS_PCVT_COMPAT_CONSOLE_DEV "/dev/ttyE0"
PCVT_SUPPORT PCCONS_SUPPORT WSCONS_SUPPORT USE_I386_IOPL が全て入っている。
-DAVOID_GLYPHBLT
-DBUILDDEBUG
-DCSRG_BASED
-DDPMSExtension
-DFUNCPROTO=15
-DGCCUSESGAS
-DHAS_APERTURE_DRV
-DHAS_MTRR_BUILTIN
-DHAVE_SYSV_IPC
-DLBX
-DNARROWPROTO
-DNDEBUG
-DPANORAMIX
-DPCCONS_SUPPORT
-DPCVT_SUPPORT
-DPIXPRIV
-DPIXPRIV
-DRANDR
-DRENDER
-DSHAPE
-DSINGLEDEPTH
-DSMART_SCHEDULE
-DTOGCUP
-DUSESTDRES
-DUSE_I386_IOPL
-DWSCONS_SUPPORT
-DXAPPGROUP
-DXCSECURITY
-DXF86BIGFONT
-DXF86VIDMODE
-DXFree86LOADER
-DXFree86Server
-DXFreeXDGA
-DXINPUT
-DXKB
-DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN
-DXvExtension
-DXvMCExtension
bsd_init.c
遅くなったので、きょうはおしまい。 うまく行かない patch と、その時の log
(II) Silicon MotionEND register dump --------------------
(WW) Closing with PCVT
(WW) Closing with WSCONS
(WW) KDSETMODE rc(0)
(WW) VT_GETMODE
(WW) VT_SETMODE rc(0)
(WW) Returning

#4 [無題] Prime Number

2003 も 53 も Prime Number だということに気が付く。
ttyp0:root@h  15:22:22/031230(...log/httpd)# /usr/games/factor 2003
2003: 2003
ttyp0:root@h  15:22:27/031230(...log/httpd)# /usr/games/factor 53
53: 53


2003年12月29日(月) 旧暦 [n年日記]

#1 [XFree86][NetBSD] NetBSD/i386 の場合

% time make World >& make-world-log
3703.9u 454.3s 1:11:22.69 97.0% 0+0k 4714+82112io 8121pf+37w
NetBSD  3703.9u   454.3s   1:11:22.69 97.0%       0+0k 4714+82112io 8121pf+37w
FreeBSD 3868.427u 392.101s 1:15:15.45 94.3% 3021+2070k 22225+1394io 4922pf+0w

#2 [Emacs] 21.3.50

make: don't know how to make regex.h. Stop
make: stopped in /export/emacs-21.3.50/src


2003年12月28日() 旧暦 [n年日記]

#1 [FreeBSD][XFree86] 4.3.99.902 make World

ttyp0:makoto@lets 23:03:52/031227(...local-src/xc)> time make World >& world-log
3868.427u 392.101s 1:15:15.45 94.3% 3021+2070k 22225+1394io 4922pf+0w
これは結構、速い気がする。
以前に用意した XF86Config から少し変更するだけで、動いて、しかも console に戻る。
--- XF86Config-netbsd   Tue Nov 11 10:04:12 2003
+++ XF86Config  Sun Dec 28 00:34:38 2003
@@ -79,8 +79,8 @@
 Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
-        Option      "Protocol" "wsmouse"
-        Option      "Device" "/dev/wsmouse"
+        Option      "Protocol" "sysmouse"
+        Option      "Device" "/dev/sysmouse"
         Option      "ZAxisMapping" "4 5"
         Option      "Emulate3Buttons" "yes"
 EndSection
あとは xfverbosity をどうやって設定するか、かな。
Fatal server error:
could not open default font 'fixed'
(run xfs)
xfs notice: ignoring font path element /usr/X11R6/lib/X11/fonts/CID/ (unreadable)

bootstrap-pkgsrc:

README.FreeBSD
  9  10:08   cd /usr/local-src/
 18  10:14   cvs -d :pserver:anoncvs@sup.jp.netbsd.org:/cvs/cvsroot login
(anoncvs)
 19  10:14   cvs -d :pserver:anoncvs@sup.jp.netbsd.org:/cvs/cvsroot co othersrc/bootstrap-pkgsrc
 20  10:19   cd othersrc/bootstrap-pkgsrc/
             su
             ./bootstrap --pkgdbdir=/usr/pkgdb
Please remember to add /usr/pkg/bin to your PATH environment variable.
If necessary, please remember to add /usr/pkg/man to your MANPATH environment variable.
Please remember to set FETCH_CMD in /etc/mk.conf to /usr/pkg/bin/ftp

An example mk.conf file has been created for you in mk.conf.example
with the settings you provided to bootstrap pkgsrc.

You can find extensive documentation of the NetBSD Packages Collection
in /usr/pkgsrc/Packages.txt and packages(7).

Hopefully everything is now complete.
Thank you
===> bootstrap started: Sun Dec 28 10:21:50 JST 2003
===> bootstrap ended:   Sun Dec 28 10:23:57 JST 2003
ttyp0:root@lets  10:23:57/031228(...othersrc/bootstrap-pkgsrc)# 

Suspended (tty output):

毎回こうなる気がするが何かなぁ。
=> Fixing buildlink references in files-to-be-installed.
===> Installing for libungif-4.1.0.1
===> Becoming root@lets to install libungif.
/usr/bin/su 
Suspended (tty output)
ttyp0:makoto@lets  15:35:01/031228(...editors/emacs)> fg
bmake
Password:
....
=> Fixing buildlink references in files-to-be-installed.
===> Installing for png-1.2.5nb2
===> Becoming root@lets to install png.
/usr/bin/su 
Suspended (tty output)
ttyp0:makoto@lets  15:36:49/031228(...editors/emacs)> fg
bmake
Password:
cc -nostdlib `./prefix-args -Xlinker -L/usr/local/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib` -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.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 filemode.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 print.o lread.o abbrev.o syntax.o unexelf.o mocklisp.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o termcap.o tparam.o lastfile.o gmalloc.o vm-limit.o widget.o mktime.o ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11 -lutil -lm -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
/usr/bin/ld: unrecognized option '-Wl,-R/usr/pkg/lib'
/usr/bin/ld: use the --help option for usage information
gmake[1]: *** [temacs] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/editors/emacs/work/emacs-21.3/src'
gmake: *** [src] Error 2
*** Error code 2
Redhat-9 の場合と同じ。

editors/emacs/work/src/emacs-21.3/src/Makefile が違う:

NetBSD/macppc native: GOOD
ALL_LDFLAGS = `echo -R/usr/X11R6/lib  | sed -e 's/-R/-Wl,-rpath,/'`  -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib       
             $(LDFLAGS)
FreeBSD bootstrap-pkgsrc: BAD
LDFLAGS= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
...
ALL_LDFLAGS = -L/usr/local/lib $(LDFLAGS)
work/emacs-21.3/src/s/netbsd.h
work/emacs-21.3/src/s/freebsd.h
work/emacs-21.3/src/m/macppc.h
work/emacs-21.3/src/m/intel386.h
の切替えは、native のままでいいのだろうか ? つまり bootstrap-pkgsrc にしたことで何も変更しなくてもいいのだろうか ? s の方は netbsd.h にする必要がある気がする。? というよりも LD_SWITCH_SYSTEM くらいは、そちらにする ?


2003年12月27日() 旧暦 [n年日記]

#1 [FreeBSD][CF-R1] FreeBSD 5.1-RELEASE

入れて見た。BSD Magazine の CDROM から。
ttyp0:root@ 16:38:53/031227(/home/makoto)# uname -a
FreeBSD 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386

他は全部消してしまった。fdisk:

ttyp0:root@  16:40:18/031227(/home/makoto)# fdisk
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=116280 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=116280 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 20466747 (9993 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
ttyp0:root@  16:40:24/031227(/home/makoto)# 

df -k:

ttyp0:root@  16:38:56/031227(/home/makoto)# df
Filesystem  1K-blocks   Used   Avail Capacity  Mounted on
/dev/ad0s1a    253678  54298  179086    23%    /
devfs               1      1       0   100%    /dev
/dev/ad0s1e    253678      2  233382     0%    /tmp
/dev/ad0s1f   8916442 250662 7952466     3%    /usr
/dev/ad0s1d    253678   1352  232032     1%    /var
amd を動かしたいところだが...
/usr/sbin/amd -l syslog -x error,noinfo,nostats -p -a /amd -F /etc/amd.conf
 unknown amd[548]/fatal: host name is not set
と言われてしまった。確かに機械の名前を設定していない。
hostname, domainname, network i/f の設定方法が分らない。 手動なら出来るが :-)
Dec 27 17:01:49 lets kernel: nfs server hoge:/export: not responding
ttyp0:root@  17:04:57/031227(/home/makoto)# mount hoge:/export /mnt
[udp6] hoge:/export: RPCPROG_NFS: RPC: Unable to send
もしかして IPv6 で mount しようとしているのに、自分の IPv6 i/f を設定していないから ?

/etc/hosts に hostname.domain がないと:

sm-mta[432]: My unqualified hostname (lets) unknown; sleeping for retry
などとなってしまう ^C で先に行く。
関係ないけれど http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html

man rc.conf すれば、全て書いてある:

/etc/rc.d/amd の内容は NetBSD 的に見ると旧形式。 (のような気もするが)

既に二回も panic してくれちゃった。:

/etc/rc.conf so far:

# -- sysinstall generated deltas -- # Sat Dec 27 16:30:32 2003
# Created: Sat Dec 27 16:30:32 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
inetd_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
nfs_client_enable="YES"
nfs_server_enable="YES"
rpcbind_enable="YES"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
ypbind_enable="YES"
#  
#
hostname="lets"
nisdomainname="hoge-foo-bar"
ifconfig_wi0="inet 192.168.1.10 netmask 0xffffff00"
defaultrouter="192.168.1.1"
#
ipv6_enable="YES"
ipv6_network_interfaces="wi0" 
ipv6_default_interface="wi0"
ipv6_gateway_enable="NO"
#
amd_enable=YES
amd_flags="-l syslog -p /amd -F /etc/amd.conf"


2003年12月26日(金) 旧暦 [n年日記]

#1 [bootstrap-pkgsrc][RedHat] /usr/include/md5.h:27: 構文解析エラー

cvs co othersrc/bootstrap-pkgsrc
cd othersrc/bootstrap-pkgsrc
...
su
./bootstrap
plist.c:46 から include されたファイル内:
/usr/include/md5.h:27: 構文解析エラー が "UINT4" の前にあります
/usr/include/md5.h:30: 構文解析エラー が '}' トークンの前にあります
/usr/include/md5.h:38: 構文解析エラー が "PROTO_LIST" の前にあります
/usr/include/md5.h:39: 構文解析エラー が "PROTO_LIST" の前にあります
/usr/include/md5.h:41: 構文解析エラー が "PROTO_LIST" の前にあります
/usr/include/md5.h:43: 構文解析エラー が "PROTO_LIST" の前にあります
*** Error code 1

Stop.
bmake: stopped in /usr/othersrc/bootstrap-pkgsrc/pkg_install/lib
*** Error code 1

disable include md5.h:

pkgsrc-wip-discuss より:
--- include/md5.h-redhat-9	2003-01-26 09:59:31.000000000 +0900
+++ include/md5.h	2003-12-26 08:06:22.000000000 +0900
@@ -21,7 +21,7 @@
 These notices must be retained in any copies of any part of this
 documentation and/or software.
  */
-
+#if 0
 /* MD5 context. */
 typedef struct {
   UINT4 state[4];                                   /* state (ABCD) */
@@ -41,3 +41,4 @@
 void _sasl_MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *));
 
 void hmac_md5 PROTO_LIST ((unsigned char *, int, unsigned char *, int, caddr_t));
+#endif
./cleanup && ./bootstrap
===> Installing packages(7) man page
===> running: /bin/sh ./install-sh -c -m 444 packages.cat7 /usr/pkg/man/cat7/packages.0
Please remember to add /usr/pkg/bin to your PATH environment variable.
If necessary, please remember to add /usr/pkg/man to your MANPATH environment variable.
Please remember to set FETCH_CMD in /etc/mk.conf to /usr/pkg/bin/ftp

An example mk.conf file has been created for you in mk.conf.example
with the settings you provided to bootstrap pkgsrc.

You can find extensive documentation of the NetBSD Packages Collection
in /usr/pkgsrc/Packages.txt and packages(7).

Hopefully everything is now complete.
Thank you
===> bootstrap started: 2003年 12月 26日 金曜日 08:06:56 JST
===> bootstrap ended:   2003年 12月 26日 金曜日 08:09:57 JST
[root@redhat bootstrap-pkgsrc]# 
cp /usr/othersrc/bootstrap-pkgsrc/mk.conf.example  /etc/mk.conf
cd /usr/pkgsrc/editors/emacs
bmake

何だかぞくぞくするくらい素適:

NetBSD 以外で NetBSD パッケージコレクション を利用するには、bootstrap-pkgsrc を使う。 それには:
  1. /usr/pkgsrc をもってくる
  2. /usr/othersrc/bootstrap-pkgsrc をもってくる
  3. (su) cd /usr/othersrc/bootstrap-pkgsrc && ./boot-strap
  4. (su) /etc/mk.conf を用意する。例えば: cp /usr/othersrc/bootstrap-pkgsrc/mk.conf.example /etc/mk.conf
  5. 後は /usr/pkgsrc/*/* の必要なところで bmake; bmake install

editors/emacs:

/usr/bin/ld: unrecognized option '-Wl,-R/usr/pkg/lib'
/usr/bin/ld: use the --help option for usage information
collect2: ld はステータス 1 で終了しました
make[1]: *** [temacs] エラー 1
make[1]: 出ます ディレクトリ `/usr/pkgsrc/editors/emacs/work/emacs-21.3/src'
make: *** [src] エラー 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/editors/emacs
*** Error code 1


2003年12月25日(木) 旧暦 [n年日記]

#1 [pkgsrc][TeX] dvi2tty で行が重なってしまう

(converters/ja-dvi2tty)
単純な再現事例を用意しないことには先に進まないかな。
とい
うことで

問題のない方:

00000180  e2 84 81 24 48 93 81 24  24 8e a1 8d 91 23 00 00  |...$H..$$....#..|
                   と          い                 ========
00000190  81 24 26 95 ce 80 81 24  33 93 81 24 48 93 81 24  |.$&....$3..$H..$|
             う             こ              と

問題のある方:

00097860  e8 85 81 24 48 93 81 24  24 8e a1 8d 91 dd db 52  |...$H..$$......R|
                   と          い                 ========
00097870  81 24 26 95 cf ca 81 24  33 93 81 24 48 93 81 24  |.$&....$3..$H..$|
             う             こ              と  
8e  136  PUT4
a1  161  Y0      move down by |y|
8d  135  PUT3
91  145  RIGHT3  後の 3 bytes 分移動 ?
dd  221  
db  219  
52
どうも、そういう問題ではなくて、dvi2tty 用に作った macros がおかしいということ らしい(自分の所為)。でも vfxdvi で見ると、特におかしくない (?)
dvi2tty に disdvi というのが付いている。16 進も表示するように変更して、
000394:  a1 Y0
000395:  8d PUSH
000396:  91 RIGHT3:   2293760
000400:  81 SET2:    9254
やはり Y0 の移動が足りないのかな。
--- dvistuff.c~ Thu Dec 25 13:17:24 2003
+++ dvistuff.c  Thu Dec 25 13:28:07 2003
@@ -38,7 +38,7 @@
 #endif
 
 #define VERSIONID            2 /* dvi version number that pgm handles      */
-#define VERTICALEPSILON 400000L /* crlf when increasing v more than this   */
+#define VERTICALEPSILON 97000L /* crlf when increasing v more than this   */
 
 #define rightmargin     152    /* nr of columns allowed to the right of h=0*/
 #define leftmargin      -50    /* give some room for negative h-coordinate */
これでかなり幸せになる。

#2 [build.sh][NetBSD][macppc] 再度挑戦

ttyp1:root@quick 16:56:54/031225(...checkout/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-1
9679.992u 2922.291s 3:27:15.56 101.3% 0+0k 16505+413771io 19100pf+0w
/export/nandra-20031220b/checkout/src/sys/arch/macppc/macppc/autoconf.c: In function `device_register':
/export/nandra-20031220b/checkout/src/sys/arch/macppc/macppc/autoconf.c:273: error: dereferencing pointer to incomplete type
src/sys/dev/ata/atavar.h を 1.36 に入替え

途中から再開するには::

env TOOLDIR=`pwd`/tooldir.NetBSD-1.6ZG-powerpc BUILD_DONE=1 NETBSDSRCDIR=`pwd` ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-4
しかし ata まわりが混乱しているので、これにて今回は中止。


2003年12月24日(水) 旧暦 [n年日記]

#1 [NetBSD][macppc][build.sh] 20031213 + macppc-20031220

TNFDATE=20031213-UTC
NANDRA=/e/u/j/nandra
DATE=031220

: multiple definition of `memset':

libc_pic.a(bzero.so)(.text+0x8): In function `memset':
: multiple definition of `memset'
libc_pic.a(memset.so)(.text+0x0): first defined here
collect2: ld returned 1 exit status

*** Failed target:  libc.so.12.108
何か間違えたかなぁ。
lib/libc/arch/powerpc以下は一度消してから入直してあるはずだけれど。
src/lib/libc/string/memset.c
lib/libc/arch/powerpc/string/bzero.S が残っている...

softfloat/strlen.S などを消してやり直し:

ttyp0:root@quick 17:44:40/031224(...checkout/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-softfloat-strlen.S
9105.402u 2751.036s 3:14:41.84 101.4% 0+0k 16031+373608io 11363pf+0w

ttyp0:root@quick 20:59:45/031224(...checkout/src)# ls -l /export/nandra-20031220/checkout/d/usr/share/doc/usd/04.csh/csh.a
ls: /export/nandra-20031220/checkout/d/usr/share/doc/usd/04.csh/csh.a: No such file or directory
ttyp0:root@quick 21:07:31/031224(...checkout/src)# ls /export/nandra-20031220/checkout/src/bin/csh/USD.doc
CVS Makefile csh.1 csh.2 csh.3 csh.4 csh.g tabs
(import 時の) 何かの間違い。元のところには csh.a はある。しっかり無視されている。
I src/bin/csh/USD.doc/csh.a
他にも:
I src/contrib/sys/arch/i386/dev/athhal-elf.o
I src/distrib/acorn32/stand/BtNetBSD/!BtNetBSD
I src/usr.bin/vi/docs/USD.doc/vi.ref/ref.so
I src/usr.sbin/bootp/bootpd/Announce.old
 -I \!\* -I CVS
しているのだけれど.. もしかして二つ目だけ有効とか。


2003年12月23日(火) 旧暦 [n年日記]

#1 [gs][font] Can't find (or can't open) font file ... Ryumin-Light-H.

ttyp1:makoto@quick 13:51:13/031223(~...latex/businesscard)> gs hoge.ps
GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Can't find (or can't open) font file /usr/pkg/share/ghostscript/Resource/Font/Ryumin-Light-H.
Can't find (or can't open) font file Ryumin-Light-H.
Substituting font Courier for Ryumin-Light-H.
Loading NimbusMonL-Regu font from /usr/pkg/share/ghostscript/fonts/n022003l.pfb... 1979360 630268 1702912 405484 0 done.
Can't find (or can't open) font file /usr/pkg/share/ghostscript/Resource/Font/Ryumin-Light-H.
Can't find (or can't open) font file Ryumin-Light-H.
Substituting font Courier for Ryumin-Light-H.
>>showpage, press <return> to continue<<


2003年12月22日(月) 旧暦 [n年日記]

#1 [NetBSD][macppc][build.sh] 卓から login 出来ない(解決) -- constty

/etc/ttys
#
#console        "/usr/libexec/getty std.57600"  vt100   on secure
#ttyE0  "/usr/libexec/getty std.9600"   vt100   on secure
tty00   "/usr/libexec/getty std.57600"  vt100   on secure
constty "/usr/libexec/getty std.9600"   vt100   on secure
constty に変っている。console と ttyE0 を消すことで login 出来るようになった。
NetBSD quick.ki.nu 1.6ZG NetBSD 1.6ZG (GENERIC) #1:
Thu Dec 11 14:55:33 JST 2003
root@serv:/export/nandra-tr-031206/checkout/src/sys/arch/macppc/compile/GENERIC macppc
makesrctars
ttyp0:root@serv 10:25:30/031222(...distrib/sets)# sh ./makesrctars `cd ../../;pwd` ../../../r
Creating src.tgz
Creating gnusrc.tgz
pax: Link name too long for ustar /export/nandra-tr-031206/checkout/src/gnu/usr.bin/binutils/ld/../../../dist/binutils/ld/emultempl/astring.sed
Creating syssrc.tgz
pax: Link name too long for ustar /export/nandra-tr-031206/checkout/src/sys/arch/macppc/stand/ofwboot/../../../../arch/powerpc/include
pax: Link name too long for ustar /export/nandra-tr-031206/checkout/src/sys/arch/macppc/stand/ofwboot/../../../../arch/powerpc/include
Creating sharesrc.tgz
ttyp0:root@serv 10:55:11/031222(...distrib/sets)#

#2 [XFree86][macppc] 4.3.99.902 は一か所直すだけで make World 出来たが

Fatal server error:
netbsdPciInit: can't open /dev/pci0
そうか、そういうのがあった。
xc/programs/Xserver/hw/xfree86/os-support/bus/netbsdPci.c
69 netbsdPciInit()
70 {
71         struct pciio_businfo pci_businfo;
72 
73         devpci = open("/dev/pci0", O_RDWR);
74         if (devpci == -1)
75                 FatalError("netbsdPciInit: can't open /dev/pci0\n");

#3 [無題] 焼肉屋さんでもらったガムで仮詰が取れ

歯医者さんに行く。ただで直してくれた。


2003年12月21日() 旧暦 [n年日記]

#1 [XFree86] typo

Index: XFree86.man
===================================================================
 RCS file: /cvs/xc/programs/Xserver/hw/xfree86/XFree86.man,v
retrieving revision 3.65
diff -u -r3.65 XFree86.man
--- XFree86.man 12 Nov 2003 19:06:46 -0000      3.65
+++ XFree86.man 20 Dec 2003 15:11:04 -0000
@@ -71,7 +71,7 @@
 .PP
 The
 .I XLOCAL
-environment variable should contain a list of one more
+environment variable should contain a list of one or
 more of the following:
 .PP
 .RS 8
ttyp2:makoto@quick  0:08:59/031221(...hw/xfree86)> 
どこに送ればいいのかな。

#2 [CVS] cvsync-0.24.13

You may wish to customize the following files for cvsync-0.24.13:

        /usr/pkg/etc/cvsync.conf
================================================================
===> Registering installation for cvsync-0.24.13
ttyp1:makoto@quick  10:58:23/031221(...devel/cvsync)> 



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

Count.cgi (since 2000/02/05)