[MacPorts] #34861: subversion: Could not create SASL context: generic failure

MacPorts noreply at macports.org
Wed Aug 8 19:07:59 PDT 2012


#34861: subversion: Could not create SASL context: generic failure
------------------------------------+---------------------------------------
 Reporter:  benlaug_75@…            |       Owner:  dluke@…               
     Type:  defect                  |      Status:  new                   
 Priority:  Normal                  |   Milestone:                        
Component:  ports                   |     Version:  2.1.1                 
 Keywords:                          |        Port:  subversion cyrus-sasl2
------------------------------------+---------------------------------------

Comment(by rr@…):

 Looks like it's a hostname problem.  In the sasl code, if gethostname()
 returns a unqualified
 hostname (no dots), it does a getaddrinfo() on that name to attempt to get
 a fully-qualified name.
 If that fails, the sasl context creation fails.

 So, "sudo hostname foo" where foo won't resolve will cause this error.
 And, for example,
 "sudo hostname foo.local" will get rid of the error (which may or may not
 be the correct
 solution depending on one's environment).

-- 
Ticket URL: <https://trac.macports.org/ticket/34861#comment:26>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list