pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SCO/Xinos OpenServer 7 pkgsr port after bootstrap bmake: no system rules (sys.mk).



On Thursday 2019-11-28 17:59, Roland Illig wrote:

Am 27.11.2019 um 23:32 schrieb Boyd Lynn Gerber:
cd /build//pkgsrc/
$ bmake
bmake: no system rules (sys.mk).

bmake: stopped in /build/pkgsrc

Any ideas on how to get past this problem?

I'm not sure what causes this problem. To further track it down:

1. Are the pkgsrc Makefile snippets installed in /usr/pkg? There should
be around 20 files.

find /usr/pkg -name '*.mk' -print | wc -l

20

2. Which bmake are you using? I'm assuming that it is the one from
/usr/pkg, but I want to be sure.

type bmake

bmake is /usr/pkg/bin/bmake

3. Where does bmake look for the installed files?

bmake -dA 2>&1 | grep 'sys\.mk'

bmake -dA 2>&1 | grep 'sys\.mk'
Expanding "sys.mk"... /usr/pkg/share/mk/sys.mk
Global:MAKEFILE = /usr/pkg/share/mk/sys.mk
Global:.MAKE.MAKEFILES = /usr/pkg/share/mk/sys.mk
Parse_SetInput: file /usr/pkg/share/mk/sys.mk, line 0, fd -1, nextbuf 805b4c0, arg 807495c
Global:.PARSEFILE = sys.mk
MAKEFILE         = /usr/pkg/share/mk/sys.mk
.MAKE.MAKEFILES  = /usr/pkg/share/mk/sys.mk
MAKEFILE         = /usr/pkg/share/mk/sys.mk
.MAKE.MAKEFILES  = /usr/pkg/share/mk/sys.mk

Thanks,

--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047



Home | Main Index | Thread Index | Old Index