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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Hi Maksim, On Mon, Sep 20, 2004 at 02:00:55PM -0700, Maksim Yevmenkin wrote: > Hackers, > > i'm trying to upgrade couple of sun netra's here and having troubles > with 'make buildworld'. > > netra1# uname -a > FreeBSD netra1 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Tue Feb 24 > 07:47:33 GMT 2004 > root@bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64 > > it always stops at '===> lib/libmagic (all)'. the last few lines are > below. complete buildworld output can be found at > > http://mumu.org/~myevmenk/buildworld.txt > Next time, please take a moment to compress it, OK? ;) > 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/src/lib/libmagic/../../contrib/file/magic.c > /usr/src/lib/libmagic/../../contrib/file/print.c > /usr/obj/usr/src/sparc64/usr/bin/ld: cannot find -lc > *** Error code 1 > > Stop in /usr/src/lib/libmagic. > *** Error code 1 > What you see is that your libmagic's build-tools is rebuilt twice. First here (as expected): : -------------------------------------------------------------- : >>> stage 2.3: build tools : -------------------------------------------------------------- : ===> 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/src/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contrib/file/print.c And then here (where it's not supposed to be built): : -------------------------------------------------------------- : >>> stage 4.2: building libraries : -------------------------------------------------------------- : ===> 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/src/lib/libmagic/../../contrib/file/magic.c /usr/src/lib/libmagic/../../contrib/file/print.c : /usr/obj/usr/src/sparc64/usr/bin/ld: cannot find -lc : *** Error code 1 : : 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, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBT9VwqRfpzJluFF4RAgtsAJ0YTLNSLFebhN0nCNWOXRmGBAY5rQCfUvsp E9R/H2U3QQt8CKFHIT/wLA0= =Fp6q -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040921071704.GF89016>
