opendkim and Trac error

Terry Barnum terrydop at gmail.com
Mon Nov 9 19:24:49 PST 2015


Pixilla was kind enough to update both the amavisd-new and opendkim ports but I ran into a problem with unbound, a dependency of opendkim. I went to look at the opendkim port on trac to see if I could figure it out or open a ticket but I see "Trac Error" when attempting to view any port.

Here's the error when installing opendkim:

Error: org.macports.activate for port unbound returned: could not set owner for file "/opt/local/var/run/unbound/root.key": no such file or directory
Error: Failed to install unbound

Indeed, there is no root.key file in there, only an unbound.pid.
$ ls -l /opt/local/var/run/unbound
-rw-r--r--  1 unbound  unbound  0 Oct 30 12:08 unbound.pid

From the main.log:
...
:debug:activate Executing proc-post-org.macports.activate-activate-0
:error:activate org.macports.activate for port unbound returned: could not set owner for file "/opt/local/var/run/unbound/root.key": no such file or directory
:debug:activate Error code: NONE
:debug:activate Backtrace: could not set owner for file "/opt/local/var/run/unbound/root.key": no such file or directory
    while executing
"proc-post-org.macports.activate-activate-0 org.macports.activate"
    ("eval" body line 1)
    invoked from within
"eval $post $targetname"
:info:activate Warning: targets not executed for unbound: org.macports.activate
:error:activate Failed to install unbound
:debug:activate could not read "/opt/local/var/run/unbound/unbound.pid": no such file or directory
    while executing
"::file type $file"

-Terry


More information about the macports-users mailing list