Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2012 10:04:33 +0200
From:      Michael Ranner <michael@ranner.eu>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        ports@freebsd.org, HU Dong <itechbear@gmail.com>
Subject:   Re: portmaster 3.13.13 real endless loop "Waiting on fetch & checksum..."
Message-ID:  <50261211.3090502@ranner.eu>
In-Reply-To: <5025B03A.5080707@FreeBSD.org>
References:  <50250E97.4000004@ranner.eu> <CAA96eVsYX1TaXkFg4tXV=KXhbc6wE8ZhhfWi8RUzEjKwGCEtfQ@mail.gmail.com> <502523D4.4050200@ranner.eu> <CAA96eVu8vs3cLRxUacW2Qu9K6iBdNbydBrhH4NUO1hqAWo7nfA@mail.gmail.com> <50258D15.8010606@FreeBSD.org> <CAA96eVuVdFGiiZZmryPN=eu0=mnT-VNsdG_j1UsPToNi48ZSfQ@mail.gmail.com> <5025B03A.5080707@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 11.08.12 03:07, schrieb Doug Barton:
> 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

[root@gatekeeper /usr/ports/archivers/unzip]# make checksum
===>  License Info-ZIP accepted by the user

Use INSTALL_AS_INFOUNZIP=yes to install Info Unzip as 
/usr/local/bin/info-unzip

=> unzip60.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch 
http://heanet.dl.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz
unzip60.tar.gz                                100% of 1344 kB  134 kBps 
00m00s
=> SHA256 Checksum OK for unzip60.tar.gz.

> properly. Then remove it again, and run 'portmaster -F'

[root@gatekeeper /var/db/pkg]# portmaster -F unzip-6.0

===>>> Currently installed version: unzip-6.0
===>>> Port directory: /usr/ports/archivers/unzip

===>>> Launching 'make checksum' for archivers/unzip in background
===> No options to configure
===>>> Gathering dependency list for archivers/unzip from ports
===>>> No dependencies for archivers/unzip


===>>> Waiting for 1 distfile fetch to finish
===>>> Waiting for 1 distfile fetch to finish

Its interesting, download seem to work with "-F" and I see "fetch" with ps.

Normally I run portmaster with "-i" or without an argument and I see no 
"fetch" with ps

"portmaster -i unzip-6.0" or "portmaster unzip-6.0" does not fetch.



>
> 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.
I see distfile downloaded with "portmaster -F" but not with portmaster "-i"
>
> Also make sure that whatever directory you use for $TMPDIR (/tmp by
> default) has permissions 1777, and is not mounted with odd options.
[root@gatekeeper ~]# ls -ld /tmp/
drwxrwxrwt  3 root  wheel  512 Aug 11 10:01 /tmp/

/dev/da0s1e on /tmp (ufs, local, soft-updates)

Michael
>
> 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 <dougb@freebsd.org
>> <mailto:dougb@freebsd.org>> 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
>


-- 
Mit freundlichen Grüßen

Ing. Michael Ranner

GSM:  +43 676 4155044
Mail: michael@ranner.eu
WWW:  http://www.azedo.at/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50261211.3090502>