pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "Please unset PKG_PATH before doing pkgsrc work!" message
Am 11.10.2025 um 11:39 schrieb Ramiro Aceves:
> netbsd-nuc# pwd
> /usr/pkgsrc/ham/xnec2c
>
> netbsd-nuc# make install
> ERROR: This package has set PKG_FAIL_REASON:
> ERROR: Please unset PKG_PATH before doing pkgsrc work!
>
> Does it happen to some packages or all packages?
This happens to all packages. The wording of the message can be
misunderstood easily since "This package has set" may sound like the
package by itself did anything, but in this case, it was the pkgsrc
infrastructure.
> Where is PKG_PATH checked?
To find out, you can run "make help topic=pkg_path". It says that the
word pkg_path occurs in mk/bsd.pkg.mk and mk/bsd.utils.mk, among others.
Roland
Home |
Main Index |
Thread Index |
Old Index