NetBSD-Bugs archive

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

misc/51468: pkgsrc freezes at curl fetch 100% on Darwin 8 x86 qemu kvm



>Number:         51468
>Category:       misc
>Synopsis:       pkgsrc freezes at curl fetch 100% on Darwin 8 x86 qemu kvm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 11 16:00:01 +0000 2016
>Originator:     don bright
>Release:        pkgsrc pulled 2016 sep 10
>Organization:
>Environment:
Darwin darwin.local 8.0.1 Darwin Kernel Version 8.0.1: Fri Apr 29 12:18:40 PDT 2005; root:xnu-792.obj/RELEASE_I386 x86 i386

>Description:
bootstrap finished successfully. However attempting to build most other packages results in /usr/bin/curl hanging and freezing at 100% and performing no other operations. 



>How-To-Repeat:
Download Darwin 8 x86 iso from https://opensource.apple.com/static/iso/ 

Install to a QEMU VM per these instructions http://althenia.net/notes/darwin

(but use '-enable-kvm' to make it faster if your machine does KVM)

Login as root and get basic pkgsrc tarball

$ curl -O http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.gz


Untar/gz and bootstarp pkgsrc per this

https://www.netbsd.org/docs/pkgsrc/platforms.html#bootstrapping-pkgsrc

$ cd bootstrap ; ./bootstrap

Try to build something simple, like wget

$ cd net/wget ; bmake

It will freeze at the 100% download mark fetching dependency tarballs. 


Running
$ ps auxwww | grep curl

in another login shows the following is the command that is hanging (for example when running bmake under pkg net/wget)

/usr/bin/curl --fail --insecure --location --remote-time -o wget-1.18.tar.xz ftp://ftp.gnu.org/pub/gnu/wget/wget-1.18.tar.xz -O


Thanks

>Fix:
mv /usr/bin/curl /usr/bin/oldcurl

this will cause pkgconfig to use an alternative download method which does not hang




Home | Main Index | Thread Index | Old Index