pkgsrc-Bugs archive

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

pkg/48888: FETCH_USING=curl not useful for building curl



>Number:         48888
>Category:       pkg
>Synopsis:       FETCH_USING=curl not useful for building curl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 09 21:05:00 +0000 2014
>Originator:     Greg Oster
>Release:        NetBSD 6.1.4
>Organization:
>Environment:
        
        
System: NetBSD mickey 6.1.4 NetBSD 6.1.4 (QUAD) #0: Mon Apr 14 12:36:07 CST 
2014 
oster@quad:/u1/builds/build249/src/obj/amd64/u1/builds/build249/src/sys/arch/amd64/compile/QUAD
 amd64
Architecture: x86_64
Machine: amd64
>Description:

Many packages can't use regular 'ftp' to grab the distribution files,
and so a quick way to get around that problem is to set FETCH_USING=curl in
/etc/mk.conf .  Unfortunately, this is not optimal for actually
building 'curl' from an empty /usr/pkg :

....
=> Checksum SHA1 OK for libidn-1.28.tar.gz
=> Checksum RMD160 OK for libidn-1.28.tar.gz
===> Installing dependencies for libidn-1.28nb1
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb6
=> Tool dependency perl>=5.0: NOT found
=> Verifying reinstall for ../../lang/perl5
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg 
fetch-pkg-vulnerabilities'.
=> Fetching perl-5.20.0.tar.bz2
=> Total size: 13770469 bytes
ftp: unknown option -- -
usage: ftp [-46AadefginpRtVv] [-N netrc] [-o outfile] [-P port] [-q quittime]
           [-r retry] [-s srcaddr] [-T dir,max[,inc]]
           [[user@]host [port]] [host:path[/]] [file:///file]
           [ftp://[user[:pass]@]host[:port]/path[/]]
           [http://[user[:pass]@]host[:port]/path] [...]
       ftp -u URL file [...]
fetch: Unable to fetch expected file perl-5.20.0.tar.bz2
...
fetch: Unable to fetch expected file perl-5.20.0.tar.bz2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/libidn
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/curl


>How-To-Repeat:
        pkg_delete -k \*
        cat "FETCH_USING=curl" >> /etc/mk.conf
        cd /usr/pkgsrc/www/curl

>Fix:
        Please.  

        The "workaround" is to uncomment "FETCH_USING=curl" from
        /etc/mk.conf, and use that until a package is encountered that
        needs to use curl to fetch the files :(  (at which point you
        have to add the line back....)



>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index