Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 13:49:38 +0300
From:      Yuri Pankov <yuripv@yuripv.dev>
To:        Michael Schuster <michaelsprivate@gmail.com>
Cc:        freeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: "make" in ports tells me "requires kernel source files in SRC_BASE=/usr/src." despite an up-to-date /usr/src
Message-ID:  <c56ba0b9-06ba-0750-0d53-b6fa194b2bef@yuripv.dev>
In-Reply-To: <CADqw_gKfYmN6jZnOHRFJCPhTFZkFZvNr6VGOXryHDxT1%2BJum-w@mail.gmail.com>
References:  <CADqw_gKG6ovTuN7bZvYy7PCydfCXH4M2fw68YLmLvZhxi-g2xw@mail.gmail.com> <601d6f51-e3e5-a780-332a-95648fe87168@yuripv.dev> <CADqw_gKfYmN6jZnOHRFJCPhTFZkFZvNr6VGOXryHDxT1%2BJum-w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Schuster wrote:
> On Mon, Feb 8, 2021 at 8:01 AM Yuri Pankov <yuripv@yuripv.dev> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c56ba0b9-06ba-0750-0d53-b6fa194b2bef>