pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Make bin-install: cannot find remote files if BINPKG_SITES is not empty



Hello,

system is Netbsd 6.1.3/Amd64, pkgsrc-current.

In my /etc/mk.conf I have:
DEPENDS_TARGET= bin-install

When installing packages using 'make bin-install', everything works
fine if BINPKG_SITES is left commented. In this case pkgsrc will
correctly fetch files from
ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$${rel}/$${arch}.

If I specify a site like this:

BINPKG_SITES= ftp://nyftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$${rel}/$${arch}

or any other mirror, including the same master site ftp.NetBSD.org,
pkgsrc complains like this:

=> Installing icu>=53.1 from
/usr/pkgsrc/packages/All;ftp://nyftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/6.1/x86_64/All
pkg_add: Can't process
ftp://nyftp.NetBSD.org:21/pub/pkgsrc/packages/NetBSD/6.1/x86_64/All/icu*:
File unavailable (e.g., file not found, no access)
pkg_add: no pkg found for 'icu>=53.1', sorry.
pkg_add: 1 package addition failed

So I wonder if there's a syntax error in my mk.conf or it's pkgsrc
that cannot expand the name correctly.

I tried this several times, cleaning up the local binary packages and
doing a  'make clean && make clean-depends && make bin-install', but I
always get the same error.

Any help appreciated.

-- 
Ottavio


Home | Main Index | Thread Index | Old Index