鬼生田です。

結論として、2台とも無事buildworldが通るようになりました。

chmod 444 freebsd.submit.cf

--------------------------------------------------------------
>>> World build completed on Sun Dec 16 03:16:07 JST 2012
--------------------------------------------------------------

次に原因です。
当方リポジトリー管理にctmを利用しておりますが、CTMデルタファイル
src-9 514 と src-9 515の間に問題があるようで、以下の結果となり
ました。

src-9 514 buildworld NG
src-9 516 buildworld OK
src-9 517 buildworld OK

 ctmデルタファイルの更新を確認すべきでした。
お騒がせいたしました。

In <86y5h1v55f.wl%md...@luna.wak2.jp>
 at Fri, 14 Dec 2012 09:39:08 +0900
Re:[ [FreeBSD-users-jp 94075] Re: buildworld fail in FreeBSD 9.0-STABLE ]
 "Dobashi.M"<md...@luna.wak2.jp> wrotes:
md440> At Thu, 13 Dec 2012 19:03:01 +0900,
md440> Koh-ichi Oniuda (鬼生田浩一) wrote:
md440> > /usr/src/bin/expr/expr.y: In function 'main':
md440> > /usr/src/bin/expr/expr.y:291: warning: implicit declaration of 
function 'yyparse'
md440> > /usr/src/bin/expr/expr.y:291: warning: nested extern declaration of 
'yyparse'
md440> > expr.c: At top level:
md440> > expr.c:813: warning: no previous prototype for 'yyparse'
md440> 
md440> 当方で9.1の buildworldが完了した /usr/obj/usr/src/bin/expr を無くして
md440> /usr/src/bin/expr での操作です。
md440> 
md440> # ls -l
md440> total 28
md440> -rw-r--r--  1 root  wheel    137 12月 11 20:48 Makefile
md440> -rw-r--r--  1 root  wheel   9079 12月 11 20:48 expr.1
md440> -rw-r--r--  1 root  wheel  10743 12月 11 20:48 expr.y
md440> 
md440> # make
md440> Warning: Object directory not changed from original /usr/src/bin/expr
md440> yacc  -o expr.c expr.y
md440> cc -O2 -pipe -march=nocona -std=gnu99 -fstack-protector -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
expr.c
md440> cc -O2 -pipe -march=nocona -std=gnu99 -fstack-protector -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign  -o 
expr expr.o 
md440> gzip -cn expr.1 > expr.1.gz
md440> 
md440> # ls -l
md440> total 104
md440> -rw-r--r--  1 root  wheel    137 12月 11 20:48 Makefile
md440> -rwxr-xr-x  1 root  wheel  20390 12月 13 22:32 expr
md440> -rw-r--r--  1 root  wheel   9079 12月 11 20:48 expr.1
md440> -rw-r--r--  1 root  wheel   3781 12月 13 22:32 expr.1.gz
md440> -rw-r--r--  1 root  wheel  27616 12月 13 22:32 expr.c
md440> -rw-r--r--  1 root  wheel  20896 12月 13 22:32 expr.o
md440> -rw-r--r--  1 root  wheel  10743 12月 11 20:48 expr.y
md440> 
md440> となります。
md440> /usr/obj/usr/src/bin/expr で作られるのが以下ですが、それがここで作成さ
md440> れています。
md440> 
md440> # ls -l
md440> total 80
md440> -rw-r--r--  1 root  wheel   1962 12月 11 21:53 .depend
md440> -rwxr-xr-x  1 root  wheel  20390 12月 11 21:56 expr
md440> -rw-r--r--  1 root  wheel   3781 12月 11 21:56 expr.1.gz
md440> -rw-r--r--  1 root  wheel  27963 12月 11 21:53 expr.c
md440> -rw-r--r--  1 root  wheel  20896 12月 11 21:56 expr.o
md440> 
md440> 単体テストの参考にもならないかも知れませんが...
md440> 
md440> ただ、言われている事ですが「buildworldが原因不明の理由で失敗する場合は
md440> /usr/objを消去してみましょう。」そうです。
md440> # cd /usr/obj
md440> # rm -rf *
md440> # chflags -R noschg *
md440> # rm -rf *
md440> 
md440> もしくは当方も今回行いましたが、/usr/srcを新しくしてから svnで
md440> checkoutしました。(これまでは csupを使っていました。)
md440> 
md440> 又、省略せずに手続きを記しても、いいかも知れません。

---
Oniuda

メールによる返信