Re: python 3.4.5 update

2016-07-01 Thread Stari Karp
On Thu, 2016-06-30 at 09:02 +, Otacílio de Araújo Ramos Neto wrote:
> > 


> 
> 
> Em qua, 29 de jun de 2016 20:16, Stari Karp 
> escreveu:
> > 
> > 
> > Hi!
> > 
> > I tried to update Python on my 
> > 10.3-RELEASE-p5 (akd64) and I got:
> > 
> > 
> > 
> > 
> > ports/lang/python34/work/Python-3.4.5 ./python -E -m
> > ensurepip  $ensurepip --root=/usr/ports/lang/python34/work/stage/
> > ;  fi
> > /bin/rm -f
> > /usr/ports/lang/python34/work/stage/usr/local/lib/libpython3.so
> > # Upstream Issue: http://bugs.python.org/issue17975
> > for i in
> > /usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/lib-
> > dynload/*.so; do  /usr/bin/strip $i; done
> >                 # Strip shared extensions
> > > Compressing man pages (compress-man)
> > 
> > ===>>> Creating a backup package for old version python34-3.4.4_3
> > Creating package for python34-3.4.4_3
> > process with pid 2056 still holds the lock
> > process with pid 2056 still holds the lock
> > process with pid 2056 still holds the lock
> > process with pid 2056 still holds the lock
> > process with pid 2056 still holds the lock
> > process with pid 2056 still holds the lock
> > pkg: Cannot get an advisory lock on a database, it is locked by
> > another
> > process
> > 
> > ===>>> Starting check for runtime dependencies
> > ===>>> Gathering dependency list for lang/python34 from ports
> > ===>>> Dependency check complete for lang/python34
> > 
> > ===>>> All >> python34-3.4.4_3 (1/1)
> > 
> > ===>  Installing for python34-3.4.5
> > ===>  Checking if python34 already installed
> > ===>   An older version of python34 is already installed (python34-
> > 3.4.4_3)
> >   You may wish to ``make deinstall'' and install this port
> > again
> >   by ``make reinstall'' to upgrade it properly.
> >   If you really wish to overwrite the old port of python34
> >   without deleting it first, set the variable
> > "FORCE_PKG_REGISTER"
> >   in your environment or the "make install" command line.
> > *** Error code 1
> > 
> > Stop.
> > make[1]: stopped in /usr/ports/lang/python34
> > *** Error code 1
> > 
> > Stop.
> > make: stopped in /usr/ports/lang/python34
> > 
> > ===>>> A backup package for python34-3.4.4_3 should
> >    be located in /usr/ports/packages/portmaster-backup
> > 
> > ===>>> Installation of python34-3.4.5 (lang/python34) failed
> > ===>>> Aborting update
> > 
> > ===>>> Update for lang/python34 failed
> > ===>>> Aborting update
> > 
> > Thank you very much.
> > 
> > SK
> Are you shure that no other process is handling The ports at the same
> time? Like doing a query.
> 
> []'S
> -Otacilio

Yes, looks like that the problem was GNOME which was on.
Thank you.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: python 3.4.5 update

2016-06-30 Thread Kubilay Kocak
On 1/07/2016 12:07 AM, Rainer Hurling wrote:
> 
> Please keep in mind, that your failed update already deinstalled the old
> python 3.4.4 port, but failed to install the new version. So, at the
> moment, python 3 is probably not installed on your system. You can get
> back the old version by

Would be cool if this was detected, and the deinstall was reverted
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 3.4.5 update

2016-06-30 Thread Rainer Hurling

Am 30.06.16 um 11:02 schrieb Otacílio de Araújo Ramos Neto:

Em qua, 29 de jun de 2016 20:16, Stari Karp  escreveu:




Hi!

I tried to update Python on my
10.3-RELEASE-p5 (akd64) and I got:




ports/lang/python34/work/Python-3.4.5 ./python -E -m
ensurepip  $ensurepip --root=/usr/ports/lang/python34/work/stage/ ;  fi
/bin/rm -f
/usr/ports/lang/python34/work/stage/usr/local/lib/libpython3.so
# Upstream Issue: http://bugs.python.org/issue17975
for i in
/usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/lib-
dynload/*.so; do  /usr/bin/strip $i; done
# Strip shared extensions
> Compressing man pages (compress-man)

===>>> Creating a backup package for old version python34-3.4.4_3
Creating package for python34-3.4.4_3
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
pkg: Cannot get an advisory lock on a database, it is locked by another
process

===>>> Starting check for runtime dependencies
===>>> Gathering dependency list for lang/python34 from ports
===>>> Dependency check complete for lang/python34

===>>> All >> python34-3.4.4_3 (1/1)

===>  Installing for python34-3.4.5
===>  Checking if python34 already installed
===>   An older version of python34 is already installed (python34-
3.4.4_3)
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of python34
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/python34
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python34

===>>> A backup package for python34-3.4.4_3 should
   be located in /usr/ports/packages/portmaster-backup

===>>> Installation of python34-3.4.5 (lang/python34) failed
===>>> Aborting update

===>>> Update for lang/python34 failed
===>>> Aborting update

Thank you very much.

SK



Are you shure that no other process is handling The ports at the same time?
Like doing a query.

[]'S
-Otacilio

As far as I know, portmaster itself has some not yet solved problems 
with ports, escpecially in a mixed system of ports, installed as a 
package by pkg and build from sources.


For me, there are some possible opportunities, to circumstance this 
behaviour:


1) portmaster -m "FORCE_PKG_REGISTER" lang/python34
   [this also does not work in all situations :( ]

2) portmaster lang/perl5 lang/python34
   [(re)installing something like lang/perl5 before should help always ]

3) cd /usr/ports/lang/python34
   make clean && make install

Please keep in mind, that your failed update already deinstalled the old 
python 3.4.4 port, but failed to install the new version. So, at the 
moment, python 3 is probably not installed on your system. You can get 
back the old version by


   pkg add /usr/ports/packages/portmaster-backup/python34-3.4.4_3

as stated by portmasters message.

HTH,
Rainer Hurling


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: python 3.4.5 update

2016-06-30 Thread Otacílio de Araújo Ramos Neto
Em qua, 29 de jun de 2016 20:16, Stari Karp  escreveu:

>
>
> Hi!
>
> I tried to update Python on my
> 10.3-RELEASE-p5 (akd64) and I got:
>
>
> 
> 
> ports/lang/python34/work/Python-3.4.5 ./python -E -m
> ensurepip  $ensurepip --root=/usr/ports/lang/python34/work/stage/ ;  fi
> /bin/rm -f
> /usr/ports/lang/python34/work/stage/usr/local/lib/libpython3.so
> # Upstream Issue: http://bugs.python.org/issue17975
> for i in
> /usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/lib-
> dynload/*.so; do  /usr/bin/strip $i; done
> # Strip shared extensions
> > Compressing man pages (compress-man)
>
> ===>>> Creating a backup package for old version python34-3.4.4_3
> Creating package for python34-3.4.4_3
> process with pid 2056 still holds the lock
> process with pid 2056 still holds the lock
> process with pid 2056 still holds the lock
> process with pid 2056 still holds the lock
> process with pid 2056 still holds the lock
> process with pid 2056 still holds the lock
> pkg: Cannot get an advisory lock on a database, it is locked by another
> process
>
> ===>>> Starting check for runtime dependencies
> ===>>> Gathering dependency list for lang/python34 from ports
> ===>>> Dependency check complete for lang/python34
>
> ===>>> All >> python34-3.4.4_3 (1/1)
>
> ===>  Installing for python34-3.4.5
> ===>  Checking if python34 already installed
> ===>   An older version of python34 is already installed (python34-
> 3.4.4_3)
>   You may wish to ``make deinstall'' and install this port again
>   by ``make reinstall'' to upgrade it properly.
>   If you really wish to overwrite the old port of python34
>   without deleting it first, set the variable "FORCE_PKG_REGISTER"
>   in your environment or the "make install" command line.
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/lang/python34
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/lang/python34
>
> ===>>> A backup package for python34-3.4.4_3 should
>be located in /usr/ports/packages/portmaster-backup
>
> ===>>> Installation of python34-3.4.5 (lang/python34) failed
> ===>>> Aborting update
>
> ===>>> Update for lang/python34 failed
> ===>>> Aborting update
>
> Thank you very much.
>
> SK
>

Are you shure that no other process is handling The ports at the same time?
Like doing a query.

[]'S
-Otacilio

>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


python 3.4.5 update

2016-06-29 Thread Stari Karp


Hi!

I tried to update Python on my 
10.3-RELEASE-p5 (akd64) and I got:




ports/lang/python34/work/Python-3.4.5 ./python -E -m
ensurepip  $ensurepip --root=/usr/ports/lang/python34/work/stage/ ;  fi
/bin/rm -f
/usr/ports/lang/python34/work/stage/usr/local/lib/libpython3.so 
# Upstream Issue: http://bugs.python.org/issue17975
for i in
/usr/ports/lang/python34/work/stage/usr/local/lib/python3.4/lib-
dynload/*.so; do  /usr/bin/strip $i; done   
# Strip shared extensions
> Compressing man pages (compress-man)

===>>> Creating a backup package for old version python34-3.4.4_3
Creating package for python34-3.4.4_3
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
process with pid 2056 still holds the lock
pkg: Cannot get an advisory lock on a database, it is locked by another
process

===>>> Starting check for runtime dependencies
===>>> Gathering dependency list for lang/python34 from ports
===>>> Dependency check complete for lang/python34

===>>> All >> python34-3.4.4_3 (1/1)

===>  Installing for python34-3.4.5
===>  Checking if python34 already installed
===>   An older version of python34 is already installed (python34-
3.4.4_3)
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of python34
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/python34
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python34

===>>> A backup package for python34-3.4.4_3 should
   be located in /usr/ports/packages/portmaster-backup

===>>> Installation of python34-3.4.5 (lang/python34) failed
===>>> Aborting update

===>>> Update for lang/python34 failed
===>>> Aborting update

Thank you very much.

SK

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"