From owner-freebsd-stable@freebsd.org Tue Aug 4 10:49:41 2015 Return-Path: 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 048769B1FEC for ; Tue, 4 Aug 2015 10:49:41 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F76D1DA for ; Tue, 4 Aug 2015 10:49:40 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id t74AnYh2038208 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 4 Aug 2015 12:49:35 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id t74AnYfF038205 for ; Tue, 4 Aug 2015 12:49:34 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 4 Aug 2015 12:49:34 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD stable Subject: Upgrading FreeBSD/i386 from stable/9 r286222 to stable/10 r286278 Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 10:49:41 -0000 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: 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 ; 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 ; 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 ; 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 ; 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 ; 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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