Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2018 09:51:31 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Vladimir Zakharov <zakharov.vv@gmail.com>
Cc:        David Wolfskill <david@catwhisker.org>, freebsd-current@freebsd.org
Subject:   Re: buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive
Message-ID:  <cc4466f6-4003-835d-43d6-a96b1b3f622d@FreeBSD.org>
In-Reply-To: <20180213094819.ilc2xcbdnpvwsm7a@vzakharov>
References:  <20180201091030.qmq4boyzvvvqkug6@vzakharov> <2e2d0a5d-b032-894b-b0a8-d2ab9163159c@FreeBSD.org> <20180212145430.r5ygphq3yskm7gxi@vzakharov> <fafe1a89-5c7d-b591-0a97-b61ce191996c@FreeBSD.org> <20180213094819.ilc2xcbdnpvwsm7a@vzakharov>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--vfkbTZaQaKlTGWLQQfHrpweX6TchdEYyq
Content-Type: multipart/mixed; boundary="6wH9PLQCY2G0DephcmkG3xUzbAkN33eKg";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Vladimir Zakharov <zakharov.vv@gmail.com>
Cc: David Wolfskill <david@catwhisker.org>, freebsd-current@freebsd.org
Message-ID: <cc4466f6-4003-835d-43d6-a96b1b3f622d@FreeBSD.org>
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>
 <fafe1a89-5c7d-b591-0a97-b61ce191996c@FreeBSD.org>
 <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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cc4466f6-4003-835d-43d6-a96b1b3f622d>