Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2008 13:38:44 +0100
From:      Peter Olsson <pol@leissner.se>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Two questions about upgrade problems with portmaster
Message-ID:  <20080318123844.GK8717@pol.leissner.se>
In-Reply-To: <47DEFAEF.1030908@FreeBSD.org>
References:  <20080317221843.GQ3145@pol.leissner.se> <47DEFAEF.1030908@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 17, 2008 at 04:12:47PM -0700, Doug Barton wrote:
> Peter Olsson wrote:
>> I just did my first big upgrade with portmaster (version 2.1).
>> Most of the upgrades went well, but I have two problems.
>> 2. For some ports, portmaster seems to get stuck in a loop on
>>    "Waiting on fetch & checksum". Google pointed me to a
>>    portmaster loop back in 2006, but I found nothing recent.
>>    Here is one example, which I let run for more than ten minutes
>>    before hitting ctrl-c. The installed version of tk is tk-8.4.17,2.
>> ===>>> Waiting on fetch & checksum for x11-toolkits/tk84 <<<===
>> ===>  Found saved configuration for tk-8.4.14_4,2
>> => MD5 Checksum OK for tk8.4.18-src.tar.gz.
>> => SHA256 Checksum OK for tk8.4.18-src.tar.gz.
>
> The only way this could happen is if the flag file that portmaster is 
> looking for never got deleted by the child process for some reason (which 
> shouldn't be possible). I've never seen this happen myself, so I'm not even 
> sure what to suggest here. Do you have the TMPDIR environment variable set 
> to something unusual?

TMPDIR doesn't seem to be set at all, I don't have it in "set".
Shell is bash.

Here is /etc/make.conf if that is relevant:
WITHOUT_X11=yes
WITHOUT_GUI=yes
# added by use.perl 2008-01-13 14:50:56
PERL_VER=5.8.8
PERL_VERSION=5.8.8


I tried upgrade again after a reboot, same problem today.
Here is the complete start of the run:

$ portmaster -bd tk-8.4.17,2
===>>> Gathering distinfo list for installed ports

===>>> Currently installed version: tk-8.4.17,2
===>>> Port directory: /usr/ports/x11-toolkits/tk84
===>>> Launching 'make checksum' for x11-toolkits/tk84 in background
Terminated
Terminated
===>>> Gathering dependency list for x11-toolkits/tk84 from ports
===>>> Starting recursive 'make config' check
===>>> Recursive 'make config' check complete for x11-toolkits/tk84

===>>> Starting build for x11-toolkits/tk84 <<<===

===>>> The 'make config' check found no dependencies to update

===>  Cleaning for tk-8.4.18,2

===>>> Waiting on fetch & checksum for x11-toolkits/tk84 <<<===


===>>> Waiting on fetch & checksum for x11-toolkits/tk84 <<<===
===>  Found saved configuration for tk-8.4.14_4,2
=> MD5 Checksum OK for tk8.4.18-src.tar.gz.
=> SHA256 Checksum OK for tk8.4.18-src.tar.gz.


===>>> Waiting on fetch & checksum for x11-toolkits/tk84 <<<===
===>  Found saved configuration for tk-8.4.14_4,2
=> MD5 Checksum OK for tk8.4.18-src.tar.gz.
=> SHA256 Checksum OK for tk8.4.18-src.tar.gz.


===>>> Waiting on fetch & checksum for x11-toolkits/tk84 <<<===
===>  Found saved configuration for tk-8.4.14_4,2
=> MD5 Checksum OK for tk8.4.18-src.tar.gz.
=> SHA256 Checksum OK for tk8.4.18-src.tar.gz.


Here it looped for 15 minutes before I stopped it with ctrl+c.

I also tried portmaster -bdf, which seemed to upgrade all
dependencies ok, but eventually got into the same loop on tk.

-- 
Peter Olsson                    pol@leissner.se



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