El 12/10/25 a las 9:53, Roland Illig escribió:
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.
Thanks Roland. Yes, the message confuses a bit to the user>
Where is PKG_PATH checked?
netbsd-nuc# make help topic=PKG_PATH No help found for PKG_PATH. netbsd-nuc# make help topic=pkg_path No help found for pkg_path, but it occurs in: ../mk/bsd.pkg.mk ../mk/bsd.utils.mk ../mk/install/bin-install.mk ../wip/mk/linuxbin.pkg.mk Regards.
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