On 06-12-2025 10:36, Fabian Keil wrote:
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

This is the output of the command

|ghostbsd ~> grep FreeBSD_version /usr/include/sys/param.h |

|grep: /usr/include/sys/param.h: No such file or directory|




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

--
Regards,

Aryan Karamtoth,
Sponsored Maintainer @Debian


Homepage: https://arklixs.in
Matrix: @SpaciousCoder78:matrix.org
XMPP: [email protected]

GPG Fingerprint: 7A7D 9308 2BD1 9BAF A83B 7E34 FE90 07B8 ED64 0421

Attachment: OpenPGP_0xFE9007B8ED640421.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to