From owner-freebsd-ports@FreeBSD.ORG Sat Aug 11 07:49:27 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 93D59106566B for ; Sat, 11 Aug 2012 07:49:27 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 5537614E341; Sat, 11 Aug 2012 07:49:27 +0000 (UTC) Message-ID: <50260E86.50106@FreeBSD.org> Date: Sat, 11 Aug 2012 00:49:26 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: HU Dong References: <50250E97.4000004@ranner.eu> <502523D4.4050200@ranner.eu> <50258D15.8010606@FreeBSD.org> <5025B03A.5080707@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Michael Ranner , ports@freebsd.org Subject: Re: portmaster 3.13.13 real endless loop "Waiting on fetch & checksum..." X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2012 07:49:27 -0000 The 'make checksum' result is useful, thank you. However I need the rest of what I asked for to debug the problem with portmaster. Doug On 08/10/2012 06:23 PM, HU Dong wrote: > #ls -la / | grep tmp > drwxrwxrwt 40 root wheel 6656 Aug 11 09:22 tmp > #rm -fr /usr/ports/distfiles/postgresql/postgresql-9.0.8.tar.bz2 > #make checksum > ===> Found saved configuration for postgresql-client-9.0.8 > => postgresql-9.0.8.tar.bz2 doesn't seem to exist in > /usr/ports/distfiles/postgresql. > => Attempting to fetch > ftp://ftp.se.postgresql.org/pub/databases/relational/postgresql/source/v9.0.8/postgresql-9.0.8.tar.bz2 > postgresql-9.0.8.tar.bz2 100% of 14 MB 118 kBps > 00m00s > => SHA256 Checksum OK for postgresql/postgresql-9.0.8.tar.bz2. > #rm -fr /usr/ports/distfiles/postgresql/postgresql-9.0.8.tar.bz2 > #portmaster -F > > ===>>> Currently installed version: postgresql-client-9.0.8 > ===>>> Port directory: /usr/ports/databases/postgresql90-client > > ===>>> Launching 'make checksum' for databases/postgresql90-client in > background > ===>>> Gathering dependency list for databases/postgresql90-client from > ports > ===>>> Initial dependency check complete for databases/postgresql90-client > > > ===>>> Waiting for 1 distfile fetch to finish > ===>>> Waiting for 1 distfile fetch to finish > ===>>> Waiting for 1 distfile fetch to finish > ===>>> Waiting for 1 distfile fetch to finish > ^C > ===>>> Build/Install for databases/postgresql90-client exiting due to signal > Terminated > Terminated > > B.R. > HU Dong > > On Sat, Aug 11, 2012 at 9:07 AM, Doug Barton > wrote: > > Ok, so do this ... remove the file from /usr/ports/distfiles, then go to > the port directory and type 'make checksum' and see if it works > properly. Then remove it again, and run 'portmaster -F' > > While that's running in one window, keep an eye on /usr/ports/distfiles > and see if the file is being downloaded, and also keep an eye on the log > file in $TMPDIR to see if it is being appended to. > > Also make sure that whatever directory you use for $TMPDIR (/tmp by > default) has permissions 1777, and is not mounted with odd options. > > Doug > > > On 08/10/2012 06:00 PM, HU Dong wrote: > > The mirror is OK. I could download the file from the exact mirror > > manually with fetch command. > > > > B.R. > > HU Dong > > > > On Sat, Aug 11, 2012 at 6:37 AM, Doug Barton > > >> wrote: > > > > On 8/10/2012 8:21 AM, HU Dong wrote: > > > I can simply reproduce this problem by this way: > > > > > > # portmaster -v databases/postgresql90-client > > > > Both of your reports sound like they are hanging on a bad > mirror. Try > > putting the RANDOMIZE_MASTER_SITES= yes in your /etc/make.conf > and see > > if that helps. > > > > Doug > > >