[MacPorts] #57519: avahi @0.7_3+gtk+gtk3+quartz: daemon fails to start (with error)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #57519: avahi @0.7_3+gtk+gtk3+quartz: daemon fails to start (with error)

MacPorts
#57519: avahi @0.7_3+gtk+gtk3+quartz: daemon fails to start (with error)
---------------------+--------------------
 Reporter:  rbubley  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.5.2
 Keywords:           |       Port:  avahi
---------------------+--------------------
 Starting `avahi-daemon` gives an error message.

 In logs (repeatedly):
 {{{
 Nov  6 09:31:03 <REDACTED> com.apple.xpc.launchd[1] (org.freedesktop
 .avahi-daemon[34061]): Service exited with abnormal code: 255
 Nov  6 09:31:03 <REDACTED> com.apple.xpc.launchd[1] (org.freedesktop
 .avahi-daemon): Service only ran for 0 seconds. Pushing respawn out by 10
 seconds.
 }}}

 From the command line:
 {{{
 #!sh
 / $ sudo /opt/local/sbin/avahi-daemon
 mkdir("/run/avahi-daemon/"): No such file or directory
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/57519>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57519: avahi @0.7_3+gtk+gtk3+quartz: daemon fails to start (with error)

MacPorts
#57519: avahi @0.7_3+gtk+gtk3+quartz: daemon fails to start (with error)
----------------------+--------------------
  Reporter:  rbubley  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.2
Resolution:           |   Keywords:
      Port:  avahi    |
----------------------+--------------------

Comment (by kencu):

 I have this issue also, and so far have not sorted out how to fix it.

--
Ticket URL: <https://trac.macports.org/ticket/57519#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57519: avahi @0.7_3+gtk+gtk3+quartz: daemon fails to start (with error)

MacPorts
In reply to this post by MacPorts
#57519: avahi @0.7_3+gtk+gtk3+quartz: daemon fails to start (with error)
----------------------+--------------------
  Reporter:  rbubley  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.2
Resolution:           |   Keywords:
      Port:  avahi    |
----------------------+--------------------

Comment (by ryandesign):

 Confirmed, and configure output shows:
 {{{
     avahi socket:                              /run/avahi-daemon/socket
 }}}
 That's clearly not what we want and we need to fix that somehow. The
 configure script says:
 {{{
 #
 # Avahi runtime dir
 #
 avahi_runtime_dir="/run"
 avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket"
 }}}
 So we need to somehow change `avahi_runtime_dir` from `/run` to
 `${prefix}/var/run`. Not sure if there's an exposed configure flag for
 that or if we need to patch the configure script.

 I also wonder if we're supposed to be creating that directory in the
 portfile and setting its ownership to the avahi user.

--
Ticket URL: <https://trac.macports.org/ticket/57519#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57519: avahi @0.7_3+gtk+gtk3+quartz: daemon fails to start (with error)

MacPorts
In reply to this post by MacPorts
#57519: avahi @0.7_3+gtk+gtk3+quartz: daemon fails to start (with error)
----------------------+--------------------
  Reporter:  rbubley  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.2
Resolution:           |   Keywords:
      Port:  avahi    |
----------------------+--------------------

Comment (by ryandesign):

 [https://github.com/lathiat/avahi/pull/46 An upstream change] caused this.
 It has been requested that this upstream change be
 [https://github.com/lathiat/avahi/issues/137 changed] or
 [https://github.com/lathiat/avahi/issues/150 reverted].

--
Ticket URL: <https://trac.macports.org/ticket/57519#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS