Usually I use
Ok, my /usr/ports directory is a bit dirty. To clean compile failures I then executed
Same result. So go to check if the file/directory exists.
The work directory does not exist, so the only thing I can say is that the
whereis command to check if a program is installed. I want to find if java is installed, there are other methods to check installed programs, but I executed # whereis java. The result was
Code:
java: /usr/ports/archivers/unzip/work/stage/usr/local/share/java
# rm -rf /usr/ports/*/*/work. Now I re-execute the whereis command:
Code:
# whereis java
java: /usr/ports/archivers/unzip/work/stage/usr/local/share/java
Code:
# ls /usr/ports/archivers/unzip
total 16
-rw-r--r-- 1 root wheel - 3.2k 2014.08.15 12:11 Makefile
-rw-r--r-- 1 root wheel - 123B 2014.08.15 12:11 distinfo
drwxr-xr-x 2 root wheel - 512B 2014.08.18 01:11 files
-rw-r--r-- 1 root wheel - 1.0k 2014.01.22 16:44 pkg-descr
whereis result is cached somewhere. In the manual page there is nothing about cached results or flags acting on it, what is wrong?