Date: Tue, 21 Sep 2004 10:17:04 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Maksim Yevmenkin <maksim.yevmenkin@savvis.net> Cc: current@freebsd.org Subject: Re: sparc64 buildworld is broken? Message-ID: <20040921071704.GF89016@ip.net.ua> In-Reply-To: <414F4507.2010609@savvis.net> References: <414F4507.2010609@savvis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--QNDPHrPUIc00TOLW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Maksim, On Mon, Sep 20, 2004 at 02:00:55PM -0700, Maksim Yevmenkin wrote: > Hackers, >=20 > i'm trying to upgrade couple of sun netra's here and having troubles=20 > with 'make buildworld'. >=20 > netra1# uname -a > FreeBSD netra1 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Tue Feb 24=20 > 07:47:33 GMT 2004=20 > root@bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64 >=20 > it always stops at '=3D=3D=3D> lib/libmagic (all)'. the last few lines ar= e=20 > below. complete buildworld output can be found at >=20 > http://mumu.org/~myevmenk/buildworld.txt >=20 Next time, please take a moment to compress it, OK? ;) > cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic=20 > -I/usr/src/lib/libmagic/../../contrib/file -o mkmagic=20 > /usr/src/lib/libmagic/../../contrib/file/apprentice.c=20 > /usr/src/lib/libmagic/../../contrib/file/funcs.c=20 > /usr/src/lib/libmagic/../../contrib/file/magic.c=20 > /usr/src/lib/libmagic/../../contrib/file/print.c > /usr/obj/usr/src/sparc64/usr/bin/ld: cannot find -lc > *** Error code 1 >=20 > Stop in /usr/src/lib/libmagic. > *** Error code 1 >=20 What you see is that your libmagic's build-tools is rebuilt twice. First here (as expected): : -------------------------------------------------------------- : >>> stage 2.3: build tools : -------------------------------------------------------------- : =3D=3D=3D> lib/libmagic (obj,build-tools) : cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib= /libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib= /file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/sr= c/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contr= ib/file/print.c And then here (where it's not supposed to be built): : -------------------------------------------------------------- : >>> stage 4.2: building libraries : -------------------------------------------------------------- : =3D=3D=3D> lib/libmagic (all) : cc -DHAVE_CONFIG_H -DCOMPILE_ONLY -I/usr/src/lib/libmagic -I/usr/src/lib= /libmagic/../../contrib/file -o mkmagic /usr/src/lib/libmagic/../../contrib= /file/apprentice.c /usr/src/lib/libmagic/../../contrib/file/funcs.c /usr/sr= c/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contr= ib/file/print.c : /usr/obj/usr/src/sparc64/usr/bin/ld: cannot find -lc : *** Error code 1 :=20 : Stop in /usr/src/lib/libmagic. : *** Error code 1 Since mkmagic is a build tool, it's normally built in stage 2.3 only, using the host libraries and headers (/lib, /usr/lib and /usr/include). The fact that it attempts to do it again in stage 4.2 tells us something: most likely, your computer's date/time is set incorrectly. If it's set correctly, there're still a couple of possibilities: you touched some files that mkmagic depends on, causing make(1) to think it should rebuild it. Or some /usr/src files have modification date/time set to the future time. Please double-check and let me know. Most likely in this case that your computer's date/time is set incorrectly, as mkmagic does not appear in libmagic/.depend file. And no, this has nothing to do with 64bTT. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --QNDPHrPUIc00TOLW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBT9VwqRfpzJluFF4RAgtsAJ0YTLNSLFebhN0nCNWOXRmGBAY5rQCfUvsp E9R/H2U3QQt8CKFHIT/wLA0= =Fp6q -----END PGP SIGNATURE----- --QNDPHrPUIc00TOLW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040921071704.GF89016>