Two questions about upgrade problems with portmaster

Peter Olsson pol at leissner.se
Tue Mar 18 12:38:55 UTC 2008


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 at leissner.se


More information about the freebsd-ports mailing list