Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416)
Kevin Oberman
rkoberman at gmail.com
Sun Jan 4 20:45:47 UTC 2015
On Sun, Jan 4, 2015 at 9:41 AM, Trond Endrestøl <
Trond.Endrestol at 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:
>
>
> ===> lib/libmagic (obj,build-tools)
> cc -O2 -pipe -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H
> -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file/src
> -std=gnu99 -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 at gmail.com
More information about the freebsd-stable
mailing list