Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2012 00:49:26 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        HU Dong <itechbear@gmail.com>
Cc:        Michael Ranner <michael@ranner.eu>, ports@freebsd.org
Subject:   Re: portmaster 3.13.13 real endless loop "Waiting on fetch & checksum..."
Message-ID:  <50260E86.50106@FreeBSD.org>
In-Reply-To: <CAA96eVszwxPXCf3_YaFzSBcu1cHL59boR8GPtbDJ9i_ESAnn0w@mail.gmail.com>
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> <CAA96eVszwxPXCf3_YaFzSBcu1cHL59boR8GPtbDJ9i_ESAnn0w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dougb@freebsd.org
> <mailto:dougb@freebsd.org>> 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 <dougb@freebsd.org
>     <mailto:dougb@freebsd.org>
>     > <mailto: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
> 
> 
> 




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