(03-31-2020, 12:20 PM)Idaho Wrote: Hi there, I've set up pksrc by following astr0's tutorial (here) but I'm stuck when it comes to setting up his custom repo, I'm getting the following error when I try to run:
Code:[root@pbpro-manjaro pkgin]# /usr/pkg/bin/bmake install clean clean-depends
I get the following error:
Code:ERROR: This package has set PKG_FAIL_REASON:
ERROR: Please unset PKG_PATH before doing pkgsrc work!
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkgin
I don't understand why I should unset PKG_PATH, also, I'm unsure as to how to proceed to do so Any help would be welcome
Can you post whats in our ENV ?
$ env | grep PKG
I assume you correctly bootstrapped pkgsrc
Unset the PKG_PATH like this
unset PKG_PATH (I think you followed the article even in the examples of how to work normally with binary pkgsrc packages on NetBSD and not
directly with pkgin)
I have fixed the article as it might be a little misleading to people not entirely familiar with pkgsrc (sorry for that)