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). Resolved.



On Thursday 2019-11-28 22:37, Roland Illig wrote:
From this log I conclude that sys.mk can be found now. Otherwise it
should look like this:

$ bmake -dA 2>&1 | grep 'sys\.mk'
Expanding "sys.mk"...
bmake: no system rules (sys.mk).

Therefore I wonder whether your very first error message about the "no
system rules" is correct, or at least consistent to the behavior from
your latest mail. In my mind, they just don't fit together.

I also don't think that running "bmake" searches in a different
directory than running "bmake -dA".

Does SCO have some tool like strace, ktrace or ktruss, so that you could
record the syscalls that the failing bmake makes? That should reveal
where it fails to find sys.mk.

I'm clueless right now. Can you perhaps search for yourself, now that
you know how to get the debug output from bmake?

In your first mail you wrote:

I then try to do a bmake as a user and as root

Could it be that you installed installed pkgsrc as root and later ran
bmake as user, and that user doesn't have permissions to access
/usr/pkg? It's just a wild guess.

truss led me to find PAT and LD_LIBRARY_PATH and LIBPATH issue, putting /usr/pkg/... before fixed the problem.


--
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