From owner-freebsd-questions@freebsd.org Mon Feb 8 10:49:42 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E6C452D5CB for ; Mon, 8 Feb 2021 10:49:42 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DZ2pY6VGjz3HZb for ; Mon, 8 Feb 2021 10:49:41 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 55E1D58023B; Mon, 8 Feb 2021 05:49:41 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 08 Feb 2021 05:49:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.dev; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=V YxOkhocFqa6Qy+WyAT+bAxIhsmhTbeCCuNIlAfl29A=; b=AKXkUEGfTa/edSZCo 3DCjVQYaptz4mpdn10AwyPMJG0WpFTaJFJdtEBEm2aT9CNf2eKXx2wwI5BqzCVuf OtcNzJSeEyMtYk+Zp8X3rW7fGsuR5sMJ6NQcCZRH5VoQosnwXV/2vK5mqXAShgxT kzQO9NV0uyObz7bGPhP8aqxf48M1HspzIhXXEwtCYHH0QtdaJLFUXXTi9QYW2zq3 HA9rxD5Ncz1c5vztdd/zutt781BomSwunvpT8DyCDySCtqAc8URgqv77i7PQsOyZ 5KJqW6WpDuucfgvkwitzpHr3iwsuCDFrosF8YAwa6vopcMmzPDQNDQaiQlcqqUtR nm/Kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=VYxOkhocFqa6Qy+WyAT+bAxIhsmhTbeCCuNIlAfl2 9A=; b=te3MLA9uCL++r4PCEOPr1vs3TfOeAgzHVSt5hlO1eZ5c7rJvZ/fkpcR5n a9c+eu+tispM+4L6YKNG5Ivgtyhx8dSZ+YUMzl4JIleXZ6IQqcY91PUZ4ovo8/uv wccYKHsB8ytneCqlGdmuxLq+rc0LjtC161Nk1K5X6tFkn620jo03LzjgXc2a3phN DXeF0ftJOVwng7wSnodHnQAAsNtki8RzO1UL9tvtbMV6IflHrvAhfLW1iTCq4CJx Ko1niDQAVnHQHTzgLiO9UpBAu3beeueaRoxSggV785OM6P7kRcpP+RZNOlCLNAhI MC1iKEsAIKG3wWlv2bP/lsc4nyfJA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheefgddvtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomhepjghurhhiucfrrghnkhhovhcuoeihuhhrihhpvheshihurhhi phhvrdguvghvqeenucggtffrrghtthgvrhhnpeffhedvkeegieejveelvdffgfevueevgf fgjefhleeuueevtedvvddvgfeiteffteenucfkphepledurddvgedtrdduvdegrddufeej necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephihurh hiphhvseihuhhrihhpvhdruggvvh X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 7D898240062; Mon, 8 Feb 2021 05:49:40 -0500 (EST) Subject: Re: "make" in ports tells me "requires kernel source files in SRC_BASE=/usr/src." despite an up-to-date /usr/src To: Michael Schuster Cc: freeBSD Mailing List References: <601d6f51-e3e5-a780-332a-95648fe87168@yuripv.dev> From: Yuri Pankov Message-ID: Date: Mon, 8 Feb 2021 13:49:38 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DZ2pY6VGjz3HZb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yuripv.dev header.s=fm1 header.b=AKXkUEGf; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=te3MLA9u; dmarc=none; spf=pass (mx1.freebsd.org: domain of yuripv@yuripv.dev designates 66.111.4.230 as permitted sender) smtp.mailfrom=yuripv@yuripv.dev X-Spamd-Result: default: False [-2.36 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.230]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yuripv.dev:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.230:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.230:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yuripv.dev:s=fm1,messagingengine.com:s=fm2]; FREEFALL_USER(0.00)[yuripv]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.24)[0.245]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[yuripv.dev]; SPAMHAUS_ZRD(0.00)[66.111.4.230:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2021 10:49:42 -0000 Michael Schuster wrote: > On Mon, Feb 8, 2021 at 8:01 AM Yuri Pankov wrote: > >> Michael Schuster wrote: >>> Hi, >>> >>> again, apologies if this is not the right place to ask this question ... >>> >>> I've done a fair amount of googling, without relevant findings. >>> >>> $Subject says all - both the port I'm trying to build as well as /usr/src >>> are up-to-date (one using "svn up", the other "git pull"), I'm also >> running >>> the kernel that I built from those sources. >>> >>> uname: >>> FreeBSD host 14.0-CURRENT FreeBSD 14.0-CURRENT #12 >>> main-n244657-344f1083e12: Sat Feb 6 12:17:33 CET 2021 >>> root@host:/usr/obj/usr/src/amd64.amd64/sys/GENERIC >>> amd64 >> >> FWIW, I am not seeing the issue. Having said that, the trailing dot >> after /usr/src in that error message looks suspicious, it is not there >> in /usr/ports/Mk/Uses/kmod.mk; was that an exact copy/paste? > > > yes > > here's a longer quote: > ------- begin > ports/graphics/drm-devel-kmod:10:28:22 $ sudo make DESTDIR=/mnt install > clean > ===> Creating some important subdirectories > ===> Starting chrooted make in /mnt... > ===> drm-devel-kmod-5.4.92.g20210128_1 requires kernel source files in > SRC_BASE=/usr/src. > *** Error code 1 > ------- end > > If yes, >> check if you are (incorrectly) setting SRC_BASE somewhere? >> > > not that I know of: > ------- begin > ports/graphics/drm-devel-kmod:10:27:58 $ set | grep SRC > ports/graphics/drm-devel-kmod:10:28:10 $ > ------- end Yep, '.' comes as a part of full message, sorry for the noise.