pkgsrc-Users archive

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

Bootstrapping pkgsrc for Ubuntu - problem with ftp



I'm trying to get pkgsrc working with Ubuntu Linux (Karmic, x86_64)

Pulling the source via cvs was fine
(http://www.netbsd.org/docs/pkgsrc/platforms.html)

Bootstrap required
$ SH=/bin/bash ./bootstrap --unprivileged

then that went fine. I added $HOME/pkg/bin to PATH.

The problem is now when a package tries to fetch its distfile, as it looks
like it needs a -o option to ftp which my client doesn't have.

------------
$ 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

Stop.
bmake: stopped in /u/home/brian/build/pkgsrc/net/tnftp
*** Error code 1

Stop.
bmake: stopped in /u/home/brian/build/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
bmake: stopped in /u/home/brian/build/pkgsrc/mail/courier-imap
------------

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

Stop.
bmake: stopped in /u/home/brian/build/pkgsrc/net/wget
*** Error code 1

Stop.
bmake: stopped in /u/home/brian/build/pkgsrc/net/wget
*** Error code 1

Stop.
bmake: stopped in /u/home/brian/build/pkgsrc/mail/courier-imap
------------

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

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?

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

Many thanks,

Brian.


Home | Main Index | Thread Index | Old Index