[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mpich2 FTBFS


Lucas Nussbaum, le Tue 23 Mar 2010 10:50:31 +0100, a écrit :
> mpich2 FTBFS on hurd (on rossini). It is likely to be caused by a
> networking problem: starting the test suite involves connecting to
> $(hostname), so if you /etc/hosts or DNS resolution points to the wrong
> IP, it won't work.

Not the problem here.

> Could someone please take a look?

youpi@flubber:~/mpich2-$ ../../bin/mpd.py  --debug 
flubber_1267: mpd_uncaught_except_tb handling:
  <class 'socket.error'>: (1073741869, 'Operation not supported')
    <string>  1  setsockopt
    /media/data/home/youpi/mpich2-  689  __init__
    /media/data/home/youpi/mpich2-  1175  __init__
    ../../bin/mpd.py  252  run
        self.conListenSock = MPDConListenSock(secretword=self.parmdb['MPD_SECRETWORD'])
    ../../bin/mpd.py  1647  <module>

mpdlib.py:1175 is
MPDListenSock.__init__(self,family=sockFamily,socktype=socket.SOCK_STREAM, filename=self.conFilename,listen=1,name=name)

and indeed in the AF_UNIX case, this is not supported by pflocal (it
don't really see what it would mean for a Unix socket)

>>> sock = socket.socket(family=socket.AF_UNIX, type=socket.SOCK_STREAM, proto=0)
>>> sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<string>", line 1, in setsockopt
socket.error: (1073741869, 'Operation not supported')

I guess a fix could be to only do the setsockopt if the socket family is


Reply to: