From owner-freebsd-questions@freebsd.org Mon Jul 9 20:14:44 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5446C102A489 for ; Mon, 9 Jul 2018 20:14:44 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C44818440B for ; Mon, 9 Jul 2018 20:14:43 +0000 (UTC) (envelope-from eduardo.lemosdesa@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id j8-v6so16297080lfb.4 for ; Mon, 09 Jul 2018 13:14:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1jZaPeAnws/v1BgCW+Tsh+F1FZZqqJgEAulqGHcEqIc=; b=BPy4wkQ3br+Tm1FmreV+9RQOdmgV3Ku4bJo4vnwrs/pY/e6KA39iCjq1w2aN7kXC9Z B7FG+tWkAxq+6MoDqHxQE/qpLm3na/9N7QWSQamoLbqJ5MrwU70vO3xkB/br3efiC+kA tLTZ56gRncGQdm7/TfjK0Nbta8nKqJrSPo2PUeg8RFQMHYiUeN9pHlztJj4NnEgWriq7 nhy2Z945uDbJWd0TB9YI/swkjFmGUUPPc0rEcHVI4Td/1wuS9EQ3rKTBGPO+2i8m+OwY v5HDIHPWxtj0p1l7V8D+Cm3LkrmwPqezwIRFumNfCj8qAEIn83Eax+QADNPHeqXlCBMX T8TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=1jZaPeAnws/v1BgCW+Tsh+F1FZZqqJgEAulqGHcEqIc=; b=VMrv/SfhsXQuxwuY6XN90hwnjAK0UwfPTBCh4voZT71LZzJ25FoNqIXBZkd7ErYmDB c37uvWJKLRKFp+96QXrdDRT5amjHJ4wHxWKgkYyyAS4V4HWrawjlllqdXBTCd91hfxWu c/LV4LjypReVKGmhUIC74w8QOWKHaiD2ZG0r7lfL64PnCqc1u2KMQnUYHR/WU3lR87XQ REw2op3tgq75CG4PWFiXRmC+eLAqpw0gOmX1bLbkqYdtFCwBBz+B+RqhHwNc6FEotJ3a YpjBAnH+z6bEas3JggE1O9apep5XXrW9GKBBp+LxS+3yQHJCS/6XnhEW2T+6S61xefUx nlTg== X-Gm-Message-State: APt69E2+26K0uq+UfPS9TeHcirIwIqWNj6FdEAiaOcm/F0IkPu2witNv avVlJ4yz2gvj7MGy/aFG1Vbs6giOfUnLQABArFbr3A== X-Google-Smtp-Source: AAOMgpcnkc4mqI0uq4ZNAEkTjEYKkETlZ2ir1yxDW8GvAKsqo0eBdjc7GHIva4H919+TifFFde6Q8REGgljqfc7Gsho= X-Received: by 2002:a19:c1c4:: with SMTP id r187-v6mr628856lff.90.1531167280813; Mon, 09 Jul 2018 13:14:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Eduardo Lemos de Sa Date: Mon, 9 Jul 2018 17:14:26 -0300 Message-ID: Subject: Re: Upgrade messed up - cannot make buildworld from 11.0-RELEASE To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2018 20:14:44 -0000 Dear Jon On Mon, Jul 9, 2018 at 9:11 AM Jon Theil Nielsen wrote= : > Somehow I messed up an upgrade from 11.1-RELEASE to 11.2-RELEASE. > > I can only boot into an old 11.0 kernel in single user mode. uname -a: > > FreeBSD 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22 06:12:04 > UTC 2017 > > I'm not able to run make buildworld from a 11.1-RELEASE source tree. The > first error was a missing include/__undef_min_max which I had to copy > manyally: > > cp /usr/src/contrib/libc++/include/__undef_min_max /usr/include/c++/v1/ > > Now I'm getting new errors like > > /usr/include/c++/v1/__split_buffer:13:1: error: unknown type name > '_LIBCPP_PUSH_MACROS' > > and > > sr/include/c++/v1/__split_buffer:17:1: error: expected unqualified-id. > > Can anyone suggest a solution? > > Thanks in advance > > Jon Theil Nielsen > -- > Jon Theil Nielsen > > I am sorry to cannot help you: I experienced the same problems you described: I tried to upgrade from 11-Release-p11 to 11.2 doing: svn co svn://svn.FreeBSD.org/base/releng/11.2 /usr/src > & system-11.2.log or svn co svn://svn.FreeBSD.org/base/stable/11 /usr/src > & system-stable.log or svnlite up /usr/src After 3 tries, I could have the system compiled (if I use maje -j 6 directive to compile, I got error: this worked only in a serial 1-proc process) but there was a kernel panic followed of cycling reboot process. I work around removing the whole /usr/src and /usr/obj, recreating them, and fetching 11.1 sources: svnlite up /usr/src I did not need to start in a single-user mode: I just pressed 5 (to load a non-default kernel) and chose old-kernel. Booting using old-kernel (11.1) I could rebuild the userland. After this, I gave up to run 11.2-RELEASE. In time, my uname -a returns: FreeBSD matata 11.1-RELEASE-p11 FreeBSD 11.1-RELEASE-p11 #0 r335864: Mon Jul 2 14:44:51 -03 2018 root@matata:/usr/obj/usr/src/sys/GENERIC amd6= 4 I was thinking that this problem happened only with me, but now I see other people that can have the situition Cheers Eduardo --=20 Eduardo Lemos de Sa Professor Titular Dep. Quimica da Universidade Federal do Paran=C3=A1 fone: +55(41)3361-3300 fax: +55(41)3361-3186