make buildworld error - 4.8-STABLE

Carl Morley carlm at webize.com.au
Sun Apr 13 05:17:14 PDT 2003



>-----Original Message-----
>From: Ruslan Ermilov [mailto:ru at 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 at freebsd.org [mailto:owner-freebsd-
>> >stable at 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 at sunbay.com		Sunbay Software AG,
>ru at 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



More information about the freebsd-stable mailing list