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月03日(水) 旧暦 [n年日記]

#1 [build.sh][NetBSD][macppc] 20031122-UTC + macppc-031129

TNFDATE=20031122-UTC
NANDRA=/e/u/j/nandra
DATE=031129

elapsed: 6:23:47.41:

ttyp2:root@serv 21:18:39/031202(...checkout/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-1
16801.605u 5697.547s 6:23:47.41 97.7% 0+0k 19945+446991io 24518pf+61w
ttyp2:root@serv 3:42:26/031203(...checkout/src)#

kauai.c:144: structure has no member named `cmd_baseioh':

cc -O2 -pipe -Werror -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized -Wno-main -Wno-format-zero-length -msoft-float -ffreestanding -I. -I/export/nandra-tr-031129/checkout/src/sys/arch -I/export/nandra-tr-031129/checkout/src/sys -nostdinc -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Dmacppc -c /export/nandra-tr-031129/checkout/src/sys/arch/macppc/dev/kauai.c
/export/nandra-tr-031129/checkout/src/sys/arch/macppc/dev/kauai.c: In function `kauai_attach': /export/nandra-tr-031129/checkout/src/sys/arch/macppc/dev/kauai.c:144: structure has no member named `cmd_baseioh'
単に組合せが悪いのだろう。これを見ているのは次のところ。
102 struct channel_softc *chp = &sc->wdc_channel;
..
144  if (bus_space_map(chp->cmd_iot, 0, WDC_REG_NPORTS, 0, &chp->cmd_baseioh) ||
145      bus_space_subregion(chp->cmd_iot, chp->cmd_baseioh,
146                 WDC_AUXREG_OFFSET, 1, &chp->ctl_ioh)) {
channel_softc を定義しているのは src/sys/dev/ic/wdcvar.h: の次のところ。
 1 /*      $NetBSD: wdcvar.h,v 1.43 2003/11/02 11:07:46 wiz Exp $  */
   ...
53 struct channel_softc { /* Per channel data */
   ...
これを
/* $NetBSD: wdcvar.h,v 1.44 2003/11/27 23:02:40 fvdl Exp $ */
にすればいいらしい。

BUILD_DONE=1:

ttyp2:root@serv 6:59:24/031203(...checkout/src)# env BUILD_DONE=1 time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-2
===> MACHINE: macppc
===> MACHINE_ARCH: powerpc
===> TOOLDIR path: /export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc
===> DESTDIR path: /export/nandra-tr-031129/checkout/d
===> RELEASEDIR path: /export/nandra-tr-031129/checkout/r
===> Created /export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbmake
===> makewrapper: /export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbmake-macppc
===> Updated /export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbmake-macppc
(cd /export/nandra-tr-031129/checkout/src && /export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbmake NOPOSTINSTALL=1 build)
Build already installed into /export/nandra-tr-031129/checkout/d
(cd /export/nandra-tr-031129/checkout/src/etc && /export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbmake INSTALL_DONE=1 release)
STRIP=/export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/powerpc--netbsd-strip /export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbinstall -N /export/nandra-tr-031129/checkout/src/etc -d -o root -g wheel -m 755 -T base_pkg /export/nandra-tr-031129/checkout/d
/export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbinstall: not found

n*** Failed target: distrib-dirs
*** Failed command: STRIP=/export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/powerpc--netbsd-strip /export/nandra-tr-031129/checkout/src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbinstall -N /export/nandra-tr-031129/checkout/src/etc -d -o root -g wheel -m 755 -T base_pkg /export/nandra-tr-031129/checkout/d
*** Error code 127

Stop.
nbmake: stopped in /export/nandra-tr-031129/checkout/src/etc
src/obj/tooldir.NetBSD-1.6T-powerpc/bin/nbinstall
↓
      ./tooldir.NetBSD-1.6T-powerpc/bin/nbinstall

-T ./tooldir.NetBSD-1.6T-powerpc:

ttyp2:root@serv 7:07:20/031203(...cheCKOUT/src)# env BUILD_DONE=1 time ./build.sh -D $DESTDIR -R $RELEASEDIR -T /export/nandra-tr-031129/checkout/src/tooldir.NetBSD-1.6T-powerpc release > & ../log-4

'WDC_NREG' undeclared here:

/export/nandra-tr-031129/checkout/src/sys/dev/ic/wdcvar.h:63: `WDC_NREG' undeclared here (not in a function)
     63         bus_space_handle_t    cmd_iohs[WDC_NREG];
source changes by fvdl これを全てかな。
Date: Thu Nov 27 23:02:41 UTC 2003
これら 24 files を全て上書きして、

:

src/sys/dev/pci/pdcide.c:56: `PCI_PRODUCT_PROMISE_PDC20246' undeclared here (not in a function)
src/sys/dev/pci/pcidevs 1.595 (2003/11/28 20:04:16 chs)
src/sys/dev/pci/pcidevs.h 1.593 (2003/11/28 20:05:14 chs)
src/sys/dev/pci/pcidevs_data.h 1.591 (2003/11/28 20:05:14 chs)
src/sys/dev/pci/hptide.c 1.7 (2003/11/28 20:08:29 chs)

checkflist:

また patch が当っていないかな。(2,4,5,7)
============  extra files  ===============
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/include/macppc/bat.h
./usr/include/macppc/bus.h
./usr/include/macppc/db_machdep.h
./usr/include/macppc/ipkdb.h
./usr/include/macppc/pio.h
./usr/include/macppc/powerpc.h
./usr/include/powerpc/bat.h
./usr/include/powerpc/byte_swap.h
./usr/include/powerpc/db_machdep.h
./usr/include/powerpc/hid.h
./usr/include/powerpc/ipkdb.h
./usr/include/powerpc/pio.h
=========  end of extra files  ===========


===========  missing files  ==============
Files in flist but missing from DESTDIR.
File wasn't installed ?
------------------------------------------
./usr/include/macppc/apmvar.h
./usr/include/macppc/atomic.h
./usr/include/macppc/intr.h
./usr/include/macppc/pmc.h
./usr/include/powerpc/atomic.h
./usr/include/powerpc/oea
./usr/include/powerpc/oea/bat.h
./usr/include/powerpc/oea/hid.h
./usr/include/powerpc/oea/hid_601.h
./usr/include/powerpc/oea/pmap.h
./usr/include/powerpc/oea/pte.h
./usr/include/powerpc/oea/sr_601.h
./usr/include/powerpc/oea/vmparam.h
./usr/include/powerpc/pmc.h
./usr/share/man/cat8/apm.0
./usr/share/man/cat8/apmd.0
./usr/share/man/man8/apm.8
./usr/share/man/man8/apmd.8
========  end of missing files  ==========
どうも reject されているっぽい。 という訳で patch も作り直して

出来たぁ。久し振り。日付は 20031128:

っていうことにしておこうか。
20031122-UTC + 1128 + macppc-031129 だけれど。
(まだ何も試していない)

#2 [Namazu] pre6 or pre7

こちらのバグに気づき、藤原さんが書かれた最新版(13pre7)の ソースを拝見したのですが、
二つの疑問
  1. pre7 作ったかな
  2. 僕が書いたかな
作ったのは 8/01 に pre6。 僕は書いていない気がする。なので二つとも否。
次を作ればいいのか。



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
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
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)