Aryan Karamtoth <[email protected]> wrote on 2025-12-06 at 07:40:59:
> 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.| Please post the output of: grep FreeBSD_version /usr/include/sys/param.h > 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. I'm sure there is. You can also work around it by setting OSVERSION on the command line. As an ElectroBSD user I'm not 100% sure, but on vanilla FreeBSD 14.3 "pkg upgrade" only affects ports so it's probably the case for GhostBSD as well in which case I wouldn't expect it to make a difference here (/usr/include/sys/param.h is part of the base). Fabian
