NetBSD Problem Report #51468
From www@NetBSD.org Sun Sep 11 15:56:00 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id CBE4B7A26C
for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 Sep 2016 15:56:00 +0000 (UTC)
Message-Id: <20160911155559.A15D97A2A7@mollari.NetBSD.org>
Date: Sun, 11 Sep 2016 15:55:59 +0000 (UTC)
From: hmbright@fastmail.com
Reply-To: hmbright@fastmail.com
To: gnats-bugs@NetBSD.org
Subject: pkgsrc freezes at curl fetch 100% on Darwin 8 x86 qemu kvm
X-Send-Pr-Version: www-1.0
>Number: 51468
>Category: pkg
>Synopsis: pkgsrc freezes at curl fetch 100% on Darwin 8 x86 qemu kvm
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: macos-pkg-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Sep 11 16:00:01 +0000 2016
>Closed-Date: Sat Feb 04 11:37:10 +0000 2017
>Last-Modified: Sat Feb 04 11:37:10 +0000 2017
>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
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: misc-bug-people->macos-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 12 Sep 2016 07:25:37 +0000
Responsible-Changed-Why:
pkgsrc problem on macOS.
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/51468: pkgsrc freezes at curl fetch 100% on Darwin 8 x86
qemu kvm
Date: Sat, 4 Feb 2017 10:51:54 +0000
I'm guessing this is to do with issues with incorrect gzipping
on the server side of ftp.netbsd.org... were they resolved?
I didn't hear of complaints recently.
State-Changed-From-To: open->closed
State-Changed-By: sevan@NetBSD.org
State-Changed-When: Sat, 04 Feb 2017 11:37:10 +0000
State-Changed-Why:
Works on 10.4.11
% ~/pkg/bin/bmake fetch
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /Users/sme/pkg/var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/Users/sme/pkg/sbin/pkg_admin -K /Users/sme/pkg/var/db/pkg fetch-pkg-vulnerabilities'.
=> Fetching wget-1.18.tar.xz
=> Total size: 1922376 bytes
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1877k 100 1877k 0 0 1729k 0 0:00:01 0:00:01 --:--:-- 2034k
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.