Re: errors while trying to run make stage for building a port

"Janky Jay, III" <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Hello Aryan,

On 12/5/25 07:10PM, Aryan Karamtoth wrote:
> Hi,
>
> I'm currently working on my second port and I seem to be running into 
> some issues.
>
> My first port was built using GhostBSD 25.02 and it seemed to work 
> just fine when i ran all of the testing and building but that was 2 
> months ago.
>
> Yesterday I was working on my second port and I seem to be running 
> into some issues while running make stage
>
> this is the error that I got.
>
> |(main)> make stage |
>
> |make: "/usr/ports/Mk/bsd.port.mk" line 1163: Unable to determine OS 
> version.  Either define OSVERSION, install /usr/include/sys/param.h or 
> define SRC_BASE.|
>
>
> My GhostBSD runs on FreeBSD Kernel 14.3 RELEASE p4.
>
> Is there a way to fix it? I ran pkg upgrade but it didnt fix anything. 

This kind of sounds like a kernel/userland mismatch? What does 
"freebsd-version -kru" show? Perhaps you just need to get them synced up 
or something?

Regards,
Janky Jay, III
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.