From owner-freebsd-current@freebsd.org Fri Feb 9 22:47:20 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 BABE4F08AA9 for ; Fri, 9 Feb 2018 22:47:20 +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 63B1B7D93C; Fri, 9 Feb 2018 22:47:20 +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 387E7A681; Fri, 9 Feb 2018 22:47:20 +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 0D6388CDE; Fri, 9 Feb 2018 22:47:19 +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 0B0hrENeCm8P; Fri, 9 Feb 2018 22:47:12 +0000 (UTC) Subject: Re: buildkernel with PORTS_MODULES fails: Variable OBJTOP is recursive DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 6012C8CD7 To: Vladimir Zakharov , freebsd-current@freebsd.org References: <20180201091030.qmq4boyzvvvqkug6@vzakharov> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <2e2d0a5d-b032-894b-b0a8-d2ab9163159c@FreeBSD.org> Date: Fri, 9 Feb 2018 14:47:10 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180201091030.qmq4boyzvvvqkug6@vzakharov> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Fri, 09 Feb 2018 22:47:21 -0000 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. > > # cat /etc/make.conf > MALLOC_PRODUCTION=yes > KERNCONF=GENERIC-NODEBUG GENERIC > #KERNCONF= GENERIC-NODEBUG > CPUTYPE?=native > #PORTS_MODULES = graphics/drm-next-kmod emulators/virtualbox-ose-kmod > PORTS_MODULES = graphics/drm-next-kmod > > DOC_LANG = en_US.ISO8859-1 ru_RU.KOI8-R > > WITH_DEBUG_PORTS = mail/neomutt > > WITH_CCACHE_BUILD=yes > CCACHE_DIR=/home/ccache > > #DEVELOPER=yes > > ... > Building /home/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/kernel.full > --- kernel.full --- > linking kernel.full > ctfmerge -L VERSION -g -o kernel.full ... > text data bss dec hex filename > 22584632 1376209 4748888 28709729 0x1b61361 kernel.full > Building /home/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/kernel.debug > Building /home/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/kernel > --- all --- > ===> Ports module graphics/drm-next-kmod (all) > cd ${PORTSDIR:-/usr/ports}/graphics/drm-next-kmod; env -u CC -u CXX > -u CPP -u MAKESYSPATH MAKEFLAGS="-j 4 -J 15,16 -j 4 -J 15,16 -D > NO_MODULES_OBJ .MAKE.LEVEL.ENV=MAKELEVEL KERNEL=kernel TARGET=amd64 > TARGET_ARCH=amd64" SYSDIR=/usr/src/sys > PATH= > SRC_BASE=/usr/src OSVERSION=1200056 > WRKDIRPREFIX=/home/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG make -B > clean build > ===> Cleaning for drm-next-kmod-g20180117 > ===> License BSD2CLAUSE MIT GPLv2 accepted by the user > ===> drm-next-kmod-g20180117 depends on file: /usr/local/sbin/pkg - found > ===> Fetching all distfiles required by drm-next-kmod-g20180117 for building > ===> Extracting for drm-next-kmod-g20180117 > => SHA256 Checksum OK for FreeBSDDesktop-kms-drm-g20180117-622fdd1_GH0.tar.gz. > ===> Patching for drm-next-kmod-g20180117 > ===> drm-next-kmod-g20180117 depends on file: /usr/local/bin/ccache - found > ===> Configuring for drm-next-kmod-g20180117 > ===> Building for drm-next-kmod-g20180117 > ===> drm (all) > Variable OBJTOP is recursive. For some reason I cannot recreate this issue. -- Regards, Bryan Drewery