Two questions about upgrade problems with portmaster

Doug Barton dougb at
Thu Mar 20 20:49:52 UTC 2008

Peter Olsson wrote:

> 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

I would try commenting these two out and see what happens.

> # added by use.perl 2008-01-13 14:50:56
> PERL_VER=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

Ok, that makes me very suspicious (as in, it shouldn't happen there).
I don't recall from your first post if you were using portmaster 2.1,
but could you update to 2.2 before you try again?

> ===>>> 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.


I could not reproduce this, on my system it behaved as expected. Can
you try cd'ing to the port directory and typing 'make checksum' and
let us know if that does what it should? If that works, try adding the
-G flag to portmaster and see if it completes properly.

My main concern though is that those "Terminateds" up there indicate
that somehow the child process for the 'make checksum' got
unexpectedly killed, and therefore didn't remove its flag file. It's a
longshot, but do you know off hand if you're having problems in your
shell with child processes? Try running the attached script and let us
know how far you get. You can quit after 10 subshells.



    This .signature sanitized for your protection

-------------- next part --------------

test -z "$iterations" && { iterations=0; export iterations;}

/usr/bin/dialog --yesno "We are nested $iterations subshells deep. Would you like to proceed?" 5 70 || exit 0

iterations="$(( $iterations + 1 ))"

exit 0

More information about the freebsd-ports mailing list