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





El 12/10/25 a las 19:03, Roland Illig escribió:
Am 12.10.2025 um 16:39 schrieb Ramiro Aceves:
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

Thanks for the confirmation, I reworded the message. It now says "This
package has PKG_FAIL_REASON set" instead.

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:

Oops, this difference in behavior was not intended. I fixed it.

Roland

Many thanks Roland.

Ramiro.




Home | Main Index | Thread Index | Old Index