From owner-freebsd-stable Wed Oct 2 13:10:58 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7965437B401 for ; Wed, 2 Oct 2002 13:10:56 -0700 (PDT) Received: from web40501.mail.yahoo.com (web40501.mail.yahoo.com [66.218.78.118]) by mx1.FreeBSD.org (Postfix) with SMTP id 41B7743E65 for ; Wed, 2 Oct 2002 13:10:56 -0700 (PDT) (envelope-from dannypansters@yahoo.com) Message-ID: <20021002201055.29646.qmail@web40501.mail.yahoo.com> Received: from [217.121.1.115] by web40501.mail.yahoo.com via HTTP; Wed, 02 Oct 2002 13:10:55 PDT Date: Wed, 2 Oct 2002 13:10:55 -0700 (PDT) From: Danny Pansters Subject: Termcap weirdness when building world 4.6 (Jul 7) -> 4.7 (Oct 1) To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey guys (gals). Here's something weird. I can solve it probably, but not really explain it fully: I wanted to buildworld on my gateway box, but got stuck at this (typed over from console, formatting may differ a bit): ===> share/termcap gzip -cn /usr/src/share/termcap/termcap.5 > termcap5.gz TERM=dumb TERMCAP=dumb: ex - /usr/src/share/termcap/termcap.src < /usr/src/share/termcap/reorder cap_mkdb termcap cap_mkdb: No such file or directory *** Error code 1 First I just cvsup'ed again and retried. Same thing. I always remove /usr/obj/* before building world. I tried one more time, this time also doing make clean in /usr/src (shouldn't matter but well). Same result. Compared with my desktop which has a Aug 30 world, the only difference is termcap.src. This doesn't seem crucial in any way to me. However I tried some stuff (first line just FYI): root@gateway.home.ricin.net [/usr/src/share/termcap] # uname -a FreeBSD gateway.home.ricin.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jul 6 23:01:58 CEST 2002 root@gateway.home.ricin.net:/usr/obj/usr/src/sys/GATEWAY i386 root@gateway.home.ricin.net [/usr/src/share/termcap] # cap_mkdb foo /usr/bin/cap_mkdb: File name too long. root@gateway.home.ricin.net [/usr/src/share/termcap] # ls -lai /usr/bin/cap_mkdb 24128 l-wSr-x-wT 1 root wheel 5392 Jul 7 00:33 /usr/bin/cap_mkdb -> ?ELF???? root@gateway.home.ricin.net [/usr/src/share/termcap] # strings /usr/bin/cap_mkdb /usr/libexec/elf/strings: /usr/bin/cap_mkdb: File name too long root@gateway.home.ricin.net [/usr/src/share/termcap] # cat /usr/bin/cap_mkdb cat: /usr/bin/cap_mkdb: File name too long Seems to me that something went wrong upon installing world on July 7. Note the weird attributes on the weird symlink. Looks as if the file contents have been accidentally been set as the name of a symlink to instead of the contents of cap_mkdb. The size equates to the size of the (proper) cap_mkdb binary on my desktop. Sure I can copy this one over and I will do that later and try to buildworld again. Would you agree that this is probably just some quirk, perhaps from cvsup'ing inbetween commits at July 7? FYI, I have no reason to assume that the box has been compromised. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message