This is a fresh install on current/amd64, with ports cvs'ed up.
According to ports(7),

     FETCH_PACKAGES
                   If set to ``Yes'', try to use pkg_add(1) to install the
                   missing packages from PKG_PATH.

but that doesn't seem to happen:


# pwd
/usr/ports/editors/libreoffice
# env FLAVOR=no_java FETCH_PACKAGES=Yes make
===>  libreoffice-3.4.0.2v0-no_java depends on: fileutils-* - found
===>  libreoffice-3.4.0.2v0-no_java depends on: findutils-* - not found
===>  Verifying install for findutils-* in misc/findutils
===>  Looking for findutils-4.4.2.tgz in $PKG_PATH - not found
                                                     ^^^^^^^^^

*** Error code 1

Stop in /usr/ports/misc/findutils (line 1665 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

So the build of libreoffice thinks it needs
to build findutils as it is not in $PKG_PATH.

===>  Checking files for findutils-4.4.2
>> Fetch http://ftp.gnu.org/gnu/findutils/findutils-4.4.2.tar.gz
findutils-4.4.2.tar.gz   0% |                           |     0       --:-- 
ETAfindutils-4.4.2.tar.gz   7% |*                          |   160 KB    00:12 
ETAfindutils-4.4.2.tar.gz  14% |***                        |   304 KB    00:11 
ETA^C
http fetch aborted.
>> Fetch http://ftp.funet.fi/pub/gnu/prep/findutils/findutils-4.4.2.tar.gz
findutils-4.4.2.tar.gz   0% |                           |     0       --:-- 
ETA^C
http fetch aborted.
>> Fetch http://mirrors.usc.edu/pub/gnu/findutils/findutils-4.4.2.tar.gz
^C
[...]
*** /usr/ports/distfiles/findutils-4.4.2.tar.gz removed

But:

# pkg_a -i findutils
findutils-4.4.2|***** | 98%
findutils-4.4.2: ok

So, findutils-4.4.2 *is* in $PKG_PATH.

# cat /etc/mk.conf

FETCH_PACKAGES  = Yes
CLEANDEPENDS    = Yes
NOPROFILE       = Yes
PIPE            = -pipe
WARNINGS        = -Wall -pedantic


Why is it that pkg_add sees the required package in $PKG_PATH
(and installs it), yet the port build does not?

        Thank you for your time

                Jan

Reply via email to