From owner-freebsd-stable@FreeBSD.ORG Sun Jan 4 20:45:46 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D564BD12 for ; Sun, 4 Jan 2015 20:45:46 +0000 (UTC) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9769264C30 for ; Sun, 4 Jan 2015 20:45:46 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id b16so839812igk.11 for ; Sun, 04 Jan 2015 12:45:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=wdERb/NXwWfhV3jHDL4kQpAzcyRKPRU8FUJKmmNf5/E=; b=J2nown+l/P+Plyzs5LK70HCvmTen0wCRyBFVDrq45eXoBByXd/MY3HbUZkI2BJdvb7 ue4zNLl/OMHLIi64+hak8ZXP/gyKBf/xVaRkkbTEgQ6HCg+LeGOEb92noXbZLS6dHAj5 M4KvMUnjhxmvaisb/6X5e5NeoxEe7l99UDAJCb6MxjCJp3R6BTYeVa/kGdcl9zm847vi mYpp2Erh0kvDhVh2ZMlUYsMtu5vXTzX8j9aKF/GhhJ/ESef5nTw799CZnX2CzxHYywCb NcPJE3PY6NoyE8eawJxrN8y12PBd3VrKVSWBJu7fa14RYpXKHwb9eqwS169jzjdXestx BZkA== MIME-Version: 1.0 X-Received: by 10.50.32.70 with SMTP id g6mr7979195igi.35.1420404345992; Sun, 04 Jan 2015 12:45:45 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.107.52.19 with HTTP; Sun, 4 Jan 2015 12:45:45 -0800 (PST) In-Reply-To: References: Date: Sun, 4 Jan 2015 12:45:45 -0800 X-Google-Sender-Auth: wIH6faRXQPzSYbYE4xv7POIo9UM Message-ID: Subject: Re: Upgrading from stable/8 to stable/9 blocked by file 5.21 (r276416) From: Kevin Oberman To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 20:45:47 -0000 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