[MacPorts] #68841: dovecot: Invalid add_users command in Portfile

MacPorts noreply at macports.org
Wed Dec 6 02:49:43 UTC 2023


#68841: dovecot: Invalid add_users command in Portfile
-------------------------+----------------------
  Reporter:  pcafstockf  |      Owner:  jberry@…
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  dovecot     |
-------------------------+----------------------

Comment (by pcafstockf):

 I would be happy to submit a pull request, but am doing something wrong.
 I would appreciate any suggestions on this problem.\\

 I forked macports-ports git repo, pulled down a copy of the fork and
 created a branch (but made no changes).\\
 Then set up a local port repo (which is something I've done before and am
 comfortable with).\\
 Created a symlink inside the local port repo to my local git repo (just
 the mail/dovecot directory).\\
 Ran `portindex` within the local rep, and then `port search dovecot`,
 `port file dovecot` (which came back with the expected path to my local
 port repo), and finally `port lint dovecot` which reported 0 errors and 0
 warnings.\\

 However, all/any of `port build dovecot`, `port -y install dovecot`, `port
 install dovecot` all return: \\
 {{{Error: Unable to execute port: Could not open file: /my-local-
 portrepo/mail/dovecot/Portfile.}}}\\
 Neither port clean nor magic sudo are of any help.\\
 `port edit dovecot` also worksfine, and does update the expected Portfile.

 Oh, and I've been using this MacPorts installation on this machine for
 about 2 years and can install, and uninstall other ports just fine (even
 now). \\
 MacPorts 2.8.1 - macOS 10.15.7

 I also tried **copying** the dovecot port to the local repo (instead of
 symlinking) but that did not help either.\\

 Remove dovecot altogether from the local repo (and re-index), then
 MacPorts will happily install dovecot (using rsync).

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


More information about the macports-tickets mailing list