pkgsrc-Users archive

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

Re: Bootstrapping pkgsrc for Ubuntu - problem with ftp



On Sat, 13 Mar 2010 21:15:11 +0900, Brian Candler 
<B.Candler%pobox.com@localhost> wrote:

$ bmake package
=> Bootstrap dependency digest>=20010302: NOT found
=> Verifying package-install for ../../pkgtools/digest
=> Bootstrap dependency tnftp-[0-9]*: NOT found
=> Verifying package-install for ../../net/tnftp
===> Checking for vulnerabilities in tnftp-20070806
=> Fetching distfiles
ftp: o: unknown option
fetch: Unable to fetch expected file distfiles
ftp: o: unknown option
fetch: Unable to fetch expected file distfiles
ftp: o: unknown option
fetch: Unable to fetch expected file distfiles
ftp: o: unknown option
fetch: Unable to fetch expected file distfiles
*** Error code 1

This failure should not be happened because tnftp not require distfiles
Could you verify results of following commands (it should be empty)?
% cd net/tnftp
% bmake show-var VARNAME=_ALLFILES

------------

Setting FETCH_USING=wget doesn't help:

------------
$ bmake FETCH_USING=wget package
=> Bootstrap dependency wget-[0-9]*: NOT found
=> Verifying package-install for ../../net/wget
=> Bootstrap dependency wget-[0-9]*: NOT found
=> Verifying package-install for ../../net/wget
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 1

I also tried settings DISTFILES and sticking wget-1.12.tar.gz into that
directory, no help.

Could you try to set FETCH_USING=manual temporary and install net/wget?

On Ubuntu, /etc/alternatives/ftp points to /usr/bin/netkit-ftp

So I'm looking for some ideas:

* Does Ubuntu have an alternative ftp which works with pkgsrc? What package
do I need to install?

I don't know...

* Or can I make pkgsrc use the system wget directly, instead of trying to
compile wget for itself?

I don't test, but following?

FETCH_USING=custom
FETCH_CMD=/usr/bin/wget
FETCH_BEFORE_ARGS=${_FETCH_BEFORE_ARGS.wget}
FETCH_AFTER_ARGS=${_FETCH_ARTER_ARGS.wget}
FETCH_RESUME_ARGS=${_FETCH_RESUME_ARGS.wget}
FETCH_OUTPUT_ARGS=${_FETCH_OUTPUT_ARGS.wget}

--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index