From owner-freebsd-current@freebsd.org Tue Feb 13 17:51:34 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 15811F1551F for ; Tue, 13 Feb 2018 17:51:34 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AFF2F86E3A; Tue, 13 Feb 2018 17:51:33 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 7E17D5C5C; Tue, 13 Feb 2018 17:51:33 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id C0CB8F1A; Tue, 13 Feb 2018 17:51:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id 98EprBHWeU3w; Tue, 13 Feb 2018 17:51:30 +0000 (UTC) Subject: Re: buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 3BA9FF15 To: Vladimir Zakharov Cc: David Wolfskill , freebsd-current@freebsd.org References: <20180201091030.qmq4boyzvvvqkug6@vzakharov> <2e2d0a5d-b032-894b-b0a8-d2ab9163159c@FreeBSD.org> <20180212145430.r5ygphq3yskm7gxi@vzakharov> <20180213094819.ilc2xcbdnpvwsm7a@vzakharov> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Tue, 13 Feb 2018 09:51:31 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180213094819.ilc2xcbdnpvwsm7a@vzakharov> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vfkbTZaQaKlTGWLQQfHrpweX6TchdEYyq" 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 17:51:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vfkbTZaQaKlTGWLQQfHrpweX6TchdEYyq Content-Type: multipart/mixed; boundary="6wH9PLQCY2G0DephcmkG3xUzbAkN33eKg"; protected-headers="v1" From: Bryan Drewery To: Vladimir Zakharov Cc: David Wolfskill , freebsd-current@freebsd.org Message-ID: Subject: Re: buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive References: <20180201091030.qmq4boyzvvvqkug6@vzakharov> <2e2d0a5d-b032-894b-b0a8-d2ab9163159c@FreeBSD.org> <20180212145430.r5ygphq3yskm7gxi@vzakharov> <20180213094819.ilc2xcbdnpvwsm7a@vzakharov> In-Reply-To: <20180213094819.ilc2xcbdnpvwsm7a@vzakharov> --6wH9PLQCY2G0DephcmkG3xUzbAkN33eKg Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2/13/2018 1:48 AM, Vladimir Zakharov wrote: > 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 w= ith >>>>> the error "Variable OBJTOP is recursive." when going to build/insta= ll >>>>> 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. Anot= her >>>>> workaround: ignore error and build/install module directly from por= ts. >>>>> ... >>>> >>>> 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=3D >>> #WITH_AUTO_OBJ=3D >>> >> >> Please try this patch (requires a buildkernel). >> >> https://people.freebsd.org/~bdrewery/patches/kernel-portsmodules.diff >> >=20 > Fixed partly: > | buildkernel | installkernel | > r329196 | OK | FAIL(*) | > r329169 + patch | OK | OK | > r329196 + WITH_AUTO_OBJ | FAIL | | > r329169 + WITH_AUTO_OBJ + patch | FAIL | | >=20 > (*) - same error "Variable OBJTOP is recursive". >=20 Thanks, r329232 should fix it. --=20 Regards, Bryan Drewery --6wH9PLQCY2G0DephcmkG3xUzbAkN33eKg-- --vfkbTZaQaKlTGWLQQfHrpweX6TchdEYyq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJagyWjAAoJEDXXcbtuRpfP7w0H/393jfev4PWtHFrToIZVsyye DOLB8dVBDZcOMJmS6bWiJMvbc68MLVVhaHNv3Idcb9xEtBRLXn4MOJRVF0qu97om MgYyF9D1gWdZ6R5V5XSU4xAZxlqrbPLiWCyWrhXxiILCXI+yxuJ3Ao9XESd0XrK+ lTtAxQPhL3xk1I7W6FY8Ks+uLFupInIRTepEky2+uL6E+/We4A5zJKFeJREsNOTr +K+OPfRSzCaBVVxQgmJ31xpWuRVg26OJZSR8ocgqz3s4T/ljNQyKyI8hN0GEVwhx fH9oBHWDblJNKp1scOwTip4acuK2o1SAWm59qSs/52GVnAmTO45Rq5YyoiRN1+8= =FxlI -----END PGP SIGNATURE----- --vfkbTZaQaKlTGWLQQfHrpweX6TchdEYyq--