Date: Tue, 4 Aug 2015 12:49:34 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: FreeBSD stable <freebsd-stable@freebsd.org> Subject: Upgrading FreeBSD/i386 from stable/9 r286222 to stable/10 r286278 Message-ID: <alpine.BSF.2.20.1508041242390.1401@mail.fig.ol.no>
next in thread | raw e-mail | index | archive | help
Has anyone successfully built stable/10 while running stable/9? I'm subject to PR 194899. Isn't /usr/src/sys/sys considered during make depend, only /usr/include/sys, in that regard? I worked around the capsicum bug by manually copying these files to /usr/include/sys: sys/sys/capsicum.h sys/sys/capability.h sys/sys/caprights.h Afterwards, I replaced /usr/include/sys/capability.h with the one from stable/9. Now make buildworld dies with: ===> lib/libc (obj,depend,all,install) gcc -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libmd -I/usr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -DSYSCALL_COMPAT -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/gen/strtofflags.c -o strtofflags.o /usr/src/lib/libc/gen/strtofflags.c:65: error: 'UF_ARCHIVE' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:67: error: 'UF_HIDDEN' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:75: error: 'UF_OFFLINE' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:78: error: 'UF_READONLY' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:82: error: 'UF_REPARSE' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:84: error: 'UF_SPARSE' undeclared here (not in a function) /usr/src/lib/libc/gen/strtofflags.c:86: error: 'UF_SYSTEM' undeclared here (not in a function) *** Error code 1 Maybe I should consider building a newer stable/9 or an earlier stable/10. Any pointers? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-stable@freebsd.org Tue Aug 4 13:00:17 2015 Return-Path: <owner-freebsd-stable@freebsd.org> Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92A229B21C9 for <freebsd-stable@mailman.ysv.freebsd.org>; Tue, 4 Aug 2015 13:00:17 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from mail.prolet.org (mail.prolet.org [195.24.42.5]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CF8D1931 for <freebsd-stable@freebsd.org>; Tue, 4 Aug 2015 13:00:17 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from amorphis.prolet.org (localhost [127.0.0.1]) by mail.prolet.org (Postfix) with ESMTP id 3D3333380C3D for <freebsd-stable@freebsd.org>; Tue, 4 Aug 2015 15:51:29 +0300 (EEST) X-Virus-Scanned: amavisd-new at mail.prolet.org Received: from mail.prolet.org ([127.0.0.1]) by amorphis.prolet.org (amorphis.prolet.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6pWi_IG1Su5Z for <freebsd-stable@freebsd.org>; Tue, 4 Aug 2015 15:51:23 +0300 (EEST) Received: from [192.168.10.221] (unknown [213.91.150.2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.prolet.org (Postfix) with ESMTPSA id 237283380C38 for <freebsd-stable@freebsd.org>; Tue, 4 Aug 2015 15:51:23 +0300 (EEST) Message-ID: <55C0B54A.3050307@paladin.bulgarpress.com> Date: Tue, 04 Aug 2015 15:51:22 +0300 From: Todor Todorov <todorov@paladin.bulgarpress.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Upgrade SRC built i386 8.4 to 10.1 questions Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 04 Aug 2015 13:00:17 -0000 Hi all, I have doubts after reading info in the internet. Case is as following - starting point source built i386 8.4 FreeBSD needs to be upgraded to 10.1. I've used livecd to see that it boots and supports the hardware in advance. The questions are: 1. can I use freebsd-update to migrate to 10.1 i386 2. can I use freebsd-update to migrate to 10.1 amd64 3. can I use source buildkernel + buildworld to migrate i386 8.4 to amd64 10.1 Thanks, Todor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1508041242390.1401>