When Perforce is installed, it expects an environment variable P4ROOT to be set. According to my gentoo system, this should probably be done in /etc/env.d/50Perforce. A reasonable suggestion could be /p4root or /home/p4root. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Added P4ROOT=/var/lib/perforce to -r1.
Closing old bug.