On Wed, Oct 23, 2002 at 01:08:58PM -0400, Andrew Gallatin wrote: > > Ruslan, > > Buildworld completed, and as I installed it, I was reminded of a > problem that I *always* have on this machine when I do a > make installworld: > > ===> lib/libncurses > install -C -o root -g wheel -m 444 libncurses.a /usr/lib > install -C -o root -g wheel -m 444 libncurses_p.a /usr/lib > install -s -o root -g wheel -m 444 libncurses.so.5 /usr/lib > ln -fs libncurses.so.5 /usr/lib/libncurses.so > install -C -o root -g wheel -m 444 curses.h term.h termcap.h unctrl.h > /usr/src/ > lib/libncurses/../../contrib/ncurses/include/ncurses_dll.h > /usr/include > /usr/include/ncurses.h -> curses.h > ln -s /usr/src/lib/libncurses/../../contrib/ncurses/man/curs_addstr.3x > curs_adds tr.3 > ln: curs_addstr.3: File exists > *** Error code 1 > > Stop in /usr/src/lib/libncurses. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > > > Do you have any idea what's going on here? I've (previously) gone so > far as to rm -rf /usr/src and do a fresh checkout. That doesn't seem > to help. The only way I can get installworld to complete is to use > make with a -k flag.. > > All fs'es are mounted with noatime, could that have something to do > with it? > The command you're are seeing (ln -s) is supposed to be run at buildworld time. ``make -n all-man'' should produce no output in that directory. If it does, then make(1) thinks something is out-of-date. This means that either buildworld did not make it (but it apparently did), or make(1) is somehow confused thinking that curs_addstr.3 is out-of-date. The latter is usually due to a system time being set incorrectly (either when building or installing), or source files having modification time set to the future, causing them to always be considered "new" by make(1). You could check it by comparing the modtimes of
/usr/src/contrib/ncurses/man/curs_addstr.3x and ${.OBJDIR}/curs_addstr.3 but since the latter is just a symlink to the former, I have no idea what's going on here. It may be a bug in the kernel. Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg44839/pgp00000.pgp
Description: PGP signature