Date: Sat, 12 Dec 2015 22:51:20 -0800 From: brian <brian@brianwhalen.net> To: freebsd-questions@freebsd.org Subject: Re: Can't Build FreeBSD 10.2 Message-ID: <566D1568.1010809@brianwhalen.net> In-Reply-To: <CACMcHMebCx6sfa60Bv3=FmbuAQLRj=vNSfP1YfKwV1tmFFUHLg@mail.gmail.com> References: <CACMcHMebCx6sfa60Bv3=FmbuAQLRj=vNSfP1YfKwV1tmFFUHLg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I havent seen this problem. Have you considered trying a freebsd-update without the upgrade, to get to the latest 10.0, and then upgrade from there? Brian On 12/12/2015 10:25 PM, Tim Gustafson wrote: > I have a FreeBSD 10.0 box onto which I've downloaded a fresh copy of > 10.2 into /usr/src via subversion, like this: > > rm -R /usr/src /usr/obj > svn checkout http://svn.freebsd.org/base/releng/10.2 /usr/src > > I'm currently on revision 292152. Then I did: > > cd /usr/src > make buildworld > > And I'm getting the following error: > > ========== > > -------------------------------------------------------------- >>>> stage 1.1: legacy release compatibility shims > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh > /usr/src/tools/install.sh" > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/sbin:/bin:/usr/sbin:/usr/bin > WORLDTMP=/usr/obj/usr/src/tmp VERSION="FreeBSD 10.2-RELEASE amd64 > 1002000" MAKEFLAGS="-m /usr/src/tools/build/mk -m /usr/src/share/mk" > COMPILER_TYPE=clang make -f Makefile.inc1 DESTDIR= > BOOTSTRAPPING=1002000 SSP_CFLAGS= -DWITHOUT_HTML -DWITHOUT_INFO > -DNO_LINT -DWITHOUT_MAN -DNO_PIC -DNO_PROFILE -DNO_SHARED > _BOOTSTRAP_MAKEINFO=yes -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF > -DEARLY_BUILD -DNO_TESTS legacy > ===> tools/build (obj,includes,depend,all,install) > /usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/build > set -e; cd /usr/src/tools/build; make buildincludes; make installincludes > rm -f .depend > mkdep -f .depend -a > -I/usr/src/tools/build/../../contrib/libc-pwcache > -I/usr/src/tools/build/../../lib/libc/include > -I/usr/obj/usr/src/tmp/legacy/usr/include -std=gnu99 > /usr/src/tools/build/../../contrib/libc-pwcache/pwcache.c > cc -O2 -pipe -I/usr/src/tools/build/../../contrib/libc-pwcache > -I/usr/src/tools/build/../../lib/libc/include -std=gnu99 > -I/usr/obj/usr/src/tmp/legacy/usr/include -c > /usr/src/tools/build/../../contrib/libc-pwcache/pwcache.c -o pwcache.o > In file included from > /usr/src/tools/build/../../contrib/libc-pwcache/pwcache.c:91: > /usr/include/stdlib.h:54:9: error: unknown type name '___wchar_t'; did > you mean '__wchar_t'? > typedef ___wchar_t wchar_t; > ^ > /usr/include/x86/_types.h:145:14: note: '__wchar_t' declared here > typedef int __wchar_t; > ^ > 1 error generated. > *** Error code 1 > > Stop. > make[3]: stopped in /usr/src/tools/build > *** Error code 1 > > Stop. > make[2]: stopped in /usr/src > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src > *** Error code 1 > > Stop. > make: stopped in /usr/src > > ========== > > I tried building the RELENG-10.0 and RELENG-10.1 and am getting the > same behavior on both. What am I doing wrong here? Is something > hosed on my 10.0 system such that there's some library missing or > something? It seems that freebsd-update is also not working. When I > run: > > freebsd-update upgrade -r 10.2 > > it spends a bunch of time downloading stuff, but then it spits out the > following line about a hundred times: > > /usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory > > and then it starts prompting me to delete a whole bunch of stuff that > I know it shouldn't be, like: > > The following file will be removed, as it no longer exists in > FreeBSD 10.2-RELEASE: /boot/device.hints > Does this look reasonable (y/n)? > > If I answer "no" to that question, freebsd-update immediately exits. > > Is my system totally broken or is there some way to save it? >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?566D1568.1010809>