Date: Sun, 4 Jan 2015 12:45:45 -0800 From: Kevin Oberman <rkoberman@gmail.com> To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= <Trond.Endrestol@fagskolen.gjovik.no> Cc: FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416) Message-ID: <CAN6yY1veFSCVGYp5xqSG%2BksJQ_5w0US3HDG3M=hqdn1KaKAk5Q@mail.gmail.com> In-Reply-To: <alpine.BSF.2.11.1501041830030.1551@mail.fig.ol.no> References: <alpine.BSF.2.11.1501041830030.1551@mail.fig.ol.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 4, 2015 at 9:41 AM, Trond Endrest=C3=B8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > Hi, > > I'm investigating how to convert my stable/8 systems to stable/9, and > subsequently to stable/10. > > The test subject was installed with 8.4-RELEASE, I then upgraded to > the latest stable/8, r276471, with no contents in /etc/make.conf nor > /etc/src.conf. So far, so good. > > Next, I tried to compile stable/9 r276623 on the stable/8 system, > still no contents in /etc/make.conf nor /etc/src.conf, and nothing > mentioned in /usr/src/UPDATING, only to receive this error message: > > > =3D=3D=3D> lib/libmagic (obj,build-tools) > cc -O2 -pipe -DMAGIC=3D'"/usr/share/misc/magic"' -DHAVE_CONFIG_H > -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file/src > -std=3Dgnu99 -I/usr/obj/usr/src/tmp/legacy/usr/include -DCOMPILE_ONLY > -L/usr/obj/usr/src/tmp/legacy/usr/lib -o mkmagic > /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c > /usr/src/lib/libmagic/../../contrib/file/src/cdf_time.c > /usr/src/lib/libmagic/../../contrib/file/src/encoding.c > /usr/src/lib/libmagic/../../contrib/file/src/funcs.c > /usr/src/lib/libmagic/../../contrib/file/src/magic.c > /usr/src/lib/libmagic/../../contrib/file/src/print.c -lz -legacy > In file included from > /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c:32: > /usr/src/lib/libmagic/../../contrib/file/src/file.h:488:21: error: > xlocale.h: No such file or directory > > [...] > > I reverted the stable/9 tree to r276385 to get rid of file 5.21 > (r276416), and now the system is able to build world and kernel. > > Once I get stable/9 r276385 installed, I might be able to build the > latest stable/9 source tree. > This is very odd. /usr/include/xlocale.h has been in the source tree for over three years. In the buildworld process, header files are moved to /usr/obj very early in the make and used for building world. Do you have /usr/src/include/xlocale.h? If so, it should be found when building file. Do you have /usr/include/xlocale.h? (This file should NOT be used in buildworld, but it is a data point.) Are you running the "official" system update process? Not that there is much there at this point. # cd /usr/src # make buildworld -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1veFSCVGYp5xqSG%2BksJQ_5w0US3HDG3M=hqdn1KaKAk5Q>