From owner-freebsd-current@freebsd.org Tue Feb 13 09:48:23 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 BB010F104E2 for ; Tue, 13 Feb 2018 09:48:22 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (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 237FF6EFD4; Tue, 13 Feb 2018 09:48:22 +0000 (UTC) (envelope-from zakharov.vv@gmail.com) Received: by mail-lf0-x22f.google.com with SMTP id q194so24253247lfe.13; Tue, 13 Feb 2018 01:48:22 -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=nA1Oo0UEI8JOC6VBllLULx283ZUT+w4YS/5aM9MAI+s=; b=n5DgA/P8zxJxRM87wBpcDLThk1lnVpeQsWcBvBqxtkP7lAz0AHj9OJoPi1+wOfRDyw UTCJXdOCSdVeIkZuPK/O4dXdbYwATb/31Dk57XQidzvvqCprjXMfXH0yOFrl2wyafR1G f7i9zfOKAZ4w1nvj4q4YhjVWuZ4dsk4SGunHOKpcHG6fEF7DWa3uqjQqpE/qqQmptHYd RUurlnGvvA2nU/uQGTQyAu8KUh4sU6UV2wAB31ifj5hMu7v2Pzb3NiPQWsgQDJ3kHrPP pdvq2zYAKtkQCv+X/qVlD7qN6kdyi9fb9/5GDe0KA/wNG3jQF7eySRu3zk0RsxGeMIAc yKWw== 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=nA1Oo0UEI8JOC6VBllLULx283ZUT+w4YS/5aM9MAI+s=; b=UdYmOkNRXoA057g2WsVyA1dAOXemHiOTDYcL8RlZ7fC+jpXhxtBfLxRU+icGzk2Wzq 5WofufjxVXlqj9j4NbUwxQ5gHFfAHd2KSMii/3O47nS1bBV9P42nVpH/t//5eC32kN/z FnVRuZVpSJE5cU1tfFa98EyfdXG0kr5G/RuWree017oSxqs9nr5N7BQZaJvMZdl4bOcA Bf68r3SYfl0d/q/uIWtJy26bDXm/ea38EaOybDiweUVucabcc0qSx8xESXCZ5VjQiv8+ oARdSUsPfUTGtzHnANVhapoxKA5aUzxk2a9XpimsWZzTcX5xZQY44yDWC53zNMPtWkZj MIFg== X-Gm-Message-State: APf1xPCfKz+lVFFwEZpn/vgHJ/DtuBiS8HUjyFDC+QukClTY5ziQV0YN odxlN1kfNR+5xwMigwWKq4b6sFcM X-Google-Smtp-Source: AH8x226WgM0nGrK6UHxOmGrNtw1uKV/Y/7FDAG9Rc7XYmucXxei8/TWcjBMKG5CjNeUKFYx5lQX75Q== X-Received: by 10.25.83.203 with SMTP id h72mr540246lfl.135.1518515300451; Tue, 13 Feb 2018 01:48:20 -0800 (PST) Received: from localhost ([81.19.73.153]) by smtp.gmail.com with ESMTPSA id r68sm1976762lja.8.2018.02.13.01.48.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 01:48:19 -0800 (PST) Date: Tue, 13 Feb 2018 12:48:19 +0300 From: Vladimir Zakharov To: Bryan Drewery Cc: David Wolfskill , freebsd-current@freebsd.org Subject: Re: buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive Message-ID: <20180213094819.ilc2xcbdnpvwsm7a@vzakharov> References: <20180201091030.qmq4boyzvvvqkug6@vzakharov> <2e2d0a5d-b032-894b-b0a8-d2ab9163159c@FreeBSD.org> <20180212145430.r5ygphq3yskm7gxi@vzakharov> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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: Tue, 13 Feb 2018 09:48:23 -0000 On Mon, Feb 12, 2018, Bryan Drewery wrote: > On 2/12/2018 6:54 AM, Vladimir Zakharov wrote: > > Hello, Bryan! > > > > On Fri, Feb 09, 2018, Bryan Drewery wrote: > >> On 2/1/2018 1:10 AM, 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. > >>> ... > >> > >> For some reason I cannot recreate this issue. > > > > It seems, setting WITH_AUTO_OBJ in /etc/src-env.conf causes an error. > > At least, removing it fixes build for me. > > > > Build successful with the following settings: > > # cat /etc/src-env.conf > > WITH_META_MODE= > > #WITH_AUTO_OBJ= > > > > Please try this patch (requires a buildkernel). > > https://people.freebsd.org/~bdrewery/patches/kernel-portsmodules.diff > Fixed partly: | buildkernel | installkernel | r329196 | OK | FAIL(*) | r329169 + patch | OK | OK | r329196 + WITH_AUTO_OBJ | FAIL | | r329169 + WITH_AUTO_OBJ + patch | FAIL | | (*) - same error "Variable OBJTOP is recursive". -- Regards, | "In theory there is no difference between theory Vladimir Zakharov | and practice. In practice there is."- Yogi Berra