From owner-freebsd-current@freebsd.org Mon Feb 5 08:05:56 2018 Return-Path: Delivered-To: freebsd-current@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 B5A18ED7B13 for ; Mon, 5 Feb 2018 08:05:56 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 0F30F87B70 for ; Mon, 5 Feb 2018 08:05:56 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: by mail-lf0-x22c.google.com with SMTP id f136so40397862lff.8 for ; Mon, 05 Feb 2018 00:05:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bZtoB1oRDGyBy64qwaxgdyRVJMuHyLcIsoCJbJ2fizA=; b=bFma/Pq9LN6SGqHJWKN16dI1Ydy+ehkchr76KZVQVvWnO3NkJFtl8QdbppbWJII1C5 GllXPkQD3kGgvHb7X+Lt7s7iekbW399RlhaBtOsMFm/aZSiWVqDL2johQs+j+pNlI022 HIgdHpcx4PKRP3cYgatXYmn8x/zkqHioEzSaZNSV1MhCFH7PAHcNeBpqJJzD6bUDUvnG Vbkjue9pHNzdGUqidTOwZ7nv2+A1gNZMWoLIsXqjPSyrA6YKJD135nBocb4OwPCBXiIM rfiAaaYqqfbiB703R7DfzytRA2CB6AW6ubT05IN1PBUqZCiOFdRnLZAYdI1igClNVd6u qWMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bZtoB1oRDGyBy64qwaxgdyRVJMuHyLcIsoCJbJ2fizA=; b=h9EmraYOo12tRxe3/4xlMV29eHKFZ8R8XKdnEttpxTsFLyxwkm37xQz6rCb7nwzfze l39l3w3/88/evrmW5AZzvfItz51MFLUHOOFi4ODSMpDUPK5x2T/MyqNwOkeR4Odj6At/ oOfvMvw1XoVQi/2/WMF8QiETfWnwNRWU2jOhLXOy5VihzJDjyXHaEuREJAHB8yQe+HPs eC6XCwnE/tOJKUqsyvuWmz8xOSe3sgwDP29oeqk7LjgJts4y6+xYY2O8IBZ+bFkbNo9a rboFwP6hsg1Slo2L4XzQoNrSDo3k5hDwVfL56Ihy/tOkwJXL76o/6XqV3opCC4aCWcLe ruCQ== X-Gm-Message-State: AKwxytd3E6n3gC8xVbKosRGnko1jgZKpihFWjPsERcwZ4xmodCVcQc8o u9LgrwKNVV3zUBR3lyY70hbeRD/9 X-Google-Smtp-Source: AH8x225ICULDbAAy1MEsi643xE7/MF6iNlYsd6T+eLpnbGQLBLQclwGdIqao3egJJGJXT68Dttr9zQ== X-Received: by 10.25.234.193 with SMTP id y62mr28805572lfi.53.1517817954178; Mon, 05 Feb 2018 00:05:54 -0800 (PST) Received: from localhost (ppp109-252-75-138.pppoe.spdop.ru. [109.252.75.138]) by smtp.gmail.com with ESMTPSA id f14sm1713626lje.84.2018.02.05.00.05.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 00:05:53 -0800 (PST) Date: Mon, 5 Feb 2018 11:05:52 +0300 From: Vladimir Zakharov To: "O. Hartmann" Cc: freebsd-current@freebsd.org Subject: Re: buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive Message-ID: <20180205080552.3zkghfcc3j3sibbk@vzakharov> References: <20180201091030.qmq4boyzvvvqkug6@vzakharov> <20180202063755.02aa231a@freyja.zeit4.iv.bundesimmobilien.de> <20180203081053.rxyog5iewqrjezp6@vzakharov> <20180203111733.7d64a066@thor.intern.walstatt.dynvpn.de> <20180204133636.763674ee@thor.intern.walstatt.dynvpn.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180204133636.763674ee@thor.intern.walstatt.dynvpn.de> X-Operating-System: FreeBSD 12.0-CURRENT amd64 X-PGP-Key: http://vzakharov.ru/pubkey.asc User-Agent: NeoMutt/20171215 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Feb 2018 08:05:57 -0000 On Sun, Feb 04, 2018, O. Hartmann wrote: > Am Sat, 3 Feb 2018 11:17:06 +0100 > "O. Hartmann" schrieb: > > > Am Sat, 3 Feb 2018 11:10:53 +0300 > > Vladimir Zakharov schrieb: > > > > > Hello, Oliver! > > > > > > On Fri, Feb 02, 2018, O. Hartmann wrote: > > > > On Thu, 1 Feb 2018 12:10:30 +0300 > > > > Vladimir Zakharov wrote: > > > > > > > > > Hello! > > > > > > > > > > For some time (about a week) building and installing kernel fails with > > > > > the error "Variable OBJTOP is recursive." when going to build/install > > > > > module from ports. > > > > > > > > > > Last successful build was at r328426. Next build at r328527 failed and > > > > > still broken at r328649. > > > > > > > > > > Without PORTS_MODULES building and installing kernel succeeds. Another > > > > > workaround: ignore error and build/install module directly from ports. > > > > > > > > > > > > > I have had the very same issue! > > > > > > > > You need to perform a "installworld" first (just comment out the PORTS_MODULES= > > > > parts of /etc/src.conf or /etc/make.conf, buildworld and buildkernel (maybe not > > > > a full buildworld, but I do not know the state of your source tree) and perform > > > > a regular installation of the world. It could be something easier by direkctly > > > > install-only the mk-portions, but recently, some changes to world (LLVM) made > > > > it worth anyway to buildworld. > > > > > > > > As recommended by others earlier on this list according to this subject, this > > > > procedure makes the problem go away. > > > > > > Thanks for your answer. Unfortunately, this didn't help. > > > > > > > You are correct! I made a mistake and had the portions still commented out. I'm very > > sorry. > > > > This remains a bug! > > > > This problem has been introduced with > > svn commit: r328489 - head/sys/conf > > The the appropriate list for reference. > Indeed, reverting r328489 fixes the problem. -- Regards, | "In theory there is no difference between theory Vladimir Zakharov | and practice. In practice there is."- Yogi Berra