python27 update

illoai at gmail.com illoai at gmail.com
Sun Mar 6 03:04:11 UTC 2011


On 5 March 2011 21:52, ajtiM <lumiwa at gmail.com> wrote:
> My system: 8.2-RELEASE FreeBSD 8.2-RELEASE #0
>
> I tried to update python26 to python27. I did as I red in /usr/ports/UPDATING:
>
> portmaster -o lang/python27 lang/python26 and than
>
>  cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
>
> and after one day and a half of pressing yes for deleting old files I got:
> -----
> error: Comand" cc - shared -pthread -02 -pipe -WI, -rpath
> -/usr/local/lib/gcc45 -fno -strict -aliasing build/temp. freebsd-8.2-RELEASE-
> i386-2.7/build/src.freebsd-8.2-RELEASE-i386-2.7/numpy/core/src/-sortmudele.o -
> Lbuild/temp.freebsd-8.2-RELEASE-i386-2.7-lm -o build/lib-freebsd-8.2-RELEASE-
> i386-2.7/numpy/core/-sortss"
> failed with exit status 1
> ***Error code 1
>
>
> Stop in /usr/ports/math/py-numpy
> =>>>make failed for math/py-numpy
> =>> Aborting update
> =>> Update fpr py26-numpy-1.5.1,1 failled
> Aborting update
> Update for opencv-2.1.0 failed
> aborting update
>
> Terminated
> ***Error code 143
> Stop in /usr/ports/lang/python
>
> Is it possible to save this problem, please? Do I need run again cd
> /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER and wait
> one day more or will portmaster continue where it stopped?
>

I thought portmaster usually spit out a sort of
"to resume where you left off, issue 'portmaster blah blah blah'"
message when something barfed like that.

Set up your /usr/local/etc/portmaster.rc with one of:

# Never search for stale distfiles to delete (-D)
# DONT_SCRUB_DISTFILES=Dopt
#
# Always delete stale distfiles without prompting (-d)
# ALWAYS_SCRUB_DISTFILES=dopt
(see /usr/local/etc/portmaster.rc.sample)

to avoid the "Delete this file?" prompts every three minutes.

Sadly, this is one of those times when portupgrade seems
to handle things better, but you'll probably have to wait another
day to see if things worked out better this time.

-- 
--


More information about the freebsd-questions mailing list