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

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030707080000000704070700
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Peter Olsson wrote:

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

Ok.

> Here is /etc/make.conf if that is relevant:
> WITHOUT_X11=yes
> WITHOUT_GUI=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
> 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

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.

Doug

-- 

    This .signature sanitized for your protection


--------------030707080000000704070700
Content-Type: text/plain;
 name="subshell-dialog-problem"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="subshell-dialog-problem"

#!/bin/sh

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 ))"
$0

exit 0


--------------030707080000000704070700--



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