Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2003 22:16:34 +1000
From:      "Carl Morley" <carlm@webize.com.au>
Cc:        "'FreeBSD Stable'" <freebsd-stable@freebsd.org>
Subject:   RE: make buildworld error - 4.8-STABLE
Message-ID:  <002301c301b6$86a2aeb0$0a64a8c0@webizepc>
In-Reply-To: <20030413111830.GA67127@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help


>-----Original Message-----
>From: Ruslan Ermilov [mailto:ru@freebsd.org]
>Sent: Sunday, 13 April 2003 21:19
>To: Carl Morley
>Cc: 'Carl Morley'; 'FreeBSD Stable'
>Subject: Re: make buildworld error - 4.8-STABLE
>
>On Sun, Apr 13, 2003 at 08:05:54AM +1000, Carl Morley wrote:
>>
>>
>> >-----Original Message-----
>> >From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-
>> >stable@freebsd.org] On Behalf Of Ruslan Ermilov
>> >Sent: Saturday, 12 April 2003 20:44
>> >To: Carl Morley
>> >Cc: FreeBSD Stable
>> >Subject: Re: make buildworld error - 4.8-STABLE
>> >
>> >On Sat, Apr 12, 2003 at 11:57:53AM +1000, Carl Morley wrote:
>> >> Below is from make buildworld output on FreeBSD cvsup'd to
RELENG_4
>> (so
>> >> 4.8-STABLE) on the following hardware:
>> >>
>> >> Intel SHG2 Hodges Dual Xeon board
>> >> 2 x Intel Xeon 2.4Ghz (512k)
>> >> 2 x 512MB PC-2100 266Mhz ECC DDR
>> >> Seagate 36GB 10K U320 LC SCSI
>> >> Adaptec SCSI Raid 2000s 48MB SDRAM
>> >> Intel Hudson 3 SC5200 base w 450W
>> >>
>> >> Any suggestions?
>> >>
>> >> Cheers,
>> >> Carl.
>> >>
>> >>
>> >> <snip>
>> >> cc -o make_keys -O -pipe  -I. -I/usr/src/lib/libncurses
>> >> -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
>> >> -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall
>> >> -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS
>> >>
>>
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c
>> >> /usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lc
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src/lib/libncurses.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src.
>> >> thumper#
>> >> </snip>
>> >>
>> >Try to figure out why /usr/obj/usr/src/i386/usr/lib/libc.* wasn't
>> >created in the "libraries" stage of buildworld.
>> >
>> Should I go into the /usr/src/lib directory and do a 'make' to try
and
>> pinpoint this?
>>
>No.  I now guess what your problem is.
>
>Either your computer's date is set incorrectly, or some
>/usr/src files have modification date/time set to the
>future, but usually the first.  This fools make(1) to
>think that it should rebuilt sources when it's not supposed
>to.
>
>In this case, even though make(1) has already built the
>"make_keys" build-tool for libncurses, it still tries
>to rebuild it in the "library" stage, when it's not
>supposed to.

Indeed you are correct.... after losing many hairs from the head, I
noticed this morning that the date was out by 3 years...

Thanks for your accurate diagnosis. 

>
>
>Cheers,
>--
>Ruslan Ermilov		Sysadmin and DBA,
>ru@sunbay.com		Sunbay Software AG,
>ru@FreeBSD.org		FreeBSD committer,
>+380.652.512.251	Simferopol, Ukraine
>
>http://www.FreeBSD.org	The Power To Serve
>http://www.oracle.com	Enabling The Information Age



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002301c301b6$86a2aeb0$0a64a8c0>