Hablo n00b
Joined: 13 Apr 2005 Posts: 34 Location: Argentina
|
Posted: Sat Mar 04, 2006 4:37 am Post subject: dev-lang/python-2.4.2 test_logging hang [RISOLTO] |
|
|
E' gia la 7º o 8º volta che tento di fare un emerge -uDav world, ho fatto pure un emerge sync stanotte, ma il problema col python persiste.
Si blocca su test_logging e non avanza +.
questo e' come accade:
Code: | ombra ~ # emerge -uDav world
PORTAGE_GPG_DIR is invalid. Removing gpg from FEATURES.
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild NS ] dev-lang/python-2.4.2 -X +berkdb -bootstrap -build -doc +gdbm +ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 0 kB
............... |
Accetto con Y e qua si ferma:
Code: | Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 36) dev-lang/python-2.4.2 to /
>>> md5 files ;-) python-2.4.2.ebuild
>>> md5 files ;-) python-2.1.3-r1.ebuild
>>> md5 files ;-) python-2.2.3-r6.ebuild
>>> md5 files ;-) python-2.4.2-r1.ebuild
>>> md5 files ;-) python-2.3.5-r2.ebuild
>>> md5 files ;-) files/python-updater
>>> md5 files ;-) files/python-config-2.2
>>> md5 files ;-) files/python-config-2.3
>>> md5 files ;-) files/python-config-2.4
>>> md5 files ;-) files/digest-python-2.1.3-r1
>>> md5 files ;-) files/digest-python-2.2.3-r6
>>> md5 files ;-) files/depreorder-topsort.py
>>> md5 files ;-) files/depreorder.py
>>> md5 files ;-) files/digest-python-2.3.5-r2
>>> md5 files ;-) files/digest-python-2.4.2
>>> md5 files ;-) files/digest-python-2.4.2-r1
>>> md5 files ;-) files/python-updater-r1
>>> md5 src_uri ;-) Python-2.4.2.tar.bz2
>>> md5 src_uri ;-) python-2.4-patches-1.tar.bz2
>>> Unpacking source...
>>> Unpacking Python-2.4.2.tar.bz2 to /var/tmp/portage/python-2.4.2/work
........CUT
........test_largefile
test_linuxaudiodev
test_linuxaudiodev skipped -- Use of the `audio' resource not enabled
test_list
test_locale
test_logging
| qui si blocca indefinitivamente e se premo ctrl+c esce questo msg
Code: | sandbox: Caught signal 2 in pid 18774
Exception in thread Thread-1:
Traceback (most recent call last):
File "/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Lib/threading.py", line 442, in __bootstrap
self.run()
File "/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Lib/test/test_asynchat.py", line 16, in run
conn, client = sock.accept()
File "/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Lib/socket.py", line 169, in accept
sock, addr = self._sock.accept()
error: (4, 'Interrupted system call')
Exception in thread Thread-5:
Traceback (most recent call last):
File "/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Lib/threading.py", line 442, in __bootstrap
self.run()
File "/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Lib/threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Lib/test/test_logging.py", line 120, in runTCP
tcpserver.serve_until_stopped()
File "/var/tmp/portage/python-2.4.2/work/Python-2.4.2/Lib/test/test_logging.py", line 106, in serve_until_stopped
self.timeout)
error: (4, 'Interrupted system call')
|
dopo di che la shell rimane bloccata fino a che non killo il processo
./python -E -tt ./Lib/test/regrtest.py -l
la shell ritorna utilizabile con questo msg:
Code: | make: *** [test] Killed
/usr/portage/dev-lang/python/python-2.4.2.ebuild: dyn_test aborted; exiting.
Exiting on signal 2
|
Ho fatto un po' di ricerche su google con le parole python test_logging e gentoo ma non sono riuscito a risolvere il problema. Visto che l'aggiornamento del Python risulta essere una delle cose che devo fare per poter aggiornare poi tutto il resto di world, qualcuno sa' darmi una soluzione o una maniera per poter andare avanti con il mio emerge world?
Grazie in anticipo.
AGGIORNO: Non posso credere che nessuna delle 23 persone che ha letto questo post mi abbia saputo dare un consiglio. Cmq ho risolto sbloccando iptables che non faceva passare i pacchetti in locale e quindi python restava in attesa di una risposta che non sarebbe mai arrivata. Post le due righe necessarie per altri:
Code: | iptables -I INPUT 1 -i lo -j ACCEPT
iptables -I OUTPUT 1 -o lo -j ACCEPT |
|
|