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

Fabian Keil <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
Aryan Karamtoth <[email protected]> wrote on 2025-12-06 at 13:54:17:
 
> 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 recommendation would be to install the file through what
ever mechanism is used on GhostBSD and keep it updated.

Fabian
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEETzbBfzgWkTZUoehQaRgikYuiNxwFAmkz+i4ACgkQaRgikYui
Nxxf2RAAlsLQC72b0x0ngc5+pwkMorEPyi+Tm+M+NJ3X6mEMizMXQsBX0IBuShZC
LA0p+UaIAZKYhOWZMk6R9OrlUroqGe4IUggEaEXLRvBvFQpQ9LxVTt+Q3yc7tJB/
N34J3G2B9jQhUUThUAvugNriGc5/lEVayuxb5CsudfqqtughVXcMTIgYxtCxedCx
fJKMnLY+8nhHVLSBvzRb1ASp8jC356SyhPEMrVQQszZSfQ8bP8eHawF7P0kkwGu4
sDQ/j4/dPv6iQ4XeE3P2UTIKOa9GfIsi80ES2bbfKVwSeRHRAdWweqBSIHhwT2+i
ZZSaiclO58FIJlcoTlhNkXBXTUi3J41iVkqVbgmk6ANKFNDmilJJS6Jd/m3U4gR/
qBIqTSYueTdT/nUYTje4gZm0sNgww15NHGpGRNXOUzKCL5LdL4dCD7Q+vX/5cm22
MFyU2UzoWOCl8wA9lQxERDruthFgerUa+rnh4lRSFInVDVApYt+f5Z/5ngByrL+5
1DjI8LcJtzBX4TZNwQdMZN7rcyooD+J3139ZcXsoN36NAlM7onq1DlswfFH66xzK
YyBm6v7fqhyMMbJp4+81Hc8vPIAv8O6b6PLQT3XZpyAVgiqLbCLogW/Qt/rK8V4T
4WaEBQxvSbDwwfg8bveqIM762crv1OPV+lI3KNCqWOxSHbNDDOE=
=lG7f
-----END PGP SIGNATURE-----
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.